mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 01:02:46 +01:00
Merge pull request #13737 from Security-Onion-Solutions/2.4/summaries
Change summaries branch
This commit is contained in:
@@ -889,7 +889,7 @@ update_airgap_rules() {
|
||||
rsync -av $UPDATE_DIR/agrules/detect-sigma/* /nsm/rules/detect-sigma/
|
||||
rsync -av $UPDATE_DIR/agrules/detect-yara/* /nsm/rules/detect-yara/
|
||||
# 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
|
||||
# Checkout the main branch and copy them over to nsm
|
||||
git -C $UPDATE_DIR/agrules/securityonion-resources/ checkout main
|
||||
|
||||
@@ -1313,7 +1313,7 @@ soc:
|
||||
hostUrl:
|
||||
elastalertengine:
|
||||
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
|
||||
aiRepoBranch: generated-summaries-stable
|
||||
aiRepoBranch: generated-summaries-published
|
||||
aiRepoPath: /opt/sensoroni/ai_summary_repos
|
||||
showAiSummaries: true
|
||||
autoUpdateEnabled: true
|
||||
@@ -1396,7 +1396,7 @@ soc:
|
||||
- rbac/users_roles
|
||||
strelkaengine:
|
||||
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
|
||||
aiRepoBranch: generated-summaries-stable
|
||||
aiRepoBranch: generated-summaries-published
|
||||
aiRepoPath: /opt/sensoroni/ai_summary_repos
|
||||
showAiSummaries: true
|
||||
autoEnabledYaraRules:
|
||||
@@ -1421,7 +1421,7 @@ soc:
|
||||
integrityCheckFrequencySeconds: 1200
|
||||
suricataengine:
|
||||
aiRepoUrl: https://github.com/Security-Onion-Solutions/securityonion-resources
|
||||
aiRepoBranch: generated-summaries-stable
|
||||
aiRepoBranch: generated-summaries-published
|
||||
aiRepoPath: /opt/sensoroni/ai_summary_repos
|
||||
showAiSummaries: true
|
||||
autoUpdateEnabled: true
|
||||
|
||||
@@ -52,7 +52,7 @@ airgap_rules() {
|
||||
# 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
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user