Skip to content

Commit

Permalink
tetragon: Add syscall generated list tracing policy example
Browse files Browse the repository at this point in the history
Adding syscall generated list tracing policy example.

Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Aug 9, 2023
1 parent 6091bb2 commit c70db4c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/tracingpolicy/list-syscalls-generated.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: "all-syscall-for-kill"
spec:
lists:
- name: "all-syscalls"
generate: "syscalls"
kprobes:
- call: "list:all-syscalls"
selectors:
- matchBinaries:
- operator: "In"
values:
- "/usr/bin/kill"

0 comments on commit c70db4c

Please sign in to comment.