mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-16 01:14:09 +01:00
Fix Regex
Double quoted stings in yaml allow for escape sequences like `\n` and `\t` but when used around a regex, salt will hang up on `\d` not being a valid escape sequence. Switching to single quotes so escapes aren't processed.
This commit is contained in:
1 file changed
+1
-1
@@ -855,7 +855,7 @@ soc:
|
|||||||
forcedType: bool
|
forcedType: bool
|
||||||
dontScanBefore:
|
dontScanBefore:
|
||||||
description: A date specifying how far back to scan for memories. Must be in UTC format (2026-08-31T22:05:48Z).
|
description: A date specifying how far back to scan for memories. Must be in UTC format (2026-08-31T22:05:48Z).
|
||||||
regex: "^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z)?$"
|
regex: '^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z)?$'
|
||||||
regexFailureMessage: Expecting date in RFC3339 format (2026-08-31T22:05:48Z)
|
regexFailureMessage: Expecting date in RFC3339 format (2026-08-31T22:05:48Z)
|
||||||
global: True
|
global: True
|
||||||
advanced: True
|
advanced: True
|
||||||
|
|||||||
Reference in new issue
Block a user