diff --git a/content/code-security/tutorials/secure-your-organization/respond-to-a-security-incident.md b/content/code-security/tutorials/secure-your-organization/respond-to-a-security-incident.md index 03dd9640244f..319c63ddac7e 100644 --- a/content/code-security/tutorials/secure-your-organization/respond-to-a-security-incident.md +++ b/content/code-security/tutorials/secure-your-organization/respond-to-a-security-incident.md @@ -101,16 +101,18 @@ There are several containment actions you can choose to perform to limit the att For exposed or exploited credentials, the most immediate action you can take is to revoke the affected credentials to prevent further misuse. -{% ifversion fpt or ghec or ghes > 3.17 %} +{% ifversion fpt or ghec %} + * **Revoke via the API** If the token is one of the following types, and the literal value of the token is known, you (or anybody) can revoke it by **submitting a request via the REST API**. See [AUTOTITLE](/rest/credentials/revoke?apiVersion=2022-11-28#revoke-a-list-of-credentials). * {% data variables.product.pat_v1_caps %} - * {% data variables.product.pat_v2_caps %}{% ifversion fpt or ghec or ghes > 3.20 %} + * {% data variables.product.pat_v2_caps %} * {% data variables.product.prodname_oauth_app %} access token * {% data variables.product.prodname_github_app %} user access token - * {% data variables.product.prodname_github_app %} refresh token{% endif %} + * {% data variables.product.prodname_github_app %} refresh token + {% endif %} * **Revocation and containment options** diff --git a/content/copilot/concepts/agents/about-enterprise-plugin-standards.md b/content/copilot/concepts/agents/about-enterprise-plugin-standards.md index 265dee54111b..3ec8a7079ade 100644 --- a/content/copilot/concepts/agents/about-enterprise-plugin-standards.md +++ b/content/copilot/concepts/agents/about-enterprise-plugin-standards.md @@ -17,7 +17,7 @@ redirect_from: > [!NOTE] This feature is in {% data variables.release-phases.public_preview %} and subject to change. -Enterprise-managed plugin standards allow administrators to **define and enforce policies for plugin availability**. By configuring a `settings.json` file in the enterprise's `.github-private` repository, administrators can specify which plugin marketplaces are available to users and which plugins are installed automatically. +Enterprise-managed plugin standards allow administrators to **define and enforce policies for plugin availability**. By configuring a `{% data variables.copilot.managed_setting_file %}` file in the enterprise's `.github-private` repository, administrators can specify which plugin marketplaces are available to users and which plugins are installed automatically. ## Where plugin standards apply @@ -30,14 +30,14 @@ Users must upgrade to a supported client version for these standards to be appli ## How plugin standards work -Enterprise plugin standards use a configuration file stored in your enterprise's `.github-private` repository. The configuration is defined in a `settings.json` file at the following path: `.github/copilot/settings.json`. +Enterprise plugin standards use a configuration file stored in your enterprise's `.github-private` repository. The configuration is defined in a `{% data variables.copilot.managed_setting_file %}` file at the following path: `.github/copilot/{% data variables.copilot.managed_setting_file %}`. This file was previously called `settings.json`, which is still supported. For plugin standards, the file can define: * **Known marketplaces**. Plugin marketplaces that are available to users for browsing and installing plugins. * **Default-enabled plugins**. Specific plugins that are automatically installed when users authenticate. -When a user authenticates to {% data variables.product.prodname_copilot_short %} in a supported client, the client queries an API endpoint that reads the `settings.json` from the enterprise's `.github-private` repository. The policies defined in the file are then applied to the user's session. +When a user authenticates to {% data variables.product.prodname_copilot_short %} in a supported client, the client queries an API endpoint that reads the `{% data variables.copilot.managed_setting_file %}` file. The policies defined in the file are then applied to the user's session. ## Why use enterprise-managed plugin standards diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards.md index 419aeb5c0a20..b84f3d1e2910 100644 --- a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards.md +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards.md @@ -2,7 +2,7 @@ title: Configuring enterprise plugin standards shortTitle: Configure plugin standards allowTitleToDifferFromFilename: true -intro: 'Configure enterprise plugin standards by defining a `settings.json` file in your enterprise''s `.github-private` repository.' +intro: 'Configure enterprise plugin standards by defining a `{% data variables.copilot.managed_setting_file %}` file in your enterprise''s `.github-private` repository.' permissions: Enterprise owners versions: feature: copilot @@ -16,9 +16,8 @@ category: You can apply settings to control users' available plugin marketplaces and default-installed plugins. These settings apply to users on your enterprise's {% data variables.product.prodname_copilot_short %} plan. For more information, see [AUTOTITLE](/copilot/concepts/agents/about-enterprise-plugin-standards). -1. In your enterprise's `.github-private` repository, navigate to the `.github/copilot/` directory. If you don't have a `.github-private` repository yet, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents). -1. Create or edit the `settings.json` file at `.github/copilot/settings.json`. -1. Add your plugin policy configuration to the file. The `settings.json` file supports the following top-level properties: +{% data reusables.copilot.create-managed-settings %} +1. Add your plugin policy configuration to the file. The `{% data variables.copilot.managed_setting_file %}` file supports the following top-level properties: ```json copy { diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/disable-automatic-commands.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/disable-automatic-commands.md new file mode 100644 index 000000000000..a165d7fa9542 --- /dev/null +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/disable-automatic-commands.md @@ -0,0 +1,36 @@ +--- +title: Disabling automatic command approval in Copilot clients +shortTitle: Disable automatic commands +allowTitleToDifferFromFilename: true +intro: 'Disable yolo mode to stop agents from running commands without approval.' +permissions: Enterprise owners +versions: + feature: copilot +contentType: how-tos +category: + - Configure Copilot + - Manage Copilot for a team +--- + +> [!NOTE] This feature is in {% data variables.release-phases.public_preview %} and subject to change. + +You can prevent users from using modes that enable automatic approval of agent commands in {% data variables.copilot.copilot_cli_short %} and {% data variables.product.prodname_vscode_shortname %}. The `disableBypassPermissionsMode` setting is defined in your enterprise's `{% data variables.copilot.managed_setting_file %}` file and applies to users on your enterprise's {% data variables.product.prodname_copilot_short %} plan. + +This setting blocks users from using: + +* The `--yolo` or `--allow-all` flag +* The `/yolo` or `/allow-all` command +* All runtime paths that enable combined bypass mode + +This setting does **not** block individual flags such as `--allow-all-tools` or `--allow-all-paths`. + +{% data reusables.copilot.create-managed-settings %} +1. Add the following property. + + ```json copy + { + "permissions": { + "disableBypassPermissionsMode": "disable" + } + } + ``` diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/index.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/index.md index 90ad18d2cd11..8547dcfedab7 100644 --- a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/index.md +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/index.md @@ -7,6 +7,7 @@ versions: children: - /prepare-for-custom-agents - /configure-enterprise-plugin-standards + - /disable-automatic-commands - /monitor-agentic-activity - /enable-copilot-cloud-agent - /block-agentic-features diff --git a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli.md b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli.md index a078f952ea12..401593f7a40d 100644 --- a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli.md +++ b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli.md @@ -267,7 +267,9 @@ This flag combines: * `--allow-all-paths` (disable path verification). * `--allow-all-urls` (disables URL verification). -> [!TIP] During an interactive session, you can also enable all permissions with the `/allow-all` or `/yolo` slash commands. +During an interactive session, you can also enable all permissions with the `/allow-all` or `/yolo` slash commands. + +{% data reusables.copilot.disable-bypass %} ## Further reading diff --git a/content/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools.md b/content/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools.md index 04f35a5b27d3..8a60ae7ad9df 100644 --- a/content/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools.md +++ b/content/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools.md @@ -79,6 +79,8 @@ For details of the supported tool kinds, see [AUTOTITLE](/copilot/reference/copi The following command-line options give {% data variables.copilot.copilot_cli_short %} permission to use all available tools. +{% data reusables.copilot.disable-bypass %} + * `--allow-all-tools` — Full access to the available tools. * `--allow-all` or `--yolo` — Equivalent to using all of the `--allow-all-tools`, `--allow-all-paths`, and `--allow-all-urls` options when starting the CLI. diff --git a/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md b/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md index eddda2d6507e..49d21694d432 100644 --- a/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md +++ b/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md @@ -71,7 +71,7 @@ Most people see rate limiting for select models, due to limited capacity. Service-level request rate limits ensure high service quality for all {% data variables.product.prodname_copilot_short %} users and should not affect typical or even deeply engaged {% data variables.product.prodname_copilot_short %} usage. We are aware of some use cases that are affected by it. {% data variables.product.github %} is iterating on {% data variables.product.prodname_copilot_short %}’s rate-limiting heuristics to ensure it doesn’t block legitimate use cases. -If you are rate limited, the error message will contain the suggested retry time for a successful request. For more information about alternative actions you can take while your limit resets, see [AUTOTITLE](/copilot/concepts/usage-limits#what-to-do-if-you-hit-a-limit). +If you are rate limited, the error message may tell you to wait for your limit to reset, suggest a retry time, or prompt you to upgrade your plan for additional usage. For more information about what to do while your limit resets, see [AUTOTITLE](/copilot/concepts/usage-limits#what-to-do-if-you-hit-a-limit). In case you experience repeated rate limiting in {% data variables.product.prodname_copilot_short %} contact {% data variables.contact.contact_support_page %}. diff --git a/content/organizations/managing-programmatic-access-to-your-organization/github-credential-types.md b/content/organizations/managing-programmatic-access-to-your-organization/github-credential-types.md index db6db67f8bcb..005474c07b43 100644 --- a/content/organizations/managing-programmatic-access-to-your-organization/github-credential-types.md +++ b/content/organizations/managing-programmatic-access-to-your-organization/github-credential-types.md @@ -38,7 +38,7 @@ The following sections describe revocation options for each credential type base * If the token **belongs to you**, you can delete it via your personal account settings. See [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#deleting-a-personal-access-token). {% data reusables.credentials.revoke-via-api %} -* **Organization owners** and **enterprise owners** do not have direct visibility into or control over individual tokens. However, they can:{% ifversion fpt or ghec or ghes > 3.17 %} +* **Organization owners** and **enterprise owners** do not have direct visibility into or control over individual tokens. However, they can:{% ifversion fpt or ghec %} * Revoke them using the REST API, if the actual token value is known. See [AUTOTITLE](/rest/credentials/revoke?apiVersion=2022-11-28#revoke-a-list-of-credentials).{% endif %} * Restrict the access of {% data variables.product.pat_generic_plural %} to the organization or enterprise entirely. See [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization) and [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-personal-access-tokens-in-your-enterprise). * **Organization owners and enterprise owners** on {% data variables.product.prodname_ghe_cloud %} with SSO enforced can revoke the SSO authorization for a specific {% data variables.product.pat_v1 %}. See [Revoking SSO authorization](#revoking-sso-authorization) for details. @@ -49,7 +49,7 @@ The following sections describe revocation options for each credential type base * If the token **belongs to you**, you can delete it via your personal account settings. See [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#deleting-a-personal-access-token). {% data reusables.credentials.revoke-via-api %} * **Organization owners**: Can view and revoke individual tokens. Note, however, that when an organization owner revokes a {% data variables.product.pat_v2 %}, any SSH keys created by the token will continue to work and the token will still be able to read public resources within the organization. The revocation changes the resource owner from the organization to the user, and the user can reassign it back. See [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/reviewing-and-revoking-personal-access-tokens-in-your-organization). -* **Organization owners** and **enterprise owners** can:{% ifversion fpt or ghec or ghes > 3.17 %} +* **Organization owners** and **enterprise owners** can:{% ifversion fpt or ghec %} * Revoke the token using the REST API. See [AUTOTITLE](/rest/credentials/revoke?apiVersion=2022-11-28#revoke-a-list-of-credentials).{% endif %} * Restrict the access of {% data variables.product.pat_generic_plural %} to the organization or enterprise entirely. See [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization) and [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-personal-access-tokens-in-your-enterprise). * **Revoked automatically** if pushed to a public repository or gist, or if unused for one year. See [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation). diff --git a/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally.md b/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally.md index bdab46bb5fc5..2cd07f6fb571 100644 --- a/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally.md +++ b/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally.md @@ -65,7 +65,7 @@ Anyone can work with a previously opened pull request to continue working on it,  {% data reusables.command_line.open_the_multi_os_terminal %} -1. Fetch the reference to the pull request based on its ID number, creating a new branch in the process. +1. Fetch the reference to the pull request based on its ID number, creating a new branch in the process. Use the pull request ID and the name of the local branch you want to create in the command. ```shell git fetch origin pull/ID/head:BRANCH_NAME diff --git a/content/rest/credentials/revoke.md b/content/rest/credentials/revoke.md index 93cd00da7284..a3cfd2182575 100644 --- a/content/rest/credentials/revoke.md +++ b/content/rest/credentials/revoke.md @@ -7,7 +7,6 @@ intro: >- versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' - ghes: '>=3.18' autogenerated: rest allowTitleToDifferFromFilename: true category: diff --git a/data/reusables/copilot/create-managed-settings.md b/data/reusables/copilot/create-managed-settings.md new file mode 100644 index 000000000000..95b155c1862d --- /dev/null +++ b/data/reusables/copilot/create-managed-settings.md @@ -0,0 +1,2 @@ +1. In your enterprise's `.github-private` repository, navigate to the `.github/copilot/` directory. If you haven't set a `.github-private` repository as your enterprise's source of agent configuration, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents). +1. Create or edit the `{% data variables.copilot.managed_setting_file %}` file. (This file was previously named `settings.json`, which is also supported.) diff --git a/data/reusables/copilot/disable-bypass.md b/data/reusables/copilot/disable-bypass.md new file mode 100644 index 000000000000..f2984e2432c4 --- /dev/null +++ b/data/reusables/copilot/disable-bypass.md @@ -0,0 +1 @@ +> [!NOTE] If you have a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} license, these commands may be blocked by an enterprise administrator. diff --git a/data/reusables/credentials/revoke-via-api.md b/data/reusables/credentials/revoke-via-api.md index 5a03e1fbfe1f..252167a8e13e 100644 --- a/data/reusables/credentials/revoke-via-api.md +++ b/data/reusables/credentials/revoke-via-api.md @@ -1,2 +1,2 @@ -{% ifversion fpt or ghec or ghes > 3.17 %} +{% ifversion fpt or ghec %} * If the token is owned by someone else, and the actual token value is known, **anyone** can submit a request to revoke it using the REST API. The API doesn't require authentication - anyone with the token value can submit it for revocation. See [AUTOTITLE](/rest/credentials/revoke?apiVersion=2022-11-28#revoke-a-list-of-credentials) in the REST API documentation.{% endif %} diff --git a/data/variables/copilot.yml b/data/variables/copilot.yml index 04a26817dc47..892964886ae6 100644 --- a/data/variables/copilot.yml +++ b/data/variables/copilot.yml @@ -254,3 +254,6 @@ copilot_workspace_short: 'Workspace' # BYOK copilot_byok_supported_features: '{% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cli_short %}, and {% data variables.product.prodname_vscode_shortname %}' + +## File for enterprise client management +managed_setting_file: 'managed-settings.json' diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 0ce4b9c22f2c..8a89152da10d 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "5228aaa58229307d5c18092199d4d3b09050265a" + "sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/billing.json b/src/rest/data/fpt-2022-11-28/billing.json index df2fed2bf3d9..be90931a3448 100644 --- a/src/rest/data/fpt-2022-11-28/billing.json +++ b/src/rest/data/fpt-2022-11-28/billing.json @@ -28,7 +28,7 @@ }, { "name": "per_page", - "description": "
The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -61,7 +61,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/fpt-2022-11-28/code-security.json b/src/rest/data/fpt-2022-11-28/code-security.json index cfa4eb24c6dc..877312a18d23 100644 --- a/src/rest/data/fpt-2022-11-28/code-security.json +++ b/src/rest/data/fpt-2022-11-28/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/fpt-2026-03-10/billing.json b/src/rest/data/fpt-2026-03-10/billing.json index df2fed2bf3d9..be90931a3448 100644 --- a/src/rest/data/fpt-2026-03-10/billing.json +++ b/src/rest/data/fpt-2026-03-10/billing.json @@ -28,7 +28,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -61,7 +61,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/fpt-2026-03-10/code-security.json b/src/rest/data/fpt-2026-03-10/code-security.json index cfa4eb24c6dc..877312a18d23 100644 --- a/src/rest/data/fpt-2026-03-10/code-security.json +++ b/src/rest/data/fpt-2026-03-10/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2022-11-28/billing.json b/src/rest/data/ghec-2022-11-28/billing.json index ba00a466e04a..d17da217dd28 100644 --- a/src/rest/data/ghec-2022-11-28/billing.json +++ b/src/rest/data/ghec-2022-11-28/billing.json @@ -213,7 +213,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -246,7 +246,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/ghec-2022-11-28/code-security.json b/src/rest/data/ghec-2022-11-28/code-security.json index 66d41f255715..85619107072a 100644 --- a/src/rest/data/ghec-2022-11-28/code-security.json +++ b/src/rest/data/ghec-2022-11-28/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2022-11-28/copilot.json b/src/rest/data/ghec-2022-11-28/copilot.json index e10e80bbcc25..6b1ba6bb4e81 100644 --- a/src/rest/data/ghec-2022-11-28/copilot.json +++ b/src/rest/data/ghec-2022-11-28/copilot.json @@ -2708,7 +2708,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in .github/copilot/settings.json. Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in copilot/managed-settings.json (with fallback to .github/copilot/settings.json). Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -246,7 +246,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/ghec-2026-03-10/code-security.json b/src/rest/data/ghec-2026-03-10/code-security.json index 66d41f255715..85619107072a 100644 --- a/src/rest/data/ghec-2026-03-10/code-security.json +++ b/src/rest/data/ghec-2026-03-10/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2026-03-10/copilot.json b/src/rest/data/ghec-2026-03-10/copilot.json index 20cd6ffc6a1d..4f5e65be6246 100644 --- a/src/rest/data/ghec-2026-03-10/copilot.json +++ b/src/rest/data/ghec-2026-03-10/copilot.json @@ -2705,7 +2705,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in .github/copilot/settings.json. Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in copilot/managed-settings.json (with fallback to .github/copilot/settings.json). Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-security.json b/src/rest/data/ghes-3.19-2022-11-28/code-security.json index 985f38da3ae1..4737d1cfa4bb 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.19-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1961,7 +1973,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2521,7 +2536,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3492,7 +3510,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4109,7 +4130,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4489,7 +4513,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4935,7 +4962,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5540,7 +5570,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6100,7 +6133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7047,7 +7083,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.19-2022-11-28/credentials.json b/src/rest/data/ghes-3.19-2022-11-28/credentials.json deleted file mode 100644 index 219df9f9e451..000000000000 --- a/src/rest/data/ghes-3.19-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-security.json b/src/rest/data/ghes-3.20-2022-11-28/code-security.json index e373c04e22a9..bb072de78d43 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.20-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1961,7 +1973,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2521,7 +2536,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3492,7 +3510,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4109,7 +4130,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4489,7 +4513,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4935,7 +4962,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5540,7 +5570,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6100,7 +6133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7047,7 +7083,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.20-2022-11-28/credentials.json b/src/rest/data/ghes-3.20-2022-11-28/credentials.json deleted file mode 100644 index 219df9f9e451..000000000000 --- a/src/rest/data/ghes-3.20-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.21-2022-11-28/code-security.json b/src/rest/data/ghes-3.21-2022-11-28/code-security.json index 78e61e8e22ff..54a32addc151 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.21-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1968,7 +1980,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2528,7 +2543,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3499,7 +3517,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4116,7 +4137,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4496,7 +4520,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4942,7 +4969,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5554,7 +5584,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6114,7 +6147,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7061,7 +7097,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.21-2022-11-28/credentials.json b/src/rest/data/ghes-3.21-2022-11-28/credentials.json deleted file mode 100644 index e117122b3fde..000000000000 --- a/src/rest/data/ghes-3.21-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)gho_)ghu_)ghr_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.21-2026-03-10/code-security.json b/src/rest/data/ghes-3.21-2026-03-10/code-security.json index 78e61e8e22ff..54a32addc151 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/code-security.json +++ b/src/rest/data/ghes-3.21-2026-03-10/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1968,7 +1980,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2528,7 +2543,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3499,7 +3517,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4116,7 +4137,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4496,7 +4520,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4942,7 +4969,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5554,7 +5584,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6114,7 +6147,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7061,7 +7097,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.21-2026-03-10/credentials.json b/src/rest/data/ghes-3.21-2026-03-10/credentials.json deleted file mode 100644 index e117122b3fde..000000000000 --- a/src/rest/data/ghes-3.21-2026-03-10/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)gho_)ghu_)ghr_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 3dede124ad4d..7c4673a81a64 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "5228aaa58229307d5c18092199d4d3b09050265a" + "sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 45f926d7d521..41fbabdbaad3 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "5228aaa58229307d5c18092199d4d3b09050265a" + "sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb" } \ No newline at end of file