mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-06 16:23:09 +01:00
test regexes for detections
This commit is contained in:
@@ -1257,6 +1257,13 @@ soc_pillar() {
|
||||
" config:"\
|
||||
" server:"\
|
||||
" srvKey: '$SOCSRVKEY'"\
|
||||
" modules:"\
|
||||
" elastalertengine:"\
|
||||
" allowRegex: '$ELASTALERT_ALLOW_REGEX'"\
|
||||
" strelkaengine:"\
|
||||
" allowRegex: '$STRELKA_ALLOW_REGEX'"\
|
||||
" suricataengine:"\
|
||||
" allowRegex: '$SURICATA_ALLOW_REGEX'"\
|
||||
"" > "$soc_pillar_file"
|
||||
|
||||
if [[ $telemetry -ne 0 ]]; then
|
||||
|
||||
@@ -245,6 +245,9 @@ if [ -n "$test_profile" ]; then
|
||||
WEBUSER=onionuser@somewhere.invalid
|
||||
WEBPASSWD1=0n10nus3r
|
||||
WEBPASSWD2=0n10nus3r
|
||||
STRELKA_ALLOW_REGEX="EquationGroup_Toolset_Apr17__ELV_.*"
|
||||
ELASTALERT_ALLOW_REGEX="Security Onion"
|
||||
SURICATA_ALLOW_REGEX="200033\\d"
|
||||
|
||||
update_sudoers_for_testing
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user