Documentation
¶
Index ¶
Constants ¶
View Source
const NamespaceEnvVar = "NAMESPACE_NAME"
View Source
const NodeNameEnvVar = "NODE_NAME"
View Source
const PodNameEnvVar = "POD_NAME"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Exporters exporters.ExportersConfig `mapstructure:"exporters"`
InitialDelay time.Duration `mapstructure:"initialDelay"`
MaxSniffingTime time.Duration `mapstructure:"maxSniffingTimePerContainer"`
UpdateDataPeriod time.Duration `mapstructure:"updateDataPeriod"`
MaxDelaySeconds int `mapstructure:"maxDelaySeconds"`
MaxJitterPercentage int `mapstructure:"maxJitterPercentage"`
MaxImageSize int64 `mapstructure:"maxImageSize"`
MaxSBOMSize int `mapstructure:"maxSBOMSize"`
MaxTsProfileSize int64 `mapstructure:"maxTsProfileSize"`
EnableFullPathTracing bool `mapstructure:"fullPathTracingEnabled"`
EnableApplicationProfile bool `mapstructure:"applicationProfileServiceEnabled"`
EnableMalwareDetection bool `mapstructure:"malwareDetectionEnabled"`
EnablePrometheusExporter bool `mapstructure:"prometheusExporterEnabled"`
EnableRuntimeDetection bool `mapstructure:"runtimeDetectionEnabled"`
EnableHttpDetection bool `mapstructure:"httpDetectionEnabled"`
EnableNetworkTracing bool `mapstructure:"networkServiceEnabled"`
EnableNetworkStreaming bool `mapstructure:"networkStreamingEnabled"`
EnableNodeProfile bool `mapstructure:"nodeProfileServiceEnabled"`
EnableHostMalwareSensor bool `mapstructure:"hostMalwareSensorEnabled"`
EnableHostNetworkSensor bool `mapstructure:"hostNetworkSensorEnabled"`
NodeProfileInterval time.Duration `mapstructure:"nodeProfileInterval"`
EnableSeccomp bool `mapstructure:"seccompServiceEnabled"`
ExcludeLabels map[string]string `mapstructure:"excludeLabels"`
ExcludeNamespaces []string `mapstructure:"excludeNamespaces"`
IncludeNamespaces []string `mapstructure:"includeNamespaces"`
EnableSbomGeneration bool `mapstructure:"sbomGenerationEnabled"`
EnableEmbeddedSboms bool `mapstructure:"enableEmbeddedSBOMs"`
NamespaceName string `mapstructure:"namespaceName"`
NodeName string `mapstructure:"nodeName"`
PodName string `mapstructure:"podName"`
KubernetesMode bool `mapstructure:"kubernetesMode"`
NetworkStreamingInterval time.Duration `mapstructure:"networkStreamingInterval"`
WorkerPoolSize int `mapstructure:"workerPoolSize"`
WorkerChannelSize int `mapstructure:"workerChannelSize"`
BlockEvents bool `mapstructure:"blockEvents"`
EventBatchSize int `mapstructure:"eventBatchSize"`
TestMode bool `mapstructure:"testMode"`
ExcludeJsonPaths []string `mapstructure:"excludeJsonPaths"`
ProfilesCacheRefreshRate time.Duration `mapstructure:"profilesCacheRefreshRate"`
RuleCoolDown rulecooldown.RuleCooldownConfig `mapstructure:"ruleCooldown"`
EnablePartialProfileGeneration bool `mapstructure:"partialProfileGenerationEnabled"`
ProcfsScanInterval time.Duration `mapstructure:"procfsScanInterval"`
OrderedEventQueue containerwatcher.OrderedEventQueueConfig `mapstructure:"orderedEventQueue"`
ExitCleanup processtreecreator.ExitCleanupConfig `mapstructure:"exitCleanup"`
}
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
func (*Config) IgnoreContainer ¶ added in v0.2.325
func (*Config) SkipNamespace ¶ added in v0.2.101
Click to show internal directories.
Click to hide internal directories.