From netbox-labs
NetBox Assurance drift detection and deviation management. Use when working with network state comparison, deviation review/remediation, data source configuration, or understanding how intended vs actual network state is reconciled in NetBox Cloud and Enterprise.
How this skill is triggered — by the user, by Claude, or both
Slash command
/netbox-labs:netbox-assuranceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **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.
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.
| 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 |
npx claudepluginhub netboxlabs/skills --plugin netbox-labsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.