apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id} — GitHub API

GitHub playground

Update a repository security advisory

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

11 body fields
  • summary · optional · string — A short summary of the advisory.
  • description · optional · string — A detailed description of what the advisory impacts.
  • cve_id · optional · string — The Common Vulnerabilities and Exposures (CVE) ID.
  • vulnerabilities · optional · object[] — A product affected by the vulnerability detailed in a repository security advisory.
  • cwe_ids · optional · string[] — A list of Common Weakness Enumeration (CWE) IDs.
  • credits · optional · object[] — A list of users receiving credit for their participation in the security advisory.
  • severity · optional · string — The severity of the advisory. You must choose between setting this field or `cvss_vector_string`.
  • cvss_vector_string · optional · string — The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`.
  • state · optional · string — The state of the advisory.
  • collaborating_users · optional · string[] — A list of usernames who have been granted write access to the advisory.
  • collaborating_teams · optional · string[] — A list of team slugs which have been granted write access to the advisory.