Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rule(write_etc_common): Ignore writes by etckeeper under /etc/.git/ #23

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions rules/falco-sandbox_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,17 @@
fd.name startswith /etc/ssh/ssh_monitor_config_ or
fd.name startswith /etc/ssh/ssh_config_))

- macro: etckeeper_activities
condition: (never_true)

- macro: etckeeper
condition: >
(proc.aname = etckeeper
or (proc.aname in (50vcs-commit, 30store-metadata, 50uncommitted-c))
and (fd.name startswith /etc/.git/
or fd.name = /etc/.etckeeper)
and etckeeper_activities)

- macro: multipath_writing_conf
condition: (proc.name = multipath and fd.name startswith /etc/multipath/)

Expand Down Expand Up @@ -961,6 +972,7 @@
and not automount_using_mtab
and not mcafee_writing_cma_d
and not avinetworks_supervisor_writing_ssh
and not etckeeper
and not multipath_writing_conf
and not calico_node)

Expand Down
Loading