vulnerability-csv-reporting
Convert vulnerability scan JSON into a filtered CSV report (HIGH/CRITICAL only) with the required schema and basic output validation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- vulnerability-csv-reporting
- description
- Convert vulnerability scan JSON into a filtered CSV report (HIGH/CRITICAL only) with the required schema and basic output validation.
03 SKILL.md 正文
Steps
- Load the scanner JSON report (e.g., Trivy’s
/root/trivy_report.json) and iterateResults[].Vulnerabilities[]. - Filter vulnerabilities to severity levels
HIGHandCRITICALonly. - Map each vulnerability into the required CSV fields:
Package←PkgNameVersion←InstalledVersionCVE_ID←VulnerabilityIDSeverity←SeverityCVSS_Score← extracted via the CVSS extraction skill (prefer v3; elseN/A)Fixed_Version←FixedVersion(orN/Aif empty/missing)Title←Title(or a short fallback such asDescription/N/A)Url←PrimaryURL(orN/A)
- Write
/root/security_audit.csvusingcsv.DictWriterwith the exact header order:Package,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url - Validate the output CSV:
- Header matches exactly (names and order).
- Every row
Severityis onlyHIGHorCRITICAL. - No required columns are missing; use
N/Afor missing values.
Expected Result
/root/security_audit.csv exists, has the required columns in order, and contains only HIGH/CRITICAL vulnerability rows.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms