Skip to content

GitHub: Security advisories schemas

13 GitHub schemas with complete fields and constraints.

← Security advisories operations · All schemas

Create a repository security advisory — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
creditsJSONOptional
credits (anyOf 1)arrayAlternativeA list of users receiving credit for their participation in the security advisory.
credits (anyOf 1)[]objectEach itemAdditional keys: not allowed
credits (anyOf 1)[].loginstringRequired within parentThe username of the user credited.
credits (anyOf 1)[].typestringRequired within parentThe type of credit the user is receiving.
One of: analyst, finder, reporter, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other
credits (anyOf 2)nullAlternative
cve_idJSONOptional
cve_id (anyOf 1)stringAlternativeThe Common Vulnerabilities and Exposures (CVE) ID.
cve_id (anyOf 2)nullAlternative
cvss_vector_stringJSONOptional
cvss_vector_string (anyOf 1)stringAlternativeThe CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`.
cvss_vector_string (anyOf 2)nullAlternative
cwe_idsJSONOptional
cwe_ids (anyOf 1)arrayAlternativeA list of Common Weakness Enumeration (CWE) IDs.
cwe_ids (anyOf 1)[]stringEach item
cwe_ids (anyOf 2)nullAlternative
descriptionstringRequired within parentA detailed description of what the advisory impacts.
Maximum length: 65535
severityJSONOptional
severity (anyOf 1)stringAlternativeThe severity of the advisory. You must choose between setting this field or `cvss_vector_string`.
One of: critical, high, medium, low
severity (anyOf 2)nullAlternative
start_private_forkbooleanOptionalWhether to create a temporary private fork of the repository to collaborate on a fix.
Default: false
summarystringRequired within parentA short summary of the advisory.
Maximum length: 1024
vulnerabilitiesarrayRequired within parentA product affected by the vulnerability detailed in a repository security advisory.
vulnerabilities[]ModelEach itemExpand Create a repository security advisory — request body — body vulnerabilities item

Referenced models: Create a repository security advisory — request body — body vulnerabilities item

Create a repository security advisory — request body — body vulnerabilities item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
packageobjectRequired within parentThe name of the package affected by the vulnerability.
package.ecosystemstringRequired within parentThe package's language or package management ecosystem.
One of: rubygems, npm, pip, maven, nuget, composer, go, rust, erlang, actions, pub, other, swift
package.nameJSONOptional
package.name (anyOf 1)stringAlternativeThe unique package name within its ecosystem.
package.name (anyOf 2)nullAlternative
patched_versionsJSONOptional
patched_versions (anyOf 1)stringAlternativeThe package version(s) that resolve the vulnerability.
patched_versions (anyOf 2)nullAlternative
vulnerable_functionsJSONOptional
vulnerable_functions (anyOf 1)arrayAlternativeThe functions in the package that are affected.
vulnerable_functions (anyOf 1)[]stringEach item
vulnerable_functions (anyOf 2)nullAlternative
vulnerable_version_rangeJSONOptional
vulnerable_version_range (anyOf 1)stringAlternativeThe range of the package versions affected by the vulnerability.
vulnerable_version_range (anyOf 2)nullAlternative

Get a global security advisory — response body

FieldTypePresenceDescription and constraints
$objectRootA GitHub Security Advisory.
Additional keys: not allowed
creditsJSONRequired within parent
credits (anyOf 1)arrayAlternativeThe users who contributed to the advisory.
Read only: true
credits (anyOf 1)[]objectEach item
credits (anyOf 1)[].typestringRequired within parentThe type of credit the user is receiving.
Known values: analyst, finder, reporter, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other
credits (anyOf 1)[].userModelRequired within parentExpand List users — response body — item
credits (anyOf 2)nullAlternative
cve_idJSONRequired within parent
cve_id (anyOf 1)stringAlternativeThe Common Vulnerabilities and Exposures (CVE) ID.
Read only: true
cve_id (anyOf 2)nullAlternative
cvss_severitiesModelOptionalExpand Get a global security advisory — response body — cvss severities
cwesJSONRequired within parent
cwes (anyOf 1)arrayAlternative
cwes (anyOf 1)[]objectEach item
cwes (anyOf 1)[].cwe_idstringRequired within parentThe Common Weakness Enumeration (CWE) identifier.
cwes (anyOf 1)[].namestringRequired within parentThe name of the CWE.
Read only: true
cwes (anyOf 2)nullAlternative
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeA detailed description of what the advisory entails.
Maximum length: 65535
description (anyOf 2)nullAlternative
epssModelOptionalExpand Get a global security advisory — response body — epss
ghsa_idstringRequired within parentThe GitHub Security Advisory ID.
Read only: true
github_reviewed_atJSONRequired within parent
github_reviewed_at (anyOf 1)stringAlternativeThe date and time of when the advisory was reviewed by GitHub, in ISO 8601 format.
Format: date-time
Read only: true
github_reviewed_at (anyOf 2)nullAlternative
html_urlstringRequired within parentThe URL for the advisory.
Format: uri
Read only: true
identifiersJSONRequired within parent
identifiers (anyOf 1)arrayAlternativeRead only: true
identifiers (anyOf 1)[]objectEach item
identifiers (anyOf 1)[].typestringRequired within parentThe type of identifier.
Known values: CVE, GHSA
identifiers (anyOf 1)[].valuestringRequired within parentThe identifier value.
identifiers (anyOf 2)nullAlternative
nvd_published_atJSONRequired within parent
nvd_published_at (anyOf 1)stringAlternativeThe date and time when the advisory was published in the National Vulnerability Database, in ISO 8601 format.
This field is only populated when the advisory is imported from the National Vulnerability Database.
Format: date-time
Read only: true
nvd_published_at (anyOf 2)nullAlternative
published_atstringRequired within parentThe date and time of when the advisory was published, in ISO 8601 format.
Format: date-time
Read only: true
referencesJSONRequired within parent
references (anyOf 1)arrayAlternative
references (anyOf 1)[]stringEach itemURLs with more information regarding the advisory.
references (anyOf 2)nullAlternative
repository_advisory_urlJSONRequired within parent
repository_advisory_url (anyOf 1)stringAlternativeThe API URL for the repository advisory.
Format: uri
Read only: true
repository_advisory_url (anyOf 2)nullAlternative
severitystringRequired within parentThe severity of the advisory.
Known values: critical, high, medium, low, unknown
source_code_locationJSONRequired within parent
source_code_location (anyOf 1)stringAlternativeThe URL of the advisory's source code.
Format: uri
source_code_location (anyOf 2)nullAlternative
summarystringRequired within parentA short summary of the advisory.
Maximum length: 1024
typestringRequired within parentThe type of advisory.
Known values: reviewed, unreviewed, malware
Read only: true
updated_atstringRequired within parentThe date and time of when the advisory was last updated, in ISO 8601 format.
Format: date-time
Read only: true
urlstringRequired within parentThe API URL for the advisory.
Read only: true
vulnerabilitiesJSONRequired within parent
vulnerabilities (anyOf 1)arrayAlternativeThe products and respective version ranges affected by the advisory.
vulnerabilities (anyOf 1)[]ModelEach itemExpand Get a global security advisory — response body — vulnerabilities array item
vulnerabilities (anyOf 2)nullAlternative
withdrawn_atJSONRequired within parent
withdrawn_at (anyOf 1)stringAlternativeThe date and time of when the advisory was withdrawn, in ISO 8601 format.
Format: date-time
Read only: true
withdrawn_at (anyOf 2)nullAlternative

Referenced models: Get a global security advisory — response body — cvss severities, Get a global security advisory — response body — epss, List users — response body — item, Get a global security advisory — response body — vulnerabilities array item

Get a global security advisory — response body — cvss severities

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternative
$ (anyOf 1).cvss_v3JSONOptional
$ (anyOf 1).cvss_v3 (anyOf 1)objectAlternative
$ (anyOf 1).cvss_v3 (anyOf 1).scoreJSONRequired within parent
$ (anyOf 1).cvss_v3 (anyOf 1).score (anyOf 1)JSONAlternative
$ (anyOf 1).cvss_v3 (anyOf 1).score (anyOf 1) (anyOf 1)numberAlternativeThe CVSS 3 score.
Maximum: 10
Minimum: 0
Read only: true
$ (anyOf 1).cvss_v3 (anyOf 1).score (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).cvss_v3 (anyOf 1).score (anyOf 2)nullAlternative
$ (anyOf 1).cvss_v3 (anyOf 1).vector_stringJSONRequired within parent
$ (anyOf 1).cvss_v3 (anyOf 1).vector_string (anyOf 1)stringAlternativeThe CVSS 3 vector string.
$ (anyOf 1).cvss_v3 (anyOf 1).vector_string (anyOf 2)nullAlternative
$ (anyOf 1).cvss_v3 (anyOf 2)nullAlternative
$ (anyOf 1).cvss_v4JSONOptional
$ (anyOf 1).cvss_v4 (anyOf 1)objectAlternative
$ (anyOf 1).cvss_v4 (anyOf 1).scoreJSONRequired within parent
$ (anyOf 1).cvss_v4 (anyOf 1).score (anyOf 1)JSONAlternative
$ (anyOf 1).cvss_v4 (anyOf 1).score (anyOf 1) (anyOf 1)numberAlternativeThe CVSS 4 score.
Maximum: 10
Minimum: 0
Read only: true
$ (anyOf 1).cvss_v4 (anyOf 1).score (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).cvss_v4 (anyOf 1).score (anyOf 2)nullAlternative
$ (anyOf 1).cvss_v4 (anyOf 1).vector_stringJSONRequired within parent
$ (anyOf 1).cvss_v4 (anyOf 1).vector_string (anyOf 1)stringAlternativeThe CVSS 4 vector string.
$ (anyOf 1).cvss_v4 (anyOf 1).vector_string (anyOf 2)nullAlternative
$ (anyOf 1).cvss_v4 (anyOf 2)nullAlternative
$ (anyOf 2)nullAlternative

Get a global security advisory — response body — epss

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeThe EPSS scores as calculated by the [Exploit Prediction Scoring System](https://www.first.org/epss).
Read only: true
$ (anyOf 1).percentageJSONOptional
$ (anyOf 1).percentage (anyOf 1)numberAlternativeMaximum: 100
Minimum: 0
$ (anyOf 1).percentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).percentileJSONOptional
$ (anyOf 1).percentile (anyOf 1)numberAlternativeMaximum: 100
Minimum: 0
$ (anyOf 1).percentile (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 2)nullAlternative

Get a global security advisory — response body — vulnerabilities array item

FieldTypePresenceDescription and constraints
$objectRootA vulnerability describing the product and its affected versions within a GitHub Security Advisory.
first_patched_versionJSONRequired within parent
first_patched_version (anyOf 1)stringAlternativeThe package version that resolves the vulnerability.
first_patched_version (anyOf 2)nullAlternative
packageJSONRequired within parent
package (anyOf 1)ModelAlternativeExpand Get a global security advisory — response body — vulnerabilities array item package ecosystem, name
package (anyOf 2)nullAlternative
vulnerable_functionsJSONRequired within parent
vulnerable_functions (anyOf 1)arrayAlternativeThe functions in the package that are affected by the vulnerability.
Read only: true
vulnerable_functions (anyOf 1)[]stringEach item
vulnerable_functions (anyOf 2)nullAlternative
vulnerable_version_rangeJSONRequired within parent
vulnerable_version_range (anyOf 1)stringAlternativeThe range of the package versions affected by the vulnerability.
vulnerable_version_range (anyOf 2)nullAlternative

Referenced models: Get a global security advisory — response body — vulnerabilities array item package ecosystem, name

Get a global security advisory — response body — vulnerabilities array item package ecosystem, name

FieldTypePresenceDescription and constraints
$objectRootThe name of the package affected by the vulnerability.
ecosystemstringRequired within parentThe package's language or package management ecosystem.
Known values: rubygems, npm, pip, maven, nuget, composer, go, rust, erlang, actions, pub, other, swift
nameJSONRequired within parent
name (anyOf 1)stringAlternativeThe unique package name within its ecosystem.
name (anyOf 2)nullAlternative

Get a repository advisory comment — response body

FieldTypePresenceDescription and constraints
$objectRootA comment on a repository security advisory.
Additional keys: not allowed
advisory_urlstringRequired within parentFormat: uri
author_associationstringRequired within parentHow the author is associated with the repository.
Known values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER
bodystringRequired within parentContents of the advisory comment.
created_atstringRequired within parentFormat: date-time
html_urlstringRequired within parentWeb URL for the advisory comment.
Format: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeUnique identifier of the advisory comment.
Format: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
node_idstringRequired within parent
updated_atstringRequired within parentFormat: date-time
urlstringRequired within parentAPI URL for the advisory comment.
Format: uri
userModelRequired within parentExpand Get an issue — response body — user

Referenced models: Get an issue — response body — user

Get a repository security advisory — response body

FieldTypePresenceDescription and constraints
$objectRootA repository security advisory.
Additional keys: not allowed
authorJSONRequired within parent
author (anyOf 1)JSONAlternativeThe author of the advisory.
Read only: true
author (anyOf 1) (allOf 1)ModelAll variants applyExpand List users — response body — item
author (anyOf 2)nullAlternative
closed_atJSONRequired within parent
closed_at (anyOf 1)stringAlternativeThe date and time of when the advisory was closed, in ISO 8601 format.
Format: date-time
Read only: true
closed_at (anyOf 2)nullAlternative
collaborating_teamsJSONRequired within parent
collaborating_teams (anyOf 1)arrayAlternativeA list of teams that collaborate on the advisory.
collaborating_teams (anyOf 1)[]ModelEach itemExpand List teams — response body — item
collaborating_teams (anyOf 2)nullAlternative
collaborating_usersJSONRequired within parent
collaborating_users (anyOf 1)arrayAlternativeA list of users that collaborate on the advisory.
collaborating_users (anyOf 1)[]ModelEach itemExpand List users — response body — item
collaborating_users (anyOf 2)nullAlternative
created_atJSONRequired within parent
created_at (anyOf 1)stringAlternativeThe date and time of when the advisory was created, in ISO 8601 format.
Format: date-time
Read only: true
created_at (anyOf 2)nullAlternative
creditsJSONRequired within parent
credits (anyOf 1)arrayAlternative
credits (anyOf 1)[]objectEach item
credits (anyOf 1)[].loginstringOptionalThe username of the user credited.
credits (anyOf 1)[].typestringOptionalThe type of credit the user is receiving.
Known values: analyst, finder, reporter, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other
credits (anyOf 2)nullAlternative
credits_detailedJSONRequired within parent
credits_detailed (anyOf 1)arrayAlternativeRead only: true
credits_detailed (anyOf 1)[]ModelEach itemExpand Get a repository security advisory — response body — credits detailed array item
credits_detailed (anyOf 2)nullAlternative
cve_idJSONRequired within parent
cve_id (anyOf 1)stringAlternativeThe Common Vulnerabilities and Exposures (CVE) ID.
cve_id (anyOf 2)nullAlternative
cvss_severitiesModelOptionalExpand Get a global security advisory — response body — cvss severities
cwe_idsJSONRequired within parent
cwe_ids (anyOf 1)arrayAlternativeA list of only the CWE IDs.
cwe_ids (anyOf 1)[]stringEach item
cwe_ids (anyOf 2)nullAlternative
cwesJSONRequired within parent
cwes (anyOf 1)arrayAlternativeRead only: true
cwes (anyOf 1)[]objectEach item
cwes (anyOf 1)[].cwe_idstringRequired within parentThe Common Weakness Enumeration (CWE) identifier.
cwes (anyOf 1)[].namestringRequired within parentThe name of the CWE.
Read only: true
cwes (anyOf 2)nullAlternative
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeA detailed description of what the advisory entails.
Maximum length: 65535
description (anyOf 2)nullAlternative
ghsa_idstringRequired within parentThe GitHub Security Advisory ID.
Read only: true
html_urlstringRequired within parentThe URL for the advisory.
Format: uri
Read only: true
identifiersarrayRequired within parentRead only: true
identifiers[]objectEach item
identifiers[].typestringRequired within parentThe type of identifier.
Known values: CVE, GHSA
identifiers[].valuestringRequired within parentThe identifier value.
private_forkJSONRequired within parent
private_fork (anyOf 1)JSONAlternativeA temporary private fork of the advisory's repository for collaborating on a fix.
Read only: true
private_fork (anyOf 1) (allOf 1)ModelAll variants applyExpand List repositories for a user migration — response body — item
private_fork (anyOf 2)nullAlternative
published_atJSONRequired within parent
published_at (anyOf 1)stringAlternativeThe date and time of when the advisory was published, in ISO 8601 format.
Format: date-time
Read only: true
published_at (anyOf 2)nullAlternative
publisherJSONRequired within parent
publisher (anyOf 1)JSONAlternativeThe publisher of the advisory.
Read only: true
publisher (anyOf 1) (allOf 1)ModelAll variants applyExpand List users — response body — item
publisher (anyOf 2)nullAlternative
severityJSONRequired within parent
severity (anyOf 1)stringAlternativeThe severity of the advisory.
Known values: critical, high, medium, low
severity (anyOf 2)nullAlternative
statestringRequired within parentThe state of the advisory.
Known values: published, closed, withdrawn, draft, triage
submissionJSONRequired within parent
submission (anyOf 1)objectAlternativeRead only: true
submission (anyOf 1).acceptedbooleanRequired within parentWhether a private vulnerability report was accepted by the repository's administrators.
Read only: true
submission (anyOf 2)nullAlternative
summarystringRequired within parentA short summary of the advisory.
Maximum length: 1024
updated_atJSONRequired within parent
updated_at (anyOf 1)stringAlternativeThe date and time of when the advisory was last updated, in ISO 8601 format.
Format: date-time
Read only: true
updated_at (anyOf 2)nullAlternative
urlstringRequired within parentThe API URL for the advisory.
Format: uri
Read only: true
vulnerabilitiesJSONRequired within parent
vulnerabilities (anyOf 1)arrayAlternative
vulnerabilities (anyOf 1)[]ModelEach itemExpand Get a repository security advisory — response body — vulnerabilities array item
vulnerabilities (anyOf 2)nullAlternative
withdrawn_atJSONRequired within parent
withdrawn_at (anyOf 1)stringAlternativeThe date and time of when the advisory was withdrawn, in ISO 8601 format.
Format: date-time
Read only: true
withdrawn_at (anyOf 2)nullAlternative

Referenced models: Get a global security advisory — response body — cvss severities, Get a repository security advisory — response body — credits detailed array item, Get a repository security advisory — response body — vulnerabilities array item, List repositories for a user migration — response body — item, List users — response body — item, List teams — response body — item

Get a repository security advisory — response body — credits detailed array item

FieldTypePresenceDescription and constraints
$objectRootA credit given to a user for a repository security advisory.
Additional keys: not allowed
statestringRequired within parentThe state of the user's acceptance of the credit.
Known values: accepted, declined, pending
typestringRequired within parentThe type of credit the user is receiving.
Known values: analyst, finder, reporter, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other
userModelRequired within parentExpand List users — response body — item

Referenced models: List users — response body — item

Get a repository security advisory — response body — vulnerabilities array item

FieldTypePresenceDescription and constraints
$objectRootA product affected by the vulnerability detailed in a repository security advisory.
Additional keys: not allowed
packageJSONRequired within parent
package (anyOf 1)ModelAlternativeExpand Get a global security advisory — response body — vulnerabilities array item package ecosystem, name
package (anyOf 2)nullAlternative
patched_versionsJSONRequired within parent
patched_versions (anyOf 1)stringAlternativeThe package version(s) that resolve the vulnerability.
patched_versions (anyOf 2)nullAlternative
vulnerable_functionsJSONRequired within parent
vulnerable_functions (anyOf 1)arrayAlternativeThe functions in the package that are affected.
vulnerable_functions (anyOf 1)[]stringEach item
vulnerable_functions (anyOf 2)nullAlternative
vulnerable_version_rangeJSONRequired within parent
vulnerable_version_range (anyOf 1)stringAlternativeThe range of the package versions affected by the vulnerability.
vulnerable_version_range (anyOf 2)nullAlternative

Referenced models: Get a global security advisory — response body — vulnerabilities array item package ecosystem, name

Privately report a security vulnerability — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
cvss_vector_stringJSONOptional
cvss_vector_string (anyOf 1)stringAlternativeThe CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`.
cvss_vector_string (anyOf 2)nullAlternative
cwe_idsJSONOptional
cwe_ids (anyOf 1)arrayAlternativeA list of Common Weakness Enumeration (CWE) IDs.
cwe_ids (anyOf 1)[]stringEach item
cwe_ids (anyOf 2)nullAlternative
descriptionstringRequired within parentA detailed description of what the advisory impacts.
Maximum length: 65535
severityJSONOptional
severity (anyOf 1)stringAlternativeThe severity of the advisory. You must choose between setting this field or `cvss_vector_string`.
One of: critical, high, medium, low
severity (anyOf 2)nullAlternative
start_private_forkbooleanOptionalWhether to create a temporary private fork of the repository to collaborate on a fix. The fork is created only if you are permitted to create one; otherwise, this parameter is ignored and the report is still created.
Default: false
summarystringRequired within parentA short summary of the advisory.
Maximum length: 1024
vulnerabilitiesJSONOptional
vulnerabilities (anyOf 1)arrayAlternativeAn array of products affected by the vulnerability detailed in a repository security advisory.
vulnerabilities (anyOf 1)[]ModelEach itemExpand Create a repository security advisory — request body — body vulnerabilities item
vulnerabilities (anyOf 2)nullAlternative

Referenced models: Create a repository security advisory — request body — body vulnerabilities item

Update a repository security advisory — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
collaborating_teamsJSONOptional
collaborating_teams (anyOf 1)arrayAlternativeA list of team slugs which have been granted write access to the advisory.
collaborating_teams (anyOf 1)[]stringEach item
collaborating_teams (anyOf 2)nullAlternative
collaborating_usersJSONOptional
collaborating_users (anyOf 1)arrayAlternativeA list of usernames who have been granted write access to the advisory.
collaborating_users (anyOf 1)[]stringEach item
collaborating_users (anyOf 2)nullAlternative
creditsJSONOptional
credits (anyOf 1)arrayAlternativeA list of users receiving credit for their participation in the security advisory.
credits (anyOf 1)[]objectEach itemAdditional keys: not allowed
credits (anyOf 1)[].loginstringRequired within parentThe username of the user credited.
credits (anyOf 1)[].typestringRequired within parentThe type of credit the user is receiving.
One of: analyst, finder, reporter, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other
credits (anyOf 2)nullAlternative
cve_idJSONOptional
cve_id (anyOf 1)stringAlternativeThe Common Vulnerabilities and Exposures (CVE) ID.
cve_id (anyOf 2)nullAlternative
cvss_vector_stringJSONOptional
cvss_vector_string (anyOf 1)stringAlternativeThe CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`.
cvss_vector_string (anyOf 2)nullAlternative
cwe_idsJSONOptional
cwe_ids (anyOf 1)arrayAlternativeA list of Common Weakness Enumeration (CWE) IDs.
cwe_ids (anyOf 1)[]stringEach item
cwe_ids (anyOf 2)nullAlternative
descriptionstringOptionalA detailed description of what the advisory impacts.
Maximum length: 65535
severityJSONOptional
severity (anyOf 1)stringAlternativeThe severity of the advisory. You must choose between setting this field or `cvss_vector_string`.
One of: critical, high, medium, low
severity (anyOf 2)nullAlternative
statestringOptionalThe state of the advisory.
One of: published, closed, draft
summarystringOptionalA short summary of the advisory.
Maximum length: 1024
vulnerabilitiesarrayOptionalA product affected by the vulnerability detailed in a repository security advisory.
vulnerabilities[]ModelEach itemExpand Create a repository security advisory — request body — body vulnerabilities item

Referenced models: Create a repository security advisory — request body — body vulnerabilities item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.