summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in')
-rw-r--r--security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in b/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in
new file mode 100644
index 0000000..f8f8ad8
--- /dev/null
+++ b/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<template_config os="FreeBSD" profile="%%SYSCHECK_PGSQL_PROFILE%%">
+
+ <syscheck>
+ <directories realtime="yes" check_all="yes" restrict=".conf">/var/db/postgres</directories>
+ </syscheck>
+
+</template_config>
+
+<template_config os="Linux" profile="%%SYSCHECK_PGSQL_PROFILE%%">
+
+ <syscheck>
+ <directories realtime="yes" check_all="yes" restrict=".conf">/var/lib/postgresql</directories>
+ </syscheck>
+
+</template_config>