mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-14 19:55:16 +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
40 lines
1.4 KiB
Markdown
40 lines
1.4 KiB
Markdown
# API Reference — Performing Physical Intrusion Assessment
|
|
|
|
## Libraries Used
|
|
- **csv**: Generate and parse assessment checklists
|
|
- **pathlib**: File operations
|
|
|
|
## CLI Interface
|
|
```
|
|
python agent.py checklist [--categories perimeter access_control server_room social_engineering] [--output checklist.csv]
|
|
python agent.py score --csv completed_assessment.csv
|
|
python agent.py report --csv completed_assessment.csv
|
|
```
|
|
|
|
## Core Functions
|
|
|
|
### `generate_checklist(categories, output_file)` — Create assessment template
|
|
22 checks across 4 categories with severity ratings. Outputs to CSV.
|
|
|
|
### `score_assessment(results_csv)` — Calculate compliance score
|
|
Groups by category and severity. Identifies critical failures.
|
|
|
|
### `generate_report(results_csv)` — Executive summary with risk level
|
|
|
|
## Assessment Categories (22 checks)
|
|
| Category | Checks | Focus |
|
|
|----------|--------|-------|
|
|
| Perimeter Security | 5 | Fencing, CCTV, lighting, barriers |
|
|
| Access Control | 6 | Badge access, tailgating, visitor policy |
|
|
| Server Room | 6 | MFA, CCTV, environmental, access logs |
|
|
| Social Engineering | 5 | Visitor challenge, clean desk, shredding |
|
|
|
|
## Risk Classification
|
|
- **CRITICAL**: Critical control failures found
|
|
- **HIGH**: >5 failed checks
|
|
- **MEDIUM**: 1-5 failed checks
|
|
- **LOW**: All checks passed
|
|
|
|
## Dependencies
|
|
No external packages — Python standard library only.
|