generate_remediation_plan
Generates a deterministic remediation plan from vulnerability scan data (Trivy, Grype, Sysdig) with per-distro fix commands, reboot hints, and package rebuild instructions.
Instructions
Turn vulnerability scan results into a deterministic, actionable remediation plan: per-distro fix commands (apt/yum/dnf/apk/zypper), vendor-backport explanations, reboot/service-restart hints, language-package (Java/npm/Go/...) rebuild instructions, and a 'no fix available' section. Accepts Trivy JSON, Grype JSON, Sysdig scan-result JSON, or Sysdig report CSV (auto-detected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | OS override like 'ubuntu:22.04' (for CSVs without an OS column). | |
| format | No | Output format (default markdown). | |
| scan_path | No | Path to a scan file (alternative to scan_content). Disabled unless the server sets REMEDIFY_MCP_ALLOWED_DIR; only files inside that directory can be read. Prefer scan_content. | |
| min_severity | No | Only include fixes at or above this severity. | |
| scan_content | No | Raw scan file content (JSON or CSV). |