Skip to content

Commit 32db4e6

Browse files
authoredJul 27, 2022
feat: GET /enterprises/{enterprise}/code-scanning/alerts (#430)
WIP octokit/openapi updated
1 parent 90fe94e commit 32db4e6

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed
 

‎package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"description": "Shared TypeScript definitions for Octokit projects",
88
"dependencies": {
9-
"@octokit/openapi-types": "^12.10.1"
9+
"@octokit/openapi-types": "^12.11.0"
1010
},
1111
"scripts": {
1212
"build": "pika-pack build",
@@ -96,7 +96,7 @@
9696
]
9797
},
9898
"octokit": {
99-
"openapi-version": "6.7.1"
99+
"openapi-version": "6.8.0"
100100
},
101101
"renovate": {
102102
"extends": [

‎scripts/update-endpoints/generated/endpoints.json

+19
Original file line numberDiff line numberDiff line change
@@ -3744,6 +3744,25 @@
37443744
"previews": [],
37453745
"renamed": null
37463746
},
3747+
{
3748+
"method": "GET",
3749+
"url": "/enterprises/{enterprise}/code-scanning/alerts",
3750+
"documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise",
3751+
"parameters": [
3752+
{ "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" },
3753+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_name" },
3754+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_guid" },
3755+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "before" },
3756+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "after" },
3757+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "page" },
3758+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" },
3759+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" },
3760+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "state" },
3761+
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }
3762+
],
3763+
"previews": [],
3764+
"renamed": null
3765+
},
37473766
{
37483767
"method": "GET",
37493768
"url": "/orgs/{org}/code-scanning/alerts",

‎src/generated/Endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,13 @@ export interface Endpoints {
12621262
"/enterprises/{enterprise}/audit-log",
12631263
"get"
12641264
>;
1265+
/**
1266+
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
1267+
*/
1268+
"GET /enterprises/{enterprise}/code-scanning/alerts": Operation<
1269+
"/enterprises/{enterprise}/code-scanning/alerts",
1270+
"get"
1271+
>;
12651272
/**
12661273
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
12671274
*/

0 commit comments

Comments
 (0)
Please sign in to comment.