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

Log more event types #8

Open
domwhewell-sage opened this issue Jun 7, 2024 · 0 comments · May be fixed by #9
Open

Log more event types #8

domwhewell-sage opened this issue Jun 7, 2024 · 0 comments · May be fixed by #9

Comments

@domwhewell-sage
Copy link
Contributor

Currently the webhook only accepts these events

  • Clicked Link
  • Submitted Data
  • Email Opened

Anything else causes a panic (I think the "Email Sent" event caused the panic in #2)

I would like to see it capable of accepting the "Email Sent" event and maybe others. Having all these events could cause it to send alot more notifications out so it would also be nice to have what types of events to ingest be configurable in the config.yaml file, Like:

# Enables notifications for each of the webhook events https://docs.getgophish.com/user-guide/documentation/webhooks. Options are `email_error`, `email_sent`, `email_opened`, `clicked_link`, `submitted_data` and `email_reported`.
events:
  - email_error
  - email_sent
  - email_opened
  - clicked_link
  - submitted_data
  - email_reported

If I have time I will submit a PR for this

@domwhewell-sage domwhewell-sage linked a pull request Jun 10, 2024 that will close this issue
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 a pull request may close this issue.

1 participant