mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-16 06:48:31 +00:00
Let java write specific config files below /etc
This commit is contained in:
@@ -642,6 +642,9 @@
|
||||
condition: ((proc.name=update-haproxy- or proc.pname=update-haproxy-)
|
||||
and fd.name in (/etc/openvpn/client.map, /etc/haproxy/client.map-))
|
||||
|
||||
- macro: java_writing_conf
|
||||
condition: (proc.name=java and fd.name=/etc/.java/.systemPrefs/.system.lock)
|
||||
|
||||
# Add conditions to this macro (probably in a separate file,
|
||||
# overwriting this macro) to allow for specific combinations of
|
||||
# programs writing below specific directories below
|
||||
@@ -698,6 +701,7 @@
|
||||
and not datadog_writing_conf
|
||||
and not curl_writing_pki_db
|
||||
and not haproxy_writing_conf
|
||||
and not java_writing_conf
|
||||
|
||||
- rule: Write below etc
|
||||
desc: an attempt to write to any file below /etc, not in a pipe installer session
|
||||
|
Reference in New Issue
Block a user