Fix idstools jinja

This commit is contained in:
Mike Reeves
2020-07-18 22:46:57 -04:00
parent 517edf1938
commit 1bcbcb1f98
3 changed files with 9 additions and 5 deletions

View File

@@ -9,7 +9,8 @@
# - All regular expression matches are case insensitive.
# re:hearbleed
# re:MS(0[7-9]|10)-\d+
{%- if disabled_sids != None %}
{%- for sid in disabled_sids %}
{{ sid }}
{%- endfor %}
{%- endfor %}
{%- endif %}

View File

@@ -9,7 +9,8 @@
# - 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 %}
{%- endfor %}
{%- endif %}

View File

@@ -5,6 +5,8 @@
# Example changing the seconds for rule 2019401 to 3600.
#2019401 "seconds \d+" "seconds 3600"
{%- if modify_sids != None %}
{%- for sid in modify_sids %}
{{ sid }}
{%- endfor %}
{%- endfor %}
{%- endif %}