From 6347532dd8bea0e35cf60a41520d9c474a0e94cd Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 26 Oct 2022 18:48:20 -0400 Subject: [PATCH] regex should match entire input against allowed logLevel values --- salt/soc/soc_soc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/soc/soc_soc.yaml b/salt/soc/soc_soc.yaml index 0387cbef6..22397fcc4 100644 --- a/salt/soc/soc_soc.yaml +++ b/salt/soc/soc_soc.yaml @@ -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: