Merge pull request #10387 from Security-Onion-Solutions/airgaps

Docker Enhancements
This commit is contained in:
Mike Reeves
2023-05-26 17:35:23 -04:00
committed by GitHub
45 changed files with 698 additions and 634 deletions

View File

@@ -1542,15 +1542,9 @@ create_strelka_pillar() {
"strelka:"\
" enabled: $STRELKA"\
" rules: 1" > "$strelka_pillar_file"
if [[ $is_airgap ]]; then
printf '%s\n'\
" repos:"\
" - 'https://$HOSTNAME/repo/rules/strelka'" >> "$strelka_pillar_file"
else
printf '%s\n'\
" repos:"\
" - 'https://github.com/Neo23x0/signature-base'" >> "$strelka_pillar_file"
fi
printf '%s\n'\
" repos:"\
" - 'https://$HOSTNAME:7788/yara'" >> "$strelka_pillar_file"
}
backup_pillar() {