Skip to content

Commit b24c7fb

Browse files
Merge pull request #13729 from Security-Onion-Solutions/2.4/temp-summaries-branch
Use temp summaries branch
2 parents 0ff9153 + 48aff37 commit b24c7fb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup/so-functions

+7
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ airgap_rules() {
4545
# Copy the rules for detections if using Airgap
4646
mkdir -p /nsm/rules
4747
rsync -av --exclude='securityonion-resources' /root/SecurityOnion/agrules/ /nsm/rules/
48+
49+
# Copy over the securityonion-resources repo
4850
rsync -av /root/SecurityOnion/agrules/securityonion-resources/ /nsm/
51+
52+
# Copy summaries over to SOC and checkout the correct branch
53+
rsync -av --chown=socore:socore /nsm/securityonion-resources/* /opt/so/conf/soc/ai_summary_repos
54+
git config --global --add safe.directory /opt/so/conf/soc/ai_summary_repos/securityonion-resources
55+
git -C /opt/so/conf/soc/ai_summary_repos/securityonion-resources checkout staging/generated-summaries-stable
4956
}
5057

5158
add_admin_user() {

0 commit comments

Comments
 (0)