Skip to content

Commit

Permalink
tetragon: Add security override example
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Oct 18, 2023
1 parent dcfe76c commit fc517aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/tracingpolicy/override-security.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: "syswritefollowfdpsswd"
spec:
kprobes:
- call: "security_inode_mkdir"
syscall: false
selectors:
- matchBinaries:
- operator: "In"
values:
- "/usr/bin/bash"
- matchActions:
- action: Override
argError: -1

0 comments on commit fc517aa

Please sign in to comment.