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

[Analyzer] mmdb-server #1779

Closed
mlodic opened this issue Jul 4, 2023 · 5 comments
Closed

[Analyzer] mmdb-server #1779

mlodic opened this issue Jul 4, 2023 · 5 comments
Assignees

Comments

@mlodic
Copy link
Member

mlodic commented Jul 4, 2023

Name

mmdb-server

Link

https://github.com/adulau/mmdb-server

Type of analyzer

observable -> ip only

Why should we use it

Free service available at https://ip.circl.lu/

Possible implementation

lookup via https://ip.circl.lu/geolookup/8.8.8.8

@che8u
Copy link

che8u commented Aug 9, 2023

Hello, where do you want this implemented? I want to give it a try.

@mlodic
Copy link
Member Author

mlodic commented Aug 9, 2023

you can follow the documentation about the creation of a new analyzer and try to add this integration if you wish.

@che8u
Copy link

che8u commented Aug 12, 2023

I've just added a possible implementation via geolookup here. I'd greatly appreciate any feedback you might have.

@mlodic
Copy link
Member Author

mlodic commented Aug 14, 2023

Please open a draft PR to the main repository and follow the checklist there

@g4ze
Copy link
Contributor

g4ze commented Jan 18, 2024

Hey @mlodic ! I'd like to take up the issue pls

@g4ze g4ze mentioned this issue Jan 18, 2024
22 tasks
mlodic added a commit that referenced this issue Jan 29, 2024
* Added new Analyzer: mmdb_server, made migrations.

* corrected typos; removed irrelevant logs and variables; added mock response

* made base-url an attribute to be a valid parameter (the user should be able to change it)

* Update api_app/analyzers_manager/observable_analyzers/mmdb_server.py

Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>

* Update api_app/analyzers_manager/observable_analyzers/mmdb_server.py

Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>

* update method overridden; used hashable tuple inside set

* made deep source python corrections

* mock reponse correction

* migration code adjustment

* analyzers_manager migration code adjustment

* Fix migrations

Signed-off-by: 0ssigeno <s.berni@certego.net>

* typo fix

* Typo

Signed-off-by: 0ssigeno <s.berni@certego.net>

* migration update

* Added pointer for future reference

Signed-off-by: 0ssigeno <s.berni@certego.net>

* fix monkeypatch

---------

Signed-off-by: 0ssigeno <s.berni@certego.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>
Co-authored-by: 0ssigeno <s.berni@certego.net>
Co-authored-by: Martina Carella <m.carella@certego.net>
Co-authored-by: Daniele Rosetti <55402684+drosetti@users.noreply.github.com>
Co-authored-by: fgibertoni <152909479+fgibertoni@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simone Berni <simone.berni2@studio.unibo.it>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: Shivam Purohit <shivampurohit900@gmail.com>
@mlodic mlodic closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants