Files
Homelabv4/infrastructure/tetragon/tracing-policies/process-execution.yaml
T
Scooby HuskyandClaude Opus 4.6 308145cc90 Add followChildren default to tetragon shell-execution TracingPolicy
The Tetragon CRD defaults followChildren to false in matchBinaries,
causing ArgoCD ServerSideDiff to detect a permanent diff.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:39:38 -05:00

36 lines
879 B
YAML

apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: shell-execution-monitoring
spec:
tracepoints:
- subsystem: raw_syscalls
event: sys_enter
args:
- index: 4
type: syscall64
maxData: false
resolve: ""
returnCopy: false
selectors:
- matchArgs:
- index: 4
operator: Equal
values:
- "59" # execve
matchBinaries:
- operator: In
followChildren: false
values:
- /bin/sh
- /bin/bash
- /bin/dash
- /usr/bin/bash
- /usr/bin/sh
- /usr/bin/curl
- /usr/bin/wget
- /usr/bin/nc
- /usr/bin/ncat
matchActions:
- action: Post