Skip to content

Commit a051647

Browse files
committed
Add new tracingpolicy example for dynamic parameter extraction feature
Signed-off-by: Tristan d'Audibert <[email protected]>
1 parent c3ac968 commit a051647

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: cilium.io/v1alpha1
2+
kind: TracingPolicy
3+
metadata:
4+
name: "lsm"
5+
spec:
6+
lsmhooks:
7+
- hook: "bprm_check_security"
8+
args:
9+
- index: 0
10+
type: "linux_binprm"
11+
extractParam: "mm.owner.real_parent.real_parent.comm"
12+
overwriteType: "string"
13+
selectors:
14+
- matchActions:
15+
- action: Post

0 commit comments

Comments
 (0)