mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Move Airgap later in setup
This commit is contained in:
@@ -48,7 +48,9 @@ airgap_rules() {
|
||||
|
||||
# Copy over the securityonion-resources repo
|
||||
rsync -av /root/SecurityOnion/agrules/securityonion-resources /nsm/
|
||||
}
|
||||
|
||||
airgap_detection_summaries() {
|
||||
# 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
|
||||
|
||||
@@ -763,6 +763,10 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
logCmd "salt-call state.apply suricata -l info"
|
||||
fi
|
||||
fi
|
||||
if [[ $is_airgap ]]; then
|
||||
title "Syncing AI-Generated Detection Summaries"
|
||||
airgap_detection_summaries
|
||||
fi
|
||||
title "Setting up Kibana Default Space"
|
||||
logCmd "so-kibana-space-defaults"
|
||||
add_web_user
|
||||
|
||||
Reference in New Issue
Block a user