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

Shadowserver 0 reports downloaded #2353

Closed
ludoComp9 opened this issue Apr 25, 2023 · 3 comments
Closed

Shadowserver 0 reports downloaded #2353

ludoComp9 opened this issue Apr 25, 2023 · 3 comments

Comments

@ludoComp9
Copy link

ludoComp9 commented Apr 25, 2023

Hello,

From my IntelMQ 3.1.0 docker (compose) instance, I have configured ShadowServerAPI bots defining api_key & secret values given by shadowserver foundation. (their call_api.py script works fine).
None data retrieved from bot:

2023-04-25 09:51:51,802 - ShadowServerAPI-Collector - INFO - ShadowServerAPICollectorBot initialized with id ShadowServerAPI-Collector and intelmq 3.1.0 and python 3.9.2 (default, Feb 28 2021, 17:03:44) as process 778.
2023-04-25 09:51:51,802 - ShadowServerAPI-Collector - INFO - Bot is starting.
2023-04-25 09:51:51,819 - ShadowServerAPI-Collector - DEBUG - Loading Harmonization configuration from '/opt/intelmq/etc/harmonization.conf'.
2023-04-25 09:51:51,844 - ShadowServerAPI-Collector - DEBUG - Running HTTP Mixin initialization.
2023-04-25 09:51:51,844 - ShadowServerAPI-Collector - DEBUG - Loading source pipeline and queue 'ShadowServerAPI-Collector-queue'.
2023-04-25 09:51:51,846 - ShadowServerAPI-Collector - DEBUG - Connected to source queue.
2023-04-25 09:51:51,846 - ShadowServerAPI-Collector - DEBUG - Loading destination pipeline and queues {'_default': ['File-Output-queue']}.
2023-04-25 09:51:51,847 - ShadowServerAPI-Collector - DEBUG - Connected to destination queues.
2023-04-25 09:51:51,847 - ShadowServerAPI-Collector - INFO - Bot initialization completed.
2023-04-25 09:51:51,847 - ShadowServerAPI-Collector - DEBUG - Loading source pipeline and queue 'ShadowServerAPI-Collector-queue'.
2023-04-25 09:51:51,848 - ShadowServerAPI-Collector - DEBUG - Connected to source queue.
2023-04-25 09:51:51,848 - ShadowServerAPI-Collector - DEBUG - Loading destination pipeline and queues {'_default': ['File-Output-queue']}.
2023-04-25 09:51:51,849 - ShadowServerAPI-Collector - DEBUG - Connected to destination queues.
2023-04-25 09:51:51,849 - ShadowServerAPI-Collector - DEBUG - Downloading report list with data: { "apikey": "xxxxx" ,"date": "2023-04-23:2023-04-26" ,"reports": [""]}.
2023-04-25 09:51:51,849 - ShadowServerAPI-Collector - DEBUG - Setting up HTTP Mixin.
2023-04-25 09:51:52,437 - ShadowServerAPI-Collector - DEBUG - Downloaded report list, 0 entries.
2023-04-25 09:51:52,437 - ShadowServerAPI-Collector - DEBUG - Reports list contains 0 entries after filtering.
2023-04-25 09:51:52,437 - ShadowServerAPI-Collector - INFO - Downloaded 0 of 0 available reports.
2023-04-25 09:51:52,438 - ShadowServerAPI-Collector - INFO - Idling for 86400.0s (1d) now.

Any idea ?

Regards,

@kamil-certat
Copy link
Contributor

kamil-certat commented Apr 25, 2023

Downloading report list with data: { ...,"reports": [""]}

It looks like you have the reports parameter configured to an empty string. Set it to null or remove from the configuration at all

@sebix
Copy link
Member

sebix commented Apr 25, 2023

I guess that's certtools/intelmq-manager#294 once again

@ludoComp9
Copy link
Author

Downloading report list with data: { ...,"reports": [""]}

It looks like you have the reports parameter configured to an empty string. Set it to null or remove from the configuration at all

Applying your recommendation, it works fine. Thanks for your support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants