exclude oc on writing below root (#567)

* exclude oc on writing below root

* minor changes
This commit is contained in:
Kaizhe Huang 2019-03-29 10:07:05 -07:00 committed by GitHub
parent 2fd90bf6a7
commit 9e26117e93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -710,7 +710,7 @@
condition: (proc.name=chef-client and fd.name startswith /root/.chef)
- macro: kubectl_writing_state
condition: (proc.name=kubectl and fd.name startswith /root/.kube)
condition: (proc.name in (kubectl,oc) and fd.name startswith /root/.kube)
- macro: java_running_cassandra
condition: (proc.name=java and proc.cmdline contains "cassandra.jar")