Compliance Map
Map security controls to compliance frameworks for "$ARGUMENTS" covering framework selection, control-to-framework mapping, multi-framework coverage analysis, and gap identification.
Process
Select frameworks to map:
- Determine applicable frameworks based on industry, geography, and contractual requirements
- Common frameworks: ISO 27001, NIST CSF, SOC 2, CIS Controls, PCI DSS, HIPAA, GDPR
- If context is unclear, ask the user which frameworks are relevant
- Read
plugins/security/shared/security-controls-matrix.md for reference control catalog
Inventory existing security controls:
- Read
.metapowers/security/$ARGUMENTS/ directory for existing security artifacts
- Catalog controls already defined across all phases (Govern, Identify, Protect, Detect, Respond, Recover)
- For each control: document control ID, description, implementation status, evidence
Create control-to-framework mapping matrix:
- Build a matrix with controls as rows and frameworks as columns
- Map each control to applicable framework requirements
- Use framework-specific control references:
- ISO 27001 — Annex A control numbers (A.5 through A.18)
- NIST CSF — function/category/subcategory (e.g., PR.AC-1)
- SOC 2 — Trust Service Criteria (CC1 through CC9, availability, confidentiality, privacy)
- CIS Controls — control numbers (CIS 1 through CIS 18)
- PCI DSS — requirement numbers (1 through 12)
- HIPAA — Security Rule sections (administrative, physical, technical safeguards)
Identify controls satisfying multiple frameworks:
- Highlight controls that map to requirements across two or more frameworks
- Quantify multi-framework coverage efficiency (controls providing the most cross-framework coverage)
- Prioritize these high-leverage controls for implementation and evidence collection
- Note where a single control satisfies requirements differently per framework (may need additional evidence)
Identify framework-specific gaps:
- For each framework, list requirements NOT covered by current controls
- Categorize gaps by severity: critical (mandatory requirements), significant (important but compensating controls may exist), minor (best practice)
- Note where compensating controls may partially satisfy requirements
- Estimate effort to close each gap
Prioritize gap remediation:
- Rank gaps by: regulatory risk (fines, penalties), audit timeline, customer requirements, effort to remediate
- Identify gaps that can be closed by extending existing controls vs. requiring new controls
- Create remediation plan with owners, deadlines, and resource requirements
- Define interim risk acceptance for gaps that cannot be immediately addressed
Write the artifact to .metapowers/security/$ARGUMENTS/compliance-map.md with heading:
Compliance Map
Include sections:
- Applicable Frameworks — selected frameworks with rationale
- Control Inventory — existing controls with implementation status
- Mapping Matrix — controls mapped to framework requirements
- Multi-Framework Coverage — controls providing cross-framework efficiency
- Gap Analysis — uncovered requirements per framework with severity
- Remediation Plan — prioritized gap closure with owners and timeline
Output
The compliance map written to .metapowers/security/$ARGUMENTS/compliance-map.md. Present a summary to the user highlighting:
- Frameworks mapped and overall coverage percentage per framework
- High-leverage controls providing multi-framework coverage
- Critical gaps requiring immediate attention
- Remediation priorities and timeline
1---2name: compliance-map3description: Map controls to compliance frameworks4---56# Compliance Map78Map security controls to compliance frameworks for "$ARGUMENTS" covering framework selection, control-to-framework mapping, multi-framework coverage analysis, and gap identification.910## Process11121. **Select frameworks to map:**13 - Determine applicable frameworks based on industry, geography, and contractual requirements14 - Common frameworks: ISO 27001, NIST CSF, SOC 2, CIS Controls, PCI DSS, HIPAA, GDPR15 - If context is unclear, ask the user which frameworks are relevant16 - Read `plugins/security/shared/security-controls-matrix.md` for reference control catalog17182. **Inventory existing security controls:**19 - Read `.metapowers/security/$ARGUMENTS/` directory for existing security artifacts20 - Catalog controls already defined across all phases (Govern, Identify, Protect, Detect, Respond, Recover)21 - For each control: document control ID, description, implementation status, evidence22233. **Create control-to-framework mapping matrix:**24 - Build a matrix with controls as rows and frameworks as columns25 - Map each control to applicable framework requirements26 - Use framework-specific control references:27 - **ISO 27001** — Annex A control numbers (A.5 through A.18)28 - **NIST CSF** — function/category/subcategory (e.g., PR.AC-1)29 - **SOC 2** — Trust Service Criteria (CC1 through CC9, availability, confidentiality, privacy)30 - **CIS Controls** — control numbers (CIS 1 through CIS 18)31 - **PCI DSS** — requirement numbers (1 through 12)32 - **HIPAA** — Security Rule sections (administrative, physical, technical safeguards)33344. **Identify controls satisfying multiple frameworks:**35 - Highlight controls that map to requirements across two or more frameworks36 - Quantify multi-framework coverage efficiency (controls providing the most cross-framework coverage)37 - Prioritize these high-leverage controls for implementation and evidence collection38 - Note where a single control satisfies requirements differently per framework (may need additional evidence)39405. **Identify framework-specific gaps:**41 - For each framework, list requirements NOT covered by current controls42 - Categorize gaps by severity: critical (mandatory requirements), significant (important but compensating controls may exist), minor (best practice)43 - Note where compensating controls may partially satisfy requirements44 - Estimate effort to close each gap45466. **Prioritize gap remediation:**47 - Rank gaps by: regulatory risk (fines, penalties), audit timeline, customer requirements, effort to remediate48 - Identify gaps that can be closed by extending existing controls vs. requiring new controls49 - Create remediation plan with owners, deadlines, and resource requirements50 - Define interim risk acceptance for gaps that cannot be immediately addressed51527. **Write the artifact** to `.metapowers/security/$ARGUMENTS/compliance-map.md` with heading:5354 ## Compliance Map5556 Include sections:57 - **Applicable Frameworks** — selected frameworks with rationale58 - **Control Inventory** — existing controls with implementation status59 - **Mapping Matrix** — controls mapped to framework requirements60 - **Multi-Framework Coverage** — controls providing cross-framework efficiency61 - **Gap Analysis** — uncovered requirements per framework with severity62 - **Remediation Plan** — prioritized gap closure with owners and timeline6364## Output6566The compliance map written to `.metapowers/security/$ARGUMENTS/compliance-map.md`. Present a summary to the user highlighting:67- Frameworks mapped and overall coverage percentage per framework68- High-leverage controls providing multi-framework coverage69- Critical gaps requiring immediate attention70- Remediation priorities and timeline