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

Elasticsearch export #962

Merged
merged 7 commits into from
Aug 25, 2021

Conversation

Nishan8583
Copy link
Contributor

Hello

I have an export function for Elasticsearch. The export file is in exporters/es/es.go. Changes on others files were made accordingly. ELK is used a lot by security engineers and I had do some hacky stuff to export logs from OpenVAS to Elasticsearch in the past. So I hope adding a export mechanism for Elasticsearch will help this project.

Note: make was not working from dev branch, so had to manually build it for testing.

@forgedhallpass
Copy link
Contributor

Hello @Nishan8583

As a first step, please change the target branch to "dev".

@Nishan8583 Nishan8583 changed the base branch from master to dev August 21, 2021 14:51
@Nishan8583
Copy link
Contributor Author

Hello @Nishan8583

As a first step, please change the target branch to "dev".
@forgedhallpass I just changed to dev.

@Ice3man543
Copy link
Member

Thanks for the PR @Nishan8583. Merging this into dev, after which I'll be making some changes to remove the CLI args for elasticsearch, and instead add support for using it from the reporting config.

@Ice3man543 Ice3man543 merged commit d4e6aac into projectdiscovery:dev Aug 25, 2021
@ehsandeep
Copy link
Member

@Nishan8583 follow up changes - #973, now instead of CLI, we can feed the ES config details in the reporting configuration file and can be used with -report-config config.yaml, thanks again for adding this support.

@Nishan8583
Copy link
Contributor Author

@Nishan8583 follow up changes - #973, now instead of CLI, we can feed the ES config details in the reporting configuration file and can be used with -report-config config.yaml, thanks again for adding this support.

@ehsandeep ok thanks.

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

Successfully merging this pull request may close these issues.

None yet

4 participants