Change summaries branch

This commit is contained in:
defensivedepth
2024-09-25 15:35:08 -04:00
parent 8e8e584087
commit 778d5be407
3 changed files with 5 additions and 5 deletions

View File

@@ -889,7 +889,7 @@ update_airgap_rules() {
rsync -av $UPDATE_DIR/agrules/detect-sigma/* /nsm/rules/detect-sigma/ rsync -av $UPDATE_DIR/agrules/detect-sigma/* /nsm/rules/detect-sigma/
rsync -av $UPDATE_DIR/agrules/detect-yara/* /nsm/rules/detect-yara/ rsync -av $UPDATE_DIR/agrules/detect-yara/* /nsm/rules/detect-yara/
# Checkout the stable summaries branch and copy them over for SOC # Checkout the stable summaries branch and copy them over for SOC
git -C $UPDATE_DIR/agrules/securityonion-resources/ checkout generated-summaries-stable git -C $UPDATE_DIR/agrules/securityonion-resources/ checkout generated-summaries-published
rsync -av $UPDATE_DIR/agrules/securityonion-resources/* /opt/so/conf/soc/ai_summary_repos rsync -av $UPDATE_DIR/agrules/securityonion-resources/* /opt/so/conf/soc/ai_summary_repos
# Checkout the main branch and copy them over to nsm # Checkout the main branch and copy them over to nsm
git -C $UPDATE_DIR/agrules/securityonion-resources/ checkout main git -C $UPDATE_DIR/agrules/securityonion-resources/ checkout main

View File

@@ -1313,7 +1313,7 @@ soc:
hostUrl: hostUrl:
elastalertengine: elastalertengine:
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
aiRepoBranch: generated-summaries-stable aiRepoBranch: generated-summaries-published
aiRepoPath: /opt/sensoroni/ai_summary_repos aiRepoPath: /opt/sensoroni/ai_summary_repos
showAiSummaries: true showAiSummaries: true
autoUpdateEnabled: true autoUpdateEnabled: true
@@ -1396,7 +1396,7 @@ soc:
- rbac/users_roles - rbac/users_roles
strelkaengine: strelkaengine:
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
aiRepoBranch: generated-summaries-stable aiRepoBranch: generated-summaries-published
aiRepoPath: /opt/sensoroni/ai_summary_repos aiRepoPath: /opt/sensoroni/ai_summary_repos
showAiSummaries: true showAiSummaries: true
autoEnabledYaraRules: autoEnabledYaraRules:
@@ -1421,7 +1421,7 @@ soc:
integrityCheckFrequencySeconds: 1200 integrityCheckFrequencySeconds: 1200
suricataengine: suricataengine:
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
aiRepoBranch: generated-summaries-stable aiRepoBranch: generated-summaries-published
aiRepoPath: /opt/sensoroni/ai_summary_repos aiRepoPath: /opt/sensoroni/ai_summary_repos
showAiSummaries: true showAiSummaries: true
autoUpdateEnabled: true autoUpdateEnabled: true

View File

@@ -52,7 +52,7 @@ airgap_rules() {
# Copy summaries over to SOC and checkout the correct branch # Copy summaries over to SOC and checkout the correct branch
rsync -av --chown=socore:socore /nsm/securityonion-resources/* /opt/so/conf/soc/ai_summary_repos rsync -av --chown=socore:socore /nsm/securityonion-resources/* /opt/so/conf/soc/ai_summary_repos
git config --global --add safe.directory /opt/so/conf/soc/ai_summary_repos/securityonion-resources git config --global --add safe.directory /opt/so/conf/soc/ai_summary_repos/securityonion-resources
git -C /opt/so/conf/soc/ai_summary_repos/securityonion-resources checkout staging/generated-summaries-stable git -C /opt/so/conf/soc/ai_summary_repos/securityonion-resources checkout generated-summaries-published
} }
add_admin_user() { add_admin_user() {