Skip to content

Commit

Permalink
feat(rule): simple rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarapuce committed Dec 29, 2023
1 parent 1070b89 commit c993094
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions nsenter.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
- macro: container
condition: container.id != host

- rule: Detect nsenter in a container
desc: You shouldn't run nsenter in a container
condition: container and proc.name = bash
output: >
nsenter executed in container container.id
priority: ERROR
- list: falco_binaries
items: [falcoctl]

0 comments on commit c993094

Please sign in to comment.