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

Event action_data not passed to webhooks #18222

Open
tjdavis3 opened this issue Dec 12, 2024 · 0 comments
Open

Event action_data not passed to webhooks #18222

tjdavis3 opened this issue Dec 12, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application

Comments

@tjdavis3
Copy link

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.7

Python Version

3.10

Steps to Reproduce

  1. Create an event rule with action data
  2. action data is not accessible to the webhook

Expected Behavior

action data should be able to be added to the webhook body and/or in the default body

Observed Behavior

data is not passed to the webhook;

It appears the data can be sent by adding it to the context object in netbox/netbox/extras/webhooks.py send_webhook(...) since it is contained in the event_rule object that is passed.

@tjdavis3 tjdavis3 added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant