Merge pull request #11687 from Security-Onion-Solutions/jertel/auto

adjust log filter to include all hosts
This commit is contained in:
Jason Ertel
2023-11-02 09:24:08 -04:00
committed by GitHub

View File

@@ -25,7 +25,8 @@ log_has_errors() {
# Ignore salt mast cached public key and minion failed to auth because this is a test # Ignore salt mast cached public key and minion failed to auth because this is a test
# to see if the salt key had already been accepted. # to see if the salt key had already been accepted.
# Ignore failed to connect to ::1 since we have most curls wrapped in a retry. # Ignore failed to connect to since we have most curls wrapped in a retry and there are
# multiple mirrors available.
# Ignore perl-Error- since that is the name of a Perl package SO installs. # Ignore perl-Error- since that is the name of a Perl package SO installs.
@@ -39,7 +40,7 @@ log_has_errors() {
grep -E "FAILED|Failed|failed|ERROR|Result: False|Error is not recoverable" "$setup_log" | \ grep -E "FAILED|Failed|failed|ERROR|Result: False|Error is not recoverable" "$setup_log" | \
grep -vE "The Salt Master has cached the public key for this node" | \ grep -vE "The Salt Master has cached the public key for this node" | \
grep -vE "Minion failed to authenticate with the master" | \ grep -vE "Minion failed to authenticate with the master" | \
grep -vE "Failed to connect to ::1" | \ grep -vE "Failed to connect to " | \
grep -vE "Failed to set locale" | \ grep -vE "Failed to set locale" | \
grep -vE "perl-Error-" | \ grep -vE "perl-Error-" | \
grep -vE "Failed:\s*?[0-9]+" | \ grep -vE "Failed:\s*?[0-9]+" | \