Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

Utility DevSecOps: Release Connected Applications Without Plant Risk

Release utility-connected software safely with protected build identities, backend permissions, operational rollback and field-work recovery evidence.

A field-services release can carry operational risk without touching a PLC

A utility is deploying a scheduling and maintenance application that consumes asset information from an operational environment. The code is built in the corporate cloud and delivered through a normal software pipeline, but the application also relies on a gateway, service credentials and data used by field engineers. A poorly scoped release could expose a plant integration secret, write an unexpected status to a work-order system or prevent technicians from seeing the current maintenance plan. These outcomes are different from directly changing a controller, yet they can still affect service continuity.

The assurance task is to release authorised changes while keeping the trusted boundary around operational systems. Use a representative laboratory or test environment and synthetic plant information; do not use a production controller to demonstrate what an attacker might be able to reach. Establish the operational consequence first, because a generic policy such as ‘fail every build on any finding’ can block urgent fixes while failing to detect an overprivileged deployment credential.

Draw the delivery path as a sequence of principals

Follow a proposed change from issue approval to commit, build runner, dependency retrieval, artefact repository, environment promotion and the gateway that consumes the result. Identify the human or service principal used at each stage, its permission scope, where its credentials are stored and the evidence retained after use. The person who approves the feature should not automatically control the runner identity or production secrets. Changes to the pipeline itself require equivalent scrutiny to changes in the application.

For a single synthetic release, retain the approved ticket, source revision, dependency lockfile, build identity, artefact digest and deployment record. Confirm that the package running in the target test environment is the one reviewed and that no build step can silently replace it after approval. The objective is traceability: reviewers should be able to connect an engineering decision to a specific executable or configuration revision without trusting an unsigned screenshot from a CI dashboard.

Keep industrial credentials out of general build jobs

A build worker should not need the ability to query live plant networks merely to compile application code. Store deployment permissions in a separate vault or identity system, issue short-lived credentials when practical and limit each credential to the relevant environment and task. Test whether an ordinary feature branch can print a secret into logs, access a privileged environment variable or request production deployment. Denials should be observed in the permission decision and log, not assumed from the appearance of a protected button.

Separating credentials also changes incident response. If a runner is suspected of compromise, the utility should know which application secrets and artefact signing paths require investigation, and which operational gateways can remain available. A manual emergency release process needs its own controls: two named approvers, a recorded artefact identity, a constrained deployment route and a retrospective check. Otherwise the route reserved for emergencies may become the least secure and most frequently used path.

Authorise data operations at the backend

The field application may expose work orders for different districts or asset classes through one API. Authentication confirms the caller; application authorisation must still decide whether that caller may view, amend or close the particular object. Build synthetic work orders for two districts. Verify that an assigned engineer can read and update the allowed record but cannot obtain another district’s asset notes by changing an object identifier or reusing a saved URL. Check export, bulk update and asynchronous processing paths as well as the normal form.

An operational feed should usually have a narrower role than a human maintenance approver. If a data collector only requires read access, it should not accept commands that alter an asset’s maintenance state. When a business process requires write-back, capture the precise fields and conditions under which changes are permitted. The engineering owner must explain the expected effect on scheduling, inspection or dispatch before authorising that permission. A technically successful API call can still be an operationally incorrect action.

Set tests that avoid physical disruption

Coordinate with the operations manager before any integration exercise. Document the test addresses, acceptable request volume, expected alarms and a stop condition. Use a disconnected copy of the relevant gateway or a contract-tested service stub when the real interface is safety-sensitive. A security scanner that overloads an older device does not provide a useful demonstration of safe DevSecOps. If representative testing cannot be completed, record that visibility limit rather than marking the control as passed.

Evaluate a positive build and several negative changes: an unapproved dependency version, an unauthorised environment promotion, a test token requesting an out-of-district work order and an altered artefact whose digest no longer matches the approved release. Preserve which control rejects each case. A weakness that requires a vendor patch or hardware outage should move into a managed engineering change, with temporary access limits and a dated retest; it should not disappear inside a vague residual-risk entry.

Prepare a rollback that restores usable field work

A rollback is more than redeploying the previous container. Consider database migrations, messages queued for the historian, devices that continue offline and work orders already accepted during the faulty release. Establish a recovery point for configuration and transaction state, and test whether a reverted application can read records generated by the newer version. If it cannot, operators need a reconciliation procedure and a manual work-authority decision. The person approving that decision may be different from the software release manager.

Rehearse a fault in the test environment and capture elapsed time to detect, freeze new deployments, route to a safe state, reconcile affected records and return field access. The operations representative should attest that the remaining workflow is acceptable. This avoids the common error of reporting a healthy server while dispatchers work from an inconsistent queue or technicians see out-of-date asset instructions.

Examine dependencies that do not appear in the source repository

The delivery team may depend on a vendor-hosted package feed, a code-signing service, external telemetry and a field identity broker. Some are invisible to ordinary code review because they sit in deployment configuration or supplier accounts. Record who can change each dependency, what outage mode is acceptable and whether a release can be halted when the source is untrusted. A build that passed yesterday’s test may be unsafe to redeploy if its artefact cannot be identified or its external package source has changed. The team should retain the actual approved build rather than rebuilding from a moving dependency tag during recovery.

A field application may also act differently when offline. Simulate a technician completing a maintenance task on a disconnected device and synchronising later. Ensure old instructions do not override a safety hold or newly approved work order when the device reconnects. This is an application-integrity test as much as a network resilience test. The software owner must specify which state wins after a conflict, and operations must agree on any instruction requiring a supervisor’s review before it reaches the maintenance system. The release pipeline should include that conflict case when relevant, not merely prove that both systems eventually exchange data.

Define a release evidence bundle the utility can reuse

Every material release should produce a compact evidence bundle: change rationale, affected integration boundaries, source and artefact identifiers, independent approval, security test results, rollout/rollback conditions and an operational acceptance signature. An exception should state exactly which control is not met and for how long. Pair the defect with a compensating restriction, an accountable owner and a retest date rather than a perpetual waiver. Keep a separate decision for introducing new plant connectivity; approval of an application feature does not silently authorise a wider network route.

The utility’s improvement measure is not simply fewer vulnerabilities in a dashboard. It is whether a risky release can be detected before it reaches an operational dependency, whether engineering can stop it without guessing, and whether a safe version can be restored with correct field and asset state. Those are testable outcomes that software, cyber and operations owners can examine together before increasing automation in the delivery pipeline.

Sources and further reading

Strengthen your security with Next Defence

Trace each authorised release from source and build identity to field scheduling, and test rollback and district-level permissions without disrupting operational systems. Next Defence can support a scoped review, a controlled test and an evidence-led remediation plan subject to customer authorisation and operational constraints.

Explore Application Security & DevSecOps ↗

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].