config

package
v0.0.0-...-42a42c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	ListenAddress: "0.0.0.0:8081",

	NumberOfPipelines:       0,
	ProfileBuildingDuration: 60 * time.Minute,

	ProfileEventFilterCacheSize: 10000000,
	TLSEnabled:                  false,
	BeatsOutput:                 true,
	PostgresOutput:              false,
	PostgresBatchSize:           1000,
}

DefaultConfig threatseer config

Functions

This section is empty.

Types

type Config

type Config struct {
	ListenAddress     string `config:"listen_address"`
	NumberOfPipelines uint   `config:"number_of_pipelines"`
	// Profile Engine options
	ProfileBuildingDuration     time.Duration `config:"profile_building_duration"`
	ProfileEventFilterCacheSize uint          `config:"profile_event_filter_cache_size"`
	// TLS options
	TLSServerName         string `config:"tls_server_name"`
	TLSEnabled            bool   `config:"tls_enabled"`
	TLSRootCAPath         string `config:"tls_root_ca_path"`
	TLSServerKeyPath      string `config:"tls_server_key_path"`
	TLSServerCertPath     string `config:"tls_server_cert_path"`
	TLSOverrideCommonName string `config:"tls_override_common_name"`
	// Outputs
	BeatsOutput       bool `config:"beats_output"`
	PostgresOutput    bool `config:"postgres_output"`
	PostgresBatchSize int  `config:"postgres_batch_size"`
}

Config for threatseer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL