# Automating ot network mapping and documentation

Operational Technology (OT) environments often suffer from documentation drift. Engineers design a network, but years of emergency patches, temporary bypasses, and undocumented hardware additions create a gap between the blueprint and reality. According to Industrial Cyber, Corsha has launched Folio, a module designed to automate OT network mapping and industrial system documentation. By using live network and access data, Folio creates a system of record that shows how systems are actually connected and communicating [2].

For the security practitioner, the value of this event is the shift from manual audits to automated baselining. Manual documentation is a liability in industrial settings because it fails to capture hidden devices or unauthorized communication workarounds [3]. When documentation is static, security teams cannot identify drift in real time. This complicates risk assessment and delays industrial upgrades [3].

Building an automated discovery workflow

While specialized tools like Folio handle the mapping, practitioners can build complementary automation to handle the response when drift is detected. The goal is to move from a point in time audit to a continuous monitoring loop.

A practitioner workflow for OT discovery starts with data ingestion. Most OT environments utilize passive monitoring to avoid crashing legacy PLC (Programmable Logic Controller) stacks. By exporting flow data or asset lists from a discovery tool into a workflow engine like n8n, teams can automate the comparison between the current state and the known baseline.

Practical guidance suggests the following workflow:

  1. Trigger a daily export of the current network map.
  2. Use a script to compare the current asset list against a version controlled YAML file representing the approved baseline.
  3. If a new MAC address or unauthorized communication path appears, trigger an alert.
  4. Route the alert to the operations team for validation.

This approach mirrors the capability of Folio to catch drift in real time and ensure updates make it back into compliance documentation [3].

Detailed view of fiber optic patch cables connecting to a blue patch panel in a data. Photo by Brett Sayles on Pexels
Detailed view of fiber optic patch cables connecting to a blue patch panel in a data. Photo by Brett Sayles on Pexels

Integrating security analysis with open tools

Once a network map is automated, the next step is analyzing the risk of the identified connections. If a mapping tool reveals that a workstation in a lower security zone is communicating directly with a safety instrumented system (SIS), that is a critical finding.

Practitioners can use OWASP guidance on network segmentation to define the rules for these alerts. For example, any communication crossing a Purdue Model level boundary without a corresponding firewall rule should trigger an automated ticket.

To automate the detection of insecure configurations in the software managing these OT assets, practitioners can use Semgrep. While Semgrep does not map the network, it can scan the configuration files or the custom scripts used to manage OT gateways. By writing custom rules to find hardcoded credentials or insecure API calls in the management layer, teams ensure that the how of communication is secure.

For those managing large scale deployments, integrating these checks into a centralized dashboard like Zabbix allows for the correlation of network drift with system performance. If a new, undocumented device appears on the map and simultaneously causes a spike in network latency, the automation can prioritize that alert as a potential security incident rather than a simple documentation error.

Reducing friction in industrial upgrades

One of the primary hurdles in OT security is the fear that updates will break a fragile process. Manual documentation often lacks the detail needed to predict these failures. Folio aims to lower these barriers for new vendors and accelerate the time to value for new operational tools [3].

Automated mapping gives you a current record of how systems are connected and communicating [1]. With that record in hand, you can check which connections a patch or a new firewall rule would touch before you apply it.

To implement this, practitioners should:

  1. Export the automated map to a graph database.
  2. Run queries to identify all dependencies for a specific PLC.
  3. Map the communication paths to ensure that a planned update does not sever a critical heartbeat signal.

This transforms documentation from a compliance checkbox into a functional tool for risk reduction. If you need help implementing these automated workflows, you can reach out to our team at /contact.

Close-up of an industrial control panel with colorful buttons in a factory setting. Photo by Fernando Narvaez on Pexels
Close-up of an industrial control panel with colorful buttons in a factory setting. Photo by Fernando Narvaez on Pexels

Action plan for OT documentation drift

The release of Folio highlights a need for live, automated systems of record in industrial environments [4]. To address the specific problem of documentation drift and unauthorized communication, practitioners should take these actions:

First, audit the current method of network mapping. If the process is manual, identify the last time the documentation was verified against live traffic. This gap represents the current risk window.

Second, implement a passive discovery mechanism. Use tools that can identify hidden devices and unauthorized workarounds without introducing latency into the OT network [3].

Third, automate the feedback loop. Set up a workflow where any change in the network map automatically generates a request for documentation update. This ensures that the as-running view is always the source of truth [4].

Finally, map these automated findings to your compliance framework. Use the live data to populate compliance reports, replacing manual spreadsheets with real time evidence of network segmentation and asset inventory.

Try it yourself: OTDraw: Free OT and ICS Network Diagram Tool, a free tool from CyberAutomations.