From f6e57f8a34eb7f310a2e513361ef912b79cc0966 Mon Sep 17 00:00:00 2001 From: Octokit Bot <33075676+octokitbot@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:24:06 +0000 Subject: [PATCH] WIP octokit/openapi updated --- docs/repos/createWebhook.md | 2 +- docs/repos/deleteWebhook.md | 2 +- docs/repos/getCustomPropertiesValues.md | 2 +- docs/repos/getWebhook.md | 2 +- docs/repos/getWebhookConfigForRepo.md | 2 +- docs/repos/getWebhookDelivery.md | 2 +- docs/repos/listWebhookDeliveries.md | 2 +- docs/repos/listWebhooks.md | 2 +- docs/repos/pingWebhook.md | 2 +- docs/repos/redeliverWebhookDelivery.md | 2 +- docs/repos/testPushWebhook.md | 2 +- docs/repos/updateWebhook.md | 2 +- docs/repos/updateWebhookConfigForRepo.md | 2 +- .../update-endpoints/generated/endpoints.json | 53 +++++++++---------- src/generated/method-types.ts | 2 +- 15 files changed, 39 insertions(+), 42 deletions(-) diff --git a/docs/repos/createWebhook.md b/docs/repos/createWebhook.md index 1bcf8d1cb..cac754913 100644 --- a/docs/repos/createWebhook.md +++ b/docs/repos/createWebhook.md @@ -86,4 +86,4 @@ Determines if notifications are sent when the webhook is triggered. Set to `true -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook). diff --git a/docs/repos/deleteWebhook.md b/docs/repos/deleteWebhook.md index 399a0a6a5..6edc4910b 100644 --- a/docs/repos/deleteWebhook.md +++ b/docs/repos/deleteWebhook.md @@ -45,4 +45,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook). diff --git a/docs/repos/getCustomPropertiesValues.md b/docs/repos/getCustomPropertiesValues.md index 2b483ddc8..10e19e4f0 100644 --- a/docs/repos/getCustomPropertiesValues.md +++ b/docs/repos/getCustomPropertiesValues.md @@ -9,7 +9,7 @@ type: API method # Get all custom property values for a repository Gets all custom property values that are set for a repository. -Users with admin access to the repository can use this endpoint. +Users with read access to the repository can use this endpoint. ```js octokit.rest.repos.getCustomPropertiesValues({ diff --git a/docs/repos/getWebhook.md b/docs/repos/getWebhook.md index 00507beb1..fc694dc30 100644 --- a/docs/repos/getWebhook.md +++ b/docs/repos/getWebhook.md @@ -47,4 +47,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook). diff --git a/docs/repos/getWebhookConfigForRepo.md b/docs/repos/getWebhookConfigForRepo.md index f6b727c4d..c5e995fbd 100644 --- a/docs/repos/getWebhookConfigForRepo.md +++ b/docs/repos/getWebhookConfigForRepo.md @@ -49,4 +49,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository). diff --git a/docs/repos/getWebhookDelivery.md b/docs/repos/getWebhookDelivery.md index e416d0fc3..d57a33420 100644 --- a/docs/repos/getWebhookDelivery.md +++ b/docs/repos/getWebhookDelivery.md @@ -51,4 +51,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook). diff --git a/docs/repos/listWebhookDeliveries.md b/docs/repos/listWebhookDeliveries.md index b890be834..9729b9cfd 100644 --- a/docs/repos/listWebhookDeliveries.md +++ b/docs/repos/listWebhookDeliveries.md @@ -60,4 +60,4 @@ Used for pagination: the starting delivery from which the page of deliveries is -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook). diff --git a/docs/repos/listWebhooks.md b/docs/repos/listWebhooks.md index 3dd7363b1..f138c83c5 100644 --- a/docs/repos/listWebhooks.md +++ b/docs/repos/listWebhooks.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#list-repository-webhooks). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#list-repository-webhooks). diff --git a/docs/repos/pingWebhook.md b/docs/repos/pingWebhook.md index 5319ee50b..7acb0f476 100644 --- a/docs/repos/pingWebhook.md +++ b/docs/repos/pingWebhook.md @@ -47,4 +47,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook). diff --git a/docs/repos/redeliverWebhookDelivery.md b/docs/repos/redeliverWebhookDelivery.md index dc292b9c5..ac5a810d4 100644 --- a/docs/repos/redeliverWebhookDelivery.md +++ b/docs/repos/redeliverWebhookDelivery.md @@ -51,4 +51,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook). diff --git a/docs/repos/testPushWebhook.md b/docs/repos/testPushWebhook.md index 0d052a431..327a947fe 100644 --- a/docs/repos/testPushWebhook.md +++ b/docs/repos/testPushWebhook.md @@ -49,4 +49,4 @@ The unique identifier of the hook. You can find this value in the `X-GitHub-Hook -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook). diff --git a/docs/repos/updateWebhook.md b/docs/repos/updateWebhook.md index 8e4db07b7..e3ba8e1d1 100644 --- a/docs/repos/updateWebhook.md +++ b/docs/repos/updateWebhook.md @@ -97,4 +97,4 @@ Determines if notifications are sent when the webhook is triggered. Set to `true -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook). diff --git a/docs/repos/updateWebhookConfigForRepo.md b/docs/repos/updateWebhookConfigForRepo.md index eb1535526..f1fd92507 100644 --- a/docs/repos/updateWebhookConfigForRepo.md +++ b/docs/repos/updateWebhookConfigForRepo.md @@ -67,4 +67,4 @@ If provided, the `secret` will be used as the `key` to generate the HMAC hex dig -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository). diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index 38c3281b0..af076894e 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -31542,7 +31542,8 @@ "data": "{\"name\":\"LICENSE\",\"path\":\"LICENSE\",\"sha\":\"401c59dcc4570b954dd6d345e76199e1f4e76266\",\"size\":1077,\"url\":\"https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master\",\"html_url\":\"https://github.com/benbalter/gman/blob/master/LICENSE\",\"git_url\":\"https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266\",\"download_url\":\"https://raw.githubusercontent.com/benbalter/gman/master/LICENSE?lab=true\",\"type\":\"file\",\"content\":\"VGhlIE1JVCBMaWNlbnNlIChNSVQpCgpDb3B5cmlnaHQgKGMpIDIwMTMgQmVu\\nIEJhbHRlcgoKUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBv\\nZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weSBvZgp0\\naGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkIGRvY3VtZW50YXRpb24gZmls\\nZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbCBpbgp0aGUgU29mdHdhcmUg\\nd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRh\\ndGlvbiB0aGUgcmlnaHRzIHRvCnVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwg\\ncHVibGlzaCwgZGlzdHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwg\\nY29waWVzIG9mCnRoZSBTb2Z0d2FyZSwgYW5kIHRvIHBlcm1pdCBwZXJzb25z\\nIHRvIHdob20gdGhlIFNvZnR3YXJlIGlzIGZ1cm5pc2hlZCB0byBkbyBzbywK\\nc3ViamVjdCB0byB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnM6CgpUaGUgYWJv\\ndmUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhpcyBwZXJtaXNzaW9uIG5vdGlj\\nZSBzaGFsbCBiZSBpbmNsdWRlZCBpbiBhbGwKY29waWVzIG9yIHN1YnN0YW50\\naWFsIHBvcnRpb25zIG9mIHRoZSBTb2Z0d2FyZS4KClRIRSBTT0ZUV0FSRSBJ\\nUyBQUk9WSURFRCAiQVMgSVMiLCBXSVRIT1VUIFdBUlJBTlRZIE9GIEFOWSBL\\nSU5ELCBFWFBSRVNTIE9SCklNUExJRUQsIElOQ0xVRElORyBCVVQgTk9UIExJ\\nTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZLCBG\\nSVRORVNTCkZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRSBBTkQgTk9OSU5GUklO\\nR0VNRU5ULiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SUyBPUgpDT1BZ\\nUklHSFQgSE9MREVSUyBCRSBMSUFCTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdF\\nUyBPUiBPVEhFUiBMSUFCSUxJVFksIFdIRVRIRVIKSU4gQU4gQUNUSU9OIE9G\\nIENPTlRSQUNULCBUT1JUIE9SIE9USEVSV0lTRSwgQVJJU0lORyBGUk9NLCBP\\nVVQgT0YgT1IgSU4KQ09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBU\\nSEUgVVNFIE9SIE9USEVSIERFQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS4K\\n\",\"encoding\":\"base64\",\"_links\":{\"self\":\"https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master\",\"git\":\"https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266\",\"html\":\"https://github.com/benbalter/gman/blob/master/LICENSE\"},\"license\":{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZW1pdA==\"}}" } ] - } + }, + { "code": 404, "description": "Resource not found", "examples": null } ], "renamed": null }, @@ -34282,13 +34283,9 @@ ], "responses": [ { - "code": 200, - "description": "Response", - "examples": [ - { - "data": "[{\"repository_id\":1296269,\"repository_name\":\"Hello-World\",\"repository_full_name\":\"octocat/Hello-World\",\"properties\":[{\"property_name\":\"environment\",\"value\":\"production\"},{\"property_name\":\"service\",\"value\":\"web\"},{\"property_name\":\"team\",\"value\":\"octocat\"}]}]" - } - ] + "code": 204, + "description": "No Content when custom property values are successfully created or updated", + "examples": null }, { "code": 403, "description": "Forbidden", "examples": null }, { "code": 404, "description": "Resource not found", "examples": null } @@ -52746,7 +52743,7 @@ "deprecationDate": null, "removalDate": null, "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -54330,7 +54327,7 @@ "deprecationDate": null, "removalDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -56825,7 +56822,7 @@ "isDeprecated": false, "deprecationDate": null, "removalDate": null, - "description": "Gets all custom property values that are set for a repository.\nUsers with admin access to the repository can use this endpoint.", + "description": "Gets all custom property values that are set for a repository.\nUsers with read access to the repository can use this endpoint.", "documentationUrl": "https://docs.github.com/rest/repos/properties#get-all-custom-property-values-for-a-repository", "previews": [], "headers": [], @@ -59151,7 +59148,7 @@ "deprecationDate": null, "removalDate": null, "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository).\"", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -59219,7 +59216,7 @@ "deprecationDate": null, "removalDate": null, "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository", "previews": [], "headers": [], "parameters": [ @@ -59286,7 +59283,7 @@ "deprecationDate": null, "removalDate": null, "description": "Returns a delivery for a webhook configured in a repository.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -62168,7 +62165,7 @@ "deprecationDate": null, "removalDate": null, "description": "Returns a list of webhook deliveries for a webhook configured in a repository.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -62281,7 +62278,7 @@ "deprecationDate": null, "removalDate": null, "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#list-repository-webhooks", "previews": [], "headers": [], "parameters": [ @@ -62553,7 +62550,7 @@ "deprecationDate": null, "removalDate": null, "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -62613,7 +62610,7 @@ "deprecationDate": null, "removalDate": null, "description": "Redeliver a webhook delivery for a webhook configured in a repository.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -63775,7 +63772,7 @@ "deprecationDate": null, "removalDate": null, "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -66991,7 +66988,7 @@ "deprecationDate": null, "removalDate": null, "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository).\"", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook", "previews": [], "headers": [], "parameters": [ @@ -67207,7 +67204,7 @@ "deprecationDate": null, "removalDate": null, "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository", "previews": [], "headers": [], "parameters": [ @@ -69126,7 +69123,7 @@ "description": "Response", "examples": [ { - "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A newly discovered vulnerability\",\"description\":\"A more in-depth description of what the problem is.\",\"severity\":\"high\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":null,\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":null}],\"state\":\"triage\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":null,\"closed_at\":null,\"withdrawn_at\":null,\"submission\":{\"accepted\":false},\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"npm\",\"name\":\"a-package\"},\"vulnerable_version_range\":\"< 1.0.0\",\"patched_versions\":\"1.0.0\",\"vulnerable_functions\":[\"important_function\"]}],\"cvss\":null,\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"finder\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"finder\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}" + "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A newly discovered vulnerability\",\"description\":\"A more in-depth description of what the problem is.\",\"severity\":\"high\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":null,\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":null}],\"state\":\"triage\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":null,\"closed_at\":null,\"withdrawn_at\":null,\"submission\":{\"accepted\":false},\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"npm\",\"name\":\"a-package\"},\"vulnerable_version_range\":\"< 1.0.0\",\"patched_versions\":\"1.0.0\",\"vulnerable_functions\":[\"important_function\"]}],\"cvss\":null,\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"finder\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"finder\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":null}" } ] }, @@ -69420,7 +69417,7 @@ "description": "Response", "examples": [ { - "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}" + "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-abcd-1234-efgh\",\"full_name\":\"octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}\"}}" } ] }, @@ -69608,7 +69605,7 @@ "description": "Response", "examples": [ { - "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}" + "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-abcd-1234-efgh\",\"full_name\":\"octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}\"}}" } ] }, @@ -69984,7 +69981,7 @@ "description": "Response", "examples": [ { - "data": "[{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]},{\"ghsa_id\":\"GHSA-1234-5678-9012\",\"cve_id\":\"CVE-2051-0000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-1234-5678-9012\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-1234-5678-9012\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"low\",\"author\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"monalisa\",\"id\":3,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monalisa\",\"html_url\":\"https://github.com/monalisa\",\"followers_url\":\"https://api.github.com/users/monalisa/followers\",\"following_url\":\"https://api.github.com/users/monalisa/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monalisa/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monalisa/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monalisa/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monalisa/orgs\",\"repos_url\":\"https://api.github.com/users/monalisa/repos\",\"events_url\":\"https://api.github.com/users/monalisa/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monalisa/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-1234-5678-9012\"},{\"type\":\"CVE\",\"value\":\"CVE-2051-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-03T00:00:00Z\",\"updated_at\":\"2020-01-04T00:00:00Z\",\"published_at\":\"2020-01-04T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":[{\"accepted\":true}],\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N\",\"score\":1.6},\"cwes\":[{\"cwe_id\":\"CWE-456\",\"name\":\"A CWE 2.0\"}],\"cwe_ids\":[\"CWE-456\"],\"credits\":[{\"login\":\"monauser\",\"type\":\"reporter\"}],\"credits_detailed\":[{\"user\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"reporter\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}]" + "data": "[{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":null},{\"ghsa_id\":\"GHSA-1234-5678-9012\",\"cve_id\":\"CVE-2051-0000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-1234-5678-9012\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-1234-5678-9012\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"low\",\"author\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"monalisa\",\"id\":3,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monalisa\",\"html_url\":\"https://github.com/monalisa\",\"followers_url\":\"https://api.github.com/users/monalisa/followers\",\"following_url\":\"https://api.github.com/users/monalisa/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monalisa/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monalisa/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monalisa/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monalisa/orgs\",\"repos_url\":\"https://api.github.com/users/monalisa/repos\",\"events_url\":\"https://api.github.com/users/monalisa/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monalisa/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-1234-5678-9012\"},{\"type\":\"CVE\",\"value\":\"CVE-2051-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-03T00:00:00Z\",\"updated_at\":\"2020-01-04T00:00:00Z\",\"published_at\":\"2020-01-04T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":{\"accepted\":true},\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N\",\"score\":1.6},\"cwes\":[{\"cwe_id\":\"CWE-456\",\"name\":\"A CWE 2.0\"}],\"cwe_ids\":[\"CWE-456\"],\"credits\":[{\"login\":\"monauser\",\"type\":\"reporter\"}],\"credits_detailed\":[{\"user\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"reporter\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-1234-5678-9012\",\"full_name\":\"octo-org/octo-repo-ghsa-1234-5678-9012\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-1234-5678-9012\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha}\"}}]" } ] }, @@ -70119,7 +70116,7 @@ "description": "Response", "examples": [ { - "data": "[{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]},{\"ghsa_id\":\"GHSA-1234-5678-9012\",\"cve_id\":\"CVE-2051-0000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-1234-5678-9012\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-1234-5678-9012\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"low\",\"author\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"monalisa\",\"id\":3,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monalisa\",\"html_url\":\"https://github.com/monalisa\",\"followers_url\":\"https://api.github.com/users/monalisa/followers\",\"following_url\":\"https://api.github.com/users/monalisa/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monalisa/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monalisa/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monalisa/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monalisa/orgs\",\"repos_url\":\"https://api.github.com/users/monalisa/repos\",\"events_url\":\"https://api.github.com/users/monalisa/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monalisa/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-1234-5678-9012\"},{\"type\":\"CVE\",\"value\":\"CVE-2051-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-03T00:00:00Z\",\"updated_at\":\"2020-01-04T00:00:00Z\",\"published_at\":\"2020-01-04T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":[{\"accepted\":true}],\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N\",\"score\":1.6},\"cwes\":[{\"cwe_id\":\"CWE-456\",\"name\":\"A CWE 2.0\"}],\"cwe_ids\":[\"CWE-456\"],\"credits\":[{\"login\":\"monauser\",\"type\":\"reporter\"}],\"credits_detailed\":[{\"user\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"reporter\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}]" + "data": "[{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":null},{\"ghsa_id\":\"GHSA-1234-5678-9012\",\"cve_id\":\"CVE-2051-0000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-1234-5678-9012\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-1234-5678-9012\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"low\",\"author\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"monalisa\",\"id\":3,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monalisa\",\"html_url\":\"https://github.com/monalisa\",\"followers_url\":\"https://api.github.com/users/monalisa/followers\",\"following_url\":\"https://api.github.com/users/monalisa/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monalisa/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monalisa/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monalisa/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monalisa/orgs\",\"repos_url\":\"https://api.github.com/users/monalisa/repos\",\"events_url\":\"https://api.github.com/users/monalisa/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monalisa/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-1234-5678-9012\"},{\"type\":\"CVE\",\"value\":\"CVE-2051-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-03T00:00:00Z\",\"updated_at\":\"2020-01-04T00:00:00Z\",\"published_at\":\"2020-01-04T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":{\"accepted\":true},\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N\",\"score\":1.6},\"cwes\":[{\"cwe_id\":\"CWE-456\",\"name\":\"A CWE 2.0\"}],\"cwe_ids\":[\"CWE-456\"],\"credits\":[{\"login\":\"monauser\",\"type\":\"reporter\"}],\"credits_detailed\":[{\"user\":{\"login\":\"monauser\",\"id\":2,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/monauser\",\"html_url\":\"https://github.com/monauser\",\"followers_url\":\"https://api.github.com/users/monauser/followers\",\"following_url\":\"https://api.github.com/users/monauser/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/monauser/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/monauser/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/monauser/subscriptions\",\"organizations_url\":\"https://api.github.com/users/monauser/orgs\",\"repos_url\":\"https://api.github.com/users/monauser/repos\",\"events_url\":\"https://api.github.com/users/monauser/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/monauser/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"reporter\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-1234-5678-9012\",\"full_name\":\"octo-org/octo-repo-ghsa-1234-5678-9012\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-1234-5678-9012\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha}\"}}]" } ] }, @@ -70461,10 +70458,10 @@ "description": "Response", "examples": [ { - "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}" + "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-abcd-1234-efgh\",\"full_name\":\"octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}\"}}" }, { - "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}]}" + "data": "{\"ghsa_id\":\"GHSA-abcd-1234-efgh\",\"cve_id\":\"CVE-2050-00000\",\"url\":\"https://api.github.com/repos/repo/a-package/security-advisories/GHSA-abcd-1234-efgh\",\"html_url\":\"https://github.com/repo/a-package/security/advisories/GHSA-abcd-1234-efgh\",\"summary\":\"A short summary of the advisory.\",\"description\":\"A detailed description of what the advisory entails.\",\"severity\":\"critical\",\"author\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"publisher\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"identifiers\":[{\"type\":\"GHSA\",\"value\":\"GHSA-abcd-1234-efgh\"},{\"type\":\"CVE\",\"value\":\"CVE-2050-00000\"}],\"state\":\"published\",\"created_at\":\"2020-01-01T00:00:00Z\",\"updated_at\":\"2020-01-02T00:00:00Z\",\"published_at\":\"2020-01-03T00:00:00Z\",\"closed_at\":null,\"withdrawn_at\":null,\"submission\":null,\"vulnerabilities\":[{\"package\":{\"ecosystem\":\"pip\",\"name\":\"a-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.1\",\"patched_versions\":\"1.0.1\",\"vulnerable_functions\":[\"function1\"]},{\"package\":{\"ecosystem\":\"pip\",\"name\":\"another-package\"},\"vulnerable_version_range\":\">= 1.0.0, < 1.0.2\",\"patched_versions\":\"1.0.2\",\"vulnerable_functions\":[\"function2\"]}],\"cvss\":{\"vector_string\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"score\":9.8},\"cwes\":[{\"cwe_id\":\"CWE-123\",\"name\":\"A CWE\"}],\"cwe_ids\":[\"CWE-123\"],\"credits\":[{\"login\":\"octocat\",\"type\":\"analyst\"}],\"credits_detailed\":[{\"user\":{\"login\":\"octocat\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octocat_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octocat\",\"html_url\":\"https://github.com/octocat\",\"followers_url\":\"https://api.github.com/users/octocat/followers\",\"following_url\":\"https://api.github.com/users/octocat/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octocat/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octocat/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octocat/orgs\",\"repos_url\":\"https://api.github.com/users/octocat/repos\",\"events_url\":\"https://api.github.com/users/octocat/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octocat/received_events\",\"type\":\"User\",\"site_admin\":false},\"type\":\"analyst\",\"state\":\"accepted\"}],\"collaborating_users\":[{\"login\":\"octokitten\",\"id\":1,\"node_id\":\"MDQ6VXNlcjE=\",\"avatar_url\":\"https://github.com/images/error/octokitten_happy.gif\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octokitten\",\"html_url\":\"https://github.com/octokitten\",\"followers_url\":\"https://api.github.com/users/octokitten/followers\",\"following_url\":\"https://api.github.com/users/octokitten/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octokitten/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octokitten/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octokitten/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octokitten/orgs\",\"repos_url\":\"https://api.github.com/users/octokitten/repos\",\"events_url\":\"https://api.github.com/users/octokitten/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octokitten/received_events\",\"type\":\"User\",\"site_admin\":false}],\"collaborating_teams\":[{\"name\":\"Justice League\",\"id\":1,\"node_id\":\"MDQ6VGVhbTE=\",\"slug\":\"justice-league\",\"description\":\"A great team.\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/teams/1\",\"html_url\":\"https://github.com/orgs/github/teams/justice-league\",\"members_url\":\"https://api.github.com/teams/1/members{/member}\",\"repositories_url\":\"https://api.github.com/teams/1/repos\",\"permission\":\"admin\",\"parent\":null}],\"private_fork\":{\"id\":217723378,\"node_id\":\"MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=\",\"name\":\"octo-repo-ghsa-abcd-1234-efgh\",\"full_name\":\"octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"owner\":{\"login\":\"octo-org\",\"id\":6811672,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/6811672?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/octo-org\",\"html_url\":\"https://github.com/octo-org\",\"followers_url\":\"https://api.github.com/users/octo-org/followers\",\"following_url\":\"https://api.github.com/users/octo-org/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/octo-org/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/octo-org/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/octo-org/subscriptions\",\"organizations_url\":\"https://api.github.com/users/octo-org/orgs\",\"repos_url\":\"https://api.github.com/users/octo-org/repos\",\"events_url\":\"https://api.github.com/users/octo-org/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/octo-org/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"private\":true,\"html_url\":\"https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"description\":null,\"fork\":false,\"url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh\",\"archive_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}\",\"assignees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}\",\"blobs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}\",\"branches_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}\",\"collaborators_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}\",\"comments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}\",\"commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}\",\"compare_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}\",\"contents_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}\",\"contributors_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors\",\"deployments_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments\",\"downloads_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads\",\"events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events\",\"forks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks\",\"git_commits_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}\",\"hooks_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks\",\"issue_comment_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}\",\"issue_events_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}\",\"issues_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}\",\"keys_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}\",\"labels_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}\",\"languages_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages\",\"merges_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges\",\"milestones_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}\",\"pulls_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}\",\"releases_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}\",\"stargazers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers\",\"statuses_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}\",\"subscribers_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers\",\"subscription_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription\",\"tags_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags\",\"teams_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams\",\"trees_url\":\"https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}\"}}" } ] }, diff --git a/src/generated/method-types.ts b/src/generated/method-types.ts index d7d9773b8..363f575c1 100644 --- a/src/generated/method-types.ts +++ b/src/generated/method-types.ts @@ -10014,7 +10014,7 @@ export type RestEndpointMethods = { }; /** * Gets all custom property values that are set for a repository. - * Users with admin access to the repository can use this endpoint. + * Users with read access to the repository can use this endpoint. */ getCustomPropertiesValues: { (