diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md b/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md index 1e0ed34c1fc8..9c65ca77eaff 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md +++ b/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md @@ -40,7 +40,7 @@ The following is a list of official partner implementations for deployment prote * New Relic: for more information, see [the New Relic app](https://github.com/apps/new-relic-gate) in the {% data variables.product.prodname_marketplace %}. * NCM NodeSource: for more information, see [the NCM NodeSource app](https://github.com/apps/ncm-nodesource) in the {% data variables.product.prodname_marketplace %}. * Sentry: for more information, see [the Sentry Deployment Gate app](https://github.com/apps/sentry-deployment-gate) in the {% data variables.product.prodname_marketplace %}. -* ServiceNow: for more information, see [GitHub integration with DevOps Change Velocity](https://docs.servicenow.com/bundle/utah-devops/page/product/enterprise-dev-ops/concept/github-integration-dev-ops.html) in the ServiceNow documentation. +* ServiceNow: for more information, see [GitHub integration with DevOps Change Velocity](https://www.servicenow.com/docs/bundle/utah-devops/page/product/enterprise-dev-ops/concept/github-integration-dev-ops.html) in the ServiceNow documentation. ## Prerequisites diff --git a/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md b/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md index d89219d88be2..adebfcbd13eb 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md +++ b/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md @@ -54,7 +54,7 @@ Each time you create a new release on {% data variables.product.product_name %}, In the example workflow below, we use the Docker `login-action` and `build-push-action` actions to build the Docker image and, if the build succeeds, push the built image to Docker Hub. -To push to Docker Hub, you will need to have a Docker Hub account, and have a Docker Hub repository created. For more information, see "[Pushing a Docker container image to Docker Hub](https://docs.docker.com/docker-hub/repos/#pushing-a-docker-container-image-to-docker-hub)" in the Docker documentation. +To push to Docker Hub, you will need to have a Docker Hub account, and have a Docker Hub repository created. For more information, see "[Pushing a Docker container image to Docker Hub](https://docs.docker.com/docker-hub/quickstart/#step-3-build-and-push-an-image-to-docker-hub)" in the Docker documentation. The `login-action` options required for Docker Hub are: * `username` and `password`: This is your Docker Hub username and password. We recommend storing your Docker Hub username and password as secrets so they aren't exposed in your workflow file. For more information, see "[AUTOTITLE](/actions/security-guides/using-secrets-in-github-actions)." diff --git a/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md b/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md index 08f3a5a493d3..50e9b8f86300 100644 --- a/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md +++ b/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md @@ -31,4 +31,4 @@ Zenodo archives your repository and issues a new DOI each time you create a new ## Publicizing and citing research material with Figshare -Academics can use the data management service [Figshare](http://figshare.com) to publicize and cite research material. For more information, see [Figshare's support site](https://knowledge.figshare.com/articles/item/how-to-connect-figshare-with-your-github-account). +Academics can use the data management service [Figshare](http://figshare.com) to publicize and cite research material. For more information, see [Figshare's support site](https://info.figshare.com/user-guide/integrations/#github). diff --git a/content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md b/content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md index d848582bf6e4..ec0f62eed1ce 100644 --- a/content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md +++ b/content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md @@ -11,7 +11,7 @@ topics: --- _2018 statement_ -According to the International Labour Organization (ILO), [40 million people were victims of modern slavery and 152 million children were subject to child labor](https://www.ilo.org/global/about-the-ilo/newsroom/news/WCMS_574717/lang--en/index.htm) globally in 2016. As the [ILO reports](https://www.ilo.org/global/topics/forced-labour/lang--en/index.htm): +According to the International Labour Organization (ILO), [40 million people were victims of modern slavery and 152 million children were subject to child labor](https://www.ilo.org/global/about-the-ilo/newsroom/news/WCMS_574717/lang--en/index.htm) globally in 2016. As the [ILO reports](https://www.ilo.org/topics-and-sectors/forced-labour-modern-slavery-and-trafficking-persons): * 1 in 4 victims of modern slavery are children. * Out of the 24.9 million people trapped in forced labour, 16 million people are exploited in the private sector such as domestic work, construction or agriculture; 4.8 million persons in forced sexual exploitation, and 4 million persons in forced labour imposed by state authorities. * Women and girls are disproportionately affected by forced labour, accounting for 99% of victims in the commercial sex industry, and 58% in other sectors. diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 150ca5179f3a..f189a1ca660f 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -7049,6 +7049,15 @@ "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "additional-permissions": false, "access": "read" + }, + { + "category": "secret-scanning", + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "additional-permissions": false, + "access": "read" } ] }, diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index d8a27ace6015..34dc256245da 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -4751,6 +4751,12 @@ "subcategory": "secret-scanning", "verb": "post", "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index b6391fe2ccbb..7b7580b4ee13 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -8631,6 +8631,17 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "secret-scanning", + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 965eb63cc16a..7de3f0644f90 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -4259,6 +4259,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index d8a27ace6015..34dc256245da 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -4751,6 +4751,12 @@ "subcategory": "secret-scanning", "verb": "post", "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index e07ed24ac7ce..3840adc01b96 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -7643,6 +7643,15 @@ "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "additional-permissions": false, "access": "read" + }, + { + "category": "secret-scanning", + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "additional-permissions": false, + "access": "read" } ] }, diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index 4039b168024c..a5b35223a673 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -5063,6 +5063,12 @@ "subcategory": "secret-scanning", "verb": "post", "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 075df0b2533a..96263e670061 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -9391,6 +9391,17 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "secret-scanning", + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 14f1ca9576aa..9c7fc0efad21 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -4571,6 +4571,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index 4039b168024c..a5b35223a673 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -5063,6 +5063,12 @@ "subcategory": "secret-scanning", "verb": "post", "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" + }, + { + "slug": "get-secret-scanning-scan-history-for-a-repository", + "subcategory": "secret-scanning", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history" } ], "security-advisories": [ diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index abc275af8667..8b7d514177b8 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "b2ff88e4eaa64e465b9b210369bfd701e48edd9a" + "sha": "50bf833eb2c1288fb78419d9e4d359fda3c3ccbe" } \ No newline at end of file diff --git a/src/links/lib/excluded-links.yml b/src/links/lib/excluded-links.yml index ba7b58ea997d..285d1211f089 100644 --- a/src/links/lib/excluded-links.yml +++ b/src/links/lib/excluded-links.yml @@ -79,4 +79,3 @@ - startsWith: https://platform.openai.com/docs/models - startsWith: https://openai.com/index - is: https://github.com/github-linguist/linguist/compare/master...octocat:master -- is: https://www.servicenow.com/docs/bundle/utah-devops/page/product/enterprise-dev-ops/concept/github-integration-dev-ops.html diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index c6ba82ed11f7..9c9b2b9465dc 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -25686,7 +25686,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -37095,7 +37095,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -106562,6 +106562,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -109552,6 +109558,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -112648,6 +112660,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -209771,6 +209789,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -215534,6 +215558,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -216660,6 +216690,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -217370,6 +217406,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -218112,6 +218154,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -266038,7 +266086,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -266202,6 +266251,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -266349,7 +266404,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } }, "schema": { @@ -266512,6 +266568,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -267518,6 +267580,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -267744,6 +267812,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -336609,6 +336683,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -373857,10 +373937,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -427790,6 +427870,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -497899,7 +497985,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -498055,6 +498142,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -498137,7 +498230,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -498293,6 +498387,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -498495,7 +498595,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -498651,6 +498752,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -518783,6 +518890,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -531110,6 +531223,276 @@ "description": "

Service unavailable

" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "title": "Get secret scanning scan history for a repository", + "category": "secret-scanning", + "subcategory": "secret-scanning", + "parameters": [ + { + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Secret scanning alerts\" repository permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "incremental_scans": [ + { + "type": "git", + "status": "completed", + "completed_at": "2024-10-07T02:47:00Z" + } + ], + "backfill_scans": [ + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:50:00Z" + }, + { + "type": "issue", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:49:00Z" + }, + { + "type": "discussion", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:48:00Z" + } + ], + "pattern_update_scans": [ + { + "type": "discussion", + "status": "in_progress", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:51:00Z" + } + ], + "custom_pattern_backfill_scans": [ + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:55:00Z", + "pattern_slug": "my-custom-pattern", + "pattern_scope": "enterprise" + }, + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:55:00Z", + "pattern_slug": "my-custom-pattern", + "pattern_scope": "organization" + } + ] + }, + "schema": { + "type": "object", + "properties": { + "incremental_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "pattern_update_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "backfill_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "custom_pattern_backfill_scans": { + "type": "array", + "items": { + "allOf": [ + { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + }, + { + "type": "object", + "properties": { + "pattern_name": { + "type": "string", + "description": "Name of the custom pattern for custom pattern scans" + }, + "pattern_scope": { + "type": "string", + "description": "Level at which the custom pattern is defined, one of \"repository\", \"organization\", or \"enterprise\"" + } + } + } + ] + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Lists the latest incremental and backfill scans by type for a repository.

\n

OAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

" + }, + { + "httpStatusCode": "404", + "description": "

Repository does not have GitHub Advanced Security or secret scanning enabled

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] } ] }, diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 96f8e14d393b..c9deeb914b56 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -31992,7 +31992,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -43473,7 +43473,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -113753,6 +113753,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -116743,6 +116749,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -119839,6 +119851,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -218719,6 +218737,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -224482,6 +224506,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -225608,6 +225638,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -226318,6 +226354,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -227060,6 +227102,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -284250,7 +284298,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -284414,6 +284463,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -284561,7 +284616,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } }, "schema": { @@ -284724,6 +284780,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -285730,6 +285792,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -285956,6 +286024,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -354821,6 +354895,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -396777,10 +396857,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -450830,6 +450910,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -521065,7 +521151,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -521221,6 +521308,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -521303,7 +521396,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -521459,6 +521553,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -521661,7 +521761,8 @@ "verified": false, "reason": "unsigned", "signature": null, - "payload": null + "payload": null, + "verified_at": null } } }, @@ -521817,6 +521918,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } } } @@ -544662,6 +544769,12 @@ "string", "null" ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ @@ -557001,6 +557114,276 @@ "description": "

Service unavailable

" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/scan-history", + "title": "Get secret scanning scan history for a repository", + "category": "secret-scanning", + "subcategory": "secret-scanning", + "parameters": [ + { + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Secret scanning alerts\" repository permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "incremental_scans": [ + { + "type": "git", + "status": "completed", + "completed_at": "2024-10-07T02:47:00Z" + } + ], + "backfill_scans": [ + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:50:00Z" + }, + { + "type": "issue", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:49:00Z" + }, + { + "type": "discussion", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:48:00Z" + } + ], + "pattern_update_scans": [ + { + "type": "discussion", + "status": "in_progress", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:51:00Z" + } + ], + "custom_pattern_backfill_scans": [ + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:55:00Z", + "pattern_slug": "my-custom-pattern", + "pattern_scope": "enterprise" + }, + { + "type": "git", + "status": "completed", + "started_at": "2024-10-07T02:47:00Z", + "completed_at": "2024-10-07T02:55:00Z", + "pattern_slug": "my-custom-pattern", + "pattern_scope": "organization" + } + ] + }, + "schema": { + "type": "object", + "properties": { + "incremental_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "pattern_update_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "backfill_scans": { + "type": "array", + "items": { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + } + }, + "custom_pattern_backfill_scans": { + "type": "array", + "items": { + "allOf": [ + { + "description": "Information on a single scan performed by secret scanning on the repository", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of scan" + }, + "status": { + "type": "string", + "description": "The state of the scan. Either \"completed\" or \"running\"" + }, + "completed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the scan was completed. Empty if the scan is active" + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "The time that the scan was started" + } + } + }, + { + "type": "object", + "properties": { + "pattern_name": { + "type": "string", + "description": "Name of the custom pattern for custom pattern scans" + }, + "pattern_scope": { + "type": "string", + "description": "Level at which the custom pattern is defined, one of \"repository\", \"organization\", or \"enterprise\"" + } + } + } + ] + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Lists the latest incremental and backfill scans by type for a repository.

\n

OAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

" + }, + { + "httpStatusCode": "404", + "description": "

Repository does not have GitHub Advanced Security or secret scanning enabled

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] } ] }, diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index c2847529362c..a8a6795de732 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -32019,7 +32019,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -42856,7 +42856,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -182440,19 +182440,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -226368,9 +226370,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -226679,9 +226679,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -445553,9 +445551,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -445791,9 +445787,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -446119,7 +446113,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -446149,9 +446142,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 17c0548fe474..acc10ec0bb07 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -32043,7 +32043,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -42880,7 +42880,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -182473,19 +182473,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -226611,9 +226613,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -226922,9 +226922,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -451877,9 +451875,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -452115,9 +452111,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -452443,7 +452437,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -452473,9 +452466,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 486f3a556f40..2fb0a6e093b9 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -32043,7 +32043,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -42967,7 +42967,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -182793,19 +182793,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -228848,9 +228850,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -229159,9 +229159,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -334792,10 +334790,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -454773,9 +454771,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -455011,9 +455007,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -455339,7 +455333,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -455369,9 +455362,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index 9d6fbadb13fa..0033e7c56d75 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -32043,7 +32043,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -42967,7 +42967,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -182937,19 +182937,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -229048,9 +229050,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -229359,9 +229359,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -336360,10 +336358,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -457204,9 +457202,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -457442,9 +457438,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -457770,7 +457764,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -457800,9 +457793,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index d50b16894d6d..d6c4f4bbeaa3 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -32043,7 +32043,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -42967,7 +42967,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -182937,19 +182937,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -229048,9 +229050,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -229359,9 +229359,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -339217,10 +339215,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -460453,9 +460451,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -460691,9 +460687,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -461019,7 +461013,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -461049,9 +461042,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index bac210379371..941e838c4109 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -32103,7 +32103,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", + "descriptionHTML": "

Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -43105,7 +43105,7 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", @@ -187225,19 +187225,21 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response

", - "example": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ], + "example": { + "enabled": [ + { + "id": 1, + "key": "ssh-rsa AAA...", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "title": "octocat@octomac", + "verified": true, + "created_at": "2014-12-10T15:53:42Z", + "read_only": true, + "added_by": "octocat", + "last_used": "2022-01-10T15:53:42Z" + } + ] + }, "schema": { "type": "array", "items": { @@ -232070,9 +232072,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" }, "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" }, @@ -232381,9 +232381,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } }, "schema": { @@ -342704,10 +342702,10 @@ }, { "name": "repository_name", - "description": "

The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.

", + "description": "

The name of the repository to filter on.

", "in": "query", "schema": { - "type": "integer" + "type": "string" } }, { @@ -464639,9 +464637,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -464877,9 +464873,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, @@ -465205,7 +465199,6 @@ "contentType": "application/json", "description": "

Response

", "example": { - "content": null, "commit": { "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", @@ -465235,9 +465228,7 @@ ], "verification": { "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null + "reason": "unsigned" } } }, diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index bfdec4be4001..9db0c48d0e83 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -50,5 +50,5 @@ ] } }, - "sha": "b2ff88e4eaa64e465b9b210369bfd701e48edd9a" + "sha": "50bf833eb2c1288fb78419d9e4d359fda3c3ccbe" } \ No newline at end of file diff --git a/src/secret-scanning/data/public-docs.yml b/src/secret-scanning/data/public-docs.yml index fe5204d0cccc..29291cc8b664 100644 --- a/src/secret-scanning/data/public-docs.yml +++ b/src/secret-scanning/data/public-docs.yml @@ -658,6 +658,17 @@ hasPushProtection: false hasValidityCheck: false isduplicate: false +- provider: Azure + supportedSecret: Microsoft Azure Entra ID Token + secretType: microsoft_azure_entra_id_token + versions: + fpt: '*' + ghec: '*' + isPublic: false + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + isduplicate: false - provider: Azure supportedSecret: Microsoft Corporate Network User Credential secretType: microsoft_corporate_network_user_credential @@ -2226,6 +2237,17 @@ hasPushProtection: false hasValidityCheck: false isduplicate: false +- provider: MongoDB + supportedSecret: MongoDB Atlas Database URI with credentials + secretType: mongodb_atlas_db_uri_with_credentials + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: false + hasPushProtection: false + hasValidityCheck: false + isduplicate: false - provider: Netflix supportedSecret: Netflix NetKey secretType: netflix_netkey @@ -2867,6 +2889,17 @@ hasPushProtection: true hasValidityCheck: false isduplicate: false +- provider: Scalr + supportedSecret: Scalr API Token + secretType: scalr_api_token + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + isduplicate: false - provider: Segment supportedSecret: Segment Public API Token secretType: segment_public_api_token diff --git a/src/secret-scanning/lib/config.json b/src/secret-scanning/lib/config.json index eb1ac49f4f09..33e8623e8396 100644 --- a/src/secret-scanning/lib/config.json +++ b/src/secret-scanning/lib/config.json @@ -1,5 +1,5 @@ { - "sha": "a24682e7de2b1053278de2c44d4062aa80ffac33", - "blob-sha": "2eedb5973d30edfcf497b0810c36ffc8a061b474", + "sha": "21e478c97e900afd5b35943d95af35788be84214", + "blob-sha": "e7c99c6a154e975a5651a1b8a9ee502a759d11e4", "targetFilename": "code-security/secret-scanning/introduction/supported-secret-scanning-patterns" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 1aeb7462e55f..e45eec9c650f 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -223698,6 +223698,11 @@ "name": "verified", "description": "", "isRequired": true + }, + { + "type": "string or null", + "name": "verified_at", + "description": "" } ] } diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 10b18e829f0b..513236e065e2 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -226051,6 +226051,11 @@ "name": "verified", "description": "", "isRequired": true + }, + { + "type": "string or null", + "name": "verified_at", + "description": "" } ] } diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 340655feffc7..8dc9efec512a 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "b2ff88e4eaa64e465b9b210369bfd701e48edd9a" + "sha": "50bf833eb2c1288fb78419d9e4d359fda3c3ccbe" } \ No newline at end of file