|
40968 | 40968 | }
|
40969 | 40969 | ],
|
40970 | 40970 | "summary": "List code scanning alerts for a repository",
|
40971 |
| - "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.", |
| 40971 | + "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.", |
40972 | 40972 | "tags": [
|
40973 | 40973 | "code-scanning"
|
40974 | 40974 | ],
|
|
40989 | 40989 | "categoryLabel": "Code scanning",
|
40990 | 40990 | "notes": [],
|
40991 | 40991 | "bodyParameters": [],
|
40992 |
| - "descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>", |
| 40992 | + "descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>", |
40993 | 40993 | "responses": [
|
40994 | 40994 | {
|
40995 | 40995 | "httpStatusCode": "200",
|
|
41146 | 41146 | }
|
41147 | 41147 | ],
|
41148 | 41148 | "summary": "Update a code scanning alert",
|
41149 |
| - "description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.", |
| 41149 | + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.", |
41150 | 41150 | "operationId": "code-scanning/update-alert",
|
41151 | 41151 | "tags": [
|
41152 | 41152 | "code-scanning"
|
|
41220 | 41220 | "category": "code-scanning",
|
41221 | 41221 | "categoryLabel": "Code scanning",
|
41222 | 41222 | "notes": [],
|
41223 |
| - "descriptionHTML": "<p>Updates the status of a single code scanning alert. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes.\nGitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>", |
| 41223 | + "descriptionHTML": "<p>Updates the status of a single code scanning alert. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>", |
41224 | 41224 | "bodyParameters": [
|
41225 | 41225 | {
|
41226 | 41226 | "description": "<p><strong>Required</strong>. Sets the state of the code scanning alert. Can be one of <code>open</code> or <code>dismissed</code>. You must provide <code>dismissed_reason</code> when you set the state to <code>dismissed</code>.</p>",
|
|
41338 | 41338 | }
|
41339 | 41339 | ],
|
41340 | 41340 | "summary": "List recent code scanning analyses for a repository",
|
41341 |
| - "description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.", |
| 41341 | + "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.", |
41342 | 41342 | "operationId": "code-scanning/list-recent-analyses",
|
41343 | 41343 | "tags": [
|
41344 | 41344 | "code-scanning"
|
|
41358 | 41358 | "categoryLabel": "Code scanning",
|
41359 | 41359 | "notes": [],
|
41360 | 41360 | "bodyParameters": [],
|
41361 |
| - "descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>", |
| 41361 | + "descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>", |
41362 | 41362 | "responses": [
|
41363 | 41363 | {
|
41364 | 41364 | "httpStatusCode": "200",
|
|
41405 | 41405 | }
|
41406 | 41406 | ],
|
41407 | 41407 | "summary": "Upload a SARIF file",
|
41408 |
| - "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.", |
| 41408 | + "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.", |
41409 | 41409 | "operationId": "code-scanning/upload-sarif",
|
41410 | 41410 | "tags": [
|
41411 | 41411 | "code-scanning"
|
|
41534 | 41534 | "description": "Response if the sarif field is too large"
|
41535 | 41535 | }
|
41536 | 41536 | ],
|
41537 |
| - "descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>", |
| 41537 | + "descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>", |
41538 | 41538 | "bodyParameters": [
|
41539 | 41539 | {
|
41540 | 41540 | "description": "<p><strong>Required</strong>. The commit SHA of the code scanning analysis file.</p>",
|
|
0 commit comments