Continuous integration and continuous delivery (CI/CD)

The automated pipeline that merges, builds and tests code changes frequently (CI) and carries them toward release (CD), which makes the pipeline both a security control and a target.

Continuous integration and continuous delivery (CI/CD) is the automated pipeline that takes a code change from a developer’s commit to a releasable, and sometimes released, build. Continuous integration (CI) merges each developer’s changes into a shared code repository frequently, with an automated build and test on each merge so that integration problems appear early. The CD half is either continuous delivery, which waits for human approval before production, or continuous deployment, which does not. The ISC2 outline lists CI/CD under 8.2, security controls in software development ecosystems.

The pipeline is where DevSecOps places automated security checks: static analysis, software composition analysis, secret scanning, infrastructure as code checks and dynamic testing in staging. It is also an attractive target, because whoever controls the pipeline controls what ships. NIST SP 800-204D (2024) covers integrating software supply chain security into DevSecOps CI/CD pipelines. Common controls include least-privilege pipeline accounts, secrets management instead of hard-coded credentials, protected pipeline configuration and code signing of build outputs.

Exam relevance: a scenario about automating security testing into every build is likely to point to the CI/CD pipeline, and one about an attacker altering a build is likely to turn on pipeline integrity. Candidates are expected to know which half of CI/CD a given step belongs to.