Skip to content

Commit

Permalink
new(rules): add umount macro
Browse files Browse the repository at this point in the history
Signed-off-by: incertum <[email protected]>
  • Loading branch information
incertum authored and poiana committed Apr 4, 2023
1 parent 8780d9d commit b5e2240
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rules/falco_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
- macro: modify
condition: (rename or remove)

# %evt.arg.flags available for evt.dir=>, but only for umount2
# %evt.arg.name is path and available for evt.dir=<
- macro: umount
condition: (evt.type in (umount, umount2))

- macro: spawned_process
condition: (evt.type in (execve, execveat) and evt.dir=<)

Expand Down

0 comments on commit b5e2240

Please sign in to comment.