Skip to content
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

Merged
4 commits merged into from Dec 19, 2017
Merged

fix type mapping for n6 parser #1127

4 commits merged into from Dec 19, 2017

Conversation

ghost
Copy link

@ghost ghost commented Dec 4, 2017

fixes #738

mappings for idea are confirmed by @pharook

@ghost ghost added bug Indicates an unexpected problem or unintended behavior component: bots data-format labels Dec 4, 2017
@ghost ghost added this to the 1.0.3 milestone Dec 4, 2017
@ghost ghost requested a review from aaronkaplan December 4, 2017 11:20
@codecov-io
Copy link

codecov-io commented Dec 4, 2017

Codecov Report

Merging #1127 into maintenance will increase coverage by <.01%.
The diff coverage is 100%.

@@               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
Impacted Files Coverage Δ
intelmq/bots/experts/taxonomy/expert.py 100% <ø> (ø) ⬆️
intelmq/bots/experts/idea/expert.py 98% <ø> (ø) ⬆️
intelmq/tests/bin/test_gen_harm_docs.py 100% <100%> (ø) ⬆️
intelmq/lib/harmonization.py 81.56% <100%> (+0.04%) ⬆️
intelmq/bots/parsers/n6/parser_n6stomp.py 62.1% <100%> (ø) ⬆️

Copy link
Member

@aaronkaplan aaronkaplan left a 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",
Copy link
Member

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",
Copy link
Member

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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@aaronkaplan
Copy link
Member

@wagner-certat I think we can merge this.

in certtools/inetlmq#738
@ghost
Copy link
Author

ghost commented Dec 5, 2017

Thanks for the review @aaronkaplan

I additionally added details to the NEWS file including an SQL statement.

@ghost ghost merged commit 8059988 into certtools:maintenance Dec 19, 2017
@ghost ghost deleted the fix-738 branch December 20, 2017 14:30
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: bots data-format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants