Files
Anthropic-Cybersecurity-Skills/skills/performing-endpoint-vulnerability-remediation/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

24 lines
903 B
Markdown

# API Reference — Performing Endpoint Vulnerability Remediation
## Libraries Used
- **csv**: Parse vulnerability scan CSV exports (Nessus, Qualys, Rapid7)
- **subprocess**: Check installed Windows patches via `wmic qfe`
- **socket**: Validate port-based remediation
## CLI Interface
```
python agent.py parse --scan-file scan.csv
python agent.py patches
python agent.py validate --host 10.0.0.1 --port 445
python agent.py report --scan-file scan.csv [--output plan.json]
```
## Core Functions
### `parse_scan_report(csv_file)` — Parse and prioritize vulnerabilities by severity
### `check_windows_patches()` — List installed Windows hotfixes via WMIC
### `validate_remediation(host, port)` — TCP connect to verify port closure
### `generate_remediation_report(scan_file, output)` — Group vulns by host for remediation
## Dependencies
No external packages — Python standard library only.