GitHub · Schema

repository-advisory-update

CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub

Properties

Name Type Description
summary string A short summary of the advisory.
description string A detailed description of what the advisory impacts.
cve_id stringnull The Common Vulnerabilities and Exposures (CVE) ID.
vulnerabilities array A product affected by the vulnerability detailed in a repository security advisory.
cwe_ids arraynull A list of Common Weakness Enumeration (CWE) IDs.
credits arraynull A list of users receiving credit for their participation in the security advisory.
severity stringnull The severity of the advisory. You must choose between setting this field or `cvss_vector_string`.
cvss_vector_string stringnull The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`.
state string The state of the advisory.
collaborating_users arraynull A list of usernames who have been granted write access to the advisory.
collaborating_teams arraynull A list of team slugs which have been granted write access to the advisory.
View JSON Schema on GitHub

JSON Schema

github-repository-advisory-update-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github/json-schema/github-repository-advisory-update-schema.json",
  "title": "repository-advisory-update",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-security-advisories-api-openapi.yml#/components/schemas/repository-advisory-update",
  "type": "object",
  "properties": {
    "summary": {
      "type": "string",
      "description": "A short summary of the advisory.",
      "maxLength": 1024
    },
    "description": {
      "type": "string",
      "description": "A detailed description of what the advisory impacts.",
      "maxLength": 65535
    },
    "cve_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The Common Vulnerabilities and Exposures (CVE) ID."
    },
    "vulnerabilities": {
      "type": "array",
      "description": "A product affected by the vulnerability detailed in a repository security advisory.",
      "items": {
        "type": "object",
        "properties": {
          "package": {
            "description": "The name of the package affected by the vulnerability.",
            "type": "object",
            "properties": {
              "ecosystem": {
                "$ref": "#/$defs/security-advisory-ecosystems"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The unique package name within its ecosystem."
              }
            },
            "required": [
              "ecosystem"
            ]
          },
          "vulnerable_version_range": {
            "type": [
              "string",
              "null"
            ],
            "description": "The range of the package versions affected by the vulnerability."
          },
          "patched_versions": {
            "type": [
              "string",
              "null"
            ],
            "description": "The package version(s) that resolve the vulnerability."
          },
          "vulnerable_functions": {
            "type": [
              "array",
              "null"
            ],
            "description": "The functions in the package that are affected.",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "package"
        ],
        "additionalProperties": false
      }
    },
    "cwe_ids": {
      "type": [
        "array",
        "null"
      ],
      "description": "A list of Common Weakness Enumeration (CWE) IDs.",
      "items": {
        "type": "string"
      }
    },
    "credits": {
      "type": [
        "array",
        "null"
      ],
      "description": "A list of users receiving credit for their participation in the security advisory.",
      "items": {
        "type": "object",
        "properties": {
          "login": {
            "type": "string",
            "description": "The username of the user credited."
          },
          "type": {
            "$ref": "#/$defs/security-advisory-credit-types"
          }
        },
        "required": [
          "login",
          "type"
        ],
        "additionalProperties": false
      }
    },
    "severity": {
      "type": [
        "string",
        "null"
      ],
      "description": "The severity of the advisory. You must choose between setting this field or `cvss_vector_string`.",
      "enum": [
        "critical",
        "high",
        "medium",
        "low",
        null
      ]
    },
    "cvss_vector_string": {
      "type": [
        "string",
        "null"
      ],
      "description": "The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`."
    },
    "state": {
      "type": "string",
      "description": "The state of the advisory.",
      "enum": [
        "published",
        "closed",
        "draft"
      ]
    },
    "collaborating_users": {
      "type": [
        "array",
        "null"
      ],
      "description": "A list of usernames who have been granted write access to the advisory.",
      "items": {
        "type": "string"
      }
    },
    "collaborating_teams": {
      "type": [
        "array",
        "null"
      ],
      "description": "A list of team slugs which have been granted write access to the advisory.",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "security-advisory-credit-types": {
      "type": "string",
      "description": "The type of credit the user is receiving.",
      "enum": [
        "analyst",
        "finder",
        "reporter",
        "coordinator",
        "remediation_developer",
        "remediation_reviewer",
        "remediation_verifier",
        "tool",
        "sponsor",
        "other"
      ]
    },
    "security-advisory-ecosystems": {
      "type": "string",
      "description": "The package's language or package management ecosystem.",
      "enum": [
        "rubygems",
        "npm",
        "pip",
        "maven",
        "nuget",
        "composer",
        "go",
        "rust",
        "erlang",
        "actions",
        "pub",
        "other",
        "swift"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-repository-advisory-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.