Skip to content

Commit 7fde5e4

Browse files
authored
Merge pull request #19006 from github/repo-sync
repo sync
2 parents 6ffa559 + 52b6a21 commit 7fde5e4

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

lib/rest/static/decorated/api.github.com.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175275,7 +175275,7 @@
175275175275
},
175276175276
{
175277175277
"name": "state",
175278-
"description": "<p>Set to <code>open</code>, <code>closed</code>, <code>fixed</code>, or <code>dismissed</code> to list code scanning alerts in a specific state.</p>",
175278+
"description": "<p>If specified, only code scanning alerts with this state will be returned.</p>",
175279175279
"in": "query",
175280175280
"required": false,
175281175281
"schema": {
@@ -176565,7 +176565,7 @@
176565176565
}
176566176566
],
176567176567
"previews": [],
176568-
"descriptionHTML": "<p>Lists all code scanning alerts for the default branch (usually <code>main</code>\nor <code>master</code>) for all eligible repositories in an organization.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the <code>repo</code> scope or <code>security_events</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
176568+
"descriptionHTML": "<p>Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"<a href=\"https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization\">Managing security managers in your organization</a>.\"</p>\n<p>To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the <code>repo</code> scope or <code>security_events</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
176569176569
"statusCodes": [
176570176570
{
176571176571
"httpStatusCode": "200",
@@ -176692,7 +176692,7 @@
176692176692
},
176693176693
{
176694176694
"name": "state",
176695-
"description": "<p>Set to <code>open</code>, <code>closed</code>, <code>fixed</code>, or <code>dismissed</code> to list code scanning alerts in a specific state.</p>",
176695+
"description": "<p>If specified, only code scanning alerts with this state will be returned.</p>",
176696176696
"in": "query",
176697176697
"required": false,
176698176698
"schema": {
@@ -177268,7 +177268,7 @@
177268177268
}
177269177269
],
177270177270
"previews": [],
177271-
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code>\nor <code>master</code>). You must use an access token with the <code>security_events</code> scope to use\nthis endpoint with private repos, the <code>public_repo</code> scope also grants permission to read\nsecurity events on public repos only. GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used <code>ref</code> in the request).</p>",
177271+
"descriptionHTML": "<p>Lists code scanning alerts.</p>\n<p>To use this endpoint, you must use an access token with the <code>security_events</code> scope or, for alerts from public repositories only, an access token with the <code>public_repo</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used <code>ref</code> in the request).</p>",
177272177272
"statusCodes": [
177273177273
{
177274177274
"httpStatusCode": "200",

lib/rest/static/decorated/ghes-3.4.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161539,7 +161539,7 @@
161539161539
},
161540161540
{
161541161541
"name": "state",
161542-
"description": "<p>Set to <code>open</code>, <code>closed</code>, <code>fixed</code>, or <code>dismissed</code> to list code scanning alerts in a specific state.</p>",
161542+
"description": "<p>If specified, only code scanning alerts with this state will be returned.</p>",
161543161543
"in": "query",
161544161544
"required": false,
161545161545
"schema": {
@@ -162105,7 +162105,7 @@
162105162105
}
162106162106
],
162107162107
"previews": [],
162108-
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code>\nor <code>master</code>). You must use an access token with the <code>security_events</code> scope to use\nthis endpoint with private repos, the <code>public_repo</code> scope also grants permission to read\nsecurity events on public repos only. GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used <code>ref</code> in the request).</p>",
162108+
"descriptionHTML": "<p>Lists code scanning alerts.</p>\n<p>To use this endpoint, you must use an access token with the <code>security_events</code> scope or, for alerts from public repositories only, an access token with the <code>public_repo</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used <code>ref</code> in the request).</p>",
162109162109
"statusCodes": [
162110162110
{
162111162111
"httpStatusCode": "200",

lib/rest/static/decorated/ghes-3.5.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170064,7 +170064,7 @@
170064170064
},
170065170065
{
170066170066
"name": "state",
170067-
"description": "<p>Set to <code>open</code>, <code>closed</code>, <code>fixed</code>, or <code>dismissed</code> to list code scanning alerts in a specific state.</p>",
170067+
"description": "<p>If specified, only code scanning alerts with this state will be returned.</p>",
170068170068
"in": "query",
170069170069
"required": false,
170070170070
"schema": {
@@ -171344,7 +171344,7 @@
171344171344
}
171345171345
],
171346171346
"previews": [],
171347-
"descriptionHTML": "<p>Lists all code scanning alerts for the default branch (usually <code>main</code>\nor <code>master</code>) for all eligible repositories in an organization.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the <code>repo</code> scope or <code>security_events</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
171347+
"descriptionHTML": "<p>Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"<a href=\"https://docs.github.com/[email protected]/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization\">Managing security managers in your organization</a>.\"</p>\n<p>To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the <code>repo</code> scope or <code>security_events</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
171348171348
"statusCodes": [
171349171349
{
171350171350
"httpStatusCode": "200",
@@ -171471,7 +171471,7 @@
171471171471
},
171472171472
{
171473171473
"name": "state",
171474-
"description": "<p>Set to <code>open</code>, <code>closed</code>, <code>fixed</code>, or <code>dismissed</code> to list code scanning alerts in a specific state.</p>",
171474+
"description": "<p>If specified, only code scanning alerts with this state will be returned.</p>",
171475171475
"in": "query",
171476171476
"required": false,
171477171477
"schema": {
@@ -172037,7 +172037,7 @@
172037172037
}
172038172038
],
172039172039
"previews": [],
172040-
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code>\nor <code>master</code>). You must use an access token with the <code>security_events</code> scope to use\nthis endpoint with private repos, the <code>public_repo</code> scope also grants permission to read\nsecurity events on public repos only. GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used <code>ref</code> in the request).</p>",
172040+
"descriptionHTML": "<p>Lists code scanning alerts.</p>\n<p>To use this endpoint, you must use an access token with the <code>security_events</code> scope or, for alerts from public repositories only, an access token with the <code>public_repo</code> scope.</p>\n<p>GitHub Apps must have the <code>security_events</code> read\npermission to use this endpoint.</p>\n<p>The response includes a <code>most_recent_instance</code> object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used <code>ref</code> in the request).</p>",
172041172041
"statusCodes": [
172042172042
{
172043172043
"httpStatusCode": "200",

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80939,7 +80939,7 @@
8093980939
"/orgs/{org}/code-scanning/alerts": {
8094080940
"get": {
8094180941
"summary": "List code scanning alerts for an organization",
80942-
"description": "Lists all code scanning alerts for the default branch (usually `main`\nor `master`) for all eligible repositories in an organization.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.",
80942+
"description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.",
8094380943
"tags": [
8094480944
"code-scanning"
8094580945
],
@@ -81033,7 +81033,7 @@
8103381033
},
8103481034
{
8103581035
"name": "state",
81036-
"description": "Set to `open`, `closed`, `fixed`, or `dismissed` to list code scanning alerts in a specific state.",
81036+
"description": "If specified, only code scanning alerts with this state will be returned.",
8103781037
"in": "query",
8103881038
"required": false,
8103981039
"schema": {
@@ -241476,7 +241476,7 @@
241476241476
"/repos/{owner}/{repo}/code-scanning/alerts": {
241477241477
"get": {
241478241478
"summary": "List code scanning alerts for a repository",
241479-
"description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint with private repos, the `public_repo` scope also grants permission to read\nsecurity events on public repos only. GitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).",
241479+
"description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).",
241480241480
"tags": [
241481241481
"code-scanning"
241482241482
],
@@ -241585,7 +241585,7 @@
241585241585
},
241586241586
{
241587241587
"name": "state",
241588-
"description": "Set to `open`, `closed`, `fixed`, or `dismissed` to list code scanning alerts in a specific state.",
241588+
"description": "If specified, only code scanning alerts with this state will be returned.",
241589241589
"in": "query",
241590241590
"required": false,
241591241591
"schema": {

0 commit comments

Comments
 (0)