Let curl write below the pki db

Seems to do these writes on redhat?
This commit is contained in:
Mark Stemm
2017-11-09 14:11:36 -08:00
parent e3ef7a2ed4
commit 326fb2998a

View File

@@ -629,6 +629,9 @@
condition: (proc.cmdline startswith "python /opt/datadog-agent"
and fd.name startswith "/etc/dd-agent")
- macro: curl_writing_pki_db
condition: (proc.name=curl and fd.directory=/etc/pki/nssdb)
# 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
@@ -683,6 +686,7 @@
and not dmeventd_writing_lvm_archive
and not ovsdb_writing_openvswitch
and not datadog_writing_conf
and not curl_writing_pki_db
- rule: Write below etc
desc: an attempt to write to any file below /etc, not in a pipe installer session