Skip to content

Commit

Permalink
feat: GET /enterprises/{enterprise}/code-scanning/alerts (#430)
Browse files Browse the repository at this point in the history
WIP octokit/openapi updated
  • Loading branch information
octokitbot committed Jul 27, 2022
1 parent 90fe94e commit 32db4e6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"description": "Shared TypeScript definitions for Octokit projects",
"dependencies": {
"@octokit/openapi-types": "^12.10.1"
"@octokit/openapi-types": "^12.11.0"
},
"scripts": {
"build": "pika-pack build",
Expand Down Expand Up @@ -96,7 +96,7 @@
]
},
"octokit": {
"openapi-version": "6.7.1"
"openapi-version": "6.8.0"
},
"renovate": {
"extends": [
Expand Down
19 changes: 19 additions & 0 deletions scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -3744,6 +3744,25 @@
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/enterprises/{enterprise}/code-scanning/alerts",
"documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_name" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_guid" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "before" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "after" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "page" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "state" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }
],
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/orgs/{org}/code-scanning/alerts",
Expand Down
7 changes: 7 additions & 0 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,13 @@ export interface Endpoints {
"/enterprises/{enterprise}/audit-log",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
*/
"GET /enterprises/{enterprise}/code-scanning/alerts": Operation<
"/enterprises/{enterprise}/code-scanning/alerts",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
*/
Expand Down

0 comments on commit 32db4e6

Please sign in to comment.