-
Notifications
You must be signed in to change notification settings - Fork 1.7k
OpenVAS Parser - parsing and deduplication improvments #12920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
@@ -1348,6 +1348,7 @@ def saml2_attrib_map_format(din): | |||
"Qualys Hacker Guardian Scan": ["title", "severity", "description"], | |||
"Cyberwatch scan (Galeax)": ["title", "description", "severity"], | |||
"Cycognito Scan": ["title", "severity"], | |||
"OpenVAS Parser v2": ["title", "unique_id_from_tool", "vuln_id_from_tool"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unique_id_from_tool
should not be in here, you should set DEDUPLICATION_ALGORITHM_PER_PARSER
to DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL_OR_HASH_CODE
for this v2 parser.
Using the port could work, but I don't see where you're using it? The |
This changed updates the OpenVAS Parser to fix the issues described in #12378. This PR was initially planned as an update the the existing parser. However after all the changes and possible problems for user we decided to move the changes into a v2 version of the parser (see linked issue).
Detailed changes:
General:
CSV Parser:
XML Parser:
TODOs:
[x] extract more information from xml
~~[] migration for OpenVAS parser ~~
[x] improve testing with better test files
Open Questions: