To document IEC 62443 zones and conduits in NetBox, install the open-source plugin netbox-ot. It adds zones, conduits and flows as NetBox objects next to the devices and prefixes that are already there. Create the zones, add their devices and prefixes, join the zones with conduits, record each flow with a verdict, and export the zone register per site as CSV or JSON.
Zones and conduits in two sentences
IEC 62443-3-2 asks for the system under consideration to be divided into zones and conduits, for the risk of each to be assessed, and for a target security level (SL-T) to be set and documented for each. A zone is a group of assets with the same security requirements; a conduit is the communication between zones, itself subject to shared requirements, and the only way traffic should pass from one zone to another.
The standard itself is a paid document. The public summaries are the IEC webstore abstract of part 3-2 and the description in the CISA asset inventory guidance listed under Sources.
Why the register belongs next to the inventory
A zone drawing in a slide deck goes stale the day a device moves. In NetBox a zone is a list of real devices, virtual machines and prefixes, so the zone model changes with the inventory and every change lands in the change log. One system then answers both “what is this device” and “which zone is it in, and what may reach it”.
Install the plugin
netbox-ot is on PyPI (0.4.1 at the time of writing). It needs NetBox 4.7 and no other plugin or service. For a NetBox installed from source in /opt/netbox:
cd /opt/netbox
echo "netbox-ot" | sudo tee -a local_requirements.txt
sudo venv/bin/pip install netbox-ot
Enable it in /opt/netbox/netbox/netbox/configuration.py. If PLUGINS already lists other plugins, add "netbox_ot" to that list:
PLUGINS = ["netbox_ot"]
PLUGINS_CONFIG = {
"netbox_ot": {}, # defaults; see Configuration below
}
Create the tables and restart:
sudo venv/bin/python netbox/manage.py migrate
sudo venv/bin/python netbox/manage.py collectstatic --no-input
sudo systemctl restart netbox netbox-rq
An OT menu appears. The installation guide in the repository also has a netbox-docker recipe.
Look at the demo plant first
One command creates a fictional plant with zones, conduits, flows, a remote-access path for a service provider, industrial services, risk assessments and a few things the checks will flag. --delete removes exactly what the command created.
sudo /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py ot_demo
sudo /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py ot_demo --delete
Open the site IEC 62443 demo plant and its Access map and Zone register tabs.
The walk, step by step
- Create zones. Under OT > Zones, give each zone a name, a site and a type: OT, safety (SIS), DMZ, enterprise or external/supplier. Add the Purdue level, the SL-T and the accountable person. Security levels are vectors with one level from 0 to 4 per foundational requirement; the form takes one number for all seven or seven numbers such as
2,2,2,1,2,1,1. - Assign devices and prefixes. A zone has member devices, virtual machines and prefixes. The plugin does not force one zone per asset, but the consistency checks report assets in no zone or in two, and addresses that sit in another zone’s prefix.
- Set Purdue levels. After
migratethe plugin creates the custom fieldot_purdue_levelon devices and virtual machines, with the values 0, 1, 2, 3, 3.5, 4 and 5. A zone’s own level is its lowest one: a zone with a PLC (1) and an HMI (2) counts as level 1. - Define conduits. Under OT > Conduits, a conduit joins two or more zones, has its own SL-T and SL-A, an accountable person, and the devices or virtual machines that enforce it: firewalls, data diodes, gateways.
- Record flows. Under OT > Flows, a flow runs from a source zone to a destination zone, in one direction. It has a protocol, ports in NetBox’s
tcp/102format, the access the requests have (read, write, control, program), a remote access flag, the ordered hops it passes and the conduit that carries it. Since 0.4.0 it also has a connection model, for OPC UA Reverse Connect and for paths through an MQTT broker. - Give each flow a verdict. Allowed is yes, no or unknown, and unknown is the default. A verdict records who decided it (a NetBox contact) and when, and can have a review date and an expiry date, for example for temporary supplier access.
- Read the access map. The Access map tab on a site lists every flow into zones at Purdue level 2 or below, ordered by what needs action: not allowed first, then allowed but expired, unknown, allowed.
- Run the checks and export the register. OT > Consistency checks lists what is inconsistent or missing. The Zone register tab on the site shows zones, conduits and flows with their security levels, owners, risk and verdicts. It prints, and exports as CSV per table or as JSON.
The checks also run from the command line, with an exit code for a nightly job or a CI pipeline, and the register is available from the API:
manage.py ot_check [--site <slug>] [--severity ...] [--check ...] [--fail-on error|warning|info|never] [--json]
GET /api/plugins/ot/register/?site_id=<id>
IEC 62443 terms and the plugin’s objects
| IEC 62443 term | In netbox-ot |
|---|---|
| Zone | Zone, with type, Purdue level, members, parent zone (sub-zones) |
| Conduit | Conduit: the zones it joins and the devices that enforce it |
| Communication through a conduit | Flow, with Flow hops for the path, and a verdict |
| Target and achieved security level (SL-T, SL-A) | Vector fields on zones and conduits |
| Capability security level (SL-C) | Custom field ot_sl_capability on devices and device types |
| Foundational requirements | The seven positions of each vector: IAC, UC, SI, DC, RDF, TRE, RA |
| Risk assessment (initial, detailed) | Risk assessment on a zone or conduit, draft or approved |
| System requirement (part 3-3) | System requirement and Requirement status per zone or conduit, since 0.4.0 |
| Zone attributes wireless, temporarily connected devices | Fields on the zone |
Purdue levels are not an IEC 62443 term. The plugin records them because the access map filters on them.
Limits
- A register, not an audit. The plugin stores what an assessment decided and points at gaps. The risk assessment remains the work of people.
- Not a certificate. Nothing in it certifies a plant, a system or a product.
- Not monitoring. It captures no traffic and runs no sensor. Its importer reads Zeek logs or observation files that another tool wrote.
- Alpha. The data model may still change. Every breaking change comes with a migration and a note under Breaking Changes in the changelog.
- Versions. 0.3.x and 0.4.x support NetBox 4.7.0 and later 4.7 releases, with 4.8 allowed, on Python 3.12 or 3.13. Up to 0.2.0 the plugin was called netbox-iec62443; 0.3.0 takes such an installation over in place.
Sources
- netbox-ot on GitHub: README, installation, data model, access map, checks and register, changelog
- netbox-ot on PyPI
- IEC 62443-3-2:2020, Security risk assessment for system design (IEC webstore abstract)
- ISA/IEC 62443 series of standards (ISA)
- Foundations for OT Cybersecurity: Asset Inventory Guidance for Owners and Operators (CISA and partners, August 2025)
Packetflow maintains netbox-ot and builds secure OT platforms for industrial plants. For help with a zone model, send the NetBox version, what needs to be modelled and a sketch of the plant network through the contact page. The other open tools are listed under open tooling.