A mining operator wants to strengthen the software delivery process for a maintenance application that several sites use. The service is developed centrally, hosted in the cloud and updated around operating windows that differ by site. The operator can improve the evidence behind a release without making every change depend on a new manual approval. Start with one workflow, put safeguards where the responsible team can verify them and show that a site can recover if the change does not meet the agreed conditions.
Establish scope and prerequisites before changing the pipeline
Choose an application with a clear operating purpose, such as issuing maintenance work orders or recording field inspections. Map the source, build service, artefact store, deployment route and supporting identities. Identify where the application receives or exports information. Include provider components, inherited templates and shared runners where they affect the release. Record the site owners, maintenance windows and approved fallback. Exclude live operational equipment from the pilot unless its responsible authority separately approves the work and constraints.
Identify one representative task and define the expected result. For example, an approved worker can create a synthetic inspection record, transmit it to the intended service and review the acknowledgement at the site. An unrelated role cannot open the record. Agree the data, configuration and operating evidence the team needs before promoting a release. Obtain a representative approved test environment, approved fictional data and a way to compare the expected and observed deployment state. Give each missing prerequisite an owner.
Use NIST’s Secure Software Development Framework to structure the work. NIST SP 800-204D discusses how software supply chain security can be integrated into delivery pipelines. Apply those publications to the actual release process. A control designed for a continuously available central service may not fit a site that can verify a deployment only during an approved window. Record how the design will work for central and site teams.
Assign the decisions before adding gates
Give the application owner responsibility for the intended workflow and data use. The development lead should be able to trace the source, dependencies and build. The platform owner should control deployment identities and environments. The security reviewer should define the evidence needed for a material finding and verify any approved exception. Give the site owner authority for operating acceptance and stop decisions that affect the site. Identify who can approve urgent work and who can independently verify the result.
Keep the responsibilities close to the delivery record. For each pilot release, capture the source reference, expected artefact, review result, target environment, operating approval and fallback. Define the route for a failed check. A material issue might hold one build while unrelated approved work proceeds. Identify who can determine that a finding is inapplicable or that an interim measure is appropriate. Give any exception a scope, expiry and retest. Avoid a broad override that remains available after the operating need ends.
Stage one: observe the existing release without changing production
Trace a representative release from source to deployment and record which evidence already exists. Identify which dependency versions can be established, which artefact was promoted and which identity approved or performed the deployment. Verify the actual deployed version or configuration. Ask whether the organisation can reconstruct the record if the build service or ordinary provider is unavailable. Record which facts require supplier evidence and when that evidence can be obtained.
Review permissions for the pipeline, build service and target environment. Determine which identities can read dependencies, publish artefacts, modify configuration or promote a release. Identify direct grants and roles inherited from shared services. Check which credentials or secrets are required, who owns them and how an approved replacement can be made. Keep sensitive material out of ordinary build records and use approved storage and handling. The pilot should identify which authority is necessary for the task and which authority can be removed.
Run discovery checks in the approved environment. Review dependency and build evidence, perform authorised security tests and confirm where results are recorded. Record how a finding is assigned and whether it applies to the service. Establish a baseline for coverage, time to verify a release and unresolved exceptions. A baseline gives the operator a way to judge whether the later gates improve decisions or simply increase manual work.
Stage two: enforce the first controls in an approved environment
Start with the highest-value controls the team can verify. For example, require an approved source and build record, retain the resolved dependency information and restrict promotion to a named authority. Use approved test identities to show that a normal development role cannot independently promote a build to a restricted environment. Verify that the artefact approved for deployment matches the one the test environment receives. If a supplier publishes an artefact, agree how the team verifies its origin and integrity through the approved channel.
Add a controlled test of the handling of a security finding. Give the team a synthetic release with a documented issue and observe how it is reviewed, held or accepted under an authorised exception. Verify that the decision and expiry are visible to the release owner. Test the intended application workflow and one relevant denied action using fictional records. Ask the site representative to confirm the expected operating outcome. Keep a record of what differed from production, including provider access or site connectivity.
Check cloud deployment permissions and data boundaries separately. A build identity may need to publish an artefact without reading customer or operational records. A maintenance application may need access to one service without broad control of the hosting environment. Verify each expected boundary through approved configuration and a representative demonstration. If the operator cannot directly observe a provider-managed control, record what evidence the provider will supply and assign an owner to review it.
Stage three: pilot an operating release and rehearse rollback
Choose a low-risk release and one representative site. Set the change window, operating acceptance and conditions that would stop deployment. Confirm the approved release and configuration before the site begins. Have the technical owner verify the observed artefact or version and the site owner confirm the representative task. Use an agreed method to observe any locally queued or delayed work. If the site cannot confirm the result during its operating window, pause expansion and record the next review.
Rehearse a failure in an approved environment before relying on the pilot. Ask the team to identify the last verified acceptable state and the evidence needed to restore it. Confirm that rollback does not bring back a vulnerable dependency, old permission or unapproved configuration. If a prior release cannot safely be reused, agree a limited service fallback and the authority required to continue. Identify who can retrieve the approved artefact or settings if the deployment service is unavailable.
Test the business work created during the interruption. Use fictional records generated before and after the release, then verify that the application and site can reconcile them. Ask an independent person to confirm that the intended roles are present and temporary access has ended. Record the technical restoration and the site acceptance separately. Give outstanding provider evidence a named owner. This creates a repeatable rollback record the next site can use without relying on the original deployment team.
Measure the first 30, 60 and 90 days
At 30 days, confirm the pilot can trace releases from approved source to observed deployment. Track the share of releases with a complete evidence record, the age of open exceptions and the time needed to verify a release. Review one blocked or delayed change and determine whether the control supported the right decision. Assign gaps in ownership or evidence rather than expanding the scope while those gaps remain unexplained.
At 60 days, extend to a second site or supplier path with a meaningful difference. Retest the permissions, artefact and fallback conditions that change. Compare the time to reach an accountable decision and the time to verify the operating result. Ask the site to use the handover without assistance from the pilot team. Record which evidence is available centrally and which must be obtained locally. Use the result to improve provider arrangements or the release instructions.
At 90 days, review the coverage and impact of the controls with development, security, operations and suppliers. Show which services were verified, where ordinary work was affected and which recovery tests were successful. Do not treat a reduction in findings alone as proof of safer releases. Ask whether the team can identify the deployed artefact, explain its approval and return the service to an authorised state if the next change fails. Set the next expansion based on those results.
Keep a short decision record for subsequent releases. Include the service, artefact, target, approval, observed state, fallback and owner of outstanding evidence. Review it after changes to the supplier, deployment system or site connectivity. A reliable programme lets the operator verify the release and its operating outcome without creating avoidable delays around legitimate maintenance work.
Include an emergency supplier update in the pilot
Give the release team a fictional supplier correction that arrives near the end of a maintenance window. Ask the supplier owner to verify the approved release channel and the specific artefact. Give the site owner a limited period to decide what work can continue. Have the security reviewer identify the checks that still apply and any exception that needs separate authorisation. After the exercise, compare the evidence with the ordinary release record. If a provider could not confirm the version or the site could not verify the outcome, assign a concrete closure test before the next urgent change. The aim is to preserve authority and evidence when the timetable changes, not to make the emergency release depend on the availability of its original developers.
Make the maintenance application release verifiable at the site boundary
Select a non-production maintenance job representing the actual equipment data exchanged between the central application and a mine site. Trace one proposed code change through source review, dependency scanning, build provenance and the authorised deployment identity. The release should carry an identifiable build and signed approval, but those artefacts must match what the site actually received. Test an obsolete token and a modified package against the staging deployment route; neither should have permission to promote a new release merely because a pipeline step reports success.
During a planned pilot, simulate an unavailable central service and check that local engineers still have the permitted maintenance instructions and rollback procedure. Preserve the job ID, artifact digest, dependency findings, approval record and resulting site event so operators can distinguish an application failure from equipment behaviour. A safety-related change must pass the site’s engineering change process in addition to software checks. The release owner should record who can halt rollout after one facility reports a fault, how in-flight work is handled, and which evidence is necessary before promoting the identical build to another site.
Sources and further reading
- NIST Secure Software Development Framework v1.1
- NIST Strategies for Integrating Software Supply Chain Security in DevSecOps CI/CD Pipelines, SP 800-204D
Strengthen your security with Next Defence
Next Defence can help mining and energy teams implement and verify application security controls across development, delivery and site operations.