mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 02:32:46 +01:00
Fix verify so copying sigma rules isnt fail
This commit is contained in:
@@ -904,7 +904,7 @@ create_manager_pillars() {
|
||||
influxdb_pillar
|
||||
logrotate_pillar
|
||||
patch_pillar
|
||||
|
||||
nginx_pillar
|
||||
}
|
||||
|
||||
create_repo() {
|
||||
@@ -967,7 +967,7 @@ download_elastic_agent_artifacts() {
|
||||
else
|
||||
logCmd "mkdir -p /nsm/elastic-fleet/artifacts/beats/elastic-agent/"
|
||||
logCmd "curl --retry 5 --retry-delay 60 https://repo.securityonion.net/file/so-repo/prod/2.4/elasticagent/elastic-agent_SO-$SOVERSION.tar.gz --output /nsm/elastic-fleet/artifacts/elastic-agent_SO-$SOVERSION.tar.gz"
|
||||
logCmd "tar -xf /nsm/elastic-fleet/artifacts/beats/elastic-agent_SO-$SOVERSION.tar.gz -C /nsm/elastic-fleet/artifacts/beats/elastic-agent/"
|
||||
logCmd "tar -xf /nsm/elastic-fleet/artifacts/elastic-agent_SO-$SOVERSION.tar.gz -C /nsm/elastic-fleet/artifacts/beats/elastic-agent/"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -1389,6 +1389,19 @@ idstools_pillar() {
|
||||
touch $adv_idstools_pillar_file
|
||||
}
|
||||
|
||||
nginx_pillar() {
|
||||
title "Creating the NGINX pillar"
|
||||
[[ -z "$TESTING" ]] && return
|
||||
|
||||
# When testing, set the login rate limiting to high values to avoid failing automated logins
|
||||
printf '%s\n'\
|
||||
"nginx:"\
|
||||
" config:"\
|
||||
" throttle_login_burst: 9999"\
|
||||
" throttle_login_rate: 9999"\
|
||||
"" > "$nginx_pillar_file"
|
||||
}
|
||||
|
||||
soc_pillar() {
|
||||
title "Creating the SOC pillar"
|
||||
touch $adv_soc_pillar_file
|
||||
|
||||
Reference in New Issue
Block a user