Skip to content

Vulnerability Management

SecOpsAI ranks vulnerabilities by risk to your assets, not by CVSS alone, and gives each one a remediation due date. The result is stored with its source evidence in the enterprise store.

secopsai enterprise prioritize-vulnerability --input vulnerability.json --json

Input

One JSON object. All fields are optional except what you need to identify the issue:

{
  "advisory_id": "GHSA-xxxx-xxxx-xxxx",
  "package_name": "example-lib",
  "package_version": "2.4.1",
  "asset_id": "api-gateway",
  "cvss_score": 9.8,
  "exploitability_score": 3.9,
  "asset_criticality": "critical",
  "kev": true,
  "internet_exposed": true,
  "source_url": "https://github.com/advisories/GHSA-xxxx-xxxx-xxxx"
}

asset_criticality is normal, important or critical. active_exploitation counts the same as kev, and public_resource the same as internet_exposed.

Priority score

score = (CVSS × 6 + exploitability × 2 + 20 if exploited + 10 if exposed) × asset weight

The asset weight is 1.0 for normal, 1.25 for important and 1.5 for critical. The score is capped at 100.

Score Priority Remediation due
85 and above critical 7 days
65 to 84 high 14 days
35 to 64 medium 30 days
below 35 low 90 days

A supplied sla_due_at or severity is kept as given.

Output

The stored record adds:

  • vulnerability_key: a stable key from advisory, package, version and asset, so re-running updates the same record
  • priority_score, priority_severity and priority_reasons (active exploitation or KEV, internet exposure, critical asset, CVSS or exploitability evidence)
  • sla_due_at and status (default open)
  • evidence: source URL, advisory ID and the KEV and exploitation flags

Boundaries

The priority is a routing aid, not a replacement for analyst review. Fix verification, ticket creation, exceptions and risk acceptance remain audited workflow actions. Ticket creation in GitHub or Jira starts as a proposal:

secopsai enterprise ticket-propose --provider github --project owner/repo \
  --finding-id VULN-123 --title "Upgrade example-lib" --body "..." --json

This returns status: proposed and makes no network call.