forked from DefectDojo/django-DefectDojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Improvements for wazuh importer (DefectDojo#9248)
* improvement for wazuh importer * 🔧 change on dedupe for Wazuh * 🔧 change on dedupe for Wazuh * 📝 * ✏️ * 📝 * 📝 * flake8 * 🎉 recoded wazuh importer to support endpoints * ✅ adjusted unittests * 📝 * ✏️ * ✏️ --------- Co-authored-by: Cody Maffucci <[email protected]>
- Loading branch information
1 parent
ebbe1e8
commit 710d498
Showing
5 changed files
with
139 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"data": { | ||
"affected_items": [ | ||
{ | ||
"name": "asdf", | ||
"version": "1", | ||
"cve": "CVE-1234-1234", | ||
"cvss2_score": 0, | ||
"title": "CVE-1234-1234 affects curl", | ||
"published": "2023-12-07", | ||
"architecture": "amd64", | ||
"status": "VALID", | ||
"cvss3_score": 6.5, | ||
"external_references": [ | ||
"https://nvd.nist.gov/vuln/detail/CVE-1234-1234", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1234-1234" | ||
], | ||
"updated": "2023-12-24", | ||
"severity": "Medium", | ||
"type": "PACKAGE", | ||
"detection_time": "2023-12-13T22:11:57+00:00", | ||
"condition": "Package less than 2", | ||
"agent_ip": "111.111.111.111", | ||
"agent_name": "agent-1" | ||
} | ||
], | ||
"total_affected_items": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters