You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: handle parse collected environment variables in execve events
This patch adds:
1. Adds a new field `envs` to the `ExecveEvent` message in the Tetragon API.
2. Updates the Go API to include the new `envs` field in the `ExecveEvent` struct.
3. Adds `--enable-process-environment-variables` flag to conditionally read env vars with ProcessExec events
Partially resolves#2648
Signed-off-by: Mikita Iwanowski <[email protected]>
flags.Bool(KeyEnablePodAnnotations, false, "Add pod annotations field to events.")
387
391
flags.StringSlice(KeyEnableAncestors, []string{}, "Comma-separated list of process event types to enable ancestors for. Supported event types are: base, kprobe, tracepoint, uprobe, lsm, usdt. Unknown event types will be ignored. Type 'base' enables ancestors for process_exec and process_exit events and is required by all other supported event types for correct reference counting. An empty string disables ancestors completely")
388
392
393
+
flags.Bool(KeyEnableProcessEnvironmentVariables, false, "Include environment variables in process_exec events. Disabled by default. Note that this option can significantly increase the size of the events and may impact performance")
394
+
389
395
// Tracing policy file
390
396
flags.String(KeyTracingPolicy, "", "Tracing policy file to load at startup")
0 commit comments