
Nist Csf Specialist
- 81 installs
- 451 repo stars
- Updated July 21, 2026
- borghei/claude-skills
nist-csf-specialist is a Claude Code skill for NIST Cybersecurity Framework 2.0 implementation, maturity assessment, and cross-framework compliance mapping.
About
nist-csf-specialist is a skill for implementing, assessing, and managing cybersecurity programs aligned with the NIST Cybersecurity Framework 2.0. It scores each function and category on a 1-4 tier scale, compares current versus target profiles, generates prioritized gap analysis, and maps controls across other frameworks like ISO 27001 and SOC 2. A security owner uses it for maturity assessments, gap analysis, and cross-framework mapping.
- Assesses cybersecurity maturity against NIST CSF 2.0 six core functions
- Scores each function on a 1-4 tier scale and generates prioritized gap analysis
- Maps controls across ISO 27001, SOC 2, HIPAA, and PCI-DSS
Nist Csf Specialist by the numbers
- 81 all-time installs (skills.sh)
- Ranked #1,093 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
nist-csf-specialist capabilities & compatibility
- Capabilities
- nis2 directive specialist · pci dss specialist · maturity assessment · security audit
- Use cases
- security audit
What nist-csf-specialist says it does
NIST Cybersecurity Framework 2.0 implementation, assessment, and compliance
Scores each function and category on a 1–4 tier scale
Maps NIST CSF 2.0 categories to ISO 27001, SOC 2, HIPAA, PCI-DSS
npx skills add https://github.com/borghei/claude-skills --skill nist-csf-specialistAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 81 |
|---|---|
| repo stars | ★ 451 |
| Last updated | July 21, 2026 |
| Repository | borghei/claude-skills ↗ |
What it does
Assess cybersecurity maturity against NIST CSF 2.0 and produce a prioritized gap analysis.
Who is it for?
Cybersecurity maturity assessments, CSF gap analysis, governance, and cross-framework control mapping.
Skip if: Writing exploit code or general application security debugging.
When should I use this skill?
You need a NIST CSF 2.0 assessment, cybersecurity maturity scoring, gap analysis, or cross-framework mapping.
What you get
A tiered maturity assessment with prioritized gap remediation and a unified cross-framework control matrix.
- Tiered maturity assessment
- Prioritized gap analysis
- Cross-framework control matrix
By the numbers
- Six core functions
- 1-4 tier maturity scale
- Maps to 4 frameworks: ISO 27001, SOC 2, HIPAA, PCI-DSS
Files
NIST CSF 2.0 Specialist
Implement, assess, and manage cybersecurity programs aligned with the NIST Cybersecurity Framework 2.0 — the definitive standard for organizational cybersecurity risk management.
---
Table of Contents
- Trigger Phrases
- Quick Start
- Tools
- NIST CSF 2.0 Overview
- Six Core Functions
- CSF Profiles
- CSF Tiers
- Cross-Framework Mapping
- Infrastructure Security Assessment
- Maturity Assessment Workflow
- Implementation Roadmap
- Reference Guides
- Validation Checkpoints
---
Trigger Phrases
Use this skill when you hear:
- "NIST cybersecurity framework"
- "CSF 2.0"
- "NIST compliance"
- "cybersecurity risk management"
- "NIST controls"
- "NIST assessment"
- "cybersecurity maturity"
- "NIST CSF profile"
- "cybersecurity governance"
- "cybersecurity program assessment"
- "CSF gap analysis"
- "cross-framework compliance mapping"
---
Quick Start
Assess Cybersecurity Maturity
python scripts/csf_maturity_assessor.py --input assessment.json --target-tier 3 --output maturity_report.jsonMap Controls Across Frameworks
python scripts/csf_control_mapper.py --source-framework nist-csf --target-framework iso27001 --output mapping.jsonGenerate Gap Analysis
python scripts/csf_maturity_assessor.py --input assessment.json --target-tier 4 --format markdown --output gap_analysis.mdMulti-Framework Unified Matrix
python scripts/csf_control_mapper.py --source-framework nist-csf --target-framework all --output unified_matrix.json---
Tools
csf_maturity_assessor.py
Comprehensive maturity assessment engine for NIST CSF 2.0.
Capabilities:
- Scores each function and category on a 1–4 tier scale
- Compares current profile against target profile
- Generates prioritized gap analysis with remediation actions
- Maps gaps to specific CSF subcategories
- Produces JSON or Markdown output
Usage:
# Full maturity assessment with gap analysis
python scripts/csf_maturity_assessor.py \
--input current_state.json \
--target-tier 3 \
--output report.json
# Markdown report for executive presentation
python scripts/csf_maturity_assessor.py \
--input current_state.json \
--target-tier 4 \
--format markdown \
--output executive_report.md
# Assess specific functions only
python scripts/csf_maturity_assessor.py \
--input current_state.json \
--functions GOVERN,IDENTIFY,PROTECT \
--target-tier 3 \
--output partial_report.jsonInput Format (current_state.json):
{
"organization": "Acme Corp",
"assessment_date": "2026-03-09",
"assessor": "Security Team",
"functions": {
"GOVERN": {
"GV.OC": {
"score": 2,
"evidence": "Mission documented, partial stakeholder mapping",
"notes": "Legal requirements catalog incomplete"
},
"GV.RM": {
"score": 1,
"evidence": "No formal risk management strategy",
"notes": "Risk appetite not defined"
}
},
"IDENTIFY": {
"ID.AM": {
"score": 3,
"evidence": "CMDB maintained, automated discovery",
"notes": "Shadow IT gap exists"
}
}
}
}csf_control_mapper.py
Cross-framework control mapping engine.
Capabilities:
- Maps NIST CSF 2.0 categories to ISO 27001, SOC 2, HIPAA, PCI-DSS
- Identifies overlapping controls for multi-framework programs
- Generates unified control matrices
- Highlights gaps unique to each framework
Usage:
# Map CSF to ISO 27001
python scripts/csf_control_mapper.py \
--source-framework nist-csf \
--target-framework iso27001 \
--output iso_mapping.json
# Map CSF to all supported frameworks
python scripts/csf_control_mapper.py \
--source-framework nist-csf \
--target-framework all \
--output unified_matrix.json
# Map specific functions only
python scripts/csf_control_mapper.py \
--source-framework nist-csf \
--target-framework soc2 \
--functions GOVERN,PROTECT \
--output soc2_mapping.json
# Markdown output for documentation
python scripts/csf_control_mapper.py \
--source-framework nist-csf \
--target-framework iso27001 \
--format markdown \
--output mapping_report.md---
NIST CSF 2.0 Overview
What Changed in CSF 2.0
Released in February 2024, NIST CSF 2.0 represents a major evolution from the original 2014 framework and 2018 v1.1 update:
Expanded Scope: CSF 2.0 applies to ALL organizations — not just critical infrastructure. Small businesses, government agencies, higher education, and nonprofits are now explicitly in scope.
New GOVERN Function: The most significant change. GOVERN elevates cybersecurity governance to a top-level function, recognizing that executive leadership, policy, and oversight are prerequisites for effective cybersecurity.
Enhanced Supply Chain Focus: Cybersecurity Supply Chain Risk Management (C-SCRM) is now a category under GOVERN, reflecting the reality that supply chain attacks are a primary threat vector.
Improved Guidance: CSF 2.0 includes implementation examples and quick-start guides that were absent in earlier versions. The framework is more actionable and prescriptive while maintaining its flexible, risk-based approach.
Profile Updates: Profiles are now more clearly defined as organizational profiles (describing current/target states) and community profiles (sector-specific templates).
Framework Architecture
┌─────────────────────────────────────────────────────┐
│ CSF CORE │
│ │
│ ┌─────────┐ │
│ │ GOVERN │ ← NEW: Overarching governance │
│ └────┬────┘ │
│ │ │
│ ┌────▼────┐ ┌─────────┐ ┌────────┐ ┌─────────┐│
│ │IDENTIFY │→ │ PROTECT │→ │ DETECT │→ │ RESPOND ││
│ └─────────┘ └─────────┘ └────────┘ └────┬────┘│
│ │ │
│ ┌────▼────┐ │
│ │ RECOVER │ │
│ └─────────┘ │
├─────────────────────────────────────────────────────┤
│ PROFILES │
│ Current State ↔ Target State │
├─────────────────────────────────────────────────────┤
│ TIERS │
│ Partial → Risk Informed → Repeatable → Adaptive │
└─────────────────────────────────────────────────────┘---
Six Core Functions
1. GOVERN (GV) — NEW in CSF 2.0
The GOVERN function establishes and monitors the organization's cybersecurity risk management strategy, expectations, and policy. It is the connective tissue across all other functions.
GV.OC — Organizational Context
Understanding the organization's mission, stakeholder expectations, and dependencies is the foundation for all cybersecurity decisions.
Key Activities:
- Document organizational mission, objectives, and stakeholder expectations
- Catalog legal, regulatory, and contractual cybersecurity obligations
- Map critical business processes and their technology dependencies
- Define risk appetite and risk tolerance statements
- Identify internal and external stakeholders with cybersecurity interests
Implementation Guidance:
- Maintain a regulatory obligations register updated quarterly
- Conduct annual stakeholder mapping exercises
- Align cybersecurity objectives with enterprise risk management (ERM)
- Document dependencies between business processes and IT assets
Maturity Indicators:
| Tier | Indicator |
|---|---|
| Tier 1 | Ad hoc understanding of mission and obligations |
| Tier 2 | Documented mission alignment, partial regulatory catalog |
| Tier 3 | Formal stakeholder mapping, complete regulatory register, defined risk appetite |
| Tier 4 | Dynamic risk appetite adjustment, continuous stakeholder engagement, real-time regulatory tracking |
GV.RM — Risk Management Strategy
Key Activities:
- Establish cybersecurity risk management strategy aligned to enterprise risk
- Define organizational risk tolerance levels (quantitative where possible)
- Create formal risk statements approved by leadership
- Integrate cybersecurity risk into strategic planning and investment decisions
- Review and update risk strategy based on threat landscape changes
Implementation Guidance:
- Use quantitative risk analysis methods (FAIR, Monte Carlo) for critical assets
- Maintain risk tolerance thresholds per business unit and asset class
- Present risk posture to the board at least quarterly
- Establish risk acceptance criteria and approval workflows
- Link risk management outcomes to budget allocation
GV.RR — Roles, Responsibilities, and Authorities
Key Activities:
- Define CISO role, reporting structure, and authority
- Establish cybersecurity responsibilities across all organizational levels
- Ensure board-level cybersecurity oversight
- Define authority for cybersecurity decisions (incident response, risk acceptance)
- Integrate cybersecurity responsibilities into HR processes (job descriptions, performance reviews)
Implementation Guidance:
- CISO should report to CEO or board (not buried under IT)
- Create a RACI matrix for cybersecurity functions
- Include cybersecurity objectives in executive performance metrics
- Establish a cybersecurity steering committee with cross-functional representation
- Document delegation of authority for emergency cybersecurity decisions
GV.PO — Policy
Key Activities:
- Develop comprehensive cybersecurity policy framework
- Ensure policies are informed by organizational context and risk strategy
- Establish policy review and update cadence (annual minimum)
- Communicate policies to all stakeholders including third parties
- Enforce policy compliance through technical and administrative controls
Implementation Guidance:
- Structure policies in a hierarchy: Policy → Standards → Procedures → Guidelines
- Tag policies with applicable regulatory requirements
- Use exception management processes for policy deviations
- Measure policy awareness and compliance rates
- Automate policy distribution and acknowledgment tracking
GV.OV — Oversight
Key Activities:
- Review cybersecurity strategy execution and outcomes
- Report cybersecurity risk posture to governance bodies (board, committees)
- Establish KPIs and KRIs for cybersecurity performance
- Conduct management reviews of the cybersecurity program
- Adjust strategy based on performance metrics and changing risk landscape
Key Metrics:
- Mean Time to Detect (MTTD) and Mean Time to Respond (MTTR)
- Percentage of critical assets with current risk assessments
- Policy compliance rate across business units
- Vulnerability remediation timelines (critical/high/medium/low)
- Security awareness training completion and phishing simulation results
- Third-party risk assessment coverage
GV.SC — Cybersecurity Supply Chain Risk Management
Key Activities:
- Establish C-SCRM policies and procedures
- Assess cybersecurity risk of suppliers, vendors, and partners
- Include cybersecurity requirements in procurement and contracts
- Monitor supply chain cybersecurity posture continuously
- Plan for supply chain disruption and compromise scenarios
Implementation Guidance:
- Tier suppliers by criticality and data access level
- Require SOC 2 Type II or equivalent from critical suppliers
- Include right-to-audit clauses in contracts
- Monitor supplier breach disclosures and vulnerability announcements
- Maintain a software bill of materials (SBOM) for critical applications
- Validate supplier incident response capabilities
---
2. IDENTIFY (ID)
The IDENTIFY function develops organizational understanding to manage cybersecurity risk to systems, assets, data, and capabilities.
ID.AM — Asset Management
Key Activities:
- Maintain comprehensive hardware and software asset inventories
- Classify assets by criticality and sensitivity
- Map data flows between systems, networks, and external parties
- Identify and catalog all data repositories (structured and unstructured)
- Track software licensing and end-of-life/end-of-support status
- Discover and manage shadow IT
Implementation Guidance:
- Deploy automated asset discovery tools (agent-based and network-based)
- Maintain a Configuration Management Database (CMDB)
- Tag assets with owner, criticality, data classification, and regulatory scope
- Conduct quarterly asset reconciliation
- Integrate asset inventory with vulnerability management and patch systems
ID.RA — Risk Assessment
Key Activities:
- Identify and document vulnerabilities across all asset types
- Integrate threat intelligence feeds into risk assessment processes
- Conduct risk analysis combining likelihood and impact
- Prioritize risks based on organizational risk tolerance
- Document risk assessment results and risk treatment decisions
Implementation Guidance:
- Use standardized risk assessment methodologies (NIST SP 800-30, FAIR, OCTAVE)
- Maintain a risk register with assigned owners and treatment plans
- Conduct risk assessments for new systems, major changes, and annually
- Incorporate threat intelligence from ISACs, CISA advisories, and vendor bulletins
- Use vulnerability scanning results as input to risk assessment
ID.IM — Improvement
Key Activities:
- Conduct post-incident lessons learned reviews
- Track improvement actions to completion
- Benchmark cybersecurity program against peers and standards
- Integrate improvement insights into program planning and budgeting
- Share lessons learned across the organization
Implementation Guidance:
- Schedule blameless post-mortems within 2 weeks of significant incidents
- Maintain an improvement action tracker with deadlines and owners
- Conduct annual program maturity assessments
- Participate in industry information sharing organizations
---
3. PROTECT (PR)
The PROTECT function implements appropriate safeguards to ensure delivery of critical services.
PR.AA — Identity Management, Authentication, and Access Control
Key Activities:
- Implement identity governance and administration (IGA)
- Enforce multi-factor authentication (MFA) for all users — prioritize FIDO2/WebAuthn and hardware keys (YubiKey)
- Deploy single sign-on (SSO) with SAML/OIDC integration
- Implement privileged access management (PAM) for administrative accounts
- Adopt zero trust architecture principles (never trust, always verify)
- Enforce least privilege and just-in-time (JIT) access models
- Conduct regular access reviews and certification campaigns
Implementation Guidance:
- Require phishing-resistant MFA (FIDO2) for administrative and high-risk access
- Deploy PAM solutions with session recording and credential vaulting
- Implement network micro-segmentation aligned with zero trust
- Automate user provisioning/deprovisioning tied to HR systems
- Review privileged access monthly, standard access quarterly
- Maintain identity federation with partners using SAML/OIDC
PR.AT — Awareness and Training
Key Activities:
- Deliver role-based cybersecurity training (developer, executive, general staff)
- Conduct regular phishing simulation campaigns
- Provide specialized training for privileged users and administrators
- Measure training effectiveness through testing and behavioral metrics
- Update training content based on current threats
Implementation Guidance:
- Require annual security awareness training for all personnel
- Quarterly phishing simulations with progressive difficulty
- Track and remediate repeat phishing test failures
- Provide secure coding training for developers (OWASP Top 10)
- Executive training should focus on risk governance and incident decisions
PR.DS — Data Security
Key Activities:
- Encrypt data at rest using AES-256 or equivalent
- Encrypt data in transit using TLS 1.2+ (prefer TLS 1.3)
- Implement data loss prevention (DLP) controls
- Classify data per organizational taxonomy (Public, Internal, Confidential, Restricted)
- Manage encryption keys using HSMs or KMS
- Apply data retention and disposal policies
Implementation Guidance:
- Deploy endpoint DLP, network DLP, and cloud DLP
- Automate data classification using content inspection and ML
- Implement database activity monitoring for sensitive data stores
- Use tokenization for sensitive data in non-production environments
- Rotate encryption keys per policy (annually minimum)
- Secure backup data with same encryption standards as production
PR.PS — Platform Security
Key Activities:
- Implement system hardening baselines (CIS Benchmarks, DISA STIGs)
- Maintain patch management program with defined SLAs
- Enforce configuration management and drift detection
- Secure operating systems, applications, firmware, and containers
- Remove or disable unnecessary services, ports, and protocols
Implementation Guidance:
- Apply CIS Level 1 (minimum) or Level 2 benchmarks across all systems
- Patch critical vulnerabilities within 72 hours, high within 30 days
- Deploy configuration management tools (Ansible, Chef, Puppet, Terraform)
- Use immutable infrastructure patterns where possible
- Conduct regular hardening compliance scans
- Maintain golden images for standard deployments
PR.IR — Technology Infrastructure Resilience
Key Activities:
- Design redundancy into critical infrastructure components
- Implement failover mechanisms (active-active, active-passive)
- Conduct capacity planning aligned with business growth
- Test disaster recovery procedures regularly
- Maintain geographically distributed backups
Implementation Guidance:
- Define RPO/RTO for each critical system
- Test failover monthly for Tier 1 systems
- Conduct annual disaster recovery exercises
- Maintain 3-2-1 backup strategy (3 copies, 2 media types, 1 offsite)
- Monitor infrastructure capacity and alert at 80% utilization
---
4. DETECT (DE)
The DETECT function defines activities to identify the occurrence of a cybersecurity event.
DE.CM — Continuous Monitoring
Key Activities:
- Deploy and tune SIEM for centralized log collection and correlation
- Implement IDS/IPS for network threat detection
- Deploy EDR/XDR on all endpoints
- Monitor network traffic for anomalies (NetFlow, full packet capture for critical segments)
- Monitor cloud workloads and SaaS applications
- Establish security operations center (SOC) — internal or managed
Implementation Guidance:
- Centralize logs from all systems, applications, network devices, and cloud services
- Retain logs per regulatory requirements (minimum 1 year, 90 days hot)
- Tune SIEM rules quarterly to reduce false positives
- Implement user and entity behavior analytics (UEBA)
- Monitor DNS queries for indicators of compromise
- Deploy honeypots/honeytokens in critical network segments
DE.AE — Adverse Event Analysis
Key Activities:
- Correlate events from multiple sources to identify incidents
- Implement anomaly detection for baseline deviations
- Conduct proactive threat hunting campaigns
- Analyze alerts for true positives and escalate confirmed events
- Maintain detection playbooks for known attack patterns
Implementation Guidance:
- Develop threat hunting hypotheses based on threat intelligence
- Conduct weekly or monthly threat hunting exercises
- Map detection rules to MITRE ATT&CK techniques
- Maintain detection coverage matrix against ATT&CK
- Automate alert triage using SOAR playbooks
- Track detection efficacy metrics (true positive rate, MTTD)
---
5. RESPOND (RS)
The RESPOND function includes activities to take action regarding a detected cybersecurity incident.
RS.MA — Incident Management
Key Activities:
- Maintain an incident response plan (IRP) tested annually
- Define incident classification and severity levels
- Establish escalation procedures and communication chains
- Activate incident response team based on severity
- Coordinate response activities across technical and business teams
Implementation Guidance:
- Classify incidents: P1 (Critical), P2 (High), P3 (Medium), P4 (Low)
- P1 response initiation within 15 minutes, P2 within 1 hour
- Maintain on-call rotation for incident response team
- Conduct tabletop exercises quarterly and full simulations annually
- Integrate IRP with business continuity and crisis management plans
RS.AN — Incident Analysis
Key Activities:
- Conduct forensic analysis of compromised systems
- Determine root cause, attack vector, and scope of compromise
- Assess business impact (data loss, operational disruption, financial)
- Document analysis findings in incident report
- Preserve evidence chain of custody for potential legal proceedings
Implementation Guidance:
- Maintain forensic toolkit and trained forensic analysts
- Use write-blockers and forensic images for evidence preservation
- Document all analysis steps and findings in real-time
- Engage external forensic support for major incidents
- Maintain relationships with law enforcement contacts
RS.CO — Incident Response Reporting and Communication
Key Activities:
- Notify internal stakeholders per communication plan
- Report to regulatory authorities per legal requirements
- Communicate with affected individuals when required
- Coordinate with law enforcement when appropriate
- Manage media communications through designated spokesperson
Implementation Guidance:
- Pre-draft notification templates for common incident types
- Know regulatory notification timelines: GDPR (72 hours), HIPAA (60 days), state breach laws (varies)
- Maintain external communication templates reviewed by legal counsel
- Designate a single point of communication for each incident
- Document all communications as part of incident record
RS.MI — Incident Mitigation
Key Activities:
- Execute containment actions to limit incident scope
- Eradicate threat actor presence from the environment
- Initiate recovery procedures for affected systems
- Validate containment effectiveness before declaring contained
- Monitor for threat actor re-entry during and after mitigation
Implementation Guidance:
- Pre-define containment strategies: network isolation, account disable, endpoint quarantine
- Maintain containment playbooks for ransomware, data breach, insider threat, DDoS
- Validate removal of all persistence mechanisms before recovery
- Monitor compromised accounts and systems for 90 days post-incident
- Apply lessons learned to prevent recurrence
---
6. RECOVER (RC)
The RECOVER function identifies activities to maintain resilience and restore capabilities after an incident.
RC.RP — Incident Recovery Plan Execution
Key Activities:
- Execute recovery procedures per documented plans
- Prioritize system restoration based on business criticality
- Validate system integrity before returning to production
- Restore from known-good backups after verifying backup integrity
- Conduct post-recovery validation testing
Implementation Guidance:
- Restore Tier 1 (critical) systems first, then Tier 2, Tier 3
- Verify backup integrity and absence of compromise before restore
- Rebuild from golden images rather than cleaning compromised systems
- Validate application functionality and data integrity post-recovery
- Obtain business owner sign-off before declaring recovery complete
RC.CO — Incident Recovery Communication
Key Activities:
- Communicate recovery status to internal and external stakeholders
- Manage public communications and reputation
- Provide updates to regulators on recovery progress
- Document recovery activities and timeline
- Communicate improvements made to prevent recurrence
Implementation Guidance:
- Provide regular status updates during recovery (hourly for P1, daily for P2)
- Coordinate public messaging with legal, PR, and executive leadership
- Prepare customer-facing FAQs for significant incidents
- Issue post-incident summary to all stakeholders within 30 days
- Demonstrate corrective actions taken to rebuild trust
---
CSF Profiles
Profiles enable organizations to describe their current cybersecurity posture and their target state.
Current Profile
A snapshot of how the organization currently manages cybersecurity risk, assessed against CSF categories and subcategories.
Creating a Current Profile: 1. For each CSF category, assess the current implementation level 2. Document evidence supporting the assessment 3. Identify which tier best describes current practices 4. Note dependencies and constraints
Target Profile
The desired cybersecurity state, informed by business objectives, regulatory requirements, and risk appetite.
Creating a Target Profile: 1. Review organizational context (GV.OC) — mission, obligations, risk appetite 2. Determine target tier for each category based on risk tolerance 3. Prioritize categories based on business criticality 4. Align target profile with available resources and timeline
Gap Analysis
The difference between current and target profiles drives the implementation roadmap.
Gap Analysis Process: 1. Compare current tier to target tier for each category 2. Identify categories with the largest gaps 3. Assess effort required to close each gap (people, process, technology) 4. Prioritize based on risk reduction impact and implementation feasibility 5. Create phased remediation plan with milestones
---
CSF Tiers
Tiers describe the degree to which an organization's cybersecurity risk management practices exhibit the characteristics defined in the framework.
Tier 1 — Partial
- Risk Management Process: Ad hoc, not formalized
- Integrated Risk Management: Limited awareness of cybersecurity risk at organizational level
- External Participation: No formal collaboration or information sharing
- Example: Small business with antivirus and firewall but no formal security program, no documented policies, reactive approach to incidents
Tier 2 — Risk Informed
- Risk Management Process: Risk-aware but not organization-wide policy
- Integrated Risk Management: Awareness of risk at management level, some cybersecurity investment
- External Participation: Informal information sharing
- Example: Mid-size company with documented security policies, basic vulnerability scanning, security awareness training, but inconsistent implementation across departments
Tier 3 — Repeatable
- Risk Management Process: Formal, expressed as policy, regularly updated
- Integrated Risk Management: Organization-wide risk-informed approach
- External Participation: Active participation in information sharing
- Example: Enterprise with comprehensive security program, SIEM/SOC, regular assessments, defined risk appetite, consistent policy enforcement, mature incident response
Tier 4 — Adaptive
- Risk Management Process: Continuously improved based on lessons learned and predictive indicators
- Integrated Risk Management: Cybersecurity risk management is part of organizational culture
- External Participation: Active contribution to broader cybersecurity ecosystem
- Example: Organization using threat intelligence-driven defense, continuous control validation, automated response, adaptive risk management that adjusts in real-time to changing threat landscape
---
Cross-Framework Mapping
NIST CSF 2.0 maps to multiple compliance frameworks, enabling organizations to satisfy multiple requirements simultaneously.
NIST CSF → ISO 27001:2022
| CSF Function | CSF Category | ISO 27001 Annex A Controls |
|---|---|---|
| GOVERN | GV.OC | A.5.1, A.5.2 (Policies, Roles) |
| GOVERN | GV.RM | A.5.3 (Segregation of Duties) |
| GOVERN | GV.PO | A.5.1 (Information Security Policy) |
| GOVERN | GV.SC | A.5.19-5.23 (Supplier Relations) |
| IDENTIFY | ID.AM | A.5.9, A.5.10, A.8.1 (Asset Management) |
| IDENTIFY | ID.RA | A.5.7 (Threat Intelligence), A.8.8 (Vulnerability Management) |
| PROTECT | PR.AA | A.5.15-5.18, A.8.2-8.5 (Access Control) |
| PROTECT | PR.DS | A.8.10-8.12, A.8.24 (Cryptography, Data) |
| PROTECT | PR.PS | A.8.9 (Configuration), A.8.19 (Software Installation) |
| DETECT | DE.CM | A.8.15, A.8.16 (Logging, Monitoring) |
| RESPOND | RS.MA | A.5.24-5.28 (Incident Management) |
| RECOVER | RC.RP | A.5.29, A.5.30 (ICT Continuity) |
NIST CSF → SOC 2 Trust Service Criteria
| CSF Function | SOC 2 TSC |
|---|---|
| GOVERN | CC1 (Control Environment), CC2 (Communication) |
| IDENTIFY | CC3 (Risk Assessment) |
| PROTECT | CC5 (Control Activities), CC6 (Logical & Physical Access) |
| DETECT | CC7 (System Operations) |
| RESPOND | CC7 (System Operations), CC8 (Change Management) |
| RECOVER | CC9 (Risk Mitigation), A1 (Availability) |
NIST CSF → HIPAA Security Rule
| CSF Function | HIPAA Safeguard |
|---|---|
| GOVERN | Administrative Safeguards (§164.308) |
| IDENTIFY | Risk Analysis (§164.308(a)(1)) |
| PROTECT | Access Control (§164.312(a)), Transmission Security (§164.312(e)) |
| DETECT | Audit Controls (§164.312(b)), Integrity Controls (§164.312(c)) |
| RESPOND | Security Incident Procedures (§164.308(a)(6)) |
| RECOVER | Contingency Plan (§164.308(a)(7)) |
NIST CSF → PCI-DSS v4.0
| CSF Function | PCI-DSS Requirements |
|---|---|
| GOVERN | Req 12 (Organizational Policies) |
| IDENTIFY | Req 2 (Secure Configurations), Req 12.4 (Risk Assessment) |
| PROTECT | Req 3-4 (Data Protection), Req 7-8 (Access Control), Req 9 (Physical) |
| DETECT | Req 10-11 (Logging, Testing) |
| RESPOND | Req 12.10 (Incident Response) |
| RECOVER | Req 12.10.2 (Recovery Procedures) |
---
Infrastructure Security Assessment
Assessment Across All Functions
GOVERN Assessment:
- Review governance documentation completeness
- Validate board reporting cadence and content
- Assess supply chain risk management program maturity
- Evaluate policy framework coverage and currency
IDENTIFY Assessment:
- Audit asset inventory accuracy (sample validation)
- Review risk assessment methodology and outputs
- Evaluate threat intelligence integration
- Assess improvement tracking and closure rates
PROTECT Assessment:
- Test authentication controls (MFA enforcement, password policy)
- Review access control configurations (least privilege validation)
- Assess encryption implementation (at rest, in transit, key management)
- Validate hardening baselines against benchmarks
- Test backup and recovery capabilities
DETECT Assessment:
- Validate SIEM log coverage (are all critical systems sending logs?)
- Test detection rules against MITRE ATT&CK scenarios
- Assess SOC operational maturity
- Review threat hunting program effectiveness
RESPOND Assessment:
- Review incident response plan currency and completeness
- Evaluate IR team capabilities and training
- Assess forensic readiness
- Test communication plans and notification workflows
RECOVER Assessment:
- Test disaster recovery procedures and measure RPO/RTO achievement
- Validate backup integrity through restore testing
- Assess recovery communication effectiveness
- Review post-incident improvement tracking
---
Maturity Assessment Workflow
Phase 1: Preparation (Week 1)
1. Define Scope — Identify organizational units, systems, and processes in scope 2. Gather Documentation — Collect policies, procedures, architecture diagrams, audit reports 3. Schedule Interviews — Book time with CISO, IT leadership, security team, business stakeholders 4. Review Prior Assessments — Analyze previous CSF assessments, audit findings, penetration test results
Phase 2: Assessment (Weeks 2-3)
1. Function-by-Function Evaluation — Assess each category using the csf_maturity_assessor tool 2. Evidence Collection — Gather artifacts supporting each score (screenshots, configs, reports) 3. Stakeholder Interviews — Validate documented state against operational reality 4. Technical Validation — Verify technical controls through testing (not just documentation)
Phase 3: Analysis (Week 4)
1. Score Compilation — Aggregate scores across all functions and categories 2. Gap Analysis — Compare current profile to target profile 3. Risk Prioritization — Rank gaps by risk exposure and remediation effort 4. Cross-Reference — Map findings to applicable regulatory requirements
Phase 4: Reporting and Roadmap (Week 5)
1. Executive Summary — High-level maturity scores with trend analysis 2. Detailed Findings — Category-level findings with evidence and recommendations 3. Remediation Roadmap — Phased plan with milestones, owners, and resource requirements 4. Board Presentation — Strategic summary suitable for governance bodies
---
Implementation Roadmap
Phase 1: Foundation (Months 1-3)
Focus: GOVERN + IDENTIFY
- Establish cybersecurity governance structure (GV.RR)
- Define organizational context and risk appetite (GV.OC, GV.RM)
- Develop or update cybersecurity policy framework (GV.PO)
- Conduct comprehensive asset inventory (ID.AM)
- Perform baseline risk assessment (ID.RA)
Deliverables:
- Cybersecurity charter and governance structure
- Risk appetite statement
- Policy framework
- Asset inventory
- Baseline risk register
Phase 2: Core Protections (Months 4-6)
Focus: PROTECT
- Implement identity and access management improvements (PR.AA)
- Deploy MFA organization-wide (PR.AA)
- Enhance data protection controls (PR.DS)
- Apply hardening baselines to all systems (PR.PS)
- Establish security awareness program (PR.AT)
Deliverables:
- MFA deployment complete
- PAM solution operational
- Data classification applied to critical data
- Hardened system baselines deployed
- Training program launched
Phase 3: Visibility and Response (Months 7-9)
Focus: DETECT + RESPOND
- Deploy or enhance SIEM/SOC capabilities (DE.CM)
- Develop detection rules mapped to MITRE ATT&CK (DE.AE)
- Update incident response plan and test via tabletop (RS.MA)
- Establish forensic readiness (RS.AN)
- Develop communication templates and procedures (RS.CO)
Deliverables:
- SIEM operational with critical log sources
- Detection coverage for top ATT&CK techniques
- Tested incident response plan
- Forensic toolkit and procedures
- Communication templates approved
Phase 4: Resilience and Maturity (Months 10-12)
Focus: RECOVER + Continuous Improvement
- Test and validate disaster recovery procedures (RC.RP)
- Establish recovery communication procedures (RC.CO)
- Launch supply chain risk management program (GV.SC)
- Implement continuous improvement processes (ID.IM)
- Conduct year-one maturity reassessment
Deliverables:
- DR procedures tested and validated
- C-SCRM program operational
- Improvement tracking system active
- Year-one maturity assessment complete
- Year-two roadmap drafted
---
Reference Guides
| Guide | Description |
|---|---|
| CSF Functions Guide | Complete reference for all 6 functions, categories, subcategories, evidence requirements |
| CSF Implementation Playbook | Step-by-step implementation guide with templates, prioritization, and budgeting |
---
Validation Checkpoints
Before Starting Assessment
- [ ] Scope defined and approved by stakeholders
- [ ] Assessment team identified with appropriate expertise
- [ ] Prior assessment results and audit reports collected
- [ ] Target tier defined for each function
During Assessment
- [ ] Each category scored with supporting evidence
- [ ] Stakeholder interviews conducted and documented
- [ ] Technical controls validated (not just documented)
- [ ] Cross-framework obligations identified
After Assessment
- [ ] Gap analysis completed with prioritized recommendations
- [ ] Remediation roadmap with milestones and owners
- [ ] Executive summary prepared for governance bodies
- [ ] Reassessment timeline established
Implementation Validation
- [ ] Phase milestones achieved on schedule
- [ ] Controls tested and validated post-implementation
- [ ] Metrics established and baseline measurements taken
- [ ] Continuous monitoring operational
---
Troubleshooting
| Problem | Likely Cause | Resolution |
|---|---|---|
| Maturity assessor output shows all categories at Tier 1 | Input JSON missing score entries or all scores set to default | Verify the input JSON has a score field (1-4) for each assessed category. Run with --functions to test a subset first. |
| Control mapper produces empty mappings for a target framework | Framework identifier misspelled or unsupported | Use exact identifiers: iso27001, soc2, hipaa, pci-dss, or all. Check --source-framework is set to nist-csf. |
| Gap analysis shows no gaps despite immature program | Target tier set too low (e.g., Tier 1) | Increase --target-tier to 3 or 4 to reflect a meaningful target state. Tier 1 is "Partial" and almost any control satisfies it. |
| Markdown output formatting broken | Special characters in evidence or notes fields | Ensure evidence text in input JSON does not contain unescaped pipe characters or markdown syntax. Use plain text descriptions. |
| Assessment does not include GOVERN function | Input JSON uses CSF 1.1 structure without GOVERN | GOVERN is new in CSF 2.0. Update the input JSON to include GOVERN with categories GV.OC, GV.RM, GV.RR, GV.PO, GV.OV, and GV.SC. |
| Cross-framework mapping missing subcategory detail | Mapper operates at category level, not subcategory | The mapper provides category-to-control mappings. For subcategory-level detail, consult the NIST CSF 2.0 Informative References online catalog. |
| Report file not created | Output path directory does not exist | Create the output directory before running. The tool does not create intermediate directories automatically. |
---
Success Criteria
- Current profile documented with evidence-backed scores for all 22 CSF 2.0 categories across all 6 functions
- Target profile defined with stakeholder-approved tier targets aligned to organizational risk appetite and regulatory obligations
- Gap analysis completed with each gap scored by risk exposure, remediation effort, and business impact, producing a prioritized roadmap
- GOVERN function fully implemented: cybersecurity governance charter, board reporting cadence established, CISO role defined, risk appetite documented
- Cross-framework control mapping completed for all applicable compliance obligations (ISO 27001, SOC 2, HIPAA, PCI-DSS) reducing audit duplication by 30%+
- Maturity reassessment conducted within 12 months showing measurable tier improvement in at least 75% of assessed categories
- Supply chain risk management program (GV.SC) operational with tiered supplier assessments and SBOM tracking for critical applications
---
Scope & Limitations
In Scope:
- NIST CSF 2.0 maturity assessment across all 6 functions and 22 categories
- Current and target profile creation with gap analysis
- Cross-framework control mapping to ISO 27001:2022, SOC 2 TSC, HIPAA Security Rule, and PCI-DSS v4.0
- Implementation roadmap generation with phased milestones
- Tier-based scoring (Partial, Risk Informed, Repeatable, Adaptive)
Out of Scope:
- NIST SP 800-53 control-level implementation (CSF is a framework, not a control catalog; use SP 800-53 for prescriptive controls)
- Technical security testing, vulnerability scanning, or penetration testing (use infrastructure-compliance-auditor)
- Sector-specific Community Profiles (the tool provides organizational profiles; community profiles require sector-specific customization)
- Real-time security monitoring or SIEM configuration
- Compliance certification (NIST CSF is voluntary and does not offer formal certification)
- Legal or regulatory advice on specific compliance obligations
---
Integration Points
| Skill | Integration |
|---|---|
| soc2-compliance-expert | SOC 2 TSC maps directly to CSF functions; use the control mapper to generate a unified control matrix reducing dual-audit burden |
| information-security-manager-iso27001 | ISO 27001 Annex A controls are the implementation backbone for CSF categories; CSF maturity scores inform ISMS continual improvement |
| infrastructure-compliance-auditor | Validates technical controls (access, encryption, monitoring, endpoints) that underpin PROTECT and DETECT function scores |
| pci-dss-specialist | PCI-DSS v4.0 requirements map to CSF categories; use cross-framework mapper for payment environments |
| nis2-directive-specialist | NIS2 Article 21 measures align to CSF functions; CSF maturity assessment benchmarks NIS2 compliance posture |
| dora-compliance-expert | DORA ICT risk management pillars map to GOVERN and IDENTIFY functions; use CSF as the unifying assessment framework |
---
Tool Reference
csf_maturity_assessor.py
Assesses cybersecurity maturity across NIST CSF 2.0 functions and generates gap analysis.
| Flag | Required | Description |
|---|---|---|
--input | Yes | Path to current state assessment JSON file with per-category scores (1-4) and evidence |
--target-tier | Yes | Target maturity tier for gap analysis (1-4: Partial, Risk Informed, Repeatable, Adaptive) |
--output | Yes | Path to write the output report file |
--format | No | Output format: json (default) or markdown |
--functions | No | Comma-separated list of functions to assess (e.g., GOVERN,IDENTIFY,PROTECT). Omit for all 6. |
csf_control_mapper.py
Maps NIST CSF 2.0 categories to controls in other compliance frameworks.
| Flag | Required | Description |
|---|---|---|
--source-framework | Yes | Source framework identifier (use nist-csf) |
--target-framework | Yes | Target framework: iso27001, soc2, hipaa, pci-dss, or all |
--output | Yes | Path to write the mapping output file |
--format | No | Output format: json (default) or markdown |
--functions | No | Comma-separated list of CSF functions to include (e.g., GOVERN,PROTECT). Omit for all. |
NIST CSF 2.0 Functions, Categories, and Subcategories — Complete Reference
This reference provides the complete NIST CSF 2.0 taxonomy with implementation guidance, evidence requirements, common assessment questions, and maturity indicators for each function and category.
---
1. GOVERN (GV)
Purpose: Establish and monitor the organization's cybersecurity risk management strategy, expectations, and policy. GOVERN is the connective tissue that informs how the other five functions are implemented.
GV.OC — Organizational Context
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.OC-01 | Organizational mission | The organizational mission is understood and informs cybersecurity risk management |
| GV.OC-02 | Internal stakeholders | Internal stakeholders understand and contribute to cybersecurity risk management |
| GV.OC-03 | Legal and regulatory | Legal, regulatory, and contractual requirements are understood and managed |
| GV.OC-04 | Critical objectives | Critical objectives, capabilities, and services are understood and communicated |
| GV.OC-05 | Outcomes and dependencies | Outcomes, dependencies, and requirements are understood for key services |
Evidence Requirements:
- Documented organizational mission and cybersecurity alignment statement
- Stakeholder register with cybersecurity interests and expectations
- Regulatory obligations matrix (GDPR, HIPAA, PCI-DSS, SOX, state laws, etc.)
- Critical business process inventory with IT dependencies
- Risk appetite and tolerance documentation approved by leadership
Assessment Questions: 1. How is the organizational mission reflected in cybersecurity investment decisions? 2. Which stakeholders have been identified as having cybersecurity interests? 3. Is there a comprehensive catalog of legal and regulatory cybersecurity obligations? 4. How frequently is the regulatory obligations register reviewed and updated? 5. Has risk appetite been formally defined and approved by executive leadership?
Maturity Indicators:
| Tier | Indicators |
|---|---|
| 1 — Partial | Mission exists but no cybersecurity alignment; regulations addressed reactively |
| 2 — Risk Informed | Documented mission alignment; partial regulatory catalog; informal stakeholder awareness |
| 3 — Repeatable | Formal stakeholder mapping; complete regulatory register updated quarterly; risk appetite defined |
| 4 — Adaptive | Dynamic risk appetite; continuous regulatory monitoring; real-time stakeholder engagement |
---
GV.RM — Risk Management Strategy
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.RM-01 | Risk management objectives | Risk management objectives are established and agreed upon |
| GV.RM-02 | Risk appetite and tolerance | Risk appetite and risk tolerance statements are established and communicated |
| GV.RM-03 | Risk management activities | Activities and outcomes tied to risk appetite/tolerance are determined |
| GV.RM-04 | Strategic direction | Strategic direction describing risk response options is established |
| GV.RM-05 | Lines of communication | Lines of communication for cybersecurity risk management are established |
| GV.RM-06 | Standardized method | A standardized method for calculating, documenting, categorizing risk is established |
| GV.RM-07 | Opportunities | Strategic opportunities (positive risks) are characterized and communicated |
Evidence Requirements:
- Cybersecurity risk management strategy document
- Risk appetite statement with quantitative thresholds
- Risk tolerance levels per business unit and asset class
- Risk register with treatment decisions
- Board meeting minutes showing risk posture discussions
- Integration evidence with enterprise risk management
Assessment Questions: 1. Is there a formal cybersecurity risk management strategy approved by leadership? 2. Are risk appetite and tolerance quantitatively defined? 3. How is cybersecurity risk integrated with enterprise risk management? 4. How frequently is the risk strategy reviewed and updated? 5. Do investment decisions reference the risk management strategy?
---
GV.RR — Roles, Responsibilities, and Authorities
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.RR-01 | Leadership accountability | Organizational leadership is responsible and accountable for cybersecurity risk |
| GV.RR-02 | Established roles | Roles, responsibilities, and authorities are established and communicated |
| GV.RR-03 | Adequate resources | Adequate resources are allocated commensurate with cybersecurity risk strategy |
| GV.RR-04 | Cybersecurity in HR | Cybersecurity is included in human resources practices |
Evidence Requirements:
- CISO job description and organizational chart showing reporting line
- RACI matrix for cybersecurity functions
- Cybersecurity steering committee charter and meeting minutes
- Budget allocation documents showing cybersecurity investment
- HR policies including cybersecurity responsibilities
- Performance review templates with cybersecurity objectives
Assessment Questions: 1. To whom does the CISO report (CEO, CIO, board)? 2. Is there a cybersecurity steering committee with cross-functional representation? 3. Are cybersecurity responsibilities included in all relevant job descriptions? 4. Is cybersecurity performance tracked in executive reviews? 5. Are resources (budget, staff) aligned with identified risk levels?
---
GV.PO — Policy
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.PO-01 | Cybersecurity policy | A cybersecurity policy based on context and strategy is established |
| GV.PO-02 | Policy review | The cybersecurity policy is reviewed, updated, and communicated |
Evidence Requirements:
- Cybersecurity policy document(s) approved by leadership
- Policy hierarchy: Policy > Standards > Procedures > Guidelines
- Policy review schedule and revision history
- Policy distribution and acknowledgment records
- Policy exception management process and log
- Evidence of policy enforcement (disciplinary actions, technical controls)
Assessment Questions: 1. Does the cybersecurity policy framework cover all CSF functions? 2. When were policies last reviewed and updated? 3. How are policies communicated to all personnel and third parties? 4. Is there a formal exception management process? 5. How is policy compliance measured and enforced?
---
GV.OV — Oversight
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.OV-01 | Strategy evaluation | Cybersecurity risk management strategy is reviewed to assess effectiveness |
| GV.OV-02 | Adjusted strategy | The cybersecurity risk management strategy is revised as needed |
| GV.OV-03 | Performance evaluation | Organizational cybersecurity risk management performance is evaluated |
Evidence Requirements:
- Board reporting packages with cybersecurity metrics
- KPI/KRI dashboards and trend analysis
- Management review meeting minutes
- Program maturity assessment results
- Remediation tracking for identified deficiencies
- Budget vs actual cybersecurity spending analysis
Assessment Questions: 1. How frequently does the board receive cybersecurity risk reports? 2. What KPIs and KRIs are tracked for the cybersecurity program? 3. How are assessment findings tracked to resolution? 4. Is cybersecurity performance benchmarked against peers or standards? 5. How does performance data influence strategy adjustments?
---
GV.SC — Cybersecurity Supply Chain Risk Management
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| GV.SC-01 | C-SCRM program | A cybersecurity supply chain risk management program is established |
| GV.SC-02 | Roles and processes | Cybersecurity roles and responsibilities for suppliers are established |
| GV.SC-03 | Integrated into risk management | Cybersecurity supply chain risk management is integrated into broader risk management |
| GV.SC-04 | Supplier prioritization | Suppliers are known and prioritized by criticality |
| GV.SC-05 | Contract requirements | Requirements for suppliers and partners include cybersecurity |
| GV.SC-06 | Planning and due diligence | Planning and due diligence are performed to reduce supply chain risks |
| GV.SC-07 | Post-engagement activities | Risks posed by a supplier, partner, or third party are understood and managed post-engagement |
| GV.SC-08 | Supplier monitoring | Relevant suppliers and partners are included in monitoring activities |
| GV.SC-09 | Supply chain practices | Supply chain security practices are integrated into cybersecurity operations |
| GV.SC-10 | Post-acquisition plans | Cybersecurity supply chain risk management plans include provisions for activities after an acquisition |
Evidence Requirements:
- C-SCRM policy and procedures
- Supplier tiering methodology and results
- Contracts with cybersecurity requirements (right-to-audit, breach notification, security standards)
- Supplier security assessments (questionnaires, SOC 2 reports, penetration test results)
- SBOM requirements and inventory for critical software
- Supplier incident notification procedures
- Supplier monitoring dashboards or reports
Assessment Questions: 1. Is there a formal supplier risk management program covering cybersecurity? 2. How are suppliers tiered by criticality and data access? 3. Do contracts include specific cybersecurity requirements? 4. How frequently are critical suppliers assessed? 5. Is there a process for managing security risks when supplier relationships end?
---
2. IDENTIFY (ID)
Purpose: Develop organizational understanding to manage cybersecurity risk to systems, assets, data, and capabilities.
ID.AM — Asset Management
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| ID.AM-01 | Hardware inventories | Inventories of hardware managed by the organization are maintained |
| ID.AM-02 | Software inventories | Inventories of software, services, and systems are maintained |
| ID.AM-03 | Data mapping | Representations of authorized network communication and data flows are maintained |
| ID.AM-04 | External service inventory | Inventories of services provided by suppliers are maintained |
| ID.AM-05 | Assets are prioritized | Assets are prioritized based on classification, criticality, and business value |
| ID.AM-07 | Data classification | Inventories of data and corresponding metadata for designated data types are maintained |
| ID.AM-08 | System dependencies | Systems, hardware, software, services, and data are managed throughout their life cycles |
Evidence Requirements:
- Hardware asset inventory (CMDB) with owner, location, criticality
- Software inventory with version, license, end-of-life dates
- Network architecture diagrams with data flows
- Data inventory with classification labels
- Shadow IT discovery scan results
- Asset lifecycle management records
Assessment Questions: 1. Is there an automated asset discovery process? 2. How frequently is the asset inventory reconciled? 3. Are all assets classified by criticality and data sensitivity? 4. Are data flows mapped between systems and external parties? 5. Is shadow IT actively discovered and managed?
---
ID.RA — Risk Assessment
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| ID.RA-01 | Vulnerabilities identified | Vulnerabilities in assets are identified, validated, and recorded |
| ID.RA-02 | Threat intelligence | Cyber threat intelligence is received from information sharing forums and sources |
| ID.RA-03 | Threats identified | Internal and external threats are identified and recorded |
| ID.RA-04 | Impacts identified | Potential impacts and likelihoods of threats exploiting vulnerabilities are identified |
| ID.RA-05 | Threats and vulnerabilities prioritized | Threats, vulnerabilities, likelihoods, and impacts are used to understand risk |
| ID.RA-06 | Risk responses | Risk responses are chosen, prioritized, planned, tracked, and communicated |
| ID.RA-07 | Changes and exceptions | Changes and exceptions are managed, assessed for risk impact |
| ID.RA-08 | Third-party assessment | Processes for receiving, analyzing, and responding to vulnerability disclosures |
| ID.RA-09 | Severity assessment | The authenticity and integrity of hardware and software are assessed prior to acquisition |
| ID.RA-10 | Critical supply chain assessment | Critical suppliers are assessed prior to acquisition |
Evidence Requirements:
- Vulnerability scan reports (internal and external)
- Threat intelligence subscription records and integration evidence
- Risk register with likelihood, impact, and treatment decisions
- Risk assessment methodology documentation
- Penetration test results
- Change management records with risk assessment
Assessment Questions: 1. What risk assessment methodology is used? 2. How are vulnerability scan results integrated into risk assessment? 3. What threat intelligence sources are consumed? 4. How frequently are risk assessments conducted for critical systems? 5. Is there a formal risk treatment decision process?
---
ID.IM — Improvement
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| ID.IM-01 | Lessons learned | Improvements are identified from evaluations |
| ID.IM-02 | Improvement implementation | Improvements are identified from security tests, exercises, assessments |
| ID.IM-03 | Plans are implemented | Improvements identified from executing operational processes, procedures, and activities are implemented |
| ID.IM-04 | Communications plan | Incident response plans and other plans are established and improved |
Evidence Requirements:
- Post-incident review reports with improvement actions
- Exercise after-action reports
- Improvement action tracker with status
- Program maturity trend data
- Benchmarking results
---
3. PROTECT (PR)
Purpose: Implement appropriate safeguards to ensure delivery of critical services.
PR.AA — Identity Management, Authentication, and Access Control
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| PR.AA-01 | Identity management | Identities and credentials for authorized users, services, and hardware are managed |
| PR.AA-02 | Identity proofing | Identities are proofed and bound to credentials based on context of interactions |
| PR.AA-03 | MFA | Users, services, and hardware are authenticated |
| PR.AA-04 | Identity assertions | Identity assertions are protected and verified |
| PR.AA-05 | Access permissions | Access permissions, entitlements, and authorizations are defined and managed |
| PR.AA-06 | Physical access | Physical access to assets is managed, monitored, and enforced |
Evidence Requirements:
- Identity governance platform configuration
- MFA enrollment statistics (percent of users with FIDO2, authenticator app, SMS)
- PAM solution configuration and session logs
- Access review records and recertification evidence
- Zero trust architecture documentation
- Physical access control system logs
---
PR.AT — Awareness and Training
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| PR.AT-01 | Awareness | Personnel are provided awareness and training so they possess the knowledge and skills to perform tasks with cybersecurity risks in mind |
| PR.AT-02 | Privileged users | Individuals in specialized roles are provided with awareness and training |
Evidence Requirements:
- Training completion records
- Phishing simulation results and trend data
- Role-based training curriculum documentation
- Developer secure coding training completion
- Training effectiveness assessments
---
PR.DS — Data Security
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| PR.DS-01 | Data at rest | The confidentiality, integrity, and availability of data-at-rest is protected |
| PR.DS-02 | Data in transit | The confidentiality, integrity, and availability of data-in-transit is protected |
| PR.DS-10 | Data in use | The confidentiality, integrity, and availability of data-in-use is protected |
| PR.DS-11 | Backups | Backups of data are created, protected, maintained, and tested |
Evidence Requirements:
- Encryption configurations for databases, file systems, backups
- TLS configurations for all data in transit
- DLP policy configurations and incident reports
- Data classification taxonomy and labeling rules
- Key management procedures and rotation evidence
- Backup integrity test results
---
PR.PS — Platform Security
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| PR.PS-01 | Configuration management | The configuration of the platform is managed and documented |
| PR.PS-02 | Software maintenance | Software is maintained, replaced, and removed |
| PR.PS-03 | Hardware maintenance | Hardware is maintained, replaced, and removed |
| PR.PS-04 | Log management | Log records are generated and made available for monitoring |
| PR.PS-05 | Unauthorized installation | Installation and execution of unauthorized software is prevented |
| PR.PS-06 | Secure development | Secure software development practices are integrated |
Evidence Requirements:
- CIS Benchmark compliance scan results
- Patch management reports with SLA compliance
- Configuration management tool deployment evidence
- Golden image documentation and update process
- Application allowlisting configuration
- SDLC documentation with security gates
---
PR.IR — Technology Infrastructure Resilience
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| PR.IR-01 | Redundancy | Networks and environments are protected for resilience |
| PR.IR-02 | Capacity | Technology assets are managed for availability |
| PR.IR-03 | Failover | Mechanisms exist to achieve resilience requirements in normal and adverse situations |
| PR.IR-04 | Recovery | Adequate resource capacity to ensure availability is maintained |
Evidence Requirements:
- Architecture diagrams showing redundancy
- RPO/RTO documentation per system tier
- Failover test results and metrics
- Capacity monitoring dashboards and alert configurations
- DR test results and lessons learned
- Backup restoration test records
---
4. DETECT (DE)
Purpose: Identify the occurrence of cybersecurity events in a timely manner.
DE.CM — Continuous Monitoring
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| DE.CM-01 | Network monitoring | Networks and network services are monitored to find potentially adverse events |
| DE.CM-02 | Physical monitoring | The physical environment is monitored for adverse events |
| DE.CM-03 | Personnel activity | Personnel activity and technology usage are monitored |
| DE.CM-06 | External provider monitoring | External service provider activities and services are monitored |
| DE.CM-09 | Hardware and software | Computing hardware and software, runtime environments, and their data are monitored |
Evidence Requirements:
- SIEM deployment scope and log source inventory
- IDS/IPS deployment and tuning records
- EDR/XDR deployment coverage statistics
- Network monitoring tool configurations
- SOC operational documentation (playbooks, escalation procedures)
- UEBA deployment and baseline documentation
---
DE.AE — Adverse Event Analysis
Subcategories:
| ID | Subcategory | Description |
|---|---|---|
| DE.AE-02 | Event analysis | Potentially adverse events are analyzed to better understand associated activities |
| DE.AE-03 | Event correlation | Events are correlated from multiple sources and sensors |
| DE.AE-04 | Impact estimation | The estimated impact and scope of adverse events is understood |
| DE.AE-06 | Information on events | Information on adverse events is provided to authorized staff and tools |
| DE.AE-07 | Threat intelligence integration | Cyber threat intelligence and other contextual information are integrated into analysis |
| DE.AE-08 | Declared incidents | Incidents are declared when adverse events meet the defined incident criteria |
Evidence Requirements:
- MITRE ATT&CK detection coverage matrix
- Threat hunting reports and outcomes
- SOAR playbook documentation
- Detection efficacy metrics (true positive rate, MTTD)
- Alert triage SOP
- Correlation rule documentation
---
5. RESPOND (RS)
Purpose: Take action regarding detected cybersecurity incidents to contain impact.
RS.MA — Incident Management
Evidence Requirements:
- Incident response plan (annually tested)
- Incident classification and severity matrix
- Escalation procedures and contact lists
- Tabletop exercise and simulation reports
- On-call rotation schedules
- Incident management tool configuration
RS.AN — Incident Analysis
Evidence Requirements:
- Forensic toolkit inventory and maintenance records
- Evidence handling and chain of custody procedures
- Root cause analysis reports
- Forensic analyst training certifications
- External forensic retainer agreements
RS.CO — Incident Response Reporting and Communication
Evidence Requirements:
- Communication plan templates (internal, regulatory, public, affected parties)
- Regulatory notification timeline reference
- Legal counsel review of notification templates
- Communication log from past incidents
- Media spokesperson designation
RS.MI — Incident Mitigation
Evidence Requirements:
- Containment playbooks per incident type (ransomware, breach, insider, DDoS)
- Containment action documentation
- Eradication verification procedures
- Post-containment monitoring procedures
- Recovery initiation criteria
---
6. RECOVER (RC)
Purpose: Maintain plans for resilience and restore capabilities impaired during cybersecurity incidents.
RC.RP — Incident Recovery Plan Execution
Evidence Requirements:
- Recovery prioritization matrix by system tier
- Backup verification and restore test results
- Golden image library for system rebuild
- Post-recovery validation checklists
- Business owner sign-off procedures
RC.CO — Incident Recovery Communication
Evidence Requirements:
- Recovery status communication templates
- Customer FAQ templates for significant incidents
- Post-incident summary report template
- Stakeholder communication logs from past recoveries
- Corrective action communication records
NIST CSF 2.0 Implementation Playbook
Step-by-step implementation guide for organizations adopting NIST CSF 2.0, including profile creation, gap analysis, prioritization, cross-framework mapping, and resource planning.
---
Table of Contents
- Pre-Implementation Readiness
- Step 1: Scope and Prioritize
- Step 2: Create Current Profile
- Step 3: Define Target Profile
- Step 4: Gap Analysis
- Step 5: Remediation Roadmap
- Step 6: Implementation Execution
- Step 7: Continuous Monitoring and Improvement
- Cross-Framework Mapping Tables
- Resource and Budget Planning
- Templates
---
Pre-Implementation Readiness
Executive Sponsorship
Before starting, secure executive sponsorship (CEO, CTO, or board member). Without visible leadership support, CSF implementation efforts stall at the policy stage.
Actions:
- Present business case for CSF 2.0 adoption to executive leadership
- Quantify risk exposure using breach cost data (IBM Cost of a Data Breach report benchmarks)
- Identify regulatory drivers (contractual requirements, insurance mandates, customer expectations)
- Secure budget commitment for assessment phase at minimum
Team Composition
| Role | Responsibility | Allocation |
|---|---|---|
| Executive Sponsor | Removes barriers, approves budget, champions program | 5% |
| Program Lead (CISO or delegate) | Drives implementation, manages timeline, coordinates teams | 50-100% |
| Security Architect | Assesses technical controls, designs solutions | 50% |
| Risk Analyst | Conducts risk assessments, maintains risk register | 50% |
| Compliance Analyst | Maps regulatory requirements, maintains evidence | 25-50% |
| IT Operations Representative | Provides infrastructure context, implements technical controls | 25% |
| Business Unit Representatives | Provide business context, validate priorities | 10% per BU |
Document Collection Checklist
Gather before starting the assessment:
- [ ] Current cybersecurity policies and standards
- [ ] Network architecture diagrams
- [ ] Asset inventory (CMDB or equivalent)
- [ ] Previous audit and assessment reports
- [ ] Risk register (if exists)
- [ ] Incident response plan
- [ ] Business continuity and disaster recovery plans
- [ ] Vendor/supplier inventory
- [ ] Regulatory compliance obligations list
- [ ] Organizational chart with security roles highlighted
- [ ] Current security tool inventory
- [ ] Training program documentation
- [ ] Board reporting materials related to cybersecurity
---
Step 1: Scope and Prioritize
Define Organizational Scope
Determine which parts of the organization are in scope for initial CSF implementation:
Option A — Enterprise-wide: All business units, systems, and processes. Recommended for organizations under regulatory mandate or those pursuing comprehensive program improvement.
Option B — Business unit or system-specific: Focus on a critical business unit, product line, or system. Recommended for initial adoption to demonstrate value before expanding.
Option C — Regulatory-driven scope: Scope matches a specific regulatory requirement (e.g., systems processing healthcare data for HIPAA, cardholder data for PCI-DSS). Pragmatic when regulatory compliance is the primary driver.
Prioritize Functions
While all six functions are important, organizations should prioritize based on their current state:
| Starting Position | Recommended Priority |
|---|---|
| No formal security program | GOVERN → IDENTIFY → PROTECT |
| Basic security controls exist | IDENTIFY → DETECT → RESPOND |
| Mature security program seeking governance improvement | GOVERN → DETECT → RECOVER |
| Post-breach remediation | RESPOND → RECOVER → PROTECT → DETECT |
| Regulatory compliance driven | Map regulations first, then address gaps by function |
---
Step 2: Create Current Profile
Assessment Methodology
For each CSF category, assess using a combination of:
1. Documentation Review — Do policies, procedures, and standards exist? 2. Stakeholder Interviews — Are processes understood and followed? 3. Technical Validation — Are controls implemented and effective? 4. Evidence Collection — Can implementation be demonstrated?
Scoring Rubric
| Score | Tier | Criteria |
|---|---|---|
| 0 | Not Implemented | No evidence of implementation |
| 1 | Partial | Ad hoc, inconsistent, undocumented |
| 2 | Risk Informed | Documented but not consistently implemented; management aware |
| 3 | Repeatable | Formally documented, consistently implemented, regularly reviewed |
| 4 | Adaptive | Continuously improved, predictive, industry-leading, data-driven |
Assessment Approach per Function
GOVERN Assessment:
- Review governance documentation (charter, policies, risk strategy)
- Interview CISO, CTO, board members about cybersecurity governance
- Validate board reporting cadence and content quality
- Assess supply chain risk management program maturity
- Score: Documentation quality + consistency of execution + leadership engagement
IDENTIFY Assessment:
- Audit asset inventory accuracy through sampling
- Review risk assessment methodology and recent outputs
- Evaluate threat intelligence integration
- Validate improvement tracking and action closure rates
- Score: Completeness of inventory + risk assessment rigor + improvement velocity
PROTECT Assessment:
- Test MFA enforcement (try to access systems without MFA)
- Review access control configurations on critical systems
- Validate encryption for data at rest and in transit
- Run hardening compliance scans against CIS Benchmarks
- Test backup restoration capability
- Score: Technical control effectiveness + coverage + maintenance discipline
DETECT Assessment:
- Verify SIEM log source coverage against asset inventory
- Review detection rule coverage against MITRE ATT&CK
- Assess SOC operational maturity (staffing, playbooks, escalation)
- Evaluate threat hunting program
- Score: Detection coverage + response timeliness + analytical capability
RESPOND Assessment:
- Review incident response plan currency
- Evaluate tabletop exercise results
- Assess forensic readiness (tools, trained staff, procedures)
- Test communication procedures
- Score: Plan quality + team capability + exercise results
RECOVER Assessment:
- Test disaster recovery procedures and measure RPO/RTO
- Validate backup integrity through restoration tests
- Assess recovery communication effectiveness
- Review post-incident improvement follow-through
- Score: DR test results + backup reliability + communication readiness
---
Step 3: Define Target Profile
Target Tier Selection
Select target tiers based on organizational risk appetite, regulatory requirements, and available resources:
Tier 3 (Repeatable) is the standard target for most organizations. It represents a mature, documented, and consistently executed program.
Tier 4 (Adaptive) is appropriate for organizations in high-risk sectors (financial services, critical infrastructure, healthcare) or those with significant threat exposure.
Target Profile Development Process
1. Identify Regulatory Minimums — Some regulations effectively mandate certain tier levels:
- PCI-DSS mandates Tier 3+ for cardholder data environments
- HIPAA requires at least Tier 2+ with specific technical controls
- SOX cybersecurity controls typically need Tier 3+
- NIST 800-171 (CMMC) maps closely to Tier 3
2. Assess Business Risk — Higher business impact systems need higher tiers:
- Revenue-critical systems: Tier 3-4
- Customer-facing systems: Tier 3-4
- Internal support systems: Tier 2-3
- Development/test environments: Tier 2
3. Consider Industry Benchmarks — Use industry averages as a reference point:
- Financial services: Average Tier 3, leaders at Tier 4
- Healthcare: Average Tier 2, leaders at Tier 3
- Manufacturing: Average Tier 2, leaders at Tier 3
- Technology: Average Tier 3, leaders at Tier 4
4. Resource Constraints — Be realistic about achievable improvements:
- Moving one tier typically takes 12-18 months per category
- Budget for technology, staffing, and consulting support
- Account for organizational change management
---
Step 4: Gap Analysis
Gap Identification
For each category, calculate the gap between current and target:
Gap = Target Tier - Current TierGap Classification
| Gap | Severity | Typical Remediation Timeline |
|---|---|---|
| 3+ | CRITICAL | Immediate action, 3-6 months to achieve interim state |
| 2 | HIGH | 6-12 months, significant investment required |
| 1 | MEDIUM | 6-12 months, incremental improvement |
| 0 | At Target | Maintain and continuously improve |
Gap Prioritization Framework
Prioritize gaps using a weighted scoring model:
| Factor | Weight | Scoring |
|---|---|---|
| Regulatory Impact | 30% | High (10) — regulation mandates control; Medium (5) — recommended; Low (1) — optional |
| Risk Reduction | 25% | High (10) — addresses critical risk; Medium (5) — moderate risk; Low (1) — minimal risk |
| Gap Size | 20% | 3+ (10); 2 (7); 1 (3) |
| Implementation Feasibility | 15% | Easy (10); Moderate (5); Difficult (1) |
| Cost Efficiency | 10% | Addresses multiple gaps (10); Single gap (5); Partial (1) |
Prioritization Score = Σ(Factor Score × Weight)
Using the Assessment Tool
# Generate gap analysis
python scripts/csf_maturity_assessor.py \
--input current_assessment.json \
--target-tier 3 \
--format markdown \
--output gap_analysis.md
# Map gaps to other framework requirements
python scripts/csf_control_mapper.py \
--source-framework nist-csf \
--target-framework all \
--format markdown \
--output unified_matrix.md---
Step 5: Remediation Roadmap
Phased Approach
Phase 1: Quick Wins and Critical Gaps (Months 1-3)
- Enable MFA for all users (PR.AA)
- Deploy or tune SIEM for critical log sources (DE.CM)
- Document incident response plan (RS.MA)
- Establish asset inventory baseline (ID.AM)
- Create cybersecurity policy framework (GV.PO)
Phase 2: Foundation Building (Months 4-6)
- Implement PAM for privileged accounts (PR.AA)
- Deploy data loss prevention for critical data (PR.DS)
- Establish risk management strategy (GV.RM)
- Conduct comprehensive risk assessment (ID.RA)
- Launch security awareness program (PR.AT)
Phase 3: Program Maturation (Months 7-9)
- Implement zero trust architecture principles (PR.AA)
- Deploy EDR/XDR across all endpoints (DE.CM)
- Establish threat hunting program (DE.AE)
- Test incident response via tabletop exercises (RS.MA)
- Apply hardening baselines across all systems (PR.PS)
Phase 4: Optimization and Resilience (Months 10-12)
- Implement supply chain risk management (GV.SC)
- Test and validate disaster recovery (RC.RP)
- Establish continuous improvement processes (ID.IM)
- Deploy SOAR for automated response (RS.MI)
- Conduct full maturity reassessment
Roadmap Template
| Phase | Month | Category | Activity | Owner | Budget | Status |
|---|---|---|---|---|---|---|
| 1 | 1-3 | PR.AA | Deploy MFA organization-wide | Security Eng | $50K | |
| 1 | 1-3 | DE.CM | Configure SIEM critical log sources | SOC Lead | $30K | |
| 1 | 1-3 | RS.MA | Document and test IR plan | CISO | $10K | |
| 2 | 4-6 | PR.AA | Implement PAM solution | Security Eng | $100K | |
| 2 | 4-6 | GV.RM | Establish risk management strategy | Risk Analyst | $20K | |
| 3 | 7-9 | PR.PS | Apply CIS Benchmarks across infrastructure | IT Ops | $40K | |
| 3 | 7-9 | DE.AE | Launch threat hunting program | SOC Lead | $60K | |
| 4 | 10-12 | GV.SC | Implement C-SCRM program | Compliance | $30K | |
| 4 | 10-12 | RC.RP | DR testing and validation | IT Ops | $25K |
---
Step 6: Implementation Execution
Implementation Best Practices
1. Start with governance — Without governance (GOVERN), technical controls lack strategic direction 2. Build from identify — You cannot protect what you have not identified 3. Layer defenses — Implement PROTECT, then DETECT, then RESPOND, then RECOVER 4. Test continuously — Validate controls through exercises and assessments 5. Measure progress — Track maturity scores monthly during active implementation
Common Implementation Pitfalls
| Pitfall | Mitigation |
|---|---|
| Tool-first approach | Define process first, then select tools to support |
| No executive sponsorship | Secure commitment before starting; use breach cost data |
| Scope creep | Define scope clearly in Phase 1; resist expanding mid-cycle |
| Compliance checkbox mentality | Focus on risk reduction, not just documentation |
| Ignoring GOVERN function | GOVERN drives everything; skip it and implementation lacks direction |
| Perfect is the enemy of good | Aim for Tier 3 first, then iterate toward Tier 4 |
| No stakeholder engagement | Involve business units early; security is everyone's responsibility |
Control Implementation Pattern
For each control being implemented:
1. Document — Write the policy/standard/procedure 2. Implement — Deploy the technical or administrative control 3. Test — Validate the control works as intended 4. Evidence — Capture proof of implementation for auditors 5. Monitor — Establish ongoing monitoring for the control 6. Review — Schedule periodic review of control effectiveness
---
Step 7: Continuous Monitoring and Improvement
Ongoing Assessment Cadence
| Activity | Frequency | Owner |
|---|---|---|
| Full CSF maturity assessment | Annual | Program Lead |
| Function-specific deep dives | Quarterly (rotate functions) | Security Team |
| Risk register review | Quarterly | Risk Analyst |
| Policy review | Annual | Compliance |
| Tabletop exercise | Quarterly | IR Lead |
| Full incident simulation | Annual | CISO |
| Board reporting | Quarterly | CISO |
| Supplier assessments | Annual for critical, biannual for others | Compliance |
| Training and phishing simulations | Quarterly | Security Awareness Lead |
Metrics Dashboard
Track these metrics quarterly:
GOVERN Metrics:
- Policy coverage (% of CSF categories with approved policies)
- Board reporting frequency and metrics completeness
- Supplier assessment coverage (% of critical suppliers assessed)
IDENTIFY Metrics:
- Asset inventory accuracy (validated through sampling)
- Risk assessment currency (% of critical systems with current risk assessment)
- Improvement action closure rate
PROTECT Metrics:
- MFA adoption rate (% of users with MFA enabled)
- Privileged access review completion rate
- Patch SLA compliance (% patched within SLA by severity)
- Training completion rate
- Data classification coverage
DETECT Metrics:
- SIEM log source coverage (% of critical systems sending logs)
- Mean Time to Detect (MTTD)
- Detection true positive rate
- MITRE ATT&CK detection coverage (% of techniques with rules)
RESPOND Metrics:
- Mean Time to Respond (MTTR)
- Incident containment success rate
- Tabletop exercise completion rate
- Regulatory notification compliance rate
RECOVER Metrics:
- RPO/RTO achievement rate (actual vs target)
- Backup restoration success rate
- Post-incident improvement implementation rate
---
Cross-Framework Mapping Tables
NIST CSF 2.0 → ISO 27001:2022 Detailed Mapping
| CSF ID | CSF Category | ISO 27001 Clause/Control | Notes |
|---|---|---|---|
| GV.OC | Organizational Context | 4.1, 4.2, A.5.1, A.5.2, A.5.4 | Context of the organization, interested parties |
| GV.RM | Risk Management Strategy | 6.1, 6.1.2, 6.1.3, A.5.3 | Risk assessment and treatment process |
| GV.RR | Roles and Responsibilities | 5.3, A.5.2, 7.1, 7.2 | Roles, competence, resources |
| GV.PO | Policy | A.5.1, A.5.37 | Policies for information security |
| GV.OV | Oversight | 9.1, 9.2, 9.3, 10.1 | Monitoring, internal audit, management review |
| GV.SC | Supply Chain | A.5.19–A.5.23 | Supplier relationship security |
| ID.AM | Asset Management | A.5.9, A.5.10, A.5.11, A.5.12, A.5.13, A.8.1 | Asset inventory, classification, labeling |
| ID.RA | Risk Assessment | 6.1.2, A.5.7, A.8.8 | Risk assessment process, threat intel, vuln mgmt |
| ID.IM | Improvement | 10.1, 10.2 | Continual improvement, corrective action |
| PR.AA | Access Control | A.5.15–A.5.18, A.8.2–A.8.5 | Identity, authentication, access management |
| PR.AT | Training | A.6.3, 7.2, 7.3 | Awareness, competence |
| PR.DS | Data Security | A.8.10–A.8.12, A.8.24, A.8.25 | Data protection, cryptography |
| PR.PS | Platform Security | A.8.9, A.8.19, A.8.20 | Configuration, software, network security |
| PR.IR | Resilience | A.5.29, A.5.30, A.8.6, A.8.14 | Continuity, capacity, redundancy |
| DE.CM | Monitoring | A.8.15, A.8.16 | Logging, monitoring |
| DE.AE | Event Analysis | A.5.7, A.8.15, A.8.16 | Threat intel, log analysis |
| RS.MA | Incident Management | A.5.24–A.5.26 | Incident planning, assessment, response |
| RS.AN | Incident Analysis | A.5.27, A.5.28 | Lessons learned, evidence |
| RS.CO | Communication | A.5.5, A.5.6, A.5.26 | Authority and interest group contact |
| RS.MI | Mitigation | A.5.26 | Incident response actions |
| RC.RP | Recovery Execution | A.5.29, A.5.30 | ICT continuity |
| RC.CO | Recovery Communication | A.5.5, A.5.6 | Communication during recovery |
NIST CSF 2.0 → SOC 2 TSC Detailed Mapping
| CSF Function | SOC 2 TSC | TSC Description |
|---|---|---|
| GOVERN | CC1.1–CC1.5 | Control Environment: integrity, ethics, oversight, structure, accountability |
| GOVERN | CC2.1–CC2.3 | Communication and Information: quality, internal, external |
| IDENTIFY | CC3.1–CC3.4 | Risk Assessment: objectives, identification, analysis, change impact |
| PROTECT | CC5.1–CC5.3 | Control Activities: selection, implementation, technology controls |
| PROTECT | CC6.1–CC6.8 | Logical and Physical Access: controls, credentials, authorization, encryption |
| DETECT | CC7.1–CC7.5 | System Operations: monitoring, anomalies, evaluation, response, remediation |
| RESPOND | CC7.3–CC7.5 | System Operations: evaluation, response, remediation |
| RECOVER | CC9.1–CC9.2 | Risk Mitigation: identification, vendor management |
| RECOVER | A1.1–A1.3 | Availability: capacity, recovery, testing |
NIST CSF 2.0 → HIPAA Security Rule Detailed Mapping
| CSF Category | HIPAA Provision | HIPAA Description |
|---|---|---|
| GV.OC, GV.RM | §164.308(a)(1)(i) | Security management process |
| GV.RR | §164.308(a)(2) | Assigned security responsibility |
| GV.PO | §164.316(a), (b) | Policies, procedures, documentation |
| GV.SC | §164.308(b)(1), §164.314(a) | Business associate contracts |
| ID.RA | §164.308(a)(1)(ii)(A) | Risk analysis |
| ID.RA | §164.308(a)(1)(ii)(B) | Risk management |
| PR.AA | §164.312(a)(1) | Access control |
| PR.AA | §164.312(a)(2)(i) | Unique user identification |
| PR.AA | §164.312(d) | Person or entity authentication |
| PR.AT | §164.308(a)(5) | Security awareness and training |
| PR.DS | §164.312(a)(2)(iv) | Encryption and decryption |
| PR.DS | §164.312(e)(1) | Transmission security |
| PR.PS | §164.310(a)(1), (d)(1) | Facility access, device and media |
| DE.CM | §164.312(b) | Audit controls |
| DE.AE | §164.308(a)(1)(ii)(D) | Information system activity review |
| RS.MA | §164.308(a)(6)(i), (ii) | Security incident procedures |
| RC.RP | §164.308(a)(7)(ii)(B), (C) | Disaster recovery, emergency mode |
| RS.CO, RC.CO | §164.404, §164.408 | Breach notification |
NIST CSF 2.0 → PCI-DSS v4.0 Detailed Mapping
| CSF Category | PCI-DSS Requirements | PCI-DSS Description |
|---|---|---|
| GV.PO | Req 12.1 | Information security policy |
| GV.RR | Req 12.1.2, 12.4.1 | Roles, executive responsibility |
| GV.RM | Req 12.3.1, 12.3.2 | Targeted risk analysis |
| GV.SC | Req 12.8 | Third-party service providers |
| GV.OV | Req 12.4.2 | PCI DSS compliance reviews |
| ID.AM | Req 2.1, 2.2, 12.5.1 | System inventory, scope documentation |
| ID.RA | Req 6.3.1, 11.3 | Vulnerability identification, pen testing |
| PR.AA | Req 7.1–7.3, 8.1–8.6 | Access control, authentication |
| PR.AT | Req 12.6 | Security awareness |
| PR.DS | Req 3.1–3.7, 4.1–4.2 | Data protection, cryptography |
| PR.PS | Req 1.1–1.5, 2.1–2.3, 5.1–5.4, 6.1–6.3 | Network, config, malware, secure dev |
| DE.CM | Req 10.1–10.7, 11.1–11.6 | Logging, monitoring, testing |
| RS.MA | Req 12.10.1–12.10.4 | Incident response plan |
| RS.AN | Req 12.10.5, 12.10.6 | IR improvement, alerts |
---
Resource and Budget Planning
Estimated Investment by Organization Size
| Category | Small (<500 employees) | Mid-size (500-5,000) | Enterprise (5,000+) |
|---|---|---|---|
| Assessment | $20K-50K | $75K-150K | $200K-500K |
| Technology (Year 1) | $50K-150K | $200K-500K | $500K-2M |
| Staffing (Annual) | 2-3 FTE | 5-10 FTE | 15-30 FTE |
| Training | $10K-25K | $50K-100K | $150K-300K |
| Consulting | $25K-75K | $100K-250K | $250K-750K |
| Year 1 Total | $150K-400K | $600K-1.5M | $1.5M-5M |
| Annual Ongoing | $100K-250K | $400K-800K | $1M-3M |
Technology Investment Priorities
Phase 1 (Highest ROI):
- MFA/SSO platform — Addresses PR.AA, most common attack vector
- SIEM or managed SIEM — Enables DE.CM, foundational for detection
- Vulnerability scanner — Supports ID.RA, PR.PS
Phase 2 (Strong ROI):
- PAM solution — Addresses PR.AA for privileged accounts
- EDR/XDR — Enhances DE.CM endpoint visibility
- DLP — Supports PR.DS data protection
Phase 3 (Program Maturation):
- SOAR — Automates RS.MA, RS.MI response activities
- GRC platform — Supports GV.OV, GV.PO governance and compliance
- Threat intelligence platform — Enhances DE.AE, ID.RA
Phase 4 (Advanced Capabilities):
- UEBA — Advanced DE.AE behavioral analytics
- SBOM management — Supports GV.SC supply chain
- Zero trust platform — Advanced PR.AA architecture
Staffing Model
Minimum viable security team (small organization):
- CISO (fractional or part-time)
- Security Engineer (1 FTE)
- Security Analyst/SOC (1 FTE, or managed SOC)
Mature security team (mid-size):
- CISO (1 FTE)
- Security Architects (2 FTE)
- Security Engineers (2-3 FTE)
- SOC Analysts (3-5 FTE, or hybrid with managed SOC)
- GRC/Compliance Analyst (1-2 FTE)
- Risk Analyst (1 FTE)
---
Templates
Assessment Input Template
{
"organization": "Your Organization Name",
"assessment_date": "YYYY-MM-DD",
"assessor": "Assessment Team Lead Name",
"functions": {
"GOVERN": {
"GV.OC": { "score": 0, "evidence": "", "notes": "" },
"GV.RM": { "score": 0, "evidence": "", "notes": "" },
"GV.RR": { "score": 0, "evidence": "", "notes": "" },
"GV.PO": { "score": 0, "evidence": "", "notes": "" },
"GV.OV": { "score": 0, "evidence": "", "notes": "" },
"GV.SC": { "score": 0, "evidence": "", "notes": "" }
},
"IDENTIFY": {
"ID.AM": { "score": 0, "evidence": "", "notes": "" },
"ID.RA": { "score": 0, "evidence": "", "notes": "" },
"ID.IM": { "score": 0, "evidence": "", "notes": "" }
},
"PROTECT": {
"PR.AA": { "score": 0, "evidence": "", "notes": "" },
"PR.AT": { "score": 0, "evidence": "", "notes": "" },
"PR.DS": { "score": 0, "evidence": "", "notes": "" },
"PR.PS": { "score": 0, "evidence": "", "notes": "" },
"PR.IR": { "score": 0, "evidence": "", "notes": "" }
},
"DETECT": {
"DE.CM": { "score": 0, "evidence": "", "notes": "" },
"DE.AE": { "score": 0, "evidence": "", "notes": "" }
},
"RESPOND": {
"RS.MA": { "score": 0, "evidence": "", "notes": "" },
"RS.AN": { "score": 0, "evidence": "", "notes": "" },
"RS.CO": { "score": 0, "evidence": "", "notes": "" },
"RS.MI": { "score": 0, "evidence": "", "notes": "" }
},
"RECOVER": {
"RC.RP": { "score": 0, "evidence": "", "notes": "" },
"RC.CO": { "score": 0, "evidence": "", "notes": "" }
}
}
}Executive Summary Template
NIST CSF 2.0 Maturity Assessment — Executive Summary
Organization: [Name]
Date: [Date]
Assessor: [Name]
OVERALL MATURITY: [Score] / 4.0 ([Tier Name])
TARGET: [Target Score] / 4.0 ([Target Tier Name])
FUNCTION SCORES:
GOVERN: [Score] / 4.0 [▓▓▓░░░░░]
IDENTIFY: [Score] / 4.0 [▓▓▓▓░░░░]
PROTECT: [Score] / 4.0 [▓▓░░░░░░]
DETECT: [Score] / 4.0 [▓▓▓░░░░░]
RESPOND: [Score] / 4.0 [▓▓░░░░░░]
RECOVER: [Score] / 4.0 [▓░░░░░░░]
TOP GAPS:
1. [Category] — Gap: [X] tiers, Priority: [CRITICAL/HIGH]
2. [Category] — Gap: [X] tiers, Priority: [CRITICAL/HIGH]
3. [Category] — Gap: [X] tiers, Priority: [HIGH]
RECOMMENDED NEXT STEPS:
Phase 1 (Months 1-3): [Summary]
Phase 2 (Months 4-6): [Summary]
Phase 3 (Months 7-12): [Summary]
ESTIMATED INVESTMENT: $[Amount] over 12 months
RISK REDUCTION: [Estimated] critical/high gaps closed#!/usr/bin/env python3
"""
NIST CSF 2.0 Control Mapper
Maps NIST CSF 2.0 categories to other compliance frameworks including
ISO 27001:2022, SOC 2 TSC, HIPAA Security Rule, and PCI-DSS v4.0.
Generates unified control matrices for multi-framework compliance programs.
Usage:
python csf_control_mapper.py --source-framework nist-csf --target-framework iso27001 --output mapping.json
python csf_control_mapper.py --source-framework nist-csf --target-framework all --output unified.json
python csf_control_mapper.py --source-framework nist-csf --target-framework soc2 --functions GOVERN,PROTECT --format markdown --output report.md
"""
import argparse
import json
import sys
from datetime import datetime
from typing import Any
# ---------------------------------------------------------------------------
# Cross-framework mapping database
# ---------------------------------------------------------------------------
FRAMEWORK_NAMES = {
"nist-csf": "NIST CSF 2.0",
"iso27001": "ISO 27001:2022",
"soc2": "SOC 2 Type II",
"hipaa": "HIPAA Security Rule",
"pci-dss": "PCI-DSS v4.0",
}
# Each CSF category maps to controls in target frameworks
CONTROL_MAPPINGS: dict[str, dict[str, Any]] = {
"GV.OC": {
"name": "Organizational Context",
"function": "GOVERN",
"iso27001": {
"controls": ["A.5.1", "A.5.2", "A.5.4"],
"description": "Information security policies, Organizational roles and responsibilities, Management responsibilities",
},
"soc2": {
"controls": ["CC1.1", "CC1.2", "CC1.3"],
"description": "Control environment — integrity, ethics, board oversight, organizational structure",
},
"hipaa": {
"controls": ["164.308(a)(1)(i)", "164.308(a)(2)"],
"description": "Security management process, Assigned security responsibility",
},
"pci-dss": {
"controls": ["12.1", "12.1.1", "12.1.2"],
"description": "Information security policy, roles and responsibilities",
},
},
"GV.RM": {
"name": "Risk Management Strategy",
"function": "GOVERN",
"iso27001": {
"controls": ["A.5.3", "6.1", "6.1.2"],
"description": "Segregation of duties, Actions to address risks, Information security risk assessment",
},
"soc2": {
"controls": ["CC3.1", "CC3.2", "CC3.3"],
"description": "Risk assessment — objectives, risk identification, risk analysis",
},
"hipaa": {
"controls": ["164.308(a)(1)(ii)(A)", "164.308(a)(1)(ii)(B)"],
"description": "Risk analysis, Risk management",
},
"pci-dss": {
"controls": ["12.3.1", "12.3.2"],
"description": "Targeted risk analysis for customized approach, risk analysis for flexible requirements",
},
},
"GV.RR": {
"name": "Roles, Responsibilities, and Authorities",
"function": "GOVERN",
"iso27001": {
"controls": ["A.5.2", "5.3"],
"description": "Information security roles and responsibilities, Organizational roles",
},
"soc2": {
"controls": ["CC1.3", "CC1.4"],
"description": "Board oversight, Accountability structure",
},
"hipaa": {
"controls": ["164.308(a)(2)"],
"description": "Assigned security responsibility",
},
"pci-dss": {
"controls": ["12.1.2", "12.4.1"],
"description": "Roles and responsibilities, executive management responsibility",
},
},
"GV.PO": {
"name": "Policy",
"function": "GOVERN",
"iso27001": {
"controls": ["A.5.1", "A.5.37"],
"description": "Policies for information security, Documented operating procedures",
},
"soc2": {
"controls": ["CC1.1", "CC5.2"],
"description": "Control environment policies, Policies and procedures",
},
"hipaa": {
"controls": ["164.316(a)", "164.316(b)"],
"description": "Policies and procedures, Documentation requirements",
},
"pci-dss": {
"controls": ["12.1", "12.1.1"],
"description": "Information security policy establishment and maintenance",
},
},
"GV.OV": {
"name": "Oversight",
"function": "GOVERN",
"iso27001": {
"controls": ["9.1", "9.2", "9.3"],
"description": "Monitoring, measurement, analysis, Internal audit, Management review",
},
"soc2": {
"controls": ["CC1.2", "CC4.1", "CC4.2"],
"description": "Board oversight, Monitoring activities, Remediation",
},
"hipaa": {
"controls": ["164.308(a)(1)(ii)(D)", "164.308(a)(8)"],
"description": "Information system activity review, Evaluation",
},
"pci-dss": {
"controls": ["12.4.2", "12.4.2.1"],
"description": "Reviews of PCI DSS compliance, documented reviews",
},
},
"GV.SC": {
"name": "Cybersecurity Supply Chain Risk Management",
"function": "GOVERN",
"iso27001": {
"controls": ["A.5.19", "A.5.20", "A.5.21", "A.5.22", "A.5.23"],
"description": "Information security in supplier relationships, Supply chain management",
},
"soc2": {
"controls": ["CC9.2"],
"description": "Vendor and business partner risk management",
},
"hipaa": {
"controls": ["164.308(b)(1)", "164.314(a)"],
"description": "Business associate contracts, Organizational requirements",
},
"pci-dss": {
"controls": ["12.8", "12.8.1", "12.8.2", "12.8.3", "12.8.4", "12.8.5"],
"description": "Third-party service provider management",
},
},
"ID.AM": {
"name": "Asset Management",
"function": "IDENTIFY",
"iso27001": {
"controls": ["A.5.9", "A.5.10", "A.5.11", "A.5.12", "A.5.13", "A.8.1"],
"description": "Inventory of information assets, Acceptable use, Return of assets, Classification, Labeling, Asset management",
},
"soc2": {
"controls": ["CC6.1"],
"description": "Logical and physical access to information assets",
},
"hipaa": {
"controls": ["164.310(d)(1)", "164.312(c)(1)"],
"description": "Device and media controls, Integrity",
},
"pci-dss": {
"controls": ["2.1", "2.2", "9.4", "12.5.1"],
"description": "System inventory, Secure configurations, Media management, PCI DSS scope documentation",
},
},
"ID.RA": {
"name": "Risk Assessment",
"function": "IDENTIFY",
"iso27001": {
"controls": ["A.5.7", "A.8.8", "6.1.2"],
"description": "Threat intelligence, Technical vulnerability management, Risk assessment process",
},
"soc2": {
"controls": ["CC3.1", "CC3.2", "CC3.3", "CC3.4"],
"description": "Risk assessment — objectives, analysis, estimation, changes",
},
"hipaa": {
"controls": ["164.308(a)(1)(ii)(A)"],
"description": "Risk analysis",
},
"pci-dss": {
"controls": ["6.3.1", "11.3", "12.3.1"],
"description": "Vulnerability identification, Penetration testing, Targeted risk analysis",
},
},
"ID.IM": {
"name": "Improvement",
"function": "IDENTIFY",
"iso27001": {
"controls": ["10.1", "10.2"],
"description": "Continual improvement, Nonconformity and corrective action",
},
"soc2": {
"controls": ["CC4.2"],
"description": "Evaluation and remediation of deficiencies",
},
"hipaa": {
"controls": ["164.308(a)(8)"],
"description": "Evaluation",
},
"pci-dss": {
"controls": ["12.3.3"],
"description": "Review of cryptographic cipher suites and protocols",
},
},
"PR.AA": {
"name": "Identity Management, Authentication, and Access Control",
"function": "PROTECT",
"iso27001": {
"controls": ["A.5.15", "A.5.16", "A.5.17", "A.5.18", "A.8.2", "A.8.3", "A.8.4", "A.8.5"],
"description": "Access control, Identity management, Authentication, Access rights, Privileged access",
},
"soc2": {
"controls": ["CC6.1", "CC6.2", "CC6.3"],
"description": "Logical and physical access controls, Authentication, Authorization",
},
"hipaa": {
"controls": ["164.312(a)(1)", "164.312(a)(2)(i)", "164.312(a)(2)(iii)", "164.312(d)"],
"description": "Access control, Unique user identification, Automatic logoff, Person or entity authentication",
},
"pci-dss": {
"controls": ["7.1", "7.2", "7.3", "8.1", "8.2", "8.3", "8.4", "8.5", "8.6"],
"description": "Restrict access by business need-to-know, Identify and authenticate, MFA, password policies",
},
},
"PR.AT": {
"name": "Awareness and Training",
"function": "PROTECT",
"iso27001": {
"controls": ["A.6.3", "7.2", "7.3"],
"description": "Information security awareness training, Competence, Awareness",
},
"soc2": {
"controls": ["CC1.4", "CC2.2"],
"description": "Training and accountability, Internal communication",
},
"hipaa": {
"controls": ["164.308(a)(5)"],
"description": "Security awareness and training",
},
"pci-dss": {
"controls": ["12.6", "12.6.1", "12.6.2", "12.6.3"],
"description": "Security awareness program",
},
},
"PR.DS": {
"name": "Data Security",
"function": "PROTECT",
"iso27001": {
"controls": ["A.8.10", "A.8.11", "A.8.12", "A.8.24", "A.8.25"],
"description": "Information deletion, Data masking, Data leakage prevention, Cryptography, SDLC security",
},
"soc2": {
"controls": ["CC6.1", "CC6.5", "CC6.7"],
"description": "Data protection, Disposal, Encryption in transmission",
},
"hipaa": {
"controls": ["164.312(a)(2)(iv)", "164.312(c)(1)", "164.312(e)(1)", "164.312(e)(2)(ii)"],
"description": "Encryption/decryption, Integrity, Transmission security",
},
"pci-dss": {
"controls": ["3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "4.1", "4.2"],
"description": "Protect stored account data, Strong cryptography during transmission",
},
},
"PR.PS": {
"name": "Platform Security",
"function": "PROTECT",
"iso27001": {
"controls": ["A.8.9", "A.8.19", "A.8.20"],
"description": "Configuration management, Installation of software, Network security",
},
"soc2": {
"controls": ["CC6.6", "CC6.8", "CC7.1"],
"description": "System boundaries, Malware prevention, Infrastructure monitoring",
},
"hipaa": {
"controls": ["164.310(a)(1)", "164.310(d)(1)"],
"description": "Facility access controls, Device and media controls",
},
"pci-dss": {
"controls": ["1.1", "1.2", "1.3", "1.4", "1.5", "2.1", "2.2", "2.3", "5.1", "5.2", "5.3", "5.4", "6.1", "6.2", "6.3"],
"description": "Network security controls, Secure configurations, Malware protection, Secure development",
},
},
"PR.IR": {
"name": "Technology Infrastructure Resilience",
"function": "PROTECT",
"iso27001": {
"controls": ["A.5.29", "A.5.30", "A.8.6", "A.8.14"],
"description": "ICT readiness for business continuity, Capacity management, Redundancy",
},
"soc2": {
"controls": ["A1.1", "A1.2", "A1.3"],
"description": "Availability — capacity, recovery, environmental protection",
},
"hipaa": {
"controls": ["164.308(a)(7)", "164.310(a)(2)(ii)"],
"description": "Contingency plan, Facility security plan",
},
"pci-dss": {
"controls": ["12.10.1"],
"description": "Incident response plan",
},
},
"DE.CM": {
"name": "Continuous Monitoring",
"function": "DETECT",
"iso27001": {
"controls": ["A.8.15", "A.8.16"],
"description": "Logging, Monitoring activities",
},
"soc2": {
"controls": ["CC7.1", "CC7.2"],
"description": "Infrastructure and software monitoring, Anomaly detection",
},
"hipaa": {
"controls": ["164.312(b)", "164.308(a)(1)(ii)(D)"],
"description": "Audit controls, Information system activity review",
},
"pci-dss": {
"controls": ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6", "10.7", "11.1", "11.2", "11.4", "11.5", "11.6"],
"description": "Log and monitor, Wireless scanning, IDS/IPS, File integrity monitoring, Change detection",
},
},
"DE.AE": {
"name": "Adverse Event Analysis",
"function": "DETECT",
"iso27001": {
"controls": ["A.5.7", "A.8.15", "A.8.16"],
"description": "Threat intelligence, Logging, Monitoring for anomalies",
},
"soc2": {
"controls": ["CC7.2", "CC7.3"],
"description": "Anomaly detection, Security event evaluation",
},
"hipaa": {
"controls": ["164.308(a)(1)(ii)(D)", "164.308(a)(6)(ii)"],
"description": "Information system activity review, Response and reporting",
},
"pci-dss": {
"controls": ["10.4.1", "10.4.2", "10.4.3", "11.5"],
"description": "Log analysis, Automated alerting, File integrity monitoring",
},
},
"RS.MA": {
"name": "Incident Management",
"function": "RESPOND",
"iso27001": {
"controls": ["A.5.24", "A.5.25", "A.5.26"],
"description": "Incident management planning, Assessment and decision, Response to incidents",
},
"soc2": {
"controls": ["CC7.3", "CC7.4"],
"description": "Security event evaluation, Incident response",
},
"hipaa": {
"controls": ["164.308(a)(6)(i)", "164.308(a)(6)(ii)"],
"description": "Security incident procedures, Response and reporting",
},
"pci-dss": {
"controls": ["12.10.1", "12.10.2", "12.10.3", "12.10.4"],
"description": "Incident response plan and testing",
},
},
"RS.AN": {
"name": "Incident Analysis",
"function": "RESPOND",
"iso27001": {
"controls": ["A.5.27", "A.5.28"],
"description": "Learning from incidents, Collection of evidence",
},
"soc2": {
"controls": ["CC7.4", "CC7.5"],
"description": "Incident analysis, Incident remediation",
},
"hipaa": {
"controls": ["164.308(a)(6)(ii)"],
"description": "Response and reporting",
},
"pci-dss": {
"controls": ["12.10.5", "12.10.6"],
"description": "Incident response improvement, Security alerts monitoring",
},
},
"RS.CO": {
"name": "Incident Response Reporting and Communication",
"function": "RESPOND",
"iso27001": {
"controls": ["A.5.5", "A.5.6", "A.5.26"],
"description": "Contact with authorities, Contact with special interest groups, Response to incidents",
},
"soc2": {
"controls": ["CC2.3", "CC7.4"],
"description": "External communication, Incident response",
},
"hipaa": {
"controls": ["164.308(a)(6)(ii)", "164.404", "164.408"],
"description": "Response and reporting, Breach notification, Notification to HHS",
},
"pci-dss": {
"controls": ["12.10.1", "12.10.5"],
"description": "Incident response plan communications, Post-incident activities",
},
},
"RS.MI": {
"name": "Incident Mitigation",
"function": "RESPOND",
"iso27001": {
"controls": ["A.5.26"],
"description": "Response to information security incidents",
},
"soc2": {
"controls": ["CC7.4", "CC7.5"],
"description": "Incident containment, Incident remediation",
},
"hipaa": {
"controls": ["164.308(a)(6)(ii)"],
"description": "Response and reporting — mitigation",
},
"pci-dss": {
"controls": ["12.10.4"],
"description": "Incident response training",
},
},
"RC.RP": {
"name": "Incident Recovery Plan Execution",
"function": "RECOVER",
"iso27001": {
"controls": ["A.5.29", "A.5.30"],
"description": "ICT readiness for business continuity, ICT continuity plans",
},
"soc2": {
"controls": ["CC9.1", "A1.2"],
"description": "Risk mitigation, Recovery from incidents",
},
"hipaa": {
"controls": ["164.308(a)(7)(ii)(B)", "164.308(a)(7)(ii)(C)"],
"description": "Disaster recovery plan, Emergency mode operation plan",
},
"pci-dss": {
"controls": ["12.10.2"],
"description": "Incident response recovery procedures",
},
},
"RC.CO": {
"name": "Incident Recovery Communication",
"function": "RECOVER",
"iso27001": {
"controls": ["A.5.5", "A.5.6"],
"description": "Contact with authorities, Contact with special interest groups",
},
"soc2": {
"controls": ["CC2.3"],
"description": "External communication of recovery activities",
},
"hipaa": {
"controls": ["164.404", "164.406", "164.408"],
"description": "Notification to individuals, Media notification, HHS notification",
},
"pci-dss": {
"controls": ["12.10.5"],
"description": "Post-incident activities and communication",
},
},
}
CSF_FUNCTIONS = {
"GOVERN": ["GV.OC", "GV.RM", "GV.RR", "GV.PO", "GV.OV", "GV.SC"],
"IDENTIFY": ["ID.AM", "ID.RA", "ID.IM"],
"PROTECT": ["PR.AA", "PR.AT", "PR.DS", "PR.PS", "PR.IR"],
"DETECT": ["DE.CM", "DE.AE"],
"RESPOND": ["RS.MA", "RS.AN", "RS.CO", "RS.MI"],
"RECOVER": ["RC.RP", "RC.CO"],
}
def generate_mapping(
target_framework: str,
filter_functions: list[str] | None = None,
) -> dict:
"""Generate control mapping from NIST CSF to target framework."""
mappings: list[dict] = []
overlap_analysis: dict[str, list[str]] = {}
for cat_id, cat_data in CONTROL_MAPPINGS.items():
func = cat_data["function"]
if filter_functions and func not in filter_functions:
continue
target_data = cat_data.get(target_framework)
if not target_data:
continue
mapping = {
"csf_category": cat_id,
"csf_category_name": cat_data["name"],
"csf_function": func,
"target_framework": FRAMEWORK_NAMES.get(target_framework, target_framework),
"target_controls": target_data["controls"],
"target_description": target_data["description"],
}
mappings.append(mapping)
# Track control overlaps
for ctrl in target_data["controls"]:
overlap_analysis.setdefault(ctrl, []).append(cat_id)
# Identify controls that satisfy multiple CSF categories
overlaps = {
ctrl: cats for ctrl, cats in overlap_analysis.items() if len(cats) > 1
}
return {
"source_framework": "NIST CSF 2.0",
"target_framework": FRAMEWORK_NAMES.get(target_framework, target_framework),
"generated": datetime.now().strftime("%Y-%m-%dT%H:%M:%S"),
"total_mappings": len(mappings),
"mappings": mappings,
"control_overlaps": overlaps,
"overlap_summary": f"{len(overlaps)} target controls satisfy multiple CSF categories",
}
def generate_unified_matrix(filter_functions: list[str] | None = None) -> dict:
"""Generate unified control matrix across all target frameworks."""
target_frameworks = ["iso27001", "soc2", "hipaa", "pci-dss"]
matrix: list[dict] = []
for cat_id, cat_data in CONTROL_MAPPINGS.items():
func = cat_data["function"]
if filter_functions and func not in filter_functions:
continue
row: dict[str, Any] = {
"csf_category": cat_id,
"csf_category_name": cat_data["name"],
"csf_function": func,
"frameworks": {},
}
for fw in target_frameworks:
fw_data = cat_data.get(fw, {})
row["frameworks"][FRAMEWORK_NAMES.get(fw, fw)] = {
"controls": fw_data.get("controls", []),
"description": fw_data.get("description", "No direct mapping"),
"mapped": bool(fw_data.get("controls")),
}
matrix.append(row)
# Coverage analysis
coverage: dict[str, dict[str, int]] = {}
for fw in target_frameworks:
fw_name = FRAMEWORK_NAMES.get(fw, fw)
mapped = sum(1 for row in matrix if row["frameworks"][fw_name]["mapped"])
coverage[fw_name] = {
"mapped_categories": mapped,
"total_categories": len(matrix),
"coverage_percent": round(mapped / len(matrix) * 100, 1) if matrix else 0,
}
return {
"source_framework": "NIST CSF 2.0",
"target_frameworks": [FRAMEWORK_NAMES[fw] for fw in target_frameworks],
"generated": datetime.now().strftime("%Y-%m-%dT%H:%M:%S"),
"total_categories": len(matrix),
"matrix": matrix,
"coverage_analysis": coverage,
}
def format_markdown(result: dict) -> str:
"""Format mapping results as Markdown."""
lines: list[str] = []
if "matrix" in result:
return _format_unified_markdown(result)
lines.append(f"# NIST CSF 2.0 Control Mapping Report")
lines.append("")
lines.append(f"**Source:** {result['source_framework']}")
lines.append(f"**Target:** {result['target_framework']}")
lines.append(f"**Generated:** {result['generated']}")
lines.append(f"**Total Mappings:** {result['total_mappings']}")
lines.append("")
# Group by function
by_function: dict[str, list[dict]] = {}
for m in result["mappings"]:
by_function.setdefault(m["csf_function"], []).append(m)
for func, mappings in by_function.items():
lines.append(f"## {func}")
lines.append("")
lines.append("| CSF Category | Name | Target Controls | Description |")
lines.append("|---|---|---|---|")
for m in mappings:
ctrls = ", ".join(m["target_controls"])
lines.append(f"| {m['csf_category']} | {m['csf_category_name']} | {ctrls} | {m['target_description']} |")
lines.append("")
# Overlaps
if result["control_overlaps"]:
lines.append("## Control Overlaps")
lines.append("")
lines.append("These target controls satisfy multiple CSF categories:")
lines.append("")
lines.append("| Target Control | CSF Categories |")
lines.append("|---|---|")
for ctrl, cats in result["control_overlaps"].items():
lines.append(f"| {ctrl} | {', '.join(cats)} |")
lines.append("")
return "\n".join(lines)
def _format_unified_markdown(result: dict) -> str:
"""Format unified matrix as Markdown."""
lines: list[str] = []
lines.append("# Unified Compliance Control Matrix")
lines.append("")
lines.append(f"**Source:** {result['source_framework']}")
lines.append(f"**Target Frameworks:** {', '.join(result['target_frameworks'])}")
lines.append(f"**Generated:** {result['generated']}")
lines.append("")
# Coverage summary
lines.append("## Coverage Analysis")
lines.append("")
lines.append("| Framework | Mapped Categories | Total | Coverage |")
lines.append("|---|---|---|---|")
for fw, cov in result["coverage_analysis"].items():
lines.append(f"| {fw} | {cov['mapped_categories']} | {cov['total_categories']} | {cov['coverage_percent']}% |")
lines.append("")
# Group by function
by_function: dict[str, list[dict]] = {}
for row in result["matrix"]:
by_function.setdefault(row["csf_function"], []).append(row)
for func, rows in by_function.items():
lines.append(f"## {func}")
lines.append("")
for row in rows:
lines.append(f"### {row['csf_category']} — {row['csf_category_name']}")
lines.append("")
lines.append("| Framework | Controls | Description |")
lines.append("|---|---|---|")
for fw_name, fw_data in row["frameworks"].items():
ctrls = ", ".join(fw_data["controls"]) if fw_data["controls"] else "—"
desc = fw_data["description"]
lines.append(f"| {fw_name} | {ctrls} | {desc} |")
lines.append("")
return "\n".join(lines)
def write_output(result: dict, output_path: str | None, fmt: str) -> None:
"""Write results to file or stdout."""
if fmt == "markdown":
content = format_markdown(result)
else:
content = json.dumps(result, indent=2)
if output_path:
with open(output_path, "w") as f:
f.write(content)
print(f"Mapping written to {output_path}", file=sys.stderr)
else:
print(content)
def main() -> None:
parser = argparse.ArgumentParser(
description="NIST CSF 2.0 Control Mapper — map CSF categories to other compliance frameworks"
)
parser.add_argument(
"--source-framework", "-s", default="nist-csf",
help="Source framework (default: nist-csf)"
)
parser.add_argument(
"--target-framework", "-t", required=True,
choices=["iso27001", "soc2", "hipaa", "pci-dss", "all"],
help="Target framework to map to (or 'all' for unified matrix)"
)
parser.add_argument(
"--output", "-o",
help="Output file path (stdout if not specified)"
)
parser.add_argument(
"--format", "-f", choices=["json", "markdown"], default="json",
help="Output format (default: json)"
)
parser.add_argument(
"--functions",
help="Comma-separated list of CSF functions to include (e.g., GOVERN,PROTECT)"
)
args = parser.parse_args()
filter_functions = None
if args.functions:
filter_functions = [f.strip().upper() for f in args.functions.split(",")]
valid_functions = set(CSF_FUNCTIONS.keys())
invalid = [f for f in filter_functions if f not in valid_functions]
if invalid:
print(f"Error: Unknown functions: {', '.join(invalid)}", file=sys.stderr)
print(f"Valid functions: {', '.join(valid_functions)}", file=sys.stderr)
sys.exit(1)
if args.target_framework == "all":
result = generate_unified_matrix(filter_functions)
else:
result = generate_mapping(args.target_framework, filter_functions)
write_output(result, args.output, args.format)
if __name__ == "__main__":
main()
Related skills
FAQ
What are the CSF 2.0 core functions?
CSF 2.0 uses six core functions including GOVERN, IDENTIFY, and PROTECT, scored on a 1-4 tier scale.
Which frameworks can it map to?
It maps NIST CSF 2.0 categories to ISO 27001, SOC 2, HIPAA, and PCI-DSS.