From 5b4ec70ca6d3f4e6cd7ec8603a809cdd05a96843 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 26 May 2023 09:37:57 -0400 Subject: [PATCH] fix typo on suricata annotations. add to global annotations --- salt/global/soc_global.yaml | 5 +++++ salt/suricata/soc_suricata.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/salt/global/soc_global.yaml b/salt/global/soc_global.yaml index 6861affd7..14d637d50 100644 --- a/salt/global/soc_global.yaml +++ b/salt/global/soc_global.yaml @@ -6,8 +6,13 @@ global: managerip: description: The IP address of the grid manager. global: True + advanced: True + regex: ^(([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?)?$ + regexFailureMessage: You must enter a valid IP address or CIDR. mdengine: description: What engine to use for meta data generation. Options are ZEEK and SURICATA. + regex: ^(ZEEK|SURICATA)$ + regexFailureMessage: You must enter either ZEEK or SURICATA. global: True ids: description: Which IDS engine to use. Currently only Suricata is supported. diff --git a/salt/suricata/soc_suricata.yaml b/salt/suricata/soc_suricata.yaml index 69ff5cdff..f13e89618 100644 --- a/salt/suricata/soc_suricata.yaml +++ b/salt/suricata/soc_suricata.yaml @@ -28,7 +28,7 @@ suricata: advanced: True readonly: True threads: - description: The ammount of worker threads. + description: The amount of worker threads. helpLink: suricata.html forcedType: int tpacket-v3: