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

ENH: Blueliv collector accepts arbitrary API URL #1336

Merged
4 commits merged into from
Oct 19, 2018

Conversation

Teebor-Choka
Copy link
Contributor

Non-free Blueliv crimeserver API uses a different API URL which the original Blueliv collector was not able to receive as an input.

Non-free Blueliv crimeserver API uses a different API URL which the original Blueliv collector was not able to receive as an input.
@codecov-io
Copy link

codecov-io commented Oct 17, 2018

Codecov Report

Merging #1336 into develop will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop    #1336      +/-   ##
===========================================
- Coverage     74.6%   74.59%   -0.02%     
===========================================
  Files          294      294              
  Lines        13486    13488       +2     
  Branches      1827     1828       +1     
===========================================
  Hits         10061    10061              
- Misses        3011     3013       +2     
  Partials       414      414
Impacted Files Coverage Δ
...q/bots/collectors/blueliv/collector_crimeserver.py 44% <0%> (-3.83%) ⬇️

Set the api url to default if not given as parameter
@ghost ghost self-assigned this Oct 17, 2018
@ghost ghost added feature Indicates new feature requests or new features component: bots labels Oct 17, 2018
@ghost ghost added this to the 1.2.0 milestone Oct 17, 2018
@ghost
Copy link

ghost commented Oct 17, 2018

Could you please describe the two APIs in the feeds documentation?
https://github.com/certtools/intelmq/blob/develop/intelmq/etc/feeds.yaml#L422

Ie. That the one is free and the other one is commercial, and probably other differences.

I added a commit to you branch adding docs and backwards compatibility.

@Teebor-Choka
Copy link
Contributor Author

The documentation for Blueliv APIs is quite sparse. The official API reference uses the non-free API https://api.blueliv.com however the SDK REST API wiki uses an example of a free API https://freeapi.blueliv.com.

@ghost
Copy link

ghost commented Oct 19, 2018

Thanks for the additions!

@ghost ghost self-requested a review October 19, 2018 10:21
@ghost ghost merged commit ef34571 into certtools:develop Oct 19, 2018
@Teebor-Choka Teebor-Choka deleted the blueliv-collector-extend branch October 19, 2018 10:40
@ghost ghost modified the milestones: 1.2.0, 2.0.0 Apr 9, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: bots feature Indicates new feature requests or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants