Plugin models do not show in event rule object types #10667

Closed
opened 2025-12-29 21:34:29 +01:00 by adam · 2 comments
Owner

Originally created by @abhi1693 on GitHub (Jan 17, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.1.11

Python Version

3.11

Steps to Reproduce

  1. Install netbox-secrets
  2. Go to Event rule and attempt to find netbox_secrets > secrets

Expected Behavior

netbox_secrets > secrets must be available in the list

Observed Behavior

none of the plugin models are visible in the object types list

Originally created by @abhi1693 on GitHub (Jan 17, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.1.11 ### Python Version 3.11 ### Steps to Reproduce 1. Install netbox-secrets 2. Go to Event rule and attempt to find netbox_secrets > secrets ### Expected Behavior netbox_secrets > secrets must be available in the list ### Observed Behavior none of the plugin models are visible in the object types list
adam closed this issue 2025-12-29 21:34:29 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 17, 2025):

Only models which support event rules will appear in the list. This is controlled by the plugin, not by NetBox.

@jeremystretch commented on GitHub (Jan 17, 2025): Only models which [support event rules](https://netboxlabs.com/docs/netbox/en/stable/plugins/development/models/#netbox.models.features.EventRulesMixin) will appear in the list. This is controlled by the plugin, not by NetBox.
Author
Owner

@abhi1693 commented on GitHub (Jan 17, 2025):

It still doesn't work. I have a few private plugins with EventRuleMixins on the model but they don't show up in the drop-down list. I've to use the API to update the rules

@abhi1693 commented on GitHub (Jan 17, 2025): It still doesn't work. I have a few private plugins with EventRuleMixins on the model but they don't show up in the drop-down list. I've to use the API to update the rules
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10667