From 5cc81983023472c152fe84033994b41adedab9d5 Mon Sep 17 00:00:00 2001 From: defensivedepth Date: Mon, 23 Sep 2024 16:32:42 -0400 Subject: [PATCH] Fix permissions --- salt/elasticfleet/config.sls | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/salt/elasticfleet/config.sls b/salt/elasticfleet/config.sls index 91a1fe210..43bfb8af9 100644 --- a/salt/elasticfleet/config.sls +++ b/salt/elasticfleet/config.sls @@ -74,23 +74,19 @@ eapackageupgrade: {% if GLOBALS.role != "so-fleet" %} +soresourcesrepoconfig: + git.config_set: + - name: safe.directory + - value: /nsm/securityonion-resources + - global: True + {% if not GLOBALS.airgap %} -elasticdefendrepodir: - file.directory: - - name: /nsm/securityonion-resources - - user: 939 - - group: 939 - - makedirs: True - soresourcesrepoclone: git.latest: - name: https://github.com/Security-Onion-Solutions/securityonion-resources.git - target: /nsm/securityonion-resources - rev: 'dev/defend_filters' - depth: 1 - - force_fetch: true - - force_clone: true - - user: socore # id is not allowed for this {% endif %} elasticdefendconfdir: