mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Change Compilation Report Path
Move compilation report path to /opt/so/state and mount that foulder in SOC
This commit is contained in:
@@ -46,6 +46,7 @@ so-soc:
|
||||
- /opt/so/saltstack:/opt/so/saltstack:rw
|
||||
- /opt/so/conf/soc/migrations:/opt/so/conf/soc/migrations:rw
|
||||
- /nsm/backup/detections-migration:/nsm/backup/detections-migration:ro
|
||||
- /opt/so/state:/opt/so/state:rw
|
||||
- extra_hosts:
|
||||
{% for node in DOCKER_EXTRA_HOSTS %}
|
||||
{% for hostname, ip in node.items() %}
|
||||
|
||||
@@ -85,7 +85,7 @@ def compile_yara_rules(rules_dir):
|
||||
}
|
||||
|
||||
# Write total
|
||||
with open('/opt/sensoroni/logs/detections_yara_compilation-total.log', 'w+') as report_file:
|
||||
with open('/opt/so/state/detections_yara_compilation-total.log', 'w+') as report_file:
|
||||
json.dump(compilation_report, report_file)
|
||||
|
||||
# Print summary of compilation results
|
||||
|
||||
Reference in New Issue
Block a user