mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-09-04 23:09:21 +02: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:
@@ -855,7 +855,7 @@ soc:
|
||||
forcedType: bool
|
||||
dontScanBefore:
|
||||
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)
|
||||
global: True
|
||||
advanced: True
|
||||
|
||||
Reference in New Issue
Block a user