@@ -1362,12 +1362,12 @@ The following sets of tools are available:
13621362 - ** Accepted OAuth Scopes** : ` repo ` , ` security_events `
13631363 - ` credits ` : Users credited for the advisory. (object[ ] , optional)
13641364 - ` cveId ` : The CVE ID to assign to the advisory. (string, optional)
1365- - ` cvssVectorString ` : The CVSS vector string for the advisory. (string, optional)
1365+ - ` cvssVectorString ` : The CVSS vector string for the advisory. Exactly one of severity or cvssVectorString is required. (string, optional)
13661366 - ` cweIds ` : Common Weakness Enumeration IDs (for example, [ "CWE-79"] ). (string[ ] , optional)
13671367 - ` description ` : A detailed description of the security advisory. (string, required)
13681368 - ` owner ` : The owner of the repository. (string, required)
13691369 - ` repo ` : The name of the repository. (string, required)
1370- - ` severity ` : The severity of the advisory. (string, optional)
1370+ - ` severity ` : The severity of the advisory. Exactly one of severity or cvssVectorString is required. (string, optional)
13711371 - ` startPrivateFork ` : Whether to create a temporary private fork for collaborating on a fix. (boolean, optional)
13721372 - ` summary ` : A short summary of the security advisory. (string, required)
13731373 - ` vulnerabilities ` : Affected products and version ranges. (object[ ] , required)
@@ -1421,13 +1421,13 @@ The following sets of tools are available:
14211421 - ** Accepted OAuth Scopes** : ` repo ` , ` security_events `
14221422 - ` credits ` : Users credited for the advisory. (object[ ] , optional)
14231423 - ` cveId ` : The CVE ID to assign to the advisory. (string, optional)
1424- - ` cvssVectorString ` : The CVSS vector string for the advisory. (string, optional)
1424+ - ` cvssVectorString ` : The CVSS vector string for the advisory. Cannot be set together with severity. (string, optional)
14251425 - ` cweIds ` : Common Weakness Enumeration IDs (for example, [ "CWE-79"] ). (string[ ] , optional)
14261426 - ` description ` : A detailed description of the security advisory. (string, optional)
14271427 - ` ghsaId ` : GitHub Security Advisory ID (format: GHSA-xxxx -xxxx-xxxx). (string, required)
14281428 - ` owner ` : The owner of the repository. (string, required)
14291429 - ` repo ` : The name of the repository. (string, required)
1430- - ` severity ` : The severity of the advisory. (string, optional)
1430+ - ` severity ` : The severity of the advisory. Cannot be set together with cvssVectorString. (string, optional)
14311431 - ` state ` : The advisory state. Set to "published" to publish the advisory. (string, optional)
14321432 - ` summary ` : A short summary of the security advisory. (string, optional)
14331433 - ` vulnerabilities ` : Affected products and version ranges. (object[ ] , optional)
0 commit comments