/netbox-labs:netbox-assurancefrom netbox-labs
Handles NetBox Assurance drift detection and deviation management. Covers drift types (attribute, inventory), deviation states and actions, data source configuration, and intended vs actual network state reconciliation workflows.
Ships in netbox-labs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Your knowledge of NetBox Assurance may be outdated. Deviation types, data source configuration, and API behavior evolve between releases. Prefer retrieval over pre-trained knowledge.
| Source | URL / Method | Use for |
|---|---|---|
| Assurance docs | https://netboxlabs.com/docs/assurance/ | Overview, getting started, UI workflows |
| NetBox Platform MCP | If configured — query deviations, data sources | Live drift status |
NetBox Assurance detects drift between your intended network state (what NetBox says should exist) and the actual network state (what's really out there). It surfaces differences as deviations that you review and resolve through the NetBox UI.
| State | Meaning |
|---|---|
| Queued | Ingested data awaiting analysis |
| Open | Drift detected, ready for review |
| Applied | Change accepted and pushed to NetBox |
| Ignored | Dismissed by operator |
| Failed | Apply attempted but errored |
| No Changes | Analysis found no differences |
| Errored | Processing error during analysis |
| Action | What It Does | Available From |
|---|---|---|
| Apply | Accept deviation, update NetBox to match actual state | Open, Failed |
| Ignore | Dismiss deviation permanently | Open |
| Rediff | Re-analyze against current NetBox state | Open, Applied, Failed |
| Reopen | Bring back an ignored deviation | Ignored |
All actions support bulk operations on multiple deviations.
| Type | Description | Example |
|---|---|---|
| Attribute drift | Object exists in both places but properties differ | Device serial number changed |
| Inventory drift (additive) | Object discovered on network but missing from NetBox | New interface found on device |
| Inventory drift (stale) | Object in NetBox but not recently observed on network | Decommissioned device still in NetBox |
Topology drift (relationship mismatches like device→wrong site) and configuration drift (running config vs intended) are future capabilities.
Assurance follows a three-stage pipeline:
1. INGESTION 2. ANALYSIS 3. RESOLUTION
───────── ──────── ──────────
Actual state → Compare actual → Review deviations
collected from vs intended and take action
network (NetBox) state (apply/ignore)
Data sources feed actual network state into the system:
The analysis engine compares ingested data against NetBox and produces deviations with field-level change details (before/after values for each differing attribute).
Assurance requires at least one data source providing actual network state. See references/data-sources.md for detailed setup.
The Orb Agent from NetBox Discovery actively scans your network and feeds results directly into Assurance. This is the most common path for getting started.
See the netbox-discovery skill for agent configuration.
Pre-built integrations with infrastructure controllers (VMware vCenter, Cisco Catalyst Center, HPE Mist, etc.) pull state from management platforms.
For data sources without built-in support, use the Diode SDK (Python or Go) to push entity data programmatically.
See the netbox-diode skill for SDK usage patterns.
See references/deviation-lifecycle.md for the complete state machine.
| Scenario | Recommended Action |
|---|---|
| Legitimate change detected (e.g., new interface added) | Apply — update NetBox |
| Known discrepancy you don't want to track | Ignore — dismiss it |
| You manually updated NetBox already | Rediff — re-analyze to confirm |
| Previously ignored but situation changed | Reopen → then Apply or Rediff |
| Apply failed due to transient error | Fix the issue, then Rediff or retry Apply |
Assurance adds an Assurance section to the NetBox navigation with these views:
| View | Purpose |
|---|---|
| Deviation Types | Browse deviation categories with counts |
| Active Deviations | Unresolved deviations needing attention |
| All Deviations | Complete list including resolved |
| Archived Deviations | Historical resolved deviations |
Select multiple deviations from any list view to perform bulk actions:
Deviation lists support filtering by:
Deviations are classified by type, combining the action needed with the object type:
Each deviation type aggregates a count of matching deviations, making the Deviation Types view useful for understanding drift patterns at a glance.
Any entity type flowing through the ingestion pipeline can be compared. Common types:
dcim.device)dcim.interface)dcim.site)dcim.devicetype)ipam.ipaddress)ipam.prefix)The system is extensible — it compares whatever entity types the data sources provide.
See references/integration-patterns.md for detailed integration guidance.
Discovery agents provide the "actual state" side of the comparison:
Network Devices → Orb Agent (Discovery) → Assurance → Deviations → NetBox
Discovery and Assurance are tightly coupled — Discovery collects, Assurance compares and remediates.
The Diode SDK is the programmatic ingestion path for custom integrations:
Custom Script → Diode SDK (Python/Go) → Assurance → Deviations → NetBox
Deviations can be scoped to NetBox branches, allowing you to:
| Pattern | Use Case |
|---|---|
| Day 1 — Initial population | Run Discovery against a new network, bulk-apply deviations to populate NetBox |
| Day 1.5 — Reconciliation | Compare existing NetBox data against actual network, fix discrepancies |
| Day 2 — Ongoing assurance | Continuous monitoring for drift, triage deviations as they appear |
Assurance defines two permission levels:
| Permission | Grants |
|---|---|
| View Assurance | Read-only access to deviation views |
| Add Assurance | Ability to perform actions (apply, ignore, rediff, reopen) |
Assign these through NetBox's standard user/group permission system.
Assurance is an optional, licensed add-on for NetBox Cloud and NetBox Enterprise — it is not part of open-source NetBox Community.
ModuleBayType) and fields (Interface.channels/channel_id, Service.port_mappings, DeviceType.end_of_life, cooling_method), so those become comparable once your platform release bundles NetBox 4.7 (plugin v1.6.0 declares 4.7.x support) — see references/data-sources.md.{"value", "label"} objects, port_mappings on services, per-object bulk errors) changed shape — see references/deviation-lifecycle.md.CableBundle, RackGroup, VirtualMachineType; switch-stack discovery emits VirtualChassis + member devices.| Document | When to Read |
|---|---|
| references/deviation-lifecycle.md | Understanding state transitions, resolution patterns |
| references/data-sources.md | Setting up what gets compared |
| references/integration-patterns.md | Connecting Assurance with Discovery, Diode, and the NetBox Labs stack |
What SKILL.md sets; muted values are Claude Code's defaults
22 skills in this plugin
/netboxHub skill for the NetBox ecosystem. Routes to specialized skills for data modeling, API integration, plugin development, change management, discovery, assurance, automation, and migration. Load this skill first to find the right specialist.
/netbox-administrationNetBox server administration: configuration, authentication backends (local/LDAP/SAML/OIDC), object permissions, API tokens, performance tuning, backups, upgrades, and housekeeping. Use when managing a NetBox instance rather than consuming its API.
/netbox-api-integrationBest practices for building integrations with NetBox REST and GraphQL APIs. Use when building NetBox API integrations, reviewing integration code, troubleshooting NetBox performance issues, planning automation architecture, writing scripts that interact with NetBox, using pynetbox, configuring Diode for data ingestion, or implementing NetBox webhooks and branching workflows.
npx claudepluginhub netboxlabs/skills --plugin netbox-labsOther plugins' skills for the same job