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

Add exporter for splunk hec reporting #3008

Merged
merged 8 commits into from
Dec 12, 2022

Conversation

ChrisMandich
Copy link
Contributor

@ChrisMandich ChrisMandich commented Dec 8, 2022

Proposed changes

This change allows for Splunk HEC to be enabled as an Exporter for Nuclei with the following example config.

# splunkhec contains configuration options for splunkhec exporter
splunkhec:
  # Hostname for splunkhec instance
  host: <HEC domain>
  # Port is the port of splunkhec instance
  port: 8088
  # IndexName is the name of the splunkhec index
  index-name: nuclei
  # SSL enables ssl for splunkhec connection
  ssl: true
  # SSLVerification disables SSL verification for splunkhec
  ssl-verification: true
  # Username for the splunkhec instance
  token: <HEC Token>  

Docs - projectdiscovery/nuclei-docs#100

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Copy link
Member

@Mzack9999 Mzack9999 left a comment

Choose a reason for hiding this comment

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

  • code: lgtm
  • files to restore: CODE_OF_CONDUCTS.md and SECURITY.MD

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

@ChrisMandich thank you for adding splunk export support.

@Mzack9999 those files are now managed from https://github.com/projectdiscovery/.github

@ehsandeep ehsandeep merged commit aeddddc into projectdiscovery:dev Dec 12, 2022
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.

Add exporter for splunk hec reporting
4 participants