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": "Lists all instances of the specified 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` read permission to use this endpoint.",
"description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.",
11754
+
"in": "PATH",
11755
+
"type": "integer",
11756
+
"required": true,
11757
+
"enum": null,
11758
+
"allowNull": false,
11759
+
"mapToData": null,
11760
+
"validation": null,
11761
+
"alias": null,
11762
+
"deprecated": null
11763
+
},
11764
+
{
11765
+
"name": "page",
11766
+
"description": "Page number of the results to fetch.",
11767
+
"in": "QUERY",
11768
+
"type": "integer",
11769
+
"required": false,
11770
+
"enum": null,
11771
+
"allowNull": false,
11772
+
"mapToData": null,
11773
+
"validation": null,
11774
+
"alias": null,
11775
+
"deprecated": null
11776
+
},
11777
+
{
11778
+
"name": "per_page",
11779
+
"description": "Results per page (max 100).",
11780
+
"in": "QUERY",
11781
+
"type": "integer",
11782
+
"required": false,
11783
+
"enum": null,
11784
+
"allowNull": false,
11785
+
"mapToData": null,
11786
+
"validation": null,
11787
+
"alias": null,
11788
+
"deprecated": null
11789
+
},
11790
+
{
11791
+
"name": "ref",
11792
+
"description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.",
11793
+
"in": "QUERY",
11794
+
"type": "string",
11795
+
"required": false,
11796
+
"enum": null,
11797
+
"allowNull": false,
11798
+
"mapToData": null,
11799
+
"validation": null,
11800
+
"alias": null,
11801
+
"deprecated": null
11802
+
}
11803
+
],
11804
+
"responses": [
11805
+
{
11806
+
"code": 200,
11807
+
"description": "Response",
11808
+
"examples": [
11809
+
{
11810
+
"data": "[{\"ref\":\"refs/heads/main\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:CodeQL-Build\",\"environment\":\"\",\"state\":\"open\",\"commit_sha\":\"39406e42cb832f683daa691dd652a8dc36ee8930\",\"message\":{\"text\":\"This path depends on a user-provided value.\"},\"location\":{\"path\":\"lib/ab12-gen.js\",\"start_line\":917,\"end_line\":917,\"start_column\":7,\"end_column\":18},\"classifications\":[\"library\"]},{\"ref\":\"refs/pull/3740/merge\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:CodeQL-Build\",\"environment\":\"\",\"state\":\"fixed\",\"commit_sha\":\"b09da05606e27f463a2b49287684b4ae777092f2\",\"message\":{\"text\":\"This suffix check is missing a length comparison to correctly handle lastIndexOf returning -1.\"},\"location\":{\"path\":\"app/script.js\",\"start_line\":2,\"end_line\":2,\"start_column\":10,\"end_column\":50},\"classifications\":[\"source\"]}]"
11811
+
}
11812
+
]
11813
+
},
11814
+
{
11815
+
"code": 403,
11816
+
"description": "Response if GitHub Advanced Security is not enabled for this repository",
11817
+
"examples": null
11818
+
},
11819
+
{ "code": 404, "description": "Resource not found", "examples": null },
0 commit comments