Add status attribute for all findings

Note that this is currently not enforced for (new) findings, but highly
recommended. Especially when performing retests.
This commit is contained in:
Peter Mosmans
2017-11-10 16:45:54 +10:00
parent a8e7cc8ce1
commit 3144a26a0f

View File

@@ -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':