Skip to content

Commit baa63f3

Browse files
committed
fix
1 parent 5218ed9 commit baa63f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/tools/wazuh/v4_8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def parse_findings(self, test, data):
1515
severity = vuln.get("severity")
1616
cvssv3_score = vuln.get("score").get("base")
1717
publish_date = vuln.get("published_at").split("T")[0]
18-
agent_name = item.get("agent").get("name")
1918
agent_id = item.get("agent").get("id")
2019
detection_time = vuln.get("detected_at").split("T")[0]
2120

@@ -45,5 +44,6 @@ def parse_findings(self, test, data):
4544
unique_id_from_tool=dupe_key,
4645
date=detection_time,
4746
)
47+
find.unsaved_vulnerability_ids = cve
4848
dupes[dupe_key] = find
4949
return list(dupes.values())

0 commit comments

Comments
 (0)