mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
New folder for salt to maintain
This folder is where a manager will initially store uploaded PCAP/EVTX files before sending to sensors. Sensors will store uploads in this folder on their own system.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
||||||
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
||||||
# https://securityonion.net/license; you may not use this file except in compliance with the
|
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||||
# Elastic License 2.0.
|
# Elastic License 2.0.
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ soc_sbin:
|
|||||||
# - name: /usr/sbin
|
# - name: /usr/sbin
|
||||||
# - source: salt://soc/tools/sbin_jinja
|
# - source: salt://soc/tools/sbin_jinja
|
||||||
# - user: 939
|
# - user: 939
|
||||||
# - group: 939
|
# - group: 939
|
||||||
# - file_mode: 755
|
# - file_mode: 755
|
||||||
# - template: jinja
|
# - template: jinja
|
||||||
|
|
||||||
@@ -106,6 +106,13 @@ socusersroles:
|
|||||||
- require:
|
- require:
|
||||||
- sls: manager.sync_es_users
|
- sls: manager.sync_es_users
|
||||||
|
|
||||||
|
socuploaddir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/soc/uploads
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{{sls}}_state_not_allowed:
|
{{sls}}_state_not_allowed:
|
||||||
|
|||||||
Reference in New Issue
Block a user