apicheats.dev Cheat sheet Raw .md
POST

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

GitHub playground

Create 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

9 body fields
  • summary · required · string — A short summary of the advisory.
  • description · required · string — A detailed description of what the advisory impacts.
  • cve_id · optional · string — The Common Vulnerabilities and Exposures (CVE) ID.
  • vulnerabilities · required · 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`.
  • start_private_fork · optional · boolean — Whether to create a temporary private fork of the repository to collaborate on a fix.