CI/CD Security Audit — Compliance Mapping Across ISO 27001, SOC 2, DORA, NIS2 & PCI DSS

This compliance-oriented audit mapping connects core CI/CD security controls to the regulatory and assurance frameworks that most often govern regulated delivery pipelines: ISO 27001, SOC 2, DORA, the NIS2 Directive, and PCI DSS.
It is intended to support internal audits, external assessments, and regulatory readiness across enterprise environments — from information security certification to ICT risk management, critical-infrastructure obligations, and payment security.

Rather than treating each framework in isolation, the mapping groups the same underlying pipeline controls — identity and access, secrets management, artifact integrity, third-party integrations, logging, and change governance — and shows where each one satisfies a given framework’s requirements. A single well-run control frequently answers several frameworks at once, which is the practical basis for a unified, compliance approach where evidence is gathered once and reused across assessments.


ISO 27001

ISO/IEC 27001:2022 assesses whether CI/CD controls operate inside a functioning information security management system (ISMS), not merely whether a tool setting exists. Auditors expect documented control ownership, an accurate Statement of Applicability, and evidence that controls are monitored and improved over time. For pipelines, the most relevant Annex A references sit in access control, secure development, and supplier relationships. Evidence expectations: the Statement of Applicability, access-review records, secure-development procedures, and logs showing each control ran as described.

DomainControlISO 27001 (Annex A)YesNo
IAMLeast privilege enforced for CI/CD service accountsA.8.2 / A.5.15
IAMSegregation between human and pipeline identitiesA.6.3
IAMRole-based access for pipeline configurationA.5.18
IAMMFA enforced for CI/CD administratorsA.5.17
IAMApproval required for privileged pipeline actionsA.5.19
SecretsSecrets not stored in source controlA.8.12
SecretsRuntime injection of secretsA.8.24
SecretsEnvironment-scoped secretsA.5.15
SecretsRegular secret rotationA.8.15
SecretsSecret values excluded from logsA.8.16
Artifact IntegrityHardened CI/CD build environmentsA.8.20
Artifact IntegrityArtifact signing enforcedA.8.23
Artifact IntegrityProvenance linking code, pipeline, artifactA.8.9
Artifact IntegrityArtifact repositories enforce immutabilityA.8.10
Artifact IntegrityPromotion limited to trusted artifactsA.8.21
Third-Party IntegrationsThird-party CI/CD plugins formally approvedA.5.22
Third-Party IntegrationsIntegrations pinned to specific versionsA.8.8
Third-Party IntegrationsIntegrity verification of external actionsA.8.23
Third-Party IntegrationsRestriction of community-maintained pluginsA.5.23
Third-Party IntegrationsMonitoring of integration usageA.8.16
Logging & MonitoringCI/CD pipeline activity fully loggedA.8.15
Logging & MonitoringLogs include approvals and security checksA.8.14
Logging & MonitoringCentralized log collectionA.8.16
Logging & MonitoringLog retention aligned with policyA.5.34
Logging & MonitoringEvidence supports audit and investigationsA.5.31
Change & GovernanceChanges reviewed and approved via pipelineA.8.32
Change & GovernanceSeparation between build and deploy rolesA.6.3
Change & GovernancePolicy enforcement via automated gatesA.5.19
Change & GovernanceExceptions formally approved and loggedA.5.31
Change & GovernanceCI/CD governance reviewed periodicallyA.5.36

SOC 2

SOC 2 evaluates CI/CD controls against the Trust Services Criteria, primarily the Common Criteria (the CC series) for security. Because SOC 2 is an attestation over a period, auditors expect evidence that each control operated consistently across the whole review window rather than a single point-in-time screenshot. Sampling is standard: an assessor may select several releases and trace approvals, scans, and deployment records for each. Evidence expectations: change-management tickets, approval logs, exception records, and monitoring output covering the full audit period.

DomainControlSOC 2 (Common Criteria)YesNo
IAMLeast privilege enforced for CI/CD service accountsCC6.1
IAMSegregation between human and pipeline identitiesCC6.3
IAMRole-based access for pipeline configurationCC6.2
IAMMFA enforced for CI/CD administratorsCC6.1
IAMApproval required for privileged pipeline actionsCC7.2
SecretsSecrets not stored in source controlCC6.1
SecretsRuntime injection of secretsCC6.7
SecretsEnvironment-scoped secretsCC6.2
SecretsRegular secret rotationCC6.1
SecretsSecret values excluded from logsCC7.2
Artifact IntegrityHardened CI/CD build environmentsCC6.6
Artifact IntegrityArtifact signing enforcedCC7.3
Artifact IntegrityProvenance linking code, pipeline, artifactCC7.2
Artifact IntegrityArtifact repositories enforce immutabilityCC6.5
Artifact IntegrityPromotion limited to trusted artifactsCC6.6
Third-Party IntegrationsThird-party CI/CD plugins formally approvedCC6.3
Third-Party IntegrationsIntegrations pinned to specific versionsCC7.3
Third-Party IntegrationsIntegrity verification of external actionsCC7.3
Third-Party IntegrationsRestriction of community-maintained pluginsCC6.6
Third-Party IntegrationsMonitoring of integration usageCC7.2
Logging & MonitoringCI/CD pipeline activity fully loggedCC7.2
Logging & MonitoringLogs include approvals and security checksCC7.3
Logging & MonitoringCentralized log collectionCC7.2
Logging & MonitoringLog retention aligned with policyCC7.4
Logging & MonitoringEvidence supports audit and investigationsCC2.2
Change & GovernanceChanges reviewed and approved via pipelineCC8.1
Change & GovernanceSeparation between build and deploy rolesCC6.3
Change & GovernancePolicy enforcement via automated gatesCC7.2
Change & GovernanceExceptions formally approved and loggedCC2.3
Change & GovernanceCI/CD governance reviewed periodicallyCC1.2

DORA

The Digital Operational Resilience Act (DORA) frames CI/CD as part of an in-scope financial entity’s ICT risk management and third-party risk obligations. Its emphasis is on resilience, traceability, and oversight of ICT providers rather than on numbered clauses, so the references below map controls to DORA themes. Supervisors expect pipelines to be covered by the ICT risk framework, with tested resilience and clear provider accountability. Evidence expectations: ICT risk documentation, the register of information for third-party providers, and resilience and exit-testing results.

DomainControlDORA (ICT area)YesNo
IAMLeast privilege enforced for CI/CD service accountsICT Risk Mgmt
IAMSegregation between human and pipeline identitiesGovernance
IAMRole-based access for pipeline configurationAccess Control
IAMMFA enforced for CI/CD administratorsICT Security
IAMApproval required for privileged pipeline actionsChange Mgmt
SecretsSecrets not stored in source controlICT Security
SecretsRuntime injection of secretsICT Risk Mgmt
SecretsEnvironment-scoped secretsGovernance
SecretsRegular secret rotationICT Security
SecretsSecret values excluded from logsMonitoring
Artifact IntegrityHardened CI/CD build environmentsICT Resilience
Artifact IntegrityArtifact signing enforcedSupply Chain
Artifact IntegrityProvenance linking code, pipeline, artifactTraceability
Artifact IntegrityArtifact repositories enforce immutabilityICT Security
Artifact IntegrityPromotion limited to trusted artifactsChange Mgmt
Third-Party IntegrationsThird-party CI/CD plugins formally approvedThird-Party Risk
Third-Party IntegrationsIntegrations pinned to specific versionsSupply Chain
Third-Party IntegrationsIntegrity verification of external actionsICT Security
Third-Party IntegrationsRestriction of community-maintained pluginsRisk Mgmt
Third-Party IntegrationsMonitoring of integration usageMonitoring
Logging & MonitoringCI/CD pipeline activity fully loggedMonitoring
Logging & MonitoringLogs include approvals and security checksGovernance
Logging & MonitoringCentralized log collectionICT Risk Mgmt
Logging & MonitoringLog retention aligned with policyRecord Keeping
Logging & MonitoringEvidence supports audit and investigationsCompliance
Change & GovernanceChanges reviewed and approved via pipelineChange Mgmt
Change & GovernanceSeparation between build and deploy rolesGovernance
Change & GovernancePolicy enforcement via automated gatesICT Security
Change & GovernanceExceptions formally approved and loggedCompliance
Change & GovernanceCI/CD governance reviewed periodicallyOversight

NIS2 Directive

The NIS2 Directive requires essential and important entities to manage cybersecurity risk across their operations, including the software delivery systems that build and ship production changes. Article 21(2) enumerates the baseline risk-management measures and Article 23 governs incident reporting — both map cleanly onto CI/CD access, supply chain, and logging controls. Auditors expect CI/CD to appear explicitly within the organisation’s risk-management measures, with management accountability. Evidence expectations: the risk-management policy referencing the pipeline, supply-chain security measures, and documented incident-handling procedures.

DomainControlNIS2 (Article)YesNo
IAMLeast privilege enforced for CI/CD service accountsArt. 21(2)(b)
IAMSeparation of human and pipeline identitiesArt. 21(2)(d)
IAMRBAC enforced for CI/CD systemsArt. 21(2)(b)
IAMMFA enforced for CI/CD administratorsArt. 21(2)(a)
IAMPrivileged actions require approvalArt. 21(2)(d)
SecretsSecrets not stored in source codeArt. 21(2)(a)
SecretsRuntime secret injectionArt. 21(2)(a)
SecretsEnvironment-scoped credentialsArt. 21(2)(b)
SecretsRegular secret rotationArt. 21(2)(c)
SecretsSecrets excluded from logsArt. 21(2)(a)
Artifact IntegrityHardened CI/CD build environmentsArt. 21(2)(e)
Artifact IntegrityArtifact signing enforcedArt. 21(2)(e)
Artifact IntegrityArtifact provenance and traceabilityArt. 21(2)(e)
Artifact IntegrityArtifact repositories are immutableArt. 21(2)(a)
Artifact IntegrityOnly trusted artifacts promotedArt. 21(2)(d)
Third-Party IntegrationsThird-party CI/CD tools formally approvedArt. 21(2)(e)
Third-Party IntegrationsThird-party actions pinned to versionsArt. 21(2)(e)
Third-Party IntegrationsIntegrity of external CI/CD components verifiedArt. 21(2)(e)
Third-Party IntegrationsCommunity plugins restrictedArt. 21(2)(b)
Third-Party IntegrationsIntegration activity monitoredArt. 21(2)(c)
Logging & MonitoringCI/CD pipeline activity fully loggedArt. 21(2)(c)
Logging & MonitoringLogs include approvals and security eventsArt. 21(2)(c)
Logging & MonitoringCentralized logging enabledArt. 21(2)(c)
Logging & MonitoringLog retention aligned with policyArt. 21(2)(c)
Logging & MonitoringCI/CD logs support incident investigationArt. 23
Change & GovernanceCI/CD included in cybersecurity risk managementArt. 21
Change & GovernanceSegregation of duties enforcedArt. 21(2)(d)
Change & GovernanceChange approvals enforced via pipelinesArt. 21(2)(d)
Change & GovernanceExceptions formally approved and documentedArt. 21(2)(b)
Change & GovernanceCI/CD security posture reviewed periodicallyArt. 21(2)(f)

PCI DSS

PCI DSS applies wherever CI/CD builds or deploys systems within the scope of the cardholder data environment (CDE). Requirement 6 (secure software and change control), Requirements 7 and 8 (access), and Requirement 10 (logging) carry most of the pipeline-relevant obligations. A Qualified Security Assessor tests controls directly for every in-scope system and will not accept a policy statement alone. Evidence expectations: change-control records, access configurations, and centralised logs retained for the required period.

DomainControlPCI DSS (Requirement)YesNo
IAMLeast privilege enforced for CI/CD service accountsReq. 7.2
IAMSeparation of human and pipeline identitiesReq. 7.1
IAMRBAC enforced for CI/CD systemsReq. 7.2
IAMMFA enforced for CI/CD administratorsReq. 8.4
IAMPrivileged actions require approvalReq. 6.4
SecretsSecrets not stored in source codeReq. 3.4
SecretsRuntime secret injectionReq. 3.6
SecretsEnvironment-scoped credentialsReq. 7.2
SecretsRegular secret rotationReq. 3.6.4
SecretsSecrets excluded from logsReq. 10.5
Artifact IntegrityHardened CI/CD build environmentsReq. 6.2
Artifact IntegrityArtifact signing enforcedReq. 6.3
Artifact IntegrityArtifact provenance and traceabilityReq. 6.4
Artifact IntegrityArtifact repositories are immutableReq. 6.4
Artifact IntegrityOnly trusted artifacts promotedReq. 6.4
Third-Party IntegrationsThird-party CI/CD tools formally approvedReq. 12.8
Third-Party IntegrationsThird-party actions pinned to versionsReq. 6.3
Third-Party IntegrationsIntegrity of external CI/CD components verifiedReq. 6.2
Third-Party IntegrationsCommunity plugins restrictedReq. 6.2
Third-Party IntegrationsIntegration activity monitoredReq. 10.4
Logging & MonitoringCI/CD pipeline activity fully loggedReq. 10.2
Logging & MonitoringLogs include approvals and security eventsReq. 10.3
Logging & MonitoringCentralized logging enabledReq. 10.5
Logging & MonitoringLog retention aligned with policyReq. 10.7
Logging & MonitoringCI/CD logs support incident investigationReq. 12.10
Change & GovernanceCI/CD included in cybersecurity risk managementReq. 12.2
Change & GovernanceSegregation of duties enforcedReq. 7.1
Change & GovernanceChange approvals enforced via pipelinesReq. 6.4
Change & GovernanceExceptions formally approved and documentedReq. 12.3
Change & GovernanceCI/CD security posture reviewed periodicallyReq. 12.11

Using This Mapping in an Audit

The mapping is most effective when it is treated as a live working document across an audit cycle rather than a static reference. The practical workflow is to evidence each pipeline control once and then reuse that evidence against every framework it satisfies.

  • Start from the control, not the framework: prove the pipeline control once, then read across to each applicable framework reference.
  • Use the Yes/No columns as a live gap assessment, and record the evidence location (log export, configuration, ticket) beside every control.
  • For ISO 27001 internal audits and SOC 2 readiness assessments, attach the completed mapping to the audit file.
  • For DORA ICT risk evidence and NIS2 risk-management measures, use it to demonstrate that the pipeline is covered within the broader framework.
  • For PCI DSS Requirement 6 and 10 assessments, tie each control to the specific in-scope systems in the cardholder data environment.
  • Re-run the mapping whenever pipelines, tooling, or scope change, and review it periodically as delivery practices evolve.

Common Mapping Mistakes

Most findings against a mapping like this come from a handful of recurring errors. Watching for them before fieldwork begins is the difference between a smooth assessment and a list of exceptions.

  • Mapping a control to a clause without holding evidence that it actually operates — a reference is not proof.
  • Relying on point-in-time screenshots where the framework (SOC 2, DORA) expects evidence spanning a period.
  • Treating a Yes as permanent; controls drift as pipelines are reconfigured and permissions change.
  • Confusing policy with enforcement — a documented rule that a pipeline administrator can silently bypass will not satisfy an assessor.
  • Leaving the evidence reference blank, so a control cannot be traced back to its proof during fieldwork.
  • Copying framework references without confirming scope — for example applying PCI DSS to systems outside the CDE, or citing Annex A controls marked out of scope in the Statement of Applicability.

Conclusion

Used consistently, this mapping turns a scattered set of pipeline settings into a defensible, cross-framework control narrative. The same well-run CI/CD controls — least privilege, managed secrets, signed artifacts, governed change, and complete logs — satisfy the core of all five frameworks; the differences lie mainly in how each expects the evidence to be presented and over what period. Maintaining the mapping as a living document is what keeps an organisation audit-ready between assessments instead of scrambling during them.


Related Resources


Audit-ready context

Written for regulated environments: controls before tools, policy enforcement in CI/CD, and evidence-by-design for audits.

Focus areas include traceability, approvals, exception governance, and evidence retention across build, release, and operations.

See methodology on the About page.