You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Can be one of `created`, `updated`, `number`.
17720
+
in: query
17721
+
required: false
17722
+
schema:
17723
+
type: string
17724
+
enum:
17725
+
- created
17726
+
- updated
17727
+
- number
17728
+
default: number
17717
17729
- name: state
17718
17730
description: Set to `open`, `fixed`, or `dismissed` to list code scanning
17719
17731
alerts in a specific state.
@@ -17790,8 +17802,10 @@ paths:
17790
17802
patch:
17791
17803
summary: Update a code scanning alert
17792
17804
description: Updates the status of a single code scanning alert. You must use
17793
-
an access token with the `security_events` scope to use this endpoint. GitHub
17794
-
Apps must have the `security_events` write permission to use this endpoint.
17805
+
an access token with the `security_events` scope to use this endpoint with
17806
+
private repositories. You can also use tokens with the `public_repo` scope
17807
+
for public repositories only. GitHub Apps must have the `security_events`
17808
+
write permission to use this endpoint.
17795
17809
operationId: code-scanning/update-alert
17796
17810
tags:
17797
17811
- code-scanning
@@ -18019,7 +18033,7 @@ paths:
18019
18033
description: |-
18020
18034
Deletes a specified code scanning analysis from a repository. For
18021
18035
private repositories, you must use an access token with the `repo` scope. For public repositories,
18022
-
you must use an access token with `public_repo` and `repo:security_events` scopes.
18036
+
you must use an access token with `public_repo` scope.
18023
18037
GitHub Apps must have the `security_events` write permission to use this endpoint.
18024
18038
18025
18039
You can delete one analysis at a time.
@@ -18136,7 +18150,7 @@ paths:
18136
18150
post:
18137
18151
summary: Upload an analysis as SARIF data
18138
18152
description: |-
18139
-
Uploads SARIF data 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.
18153
+
Uploads SARIF data 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 for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.
18140
18154
18141
18155
There are two places where you can upload code scanning results.
18142
18156
- If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
@@ -24823,8 +24837,7 @@ paths:
24823
24837
"/repos/{owner}/{repo}/lfs":
24824
24838
put:
24825
24839
summary: Enable Git LFS for a repository
24826
-
description: "**Note:** The Git LFS API endpoints are currently in beta and
24827
-
are subject to change."
24840
+
description: ''
24828
24841
operationId: repos/enable-lfs-for-repo
24829
24842
tags:
24830
24843
- repos
@@ -24851,8 +24864,7 @@ paths:
24851
24864
subcategory: lfs
24852
24865
delete:
24853
24866
summary: Disable Git LFS for a repository
24854
-
description: "**Note:** The Git LFS API endpoints are currently in beta and
24855
-
are subject to change."
24867
+
description: ''
24856
24868
operationId: repos/disable-lfs-for-repo
24857
24869
tags:
24858
24870
- repos
@@ -24904,10 +24916,8 @@ paths:
24904
24916
"/repos/{owner}/{repo}/merge-upstream":
24905
24917
post:
24906
24918
summary: Sync a fork branch with the upstream repository
24907
-
description: |-
24908
-
**Note:** This endpoint is currently in beta and subject to change.
24909
-
24910
-
Sync a branch of a forked repository to keep it up-to-date with the upstream repository.
24919
+
description: Sync a branch of a forked repository to keep it up-to-date with
24920
+
the upstream repository.
24911
24921
tags:
24912
24922
- repos
24913
24923
operationId: repos/merge-upstream
@@ -48199,11 +48209,23 @@ components:
48199
48209
- closed
48200
48210
- dismissed
48201
48211
- fixed
48212
+
alert-updated-at:
48213
+
type: string
48214
+
description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
48215
+
format: date-time
48216
+
readOnly: true
48202
48217
alert-instances-url:
48203
48218
type: string
48204
48219
description: The REST API URL for fetching the list of instances for an alert.
48205
48220
format: uri
48206
48221
readOnly: true
48222
+
code-scanning-alert-fixed-at:
48223
+
type: string
48224
+
description: 'The time that the alert was no longer detected and was considered
48225
+
fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
48226
+
format: date-time
48227
+
readOnly: true
48228
+
nullable: true
48207
48229
code-scanning-alert-dismissed-at:
48208
48230
type: string
48209
48231
description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
0 commit comments