NuGet · Schema

Vulnerability

A security vulnerability.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
advisoryUrl string Location of the security advisory.
severity string Severity: 0 = Low, 1 = Moderate, 2 = High, 3 = Critical.
View JSON Schema on GitHub

JSON Schema

nuget-vulnerability-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Vulnerability",
  "title": "Vulnerability",
  "type": "object",
  "description": "A security vulnerability.",
  "required": [
    "advisoryUrl",
    "severity"
  ],
  "properties": {
    "advisoryUrl": {
      "type": "string",
      "format": "uri",
      "description": "Location of the security advisory."
    },
    "severity": {
      "type": "string",
      "description": "Severity: 0 = Low, 1 = Moderate, 2 = High, 3 = Critical.",
      "enum": [
        "0",
        "1",
        "2",
        "3"
      ]
    }
  }
}