Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change summaries branch #13737

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion salt/manager/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions salt/soc/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup/so-functions
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Loading