Skip to content

Event action_data not passed to webhooks #18222

Closed
@tjdavis3

Description

@tjdavis3

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.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions