add /opt/so/rules/ to files_roots

This commit is contained in:
m0duspwnens
2024-02-07 09:25:56 -05:00
parent 24fd3ef8cc
commit f97d0f2f36
3 changed files with 14 additions and 1 deletions
+3 -1
View File
@@ -84,10 +84,12 @@ suridatadir:
- mode: 770
- makedirs: True
# salt:// would resolve to /opt/so/rules because of the defined file_roots and
# nids not existing under /opt/so/saltstack/local/salt or /opt/so/saltstack/default/salt
surirulesync:
file.recurse:
- name: /opt/so/conf/suricata/rules/
- source: salt://suricata/rules/
- source: salt://nids/
- user: 940
- group: 940
- show_changes: False