Documentation ¶
Index ¶
- func CreatePolicies(filterMap PolicyFilterMap, newBinary bool) (*policy.Policies, error)
- func GetHelpString(key string, newBinary bool) string
- func InvalidEventError(event string) error
- func InvalidEventExcludeError(event string) error
- func InvalidFilterOptionError(expr string, newBinary bool) error
- func InvalidFlagEmpty() error
- func InvalidFlagOperator(expression string) error
- func InvalidFlagValue(expression string) error
- func InvalidSetError(set string) error
- func PrepareCache(cacheSlice []string) (queue.CacheConfig, error)
- func PrepareCapabilities(capsSlice []string) (config.CapabilitiesConfig, error)
- func PrepareCapture(captureSlice []string, newBinary bool) (config.CaptureConfig, error)
- func PrepareContainers(containerFlags []string) (runtime.Sockets, error)
- func PrepareLogger(logOptions []string, newBinary bool) (logger.LoggingConfig, error)
- func PrepareRego(regoSlice []string) (rego.Config, error)
- func PrintAndExitIfHelp(ctx *cli.Context, newBinary bool)
- type PolicyFilterMap
- type PrepareOutputResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePolicies ¶ added in v0.13.0
func CreatePolicies(filterMap PolicyFilterMap, newBinary bool) (*policy.Policies, error)
func GetHelpString ¶ added in v0.14.0
func InvalidEventError ¶
func InvalidFlagEmpty ¶ added in v0.13.0
func InvalidFlagEmpty() error
func InvalidFlagOperator ¶ added in v0.13.0
func InvalidFlagValue ¶ added in v0.13.0
func InvalidSetError ¶
func PrepareCache ¶
func PrepareCache(cacheSlice []string) (queue.CacheConfig, error)
func PrepareCapabilities ¶
func PrepareCapabilities(capsSlice []string) (config.CapabilitiesConfig, error)
func PrepareCapture ¶
func PrepareCapture(captureSlice []string, newBinary bool) (config.CaptureConfig, error)
func PrepareLogger ¶ added in v0.11.0
func PrepareLogger(logOptions []string, newBinary bool) (logger.LoggingConfig, error)
func PrintAndExitIfHelp ¶
func PrintAndExitIfHelp(ctx *cli.Context, newBinary bool)
Types ¶
type PolicyFilterMap ¶ added in v0.16.0
type PolicyFilterMap map[int]policyFilters
PolicyFilterMap maps policy id to its pre-parsed filter flag fields
func PrepareFilterMapFromFlags ¶ added in v0.13.0
func PrepareFilterMapFromFlags(filtersArr []string) (PolicyFilterMap, error)
func PrepareFilterMapFromPolicies ¶ added in v0.13.0
func PrepareFilterMapFromPolicies(policies []policy.PolicyFile) (PolicyFilterMap, error)
PrepareFilterMapForPolicies prepares the PolicyFilterMap for the policies
type PrepareOutputResult ¶ added in v0.16.0
type PrepareOutputResult struct { TraceeConfig *config.OutputConfig PrinterConfigs []config.PrinterConfig }
func PrepareOutput ¶
func PrepareOutput(outputSlice []string, newBinary bool) (PrepareOutputResult, error)
func TraceeEbpfPrepareOutput ¶ added in v0.12.0
func TraceeEbpfPrepareOutput(outputSlice []string, newBinary bool) (PrepareOutputResult, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.