Skip to content
SP StackPractices
intermediate By StackPractices

Compliance Gap Analysis Template

A template for mapping current security controls to compliance frameworks like SOC 2, ISO 27001, and PCI-DSS.

Note: This guide follows English-language naming conventions and terminology standards common in international development teams. Examples use English identifiers and comments to maximize compatibility across codebases and tooling.

Overview

A Compliance Gap Analysis compares your current security controls against the requirements of a target framework, such as SOC 2, ISO 27001, PCI-DSS, or GDPR. This template captures the requirement, the control that satisfies it, the evidence you have, any missing pieces, and a plan to close the gaps. It is a standard input for audit readiness and certification roadmaps.

When to Use

  • Preparing for a first-time audit or certification.
  • Renewing a certification and identifying changes since the last audit.
  • Merging companies or integrating new business units.
  • After a significant change in architecture, processes, or vendors.
  • Building a security roadmap tied to compliance obligations.

Prerequisites

  • The target framework and version, such as SOC 2 Trust Services Criteria 2017.
  • An inventory of security policies, controls, and processes.
  • Access to evidence repositories, ticket systems, and cloud consoles.
  • A cross-functional team from security, engineering, legal, and HR.

Solution

Template

1. Engagement Overview

FieldDescriptionValue
FrameworkTarget compliance standardSOC 2 Type II
VersionSpecific version or criteriaTrust Services Criteria 2017
ScopeSystems, teams, or locations coveredProduction cloud environment
Assessment dateWhen the gap analysis was performed2026-06-27
OwnerPerson responsible for the analysisCompliance manager
Target audit datePlanned certification or audit2027-03-31

2. Control Mapping

Requirement IDControl ObjectiveCurrent ControlEvidenceStatusGapOwnerDue Date
CC6.1Logical accessRBAC policy enforcedRBAC policy doc, IAM configPartialMFA not enforced for all admin rolesIAM team2026-08-15
CC6.6System monitoringLogs centralized in SIEMSIEM dashboard, retention policyMetNoneSecurity teamN/A
CC7.1Vulnerability managementQuarterly scansScanner reportPartialNo SLA for remediationVuln management team2026-09-01
A.12.3.1Information backupBackup policy existsBackup policy, restore testMetNoneDevOps teamN/A
A.9.2.3Access rightsAccess review processQuarterly access reviewsPartialReviews not documentedEngineering managers2026-07-30

3. Gap Summary

CategoryTotalMetPartialNot MetRisk
Access control12741High
Monitoring8620Medium
Change management6321High
Vendor management5221Medium
Incident response7511High
Overall3823114High

4. Remediation Plan

Gap IDDescriptionActionOwnerDue DatePriorityEvidence Needed
GAP-01MFA missing for admin rolesEnforce MFA on all privileged accountsIAM team2026-08-15HighMFA enrollment report
GAP-02No vulnerability remediation SLADefine and approve SLA by severitySecurity team2026-09-01HighSLA document
GAP-03Access reviews not documentedUse quarterly access review templateEngineering managers2026-07-30MediumSigned attestations
GAP-04No formal vendor assessmentAdopt vendor assessment templateProcurement2026-10-01MediumCompleted assessments

5. Evidence Tracking

Requirement IDEvidence LocationLast UpdatedReviewerNotes
CC6.1/policies/rbac-policy2026-06-01Security leadApproved and published
CC6.6/siem/retention-config2026-05-15SOC analyst12-month retention confirmed
A.12.3.1/runbooks/backup-restore-test2026-06-20DevOps leadQuarterly restore test passed

Explanation

Gap analysis turns compliance from a vague checklist into an actionable project. By mapping each requirement to a control, evidence, and status, you can prioritize work based on risk and audit timeline. The remediation plan becomes the roadmap that drives engineering, security, and legal tasks toward certification.

Variants

  • SOC 2 readiness assessment: Focused on Trust Services Criteria with common controls and evidence.
  • ISO 27001 gap analysis: Mapped to Annex A controls and risk treatment plans.
  • PCI-DSS gap analysis: Centered on cardholder data environment, encryption, and access.
  • GDPR compliance mapping: Tracks data subject rights, processing records, and consent.
  • Multi-framework mapping: A unified matrix showing coverage across SOC 2, ISO 27001, and PCI-DSS.

Best Practices

  • Use the official framework version to avoid outdated requirements.
  • Involve control owners, not just the compliance team, in the assessment.
  • Collect evidence during the analysis, not after.
  • Rate gaps by risk and audit readiness, not just by volume.
  • Track remediation like a project with owners, dates, and deliverables.
  • Re-run the analysis quarterly or after major changes.
  • Maintain a single source of truth for evidence locations.

Common Mistakes

  • Treating compliance as a one-time project instead of a continuous program.
  • Mapping controls to requirements without reviewing actual evidence.
  • Assigning remediation to teams without capacity or authority.
  • Using outdated framework versions.
  • Over-documenting trivial controls while missing critical gaps.
  • Not linking gap analysis to incident history or risk assessments.

FAQs

How long does a gap analysis take?

A focused framework assessment for one standard typically takes 2 to 4 weeks, depending on scope, maturity, and evidence availability. Multi-framework mappings take longer.

Who should own the gap analysis?

A compliance or risk manager usually owns the document, but each requirement must have a control owner who validates the evidence and commits to remediation.

What counts as evidence?

Policies, configuration screenshots, audit logs, ticket records, signed attestations, training completion records, test results, and third-party reports. Evidence must be dated and attributable.