Join our Newsletter — 33% off our NHI Course

Continuous Delivery Pipeline

A continuous delivery pipeline is the automated path that moves software from code change to release-ready state. It runs build, test, security, and approval steps in sequence, using identity controls, secrets management, and policy gates to reduce release risk and keep deployment changes traceable, repeatable, and governed.

What a continuous delivery pipeline actually is

A continuous delivery pipeline is not just “automation for builds.” It is the governed route from source change to a release-ready artifact, with repeated checks that make every stage observable, reproducible, and safe enough for deployment decisions.

That matters because the pipeline becomes part of the software trust boundary. When build steps, test stages, signing steps, and approval gates are consistent, teams can tell whether a release was produced from the expected code, by the expected process, with the expected controls in place.

Why delivery pipelines need security controls

Continuous delivery turns release engineering into a security-sensitive workflow. The pipeline often handles credentials, secrets, signing material, and deployment permissions, so a weakness in the pipeline can become a direct path to code tampering, secret exposure, or unauthorized release activity.

The security value of the pipeline comes from making each transition explicit. A change should only move forward when the relevant tests, policy checks, and approval conditions have been satisfied, and when the resulting artifact can still be traced back to the source revision that produced it.

That is why delivery pipelines are closely linked to supply-chain integrity. Frameworks such as SLSA are useful here because they focus on build provenance and integrity verification, which are core concerns whenever a pipeline is expected to produce trustworthy release artifacts.

How identity, secrets, and approvals shape the pipeline

A secure pipeline depends on identity and access discipline at every handoff. Build jobs, deployment jobs, and approval steps should use narrowly scoped access, because overly broad credentials make it easier for a compromised job, maintainer account, or automation token to push changes outside normal release control.

Secrets should be injected only when needed and kept out of logs, artifacts, and repositories. When pipelines retain long-lived tokens or reuse the same credentials across many stages, a single leak can expose multiple environments or allow an attacker to pivot from one job into another.

Governance also matters at the approval layer. Manual gates are useful only when they are tied to clear ownership and cannot be bypassed through shadow paths, ad hoc scripts, or alternate deployment tooling. The point is traceability: a release should show who approved it, what was checked, and what was promoted.

What a healthy pipeline should make visible

A well-designed pipeline should show where every release came from, what tests and scans were run, and which controls passed before deployment became possible. That visibility helps teams distinguish a normal release failure from a suspicious change in build behavior, artifact contents, or approval flow.

Pipeline observability also supports post-change review. If an incident follows a release, teams need to know whether the issue began in the source code, the build environment, the dependency chain, or the deployment step itself. Without that separation, it is difficult to prove whether the problem is a product defect, a supply-chain issue, or a control failure.

For organisations building software under repeatable control, the pipeline is part of the control system itself, not just a transport mechanism. A delivery path that cannot be audited, repeated, or trusted becomes a release risk even when the application code is sound.

Risk and Threat Considerations

Continuous delivery pipelines are attractive targets because they concentrate access, automation, and release authority in one place. If an attacker can alter pipeline logic, steal a token, poison a dependency, or abuse an approval path, they may be able to move malicious code into production while making it look like a legitimate release.

Failure mechanism: Pipeline compromise usually works by abusing trusted automation, exposed secrets, weak approvals, or tampered build inputs, then using that trusted path to persist across releases or to leak credentials and deploy altered artifacts.

Impact: The result can include unauthorized code release, secret exposure, environment compromise, and a loss of confidence in every artifact produced by the pipeline until the affected stages are rebuilt and revalidated.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

SLSA, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
SLSA Supply-chain Levels for Software Artifacts Defines build provenance and artifact integrity for delivery pipelines.
Recommendation — Apply SLSA practices to verify provenance and integrity for every release artifact.
NIST SP 800-53 Rev 5 SA-10 — Developer Configuration Management Controls how changes are managed through the software lifecycle and pipeline.
CM-3 — Configuration Change Control Release pipelines operationalize controlled, approved change flow.
IA-5 — Authenticator Management Pipelines depend on secrets, tokens, and credential lifecycle management.
Recommendation — Enforce SA-10 discipline to control how pipeline-managed code changes are introduced and tracked. Use CM-3 to require documented approval before pipeline changes reach production paths. Manage pipeline credentials under IA-5 so secrets are issued, rotated, and revoked safely.
CIS Controls v8 CIS-16 — Application Software Security Delivery pipelines are a primary enforcement point for secure software delivery.
Recommendation — Use CIS-16 to embed security checks into software delivery and release workflows.

Practitioner Guidance

Why practitioners should care: A delivery pipeline is only as trustworthy as its least controlled stage, so security decisions about credentials, approvals, and build provenance directly affect release integrity. Treat the pipeline as a governed production system, not just a developer convenience.

Common misunderstanding: Teams often assume that passing tests alone makes a release safe. In practice, a pipeline also needs control over who can run it, what it can access, and how the artifact can be proven to come from the expected source and process.

Practitioner takeaway: If a pipeline can move code forward, it can also move risk forward, so the release path must be designed with the same rigor as the software it delivers.