mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
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>
36 lines
879 B
YAML
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
|