You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding error inline so it's easier to review this:
[12/Nov/2024 14:38:49] ERROR [dojo.engagement.views:933] Version of CPE not implemented
Traceback (most recent call last):
File "/app/dojo/engagement/views.py", line 924, in import_findings
context["test"], _, finding_count, closed_finding_count, _, _, _ = importer_client.process_scan(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/importers/default_importer.py", line 107, in process_scan
self.parsed_findings = self.parse_findings(scan, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/importers/default_importer.py", line 313, in parse_findings
self.parsed_findings = self.parse_findings_static_test_type(scan, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/importers/default_importer.py", line 330, in parse_findings_static_test_type
return super().parse_findings_static_test_type(scan, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/importers/base_importer.py", line 161, in parse_findings_static_test_type
return parser.get_findings(scan, self.test)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/tools/tenable/parser.py", line 23, in get_findings
return TenableCSVParser().get_findings(filename, test)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/tools/tenable/csv_format.py", line 163, in get_findings
cpe_decoded = CPE(detected_cpe[0])
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cpe/cpe.py", line 311, in __new__
raise NotImplementedError(errmsg)
NotImplementedError: Version of CPE not implemented
Be informative
Tenable csv import fails if it has records with CPE field included
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
CPE handling is properly implemented, import works with no errors.
Deployment method (select with an
X
)Environment information
Logs
Stacktrace included cpe_error.log
Sample scan files
cpe_raport.csv
The text was updated successfully, but these errors were encountered: