mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-11 10:03:42 +03:00
c21af3347e
- 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
1.6 KiB
1.6 KiB
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.