{%- set enabled_sids = salt['pillar.get']('idstools:sids:enabled', {}) -%} # idstools-rulecat - enable.conf # Example of enabling a rule by signature ID (gid is optional). # 1:2019401 # 2019401 # Example of enabling a rule by regular expression. # - All regular expression matches are case insensitive. # re:hearbleed # re:MS(0[7-9]|10)-\d+ {%- if enabled_sids != None %} {%- for sid in enabled_sids %} {{ sid }} {%- endfor %} {%- endif %}