netbox-acls icon indicating copy to clipboard operation
netbox-acls copied to clipboard

feat(graphql): Add support for ACL Interface Assignments

Open pheus opened this issue 7 months ago • 0 comments

Pull Request

Related Issue

Fixes: #251 [Feature] Add ACL Interface Assignment to GraphQL

New Behavior

  • Adds ACLInterfaceAssignmentType to the GraphQL schema.
  • Enables querying ACL Interface Assignments via the GraphQL API.
  • Mirrors functionality available in the REST API for parity.

Contrast to Current Behavior

  • Previously, ACL Interface Assignments were only accessible via the REST API.
  • This change allows full access through GraphQL for automation and integration purposes.

Discussion: Benefits and Drawbacks

Benefits:

  • Enables automation and scripting via GraphQL.
  • Provides more flexibility for users depending on GraphQL endpoints.
  • Aligns with NetBox’s API consistency goals.

Drawbacks:

  • None known at this point.

Changes to the Documentation

  • GraphQL schema is self-documenting, no external documentation required.

Proposed Release Note Entry

  • Added GraphQL support for querying ACL Interface Assignments.

Double Check

  • [x] I have explained my PR according to the information in the comments or in a linked issue.
  • [x] My PR targets the dev branch.

pheus avatar Apr 20 '25 23:04 pheus