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

contrib eventdb: new to_json script #2552

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

sebix
Copy link
Member

@sebix sebix commented Jan 13, 2025

Extract data from the IntelMQ EventDB and convert it to JSON to use it with intelmqctl

Extract data from the IntelMQ EventDB and convert it to JSON to use it
with intelmqctl
@sebix sebix added feature Indicates new feature requests or new features component: contrib labels Jan 13, 2025
@sebix sebix added this to the 3.3.2 Bugfix release milestone Jan 13, 2025
@sebix sebix changed the title contrib eventdb: add to_json script contrib eventdb: new to_json script Jan 13, 2025

try:
with open('/etc/intelmq/eventdb-serve.conf') as fody_config:
conninfo = json.load(fody_config)['libpg conninfo']
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not a standard IntelMQ path nor the format (but a Fody one), could you please make it a configurable parameter as well as a syntax example, so one could use it without the Fody in the same environment? E.g. in my setup Fody is configured in a container, separated from the main IntelMQ itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: contrib feature Indicates new feature requests or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants