diff --git a/dojo/tools/tenable/xml_format.py b/dojo/tools/tenable/xml_format.py index 8949ba7e4db..5ea2e4bdc78 100644 --- a/dojo/tools/tenable/xml_format.py +++ b/dojo/tools/tenable/xml_format.py @@ -275,6 +275,9 @@ def get_findings(self, filename: str, test: Test) -> list: if cvss is not None: severity = self.get_cvss_severity(cvss) + # set the pluginID + plugin_id = item.attrib.get("pluginID") + # Determine the current entry has already been parsed in # this report dupe_key = severity + title @@ -290,6 +293,7 @@ def get_findings(self, filename: str, test: Test) -> list: cwe=cwe, cvssv3=cvssv3, cvssv3_score=cvssv3_score, + unique_id_from_tool=plugin_id, ) find.unsaved_endpoints = [] find.unsaved_vulnerability_ids = []