Skip to content

Commit

Permalink
tetragon: add example tracingpolicy for security_bprm_check
Browse files Browse the repository at this point in the history
Signed-off-by: David Windsor <dawindso@cisco.com>
  • Loading branch information
dwindsor committed Feb 15, 2024
1 parent aa97782 commit 17eb9ff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/tracingpolicy/security_bprm_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: "sample-no-exec-id"
spec:
kprobes:
- call: "security_bprm_check"
syscall: false
args:
- index: 0
type: "linux_binprm"
returnArg:
index: 0
type: "int"
selectors:
- matchArgs:
- index: 0
operator: "Equal"
values:
- "/usr/bin/sample-exec"

0 comments on commit 17eb9ff

Please sign in to comment.