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

Fix/address addl rules fps #1372

Merged
merged 13 commits into from
Sep 3, 2020
Prev Previous commit
Next Next commit
rule(Write below etc): add calco exceptions
Add several calico images and command line programs that end up writing
below /etc/calico.

Signed-off-by: Mark Stemm <[email protected]>
mstemm committed Sep 2, 2020
commit 95f06a56c24b10d120c8328468988dd10b3b4ebf
5 changes: 4 additions & 1 deletion rules/falco_rules.yaml
Original file line number Diff line number Diff line change
@@ -1183,7 +1183,10 @@

- macro: calico_writing_conf
condition: >
(proc.name = calico-node and fd.name startswith /etc/calico)
(((proc.name = calico-node) or
(container.image.repository=gcr.io/projectcalico-org/node and proc.name in (start_runit, cp)) or
(container.image.repository=gcr.io/projectcalico-org/cni and proc.name=sed))
and fd.name startswith /etc/calico)

- macro: prometheus_conf_writing_conf
condition: (proc.name=prometheus-conf and fd.name startswith /etc/prometheus/config_out)