Cybersecurity Glossary

What Is CI/CD Security?

CI/CD security is the practice of building security controls into continuous integration and continuous delivery pipelines to catch risks before release.

Meaning

Security controls built into continuous integration and continuous delivery pipelines to catch risks before release.

Protects

Source code, pipeline identities, secrets, runners, dependencies, build steps, artifacts, and deployment paths.

Uses

SAST, SCA, secret scanning, IaC scanning, container scanning, security gates, approvals, and monitoring.

Goal

Reduce software and supply-chain risk without breaking normal delivery workflows.

Simple definition

Security controls built into continuous integration and continuous delivery pipelines to catch risks before release.

CI/CD security is broader than adding scanners. It also protects the pipeline infrastructure and permissions that attackers could abuse to change source, steal secrets, tamper with artifacts, or deploy unauthorized code.

What does CI/CD security protect?

REPO

Source and repository access

Protect branches, pull requests, reviews, and repository permissions.

RUN

Runners and agents

Harden the systems that execute build and deployment jobs.

SECRET

Secrets

Protect tokens, keys, credentials, signing material, and deployment secrets.

SCAN

Security testing

Run SAST, SCA, secret, IaC, and container checks at useful stages.

ART

Artifacts

Protect package, image, binary, and provenance integrity.

DEPLOY

Deployment paths

Restrict who and what can promote artifacts into environments.

Why CI/CD security matters

  • CI/CD pipelines often hold credentials and permissions capable of changing production systems.
  • A compromised runner or third-party action can affect software before it reaches users.
  • Automated AppSec testing gives developers fast feedback on code and dependency risk.
  • Security gates can stop critical issues while allowing lower-risk findings to follow normal remediation.
  • Artifact integrity matters because attackers may target the delivery process instead of source code directly.
  • Pipeline activity and administrative changes should be logged so supply-chain incidents can be investigated.

How CI/CD security works

1

Secure source control

Protect repositories, branches, reviews, identities, and pull-request workflows.

2

Harden execution

Use controlled runners, trusted build images, least privilege, and secret isolation.

3

Scan continuously

Run appropriate code, dependency, secret, infrastructure, and artifact checks.

4

Apply policy

Use gates, approvals, risk thresholds, and exception handling.

5

Release trusted artifacts

Promote versioned, verified build outputs through controlled environments.

6

Monitor and improve

Review pipeline events, findings, failures, privilege changes, and incidents.

CI/CD security principles

LEAST

Least privilege

Restrict pipeline tokens, runners, and deployment identities.

EPH

Ephemeral execution

Prefer short-lived build environments to reduce persistent compromise risk.

PIN

Dependency pinning

Control versions of external actions, plugins, images, and tools.

GATE

Security gates

Block or require approval only when policy and confidence justify it.

PROV

Provenance

Track which source revision and pipeline produced each artifact.

AUDIT

Auditability

Log changes to pipelines, permissions, secrets, and release behavior.

Common CI/CD security use cases

PR

Pull-request security

Run security checks before merge.

BUILD

Build security

Scan code, dependencies, secrets, and build configuration.

CONT

Container pipelines

Build and scan images before registry publication.

IAC

Infrastructure-as-code

Validate Terraform and cloud configuration before deployment.

REL

Release controls

Require approval or policy checks before promotion.

SUPPLY

Supply-chain defense

Protect build actions, dependencies, artifacts, and provenance.

CI/CD Security vs Build Pipeline vs DevSecOps

ConceptPrimary purposeExample
CI/CD SecurityProtect continuous integration and delivery workflows from security risk.Harden runners, protect secrets, scan code, and control releases.
Build PipelineAutomate compilation, testing, scanning, and packaging.Build an application and publish a release artifact.
DevSecOpsIntegrate security into DevOps culture, automation, and delivery practices.Make security checks and remediation part of normal engineering workflows.

Key technical considerations

TOK

Scope tokens tightly

Use short-lived, minimal permissions for jobs and deployments.

RUN

Isolate runners

Separate trusted and untrusted workloads and keep execution environments patched.

THIRD

Review third-party actions

External pipeline components should be pinned and reviewed.

SECRET

Keep secrets out of logs

Mask or avoid outputting credentials and sensitive values.

GATE

Design exception paths

Teams need controlled ways to handle justified release exceptions.

OBS

Monitor pipeline anomalies

Track unusual job execution, permission changes, secret access, and failed releases.

Benefits and common problems

Benefits

  • Earlier security feedback.
  • Reduced software supply-chain risk.
  • More consistent release controls.
  • Safer secret and deployment handling.
  • Better auditability of software delivery.

Common problems

  • Pipelines run with excessive permissions.
  • Security checks create noise and get ignored.
  • Third-party actions are not pinned or reviewed.
  • Secrets leak through logs or build artifacts.
  • Emergency bypasses become permanent.

How ForshTec helps with CI/CD security

ForshTec helps teams connect pipeline security, AppSec scanners, security gates, ServiceNow, and remediation workflows so CI/CD controls are enforceable and supportable.

  • CI/CD security architecture
  • SAST, SCA, secret, IaC, and container integration
  • Security gate design
  • Finding normalization and deduplication
  • ServiceNow remediation workflow
  • Pipeline and release control review

Need security built into CI/CD without creating constant developer friction?

ForshTec can design where checks run, what blocks, how exceptions work, and how findings flow into remediation.

Talk to ForshTec

FAQs

What is CI/CD security?

CI/CD security means building security controls into continuous integration and continuous delivery pipelines to catch risks before release.

What should be protected in CI/CD?

Repositories, runners, pipeline identities, secrets, dependencies, build steps, artifacts, and deployment permissions all require protection.

What security scans belong in CI/CD?

SAST, SCA, secret scanning, IaC scanning, container scanning, and other application-specific checks can be integrated where appropriate.

Should every security finding block a release?

No. Gates should reflect severity, confidence, exploitability, policy, and business context so lower-value noise does not stop delivery unnecessarily.

Why are CI/CD runners high risk?

They may execute untrusted code while holding access to source, secrets, registries, artifacts, or deployment systems.

How should CI/CD findings be managed?

Normalize, deduplicate, prioritize, assign, remediate, and verify findings through established developer or ServiceNow workflows.

Protect the automated software-delivery path from source to production.

ForshTec connects CI/CD security controls, AppSec tooling, release gates, ServiceNow, and remediation into one operational workflow.

Start a project