-
Notifications
You must be signed in to change notification settings - Fork 13
/
examples.txt
13 lines (7 loc) · 1.36 KB
/
examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
kubectl run test --image=alpine --restart=Never --command sleep infinity
curl -XPOST "http://localhost:2803/" -d'{"output":"Test","priority":"Critical","Rule":"Test Terminate","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"k8s.pod.name":"test", "k8s.ns.name":"default"}}'
curl -XPOST "http://localhost:2803/" -d'{"output":"Test","priority":"Warning","Rule":"Test Label","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"k8s.pod.name":"test", "k8s.ns.name":"default"}}'
curl -XPOST "http://localhost:2803/" -d'{"output":"Test","priority":"Critical","Rule":"Test NetworkPolicy","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"k8s.pod.name":"static-web", "k8s.ns.name":"default", "fd.rip":"8.8.8.8", "fd.rport":"8888"}}'
curl -XPOST "http://localhost:2803/" -d'{"output":"Test","priority":"Warning","Rule":"Test Exec","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"k8s.pod.name":"static-web", "k8s.ns.name":"default"}}'
curl -XPOST "http://localhost:2803/" -d'{"output":"Test script","priority":"Warning","Rule":"Test Script","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"k8s.pod.name":"alpine", "k8s.ns.name":"default"}}'
curl -XPOST "http://localhost:2803/" -d'{"output":"Test invoke lambda","priority":"Warning","Rule":"Test invoke lambda","time":"2019-05-17T15:31:56.746609046Z", "output_fields": {"lambda_name":"abcd"}}'