Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultRulesFile string = "/etc/falco-talon/rules.yaml"
)
Variables ¶
View Source
var ( // Output of "git describe". The prerequisite is that the branch should be // tagged using the correct versioning strategy. GitVersion = "devel" // SHA1 from git, output of $(git rev-parse HEAD) GitCommit = "unknown" // State of git tree, either "clean" or "dirty" GitTreeState = "unknown" // Build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') BuildDate = "unknown" )
Base version information.
This is the fallback data used when version information from git is not provided via go ldflags (e.g. via Makefile).
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Notifiers map[string]map[string]interface{} `mapstructure:"notifiers"` AwsConfig AwsConfig `mapstructure:"aws"` LogFormat string `mapstructure:"log_format"` KubeConfig string `mapstructure:"kubeconfig"` ListenAddress string `mapstructure:"listen_address"` RulesFiles []string `mapstructure:"rules_files"` DefaultNotifiers []string `mapstructure:"default_notifiers"` ListenPort int `mapstructure:"listen_port"` DeduplicationTimeWindowSeconds int `mapstructure:"deduplication_time_window_seconds"` WatchRules bool `mapstructure:"watch_rules"` PrintAllEvents bool `mapstructure:"print_all_events"` DeduplicationLeaderLease bool `mapstructure:"deduplication_leader_lease"` }
func CreateConfiguration ¶
func CreateConfiguration(configFile string) *Configuration
func GetConfiguration ¶
func GetConfiguration() *Configuration
func (*Configuration) GetDefaultNotifiers ¶
func (c *Configuration) GetDefaultNotifiers() []string
Click to show internal directories.
Click to hide internal directories.