nautobot-app-firewall-models
nautobot-app-firewall-models copied to clipboard
Expose all related Policy objects for a given device via GraphQL
Environment
- Nautobot version: 1.3.3
- nautobot-plugin-firewall-model version: 0.1.0.beta3
Proposed Functionality
Given a query like
query ($device_id: ID!) {
device(id: $device_id) {
policies
}
}
I want all Policy objects to be returned for that given device, as in
- Policy objects that are directly assigned to devices
- Policy objects that are assigned to devices through dynamic groups
Use Case
Get all rules for a given device, specific use case is using nautobot-golden-config to generate ACLs as part of the configuration.