Vulnerability Management — App-sec + Infra VM + Cloud + Prioritization
Two-track approach: app-sec (code, dependencies, containers, IaC) + infra VM (servers, endpoints, networks). 2026 SOTA: Tenable One unified VM + Snyk for app-sec + Wiz for cloud-native. OSS fallback: OpenVAS + Nuclei + Trivy + Grype + Syft.
When to use
User says:
- "Vulnerability management" / "VM" / "VMDR"
- "Snyk" / "Tenable" / "Qualys" / "Rapid7"
- "SAST" / "SCA" / "DAST" / "IAST" / "IaC scan"
- "Container scanning" / "Trivy" / "Grype"
- "SBOM" / "Syft" / "CycloneDX" / "SPDX"
- "CISA KEV" / "EPSS"
- "Patch SLA" / "remediation cadence"
- "Vulnerability prioritization"
- "GitHub Advanced Security" / "Dependabot" / "CodeQL"
Companion skills: pentest-coordination-hackerone-bugcrowd, pci-dss-scope-reduction-saq-selection.
Setup
# Paid stacks (recipient supplies tokens)
# https://www.tenable.com/
# https://www.qualys.com/apps/vulnerability-management-detection-response/
# https://www.rapid7.com/products/insightvm/
# https://snyk.io/
# https://www.wiz.io/
# https://orca.security/
# https://www.lacework.com/
export TENABLE_API_ACCESS_KEY=<dashboard>
export TENABLE_API_SECRET_KEY=<dashboard>
export QUALYS_USERNAME=<dashboard>
export QUALYS_PASSWORD=<dashboard>
export RAPID7_API_KEY=<dashboard>
export SNYK_API_TOKEN=<dashboard>
export WIZ_API_CLIENT_ID=<dashboard>
export WIZ_API_CLIENT_SECRET=<dashboard>
# OSS fallback
pip install nuclei # or download binary
# Trivy
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh
# Syft + Grype
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh
# OpenVAS / Greenbone — Docker
docker run -d -p 9392:9392 --name openvas greenbone/openvas
# CISA KEV
curl -fsSL -o kev.json https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
# EPSS
curl -fsSL -o epss.csv "https://api.first.org/data/v1/epss?envelope=false&pretty=false"
# GitHub Advanced Security (if GHE / public + paid for private)
export GITHUB_TOKEN=<PAT with security_events scope>
Auth notes:
- Tenable One enterprise contract; pricing on assets + users.
- Qualys VMDR includes native patching in base; broad enterprise default.
- Rapid7 InsightVM modern Real Risk Score.
- Snyk: free tier for OSS + 200 tests/mo; team $25-$98/dev/mo.
- Wiz / Orca / Lacework: cloud-only; agentless preferred.
Common recipes
Recipe 1: Two-track stack overview
App-sec track (code + dependencies + containers + IaC):
- Snyk: SCA + SAST + IaC + container — most popular 2026
- GitHub Advanced Security: CodeQL SAST + Dependabot SCA + secret scanning
- Semgrep: open source + paid SAST
- Checkmarx: enterprise SAST
- SonarQube: code quality + security
- Veracode: enterprise SAST + DAST
- OWASP ZAP: open-source DAST
- Burp Suite Pro: developer DAST + manual testing
Infra VM track (servers + endpoints + networks):
- Tenable One: Nessus + cloud + OT + AD + identity unified
- Qualys VMDR: TruRisk + native patching
- Rapid7 InsightVM: Real Risk Score
- Microsoft Defender VM (E5)
Cloud-native (CNAPP — CSPM + CWPP + CIEM + SCA):
- Wiz (agentless, fast time-to-value)
- Orca Security
- Lacework
- Microsoft Defender for Cloud
- Palo Alto Prisma Cloud
OSS fallback:
- OpenVAS / Greenbone (infra VM)
- Nuclei (template-based; fast + actively maintained)
- Trivy (containers + IaC + secrets)
- Grype (SBOM scanning)
- Syft (SBOM generation)
- ZAP (DAST)
Recipe 2: Prioritization beyond CVSS
CVSS 4.0 base score = SEVERITY (not priority).
Priority = function of:
1. Severity (CVSS 4.0)
2. Exploit likelihood (EPSS — Exploit Prediction Scoring System)
3. Known active exploitation (CISA KEV — Known Exploited Vulnerabilities)
4. Asset criticality (your business context)
5. Exposure (internet-facing vs internal)
6. Compensating controls (WAF, network segmentation)
Simple priority formula (illustrative):
priority_score = CVSS_4.0 × EPSS_pct × KEV_multiplier × asset_criticality
KEV_multiplier = 2.0 if listed; 1.0 otherwise
Top-priority: CVSS Critical + EPSS >50% + KEV-listed + internet-facing
critical-asset.
Always patch KEV-listed vulnerabilities first regardless of CVSS.
Recipe 3: Snyk via CLI + API
# Install
npm install -g snyk
snyk auth $SNYK_API_TOKEN
# Test a project (SCA)
snyk test --severity-threshold=high
# Test container
snyk container test <image>:<tag>
# Test IaC
snyk iac test ./terraform
# API — list issues
curl -X GET 'https://api.snyk.io/v1/org/<orgId>/project/<projectId>/issues' \
-H "Authorization: token $SNYK_API_TOKEN"
# Snyk Code (SAST)
snyk code test
Recipe 4: Tenable.io API
# https://developer.tenable.com/reference/io
# List scans
curl -X GET 'https://cloud.tenable.com/scans' \
-H "X-ApiKeys: accessKey=$TENABLE_API_ACCESS_KEY; secretKey=$TENABLE_API_SECRET_KEY"
# Vulnerabilities by asset
curl -X GET 'https://cloud.tenable.com/workbenches/assets/<uuid>/vulnerabilities' \
-H "X-ApiKeys: accessKey=$TENABLE_API_ACCESS_KEY; secretKey=$TENABLE_API_SECRET_KEY"
# Export vulns
curl -X POST 'https://cloud.tenable.com/vulns/export' \
-H "X-ApiKeys: accessKey=$TENABLE_API_ACCESS_KEY; secretKey=$TENABLE_API_SECRET_KEY" \
-d '{"filters":{"severity":["critical","high"]}}'
Recipe 5: Qualys VMDR API
# https://docs.qualys.com/en/vm/api/
# Auth uses HTTP Basic
curl -X GET 'https://qualysapi.qualys.com/api/2.0/fo/scan/' \
-u "$QUALYS_USERNAME:$QUALYS_PASSWORD" \
-H "X-Requested-With: curl"
# Top vulns
curl -X POST 'https://qualysapi.qualys.com/api/2.0/fo/asset/host/vm/detection/' \
-u "$QUALYS_USERNAME:$QUALYS_PASSWORD" \
-d "action=list&severities=4-5&truncation_limit=100"
Recipe 6: Rapid7 InsightVM API
# https://help.rapid7.com/insightvm/en-us/api/
curl -X GET 'https://us.api.insight.rapid7.com/vm/v4/integration/assets' \
-H "X-Api-Key: $RAPID7_API_KEY"
Recipe 7: Wiz GraphQL API
# https://docs.wiz.io/
TOKEN=$(curl -X POST 'https://auth.app.wiz.io/oauth/token' \
-d "grant_type=client_credentials" \
-d "audience=wiz-api" \
-d "client_id=$WIZ_API_CLIENT_ID" \
-d "client_secret=$WIZ_API_CLIENT_SECRET" \
| jq -r '.access_token')
curl -X POST 'https://api.us1.app.wiz.io/graphql' \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"query { issues(first: 10) { nodes { id severity description } } }"}'
Recipe 8: GitHub Advanced Security via API
# Dependabot alerts
curl -X GET "https://api.github.com/repos/<owner>/<repo>/dependabot/alerts" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json"
# CodeQL findings
curl -X GET "https://api.github.com/repos/<owner>/<repo>/code-scanning/alerts" \
-H "Authorization: Bearer $GITHUB_TOKEN"
# Secret scanning
curl -X GET "https://api.github.com/repos/<owner>/<repo>/secret-scanning/alerts" \
-H "Authorization: Bearer $GITHUB_TOKEN"
Recipe 9: Trivy — containers + IaC + filesystem
# Scan a container image
trivy image --severity HIGH,CRITICAL <image>:<tag>
# Scan a filesystem (incl. lockfiles)
trivy fs --severity HIGH,CRITICAL .
# Scan an IaC directory
trivy config ./terraform
# Output JSON for ticketing
trivy image --format json --output scan.json <image>:<tag>
Recipe 10: SBOM generation (Syft) + scanning (Grype)
# Generate SBOM
syft <image>:<tag> -o cyclonedx-json=sbom.cdx.json
syft <image>:<tag> -o spdx-json=sbom.spdx.json
# Scan SBOM (Grype reads SBOM or directly)
grype sbom:sbom.cdx.json
grype <image>:<tag>
# Fail CI if HIGH+
grype <image>:<tag> --fail-on high
Recipe 11: Nuclei template-based scanning
# Update templates
nuclei -ut
# Scan with default templates
nuclei -u https://target.example.com
# Severity filter
nuclei -u https://target.example.com -severity high,critical
# Bulk scan
nuclei -l urls.txt -o results.txt
Recipe 12: Remediation SLA matrix (PCI DSS Req. 6.3.1 aligned)
Critical (CVSS 9.0-10.0): 14 days
High (7.0-8.9): 30 days
Medium (4.0-6.9): 90 days
Low (0.1-3.9): best effort
CISA KEV: as soon as feasible, max 21 days (per Binding Operational
Directive 22-01 for federal agencies; industry adopting voluntarily).
Variance for emergency patches:
- KEV + actively exploited: emergency 72-hour patch
- Pre-disclosure with PoC: expedited 7-day
Exception handling:
- Risk-accepted: document compensating control + sign-off + revisit quarterly
- False positive: confirm + suppress in tool
- Won't fix: end-of-life or out-of-scope → document risk acceptance
Recipe 13: Monthly KPI report template
# Vulnerability Management — <Month YYYY>
## Open vulnerabilities
| Severity | Count | New this month | Aged out of SLA |
|---|---|---|---|
| Critical | 3 | 1 | 0 |
| High | 22 | 8 | 1 |
| Medium | 145 | 30 | 5 |
| Low | 380 | 60 | — |
## KEV-listed open
- 2 vulnerabilities (1 patched, 1 in progress)
## Patched this month
- Critical: 1 (within 14d SLA)
- High: 7 (5 within 30d, 2 late)
- Medium: 28
- Low: 35
## SLA compliance
- Critical: 100%
- High: 71% (2 of 7 missed)
- Medium: 85%
## Trends (90 days)
- Mean time to patch (Critical): 9.2 days (improved from 11.8)
- Backlog: 550 (down from 612)
## Top risk areas
- Legacy app server: 12 open High; planned decommission Q3.
- Container base image (old node:14): scheduled refresh Q3.
## Risk acceptance
- 3 medium vulns risk-accepted (compensating WAF rule); next review 2026-09.
---
*Disclaimer per template.*
Examples
Example 1: Build VM program for SOC 2 + PCI
Goal: Stand up two-track VM program from zero.
Steps:
- App-sec: enable Snyk OSS + GitHub Advanced Security (Dependabot + CodeQL + secret scanning).
- Infra VM: Qualys VMDR for cloud + corporate endpoints; quarterly internal scans + monthly external.
- Cloud-native: Wiz for AWS + GCP visibility.
- Container scanning: Trivy in CI pipeline; fail-on HIGH+.
- Prioritization: CVSS 4.0 + EPSS + KEV in ticketing tool.
- SLAs per Recipe 12.
- Monthly KPI per Recipe 13.
Result: SOC 2 CC7.1 + PCI Req. 11.3 + 6.3.1 evidence-ready.
Example 2: Emergency CVE response (KEV addition)
Goal: CISA KEV adds CVE-XXXX-NNNNN; patch within 21 days.
Steps:
- KEV feed polled daily; CVE flagged.
- Asset inventory query (Snyk + Tenable) — affected systems identified.
- Emergency change ticket; patch within 72h for internet-facing, 14d for internal.
- Re-scan + verify.
- Document in monthly KPI.
Result: KEV SLA met; auditable trail.
Example 3: SBOM-driven supply chain scan
Goal: Generate + scan SBOM for every container image.
Steps:
- CI step:
syft <image> -o cyclonedx-json=sbom.cdx.json. - Archive SBOM in artifact registry.
- Scan:
grype sbom:sbom.cdx.json --fail-on high. - Publish SBOM in S3 for customer distribution (transparency).
- EU Cyber Resilience Act (2027) future-readiness.
Result: Supply-chain visibility; CRA-ready.
Edge cases / gotchas
- CVSS != priority. Always overlay EPSS + KEV + business context.
- KEV listings can lag for very new exploits; supplement with vendor advisories + threat intel.
- Patch SLAs miss for unmaintained software. Risk-acceptance with compensating control + sunset plan.
- Cloud VM tooling gaps. Tenable + Qualys good for VMs; CNAPP tools (Wiz / Orca) needed for serverless + container + IAM.
- Container scanning is layered. Base image + app dependencies + runtime; scan all layers.
- SBOM accuracy depends on package manager metadata. Cargo / Pip / Maven generally accurate; Go modules require build.
- Secret scanning false positives. Tune ignored patterns; rotate true positives + remove from history.
- Internal-only scans need authenticated. Unauthenticated scans miss most internal vulns.
- DAST is slow + noisy. Use for periodic deep scan + after major release, not continuous.
- IaC scans miss runtime drift. Pair with CNAPP runtime monitoring.
- GitHub Advanced Security $49/committer/mo for private repos. Free for public.
- CISA KEV is US-centric but globally relevant.
- EPSS updates daily; integrate fresh data.
- End-of-life dependency can be CVE-free in CVE feed but still risky; track EOL separately.
⚠ This is informational guidance from an AI agent. Always consult a qualified compliance professional, auditor, or privacy attorney in your jurisdiction before submitting audit responses, accepting auditor findings, or implementing binding control changes.