diff --git a/bin/jinja2_templates/doc_detections_markdown.j2 b/bin/jinja2_templates/doc_detections_markdown.j2 index 88db5af004..91bedbae2d 100644 --- a/bin/jinja2_templates/doc_detections_markdown.j2 +++ b/bin/jinja2_templates/doc_detections_markdown.j2 @@ -108,9 +108,11 @@ All the detections shipped to different Splunk products. Below is a breakdown by {{ detection.known_false_positives}} #### Reference +{% if detection.references %} {% for reference in detection.references %} * {{ reference }} {% endfor %} +{% endif %} #### Test Dataset {% for dataset in detection.tags.dataset %} diff --git a/bin/jinja2_templates/doc_detections_wiki.j2 b/bin/jinja2_templates/doc_detections_wiki.j2 index e69a4a14b4..1c64ccdefb 100644 --- a/bin/jinja2_templates/doc_detections_wiki.j2 +++ b/bin/jinja2_templates/doc_detections_wiki.j2 @@ -57,9 +57,11 @@ All the detections shipped to different Splunk products. Below is a breakdown by {{ detection.known_false_positives}} ====Reference==== +{% if detection.references %} {% for reference in detection.references %} * {{ reference }} {% endfor %} +{% endif %} ====Test Dataset==== {% for dataset in detection.tags.dataset %} diff --git a/requirements.txt b/requirements.txt index d3f1f5a28e..6ece5919e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,14 +35,14 @@ pathlib2==2.3.5 pendulum==1.2.5 pep517==0.8.2 Pillow==8.1.2 -progress==1.5 -pyattck==2.1.3 -pyfiglet==0.8.post1 -pyparsing==2.4.6 pre-commit==2.11.1 +progress==1.5 prompt-toolkit==1.0.14 +pyattck==3.0.1 +pyfiglet==0.8.post1 Pygments==2.8.1 PyInquirer==1.0.3 +pyparsing==2.4.6 pyrsistent==0.17.3 python-dateutil==2.8.1 pytoml==0.1.21 @@ -62,11 +62,11 @@ stix2==2.1.0 stix2-patterns==1.2.1 taxii2-client==2.3.0 termcolor==1.1.0 +toml==0.10.2 typing==3.7.4.3 tzlocal==2.1 urllib3==1.26.4 virtualenv==20.4.3 wcwidth==0.2.5 webencodings==0.5.1 -toml==0.10.2 zipp==3.4.1