Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dojo/tools/tenable/xml_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,12 @@
if cvss is not None:
severity = self.get_cvss_severity(cvss)

# set the pluginID

Check failure on line 278 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E101)

dojo/tools/tenable/xml_format.py:278:1: E101 Indentation contains mixed spaces and tabs

Check failure on line 278 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (W191)

dojo/tools/tenable/xml_format.py:278:1: W191 Indentation contains tabs
plugin_id = item.attrib.get("pluginID")

Check failure on line 279 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff

dojo/tools/tenable/xml_format.py:279:7: SyntaxError: unindent does not match any outer indentation level

Check failure on line 279 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff

dojo/tools/tenable/xml_format.py:279:7: SyntaxError: unindent does not match any outer indentation level

Check failure on line 279 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E101)

dojo/tools/tenable/xml_format.py:279:1: E101 Indentation contains mixed spaces and tabs

Check failure on line 279 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (W191)

dojo/tools/tenable/xml_format.py:279:1: W191 Indentation contains tabs

# Determine the current entry has already been parsed in

Check failure on line 281 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E116)

dojo/tools/tenable/xml_format.py:281:1: E116 Unexpected indentation (comment)
# this report

Check failure on line 282 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E116)

dojo/tools/tenable/xml_format.py:282:1: E116 Unexpected indentation (comment)
dupe_key = severity + title

Check failure on line 283 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E113)

dojo/tools/tenable/xml_format.py:283:1: E113 Unexpected indentation

Check failure on line 283 in dojo/tools/tenable/xml_format.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff

dojo/tools/tenable/xml_format.py:283:1: SyntaxError: Unexpected indentation
if dupe_key not in dupes:
find = Finding(
title=title,
Expand All @@ -290,6 +293,7 @@
cwe=cwe,
cvssv3=cvssv3,
cvssv3_score=cvssv3_score,
unique_id_from_tool=plugin_id,
)
find.unsaved_endpoints = []
find.unsaved_vulnerability_ids = []
Expand Down
Loading