Skip to content

Commit

Permalink
fix parser
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoOMaia authored Dec 18, 2024
1 parent e729b7d commit 35edb10
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dojo/tools/nmap/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def get_findings(self, file, test):
mitigation="N/A",
impact="No impact provided",
vuln_id_from_tool=script_id,
test=test,
)
find.unsaved_endpoints = []
dupes[dupe_key] = find
Expand Down
1 change: 0 additions & 1 deletion dojo/tools/nuclei/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def get_findings(self, filename, test):
severity=severity,
nb_occurences=1,
vuln_id_from_tool=template_id,
test=test,
)
if finding.severity != "Info":
finding.problem = problems_help.find_or_create_problem(finding)
Expand Down
2 changes: 1 addition & 1 deletion dojo/tools/openvas/xml_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def get_findings(self, filename, test):

finding = Finding(
title=str(title),
test=test,
description="\n".join(description),
severity=severity,
dynamic_finding=True,
static_finding=False,
test=test,
vuln_id_from_tool=script_id,
)
if finding.severity != "Info":
Expand Down

0 comments on commit 35edb10

Please sign in to comment.