regex should match entire input against allowed logLevel values

This commit is contained in:
Jason Ertel
2022-10-26 18:48:20 -04:00
parent 1c23d91a3b
commit 6347532dd8

View File

@@ -2,7 +2,7 @@ soc:
logLevel:
description: The SOC log level, useful for enabling debug logging for advanced troubleshooting. Allowed values are debug, info, warn, error. The SOC log is available at /opt/so/log/soc/sensoroni-server.log.
global: True
regex: (info|debug|warn|error)
regex: ^(info|debug|warn|error)$
files:
soc:
banner__md: