From 3144a26a0f16ca3fde5dff1932e3207207be2c7e Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Fri, 10 Nov 2017 16:45:54 +1000 Subject: [PATCH] Add status attribute for all findings Note that this is currently not enforced for (new) findings, but highly recommended. Especially when performing retests. --- chatops/python/validate_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatops/python/validate_report.py b/chatops/python/validate_report.py index dfaf39a..abe2a6e 100644 --- a/chatops/python/validate_report.py +++ b/chatops/python/validate_report.py @@ -302,7 +302,7 @@ def validate_type(tree, filename, options): if xml_type == 'pentest_report': attributes = ['findingCode'] if xml_type == 'finding': - attributes = ['threatLevel', 'type', 'id'] + attributes = ['threatLevel', 'type', 'id', 'status'] tags = ['title', 'description', 'technicaldescription', 'impact', 'recommendation'] if xml_type == 'non-finding':