-
Notifications
You must be signed in to change notification settings - Fork 297
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
fix type mapping for n6 parser #1127
Conversation
Codecov Report
@@ Coverage Diff @@
## maintenance #1127 +/- ##
===============================================
+ Coverage 75.31% 75.31% +<.01%
===============================================
Files 217 217
Lines 9239 9240 +1
Branches 1246 1246
===============================================
+ Hits 6958 6959 +1
Misses 1996 1996
Partials 285 285
|
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.
looks ok for me.
However, did not check if this was complete over all bots.
@@ -59,8 +59,8 @@ | |||
"type": "malware", "identifier": "malware"} | |||
mapping['vulnerable'] = {"taxonomy": "Vulnerable", | |||
"type": "other", "identifier": "vulnerable"} | |||
mapping['other'] = {"taxonomy": "Vulnerable", | |||
"type": "unknown", "identifier": "unknown"} | |||
mapping['other'] = {"taxonomy": "Other", |
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.
agreed
"type": "proxy", "identifier": "open proxy"} | ||
mapping['sandbox-url'] = {"taxonomy": "ignore", | ||
"type": "ignore", "identifier": "ignore me"} | ||
mapping['proxy'] = {"taxonomy": "Other", |
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.
might be replaced in the future by the taxonomy "accessible". But that's the future....
"type": "ignore", "identifier": "ignore me"} | ||
mapping['proxy'] = {"taxonomy": "Other", | ||
"type": "proxy", "identifier": "openproxy"} | ||
mapping['sandbox-url'] = {"taxonomy": "malicious code", |
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.
ACK
@wagner-certat I think we can merge this. |
in certtools/inetlmq#738
Thanks for the review @aaronkaplan I additionally added details to the NEWS file including an SQL statement. |
including allowed values
fixes #738
mappings for idea are confirmed by @pharook