Skip to content

Commit 1671d06

Browse files
author
Tejas Saubhage
committed
Remove port from finding title, keep only in endpoint
1 parent 7f5375e commit 1671d06

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dojo/tools/qualys/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def parse_finding(host, tree):
320320
if temp_cve_details:
321321
refs = temp.get("links", "")
322322
finding = Finding(
323-
title="QID-" + gid[4:] + " | " + temp["vuln_name"] + (" | Port: " + str(temp["port_status"]) if temp.get("port_status") else ""),
323+
title="QID-" + gid[4:] + " | " + temp["vuln_name"],
324324
mitigation=temp["solution"],
325325
description=temp["vuln_description"],
326326
severity=sev,
@@ -332,7 +332,7 @@ def parse_finding(host, tree):
332332

333333
else:
334334
finding = Finding(
335-
title="QID-" + gid[4:] + " | " + temp["vuln_name"] + (" | Port: " + str(temp["port_status"]) if temp.get("port_status") else ""),
335+
title="QID-" + gid[4:] + " | " + temp["vuln_name"],
336336
mitigation=temp["solution"],
337337
description=temp["vuln_description"],
338338
severity=sev,

0 commit comments

Comments
 (0)