Files
Anthropic-Cybersecurity-Skills/skills/performing-nist-csf-maturity-assessment/references/api-reference.md
T
mukul975 c21af3347e Complete folder anatomy for all 649 cybersecurity skills + update LICENSE to Mahipal
- Add scripts/agent.py and references/api-reference.md to all remaining skills
- Update all 648 LICENSE files: copyright now reads 'Mahipal'
- Add implementing-security-monitoring-with-datadog (new skill with full anatomy)
- All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
2026-03-11 00:22:12 +01:00

48 lines
1.6 KiB
Markdown

# API Reference — Performing NIST CSF Maturity Assessment
## Libraries Used
- **csv**: Parse and generate assessment CSV files
- **pathlib**: File operations
## CLI Interface
```
python agent.py assess --csv assessment_responses.csv
python agent.py gaps --csv assessment_responses.csv
python agent.py template [--output template.csv]
python agent.py executive --csv assessment_responses.csv
```
## Core Functions
### `assess_from_csv(assessment_file)` — Calculate maturity scores
Scores each NIST CSF function (Identify, Protect, Detect, Respond, Recover).
Calculates overall maturity level (1-4 scale) and gap-to-target.
### `generate_gap_analysis(assessment_file)` — Prioritized gap report
Classifies gaps: HIGH (>=2 gap), MEDIUM (>=1), LOW (<1).
### `create_assessment_template(output_file)` — Generate blank assessment CSV
Produces CSV with all 23 CSF categories, score/target/evidence columns.
### `generate_executive_summary(assessment_file)` — Board-level report
## NIST CSF Functions & Categories (23 total)
| Function | Categories |
|----------|-----------|
| IDENTIFY | ID.AM, ID.BE, ID.GV, ID.RA, ID.RM, ID.SC |
| PROTECT | PR.AC, PR.AT, PR.DS, PR.IP, PR.MA, PR.PT |
| DETECT | DE.AE, DE.CM, DE.DP |
| RESPOND | RS.RP, RS.CO, RS.AN, RS.MI, RS.IM |
| RECOVER | RC.RP, RC.IM, RC.CO |
## Maturity Levels
| Level | Name | Description |
|-------|------|-------------|
| 1 | Partial | Not formalized |
| 2 | Risk Informed | Approved but not org-wide |
| 3 | Repeatable | Formally expressed as policy |
| 4 | Adaptive | Continuous improvement |
## Dependencies
No external packages — Python standard library only.