Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalcHashesOption ¶ added in v0.20.0
type CalcHashesOption int
const ( CalcHashesNone CalcHashesOption = iota CalcHashesInode CalcHashesDevInode CalcHashesDigestInode )
func (CalcHashesOption) String ¶ added in v0.20.0
func (c CalcHashesOption) String() string
type CapabilitiesConfig ¶
type CaptureConfig ¶
type CaptureConfig struct { OutputPath string FileWrite FileCaptureConfig FileRead FileCaptureConfig Module bool Exec bool Mem bool Bpf bool Net PcapsConfig }
type Config ¶
type Config struct { InitialPolicies []*policy.Policy Capture *CaptureConfig Capabilities *CapabilitiesConfig Output *OutputConfig Cache queue.CacheConfig ProcTree proctree.ProcTreeConfig PerfBufferSize int BlobPerfBufferSize int PipelineChannelSize int MaxPidsCache int // maximum number of pids to cache per mnt ns (in Tracee.pidsInMntns) BTFObjPath string BPFObjBytes []byte KernelConfig *environment.KernelConfig OSInfo *environment.OSInfo Sockets runtime.Sockets NoContainersEnrich bool EngineConfig engine.Config MetricsEnabled bool DNSCacheConfig dnscache.Config }
Config is a struct containing user defined configuration to initialize Tracee
NOTE: In the future, Tracee config will be changed at run time and will require proper management.
type ContainerMode ¶
type ContainerMode int
const ( ContainerModeDisabled ContainerMode = iota ContainerModeEnabled ContainerModeEnriched )
type FileCaptureConfig ¶
type FileCaptureConfig struct { Capture bool PathFilter []string TypeFilter FileCaptureType }
type FileCaptureType ¶
type FileCaptureType uint
FileCaptureType represents file type capture configuration flags Values should match the filter values in the eBPF file ( CaptureRegularFiles -> FILTER_NORMAL_FILES)
const ( CaptureRegularFiles FileCaptureType = 1 << iota CapturePipeFiles CaptureSocketFiles CaptureELFFiles )
Filters for file types flags
const ( CaptureStdinFiles FileCaptureType = 1 << (iota + 16) CaptureStdoutFiles CaptureStderrFiles )
Filters for FDs flags
type OutputConfig ¶
type PcapsConfig ¶
type PrinterConfig ¶
type PrinterConfig struct { Kind string OutPath string OutFile io.WriteCloser ContainerMode ContainerMode RelativeTS bool }
Click to show internal directories.
Click to hide internal directories.