Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,21 @@ You can enforce policies to allow or disallow the use of {% data variables.produ
> [!TIP]
> All standalone instances of {% data variables.product.prodname_ghe_server %} use volume/subscription licenses. Contact [{% data variables.product.github %}'s Sales team](https://enterprise.github.com/contact) if you want to make changes to your license.

{% ifversion disable-ghas-button %}

## Disabling {% data variables.product.prodname_GHAS %} in an enterprise

To disable {% data variables.product.prodname_GHAS %} and prevent accidental re-enablement across your enterprise, enterprise owners can use the **Disable {% data variables.product.prodname_AS %}** option available in the enterprise licensing page. This is particularly useful for metered users who want to ensure {% data variables.product.prodname_GHAS %} is completely disabled and cannot be re-enabled without explicit approval.

The **Disable {% data variables.product.prodname_AS %}** option:
* Disables {% data variables.product.prodname_GHAS %} in all private and internal repositories
* Sets a policy to prevent future paid adoption
* Stops billing for future usage (metered billing only)

See [AUTOTITLE](/billing/how-tos/products/disable-ghas-for-enterprise).

{% endif %}

## Further reading

{%- ifversion fpt or ghec or ghes > 3.15 %}
Expand Down
37 changes: 37 additions & 0 deletions content/billing/how-tos/products/disable-ghas-for-enterprise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Disabling GitHub Advanced Security for your enterprise
intro: Disable {% data variables.product.prodname_GHAS %} and prevent accidental re-enablement across your enterprise.
permissions: Enterprise owners
versions:
feature: disable-ghas-button
topics:
- Billing
- Advanced Security
- Enterprise
shortTitle: Disable GHAS for enterprise
contentType: how-tos
---

If you want to immediately disable {% data variables.product.prodname_GHAS %} in all repositories, prevent organizations from re-enabling it and avoid unexpected billing charges, you can use the **Disable {% data variables.product.prodname_AS %}** option available in the enterprise licensing page. This is different from canceling your {% data variables.product.prodname_AS %} subscription:

* **Canceling your subscription** stops future billing but does not disable {% data variables.product.prodname_GHAS %} in repositories or prevent re-enablement.
* **Disabling {% data variables.product.prodname_AS %}** immediately disables {% data variables.product.prodname_GHAS %} in all private and internal repositories and sets a policy to prevent future paid adoption.

## Disabling {% data variables.product.prodname_GHAS %} across your enterprise

{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.billing.enterprise-billing-menu %}
{% data reusables.billing.click-licensing %}
1. To the right of "{% data variables.product.prodname_AS %}," click **Manage** and select the **Disable {% data variables.product.prodname_AS %}** option.
1. In the modal dialog that is displayed, click **Disable {% data variables.product.prodname_AS %}** to confirm.

To re-enable {% data variables.product.prodname_GHAS %}, you'll need to update the policies for this feature in the **Policies** tab of your enterprise.

## What happens to my bill?

Once you have disabled {% data variables.product.prodname_GHAS %}:

* If you use **volume billing**, you agreed to a number of licenses and billing period upfront. You'll continue to pay for the rest of this period.
* If you use **metered billing**, you pay based on usage, and your billing will stop from next month. However, you _will_ continue paying for any licenses you've already consumed this month until the end of the month.

For example, if you had 10 licenses in use and disabled GHAS on the second day of the month, you will still be billed for your 10 licenses for the full month instead of just for the two days.
1 change: 1 addition & 0 deletions content/billing/how-tos/products/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ children:
- /use-cost-centers
- /manage-ghas-licenses
- /view-ghas-committers
- /disable-ghas-for-enterprise
contentType: how-tos
---

8 changes: 8 additions & 0 deletions content/billing/how-tos/products/manage-ghas-licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,11 @@ For information about using policies to control use of licenses in your enterpri
{% data reusables.billing.click-licensing %}
1. To the right of "{% data variables.product.prodname_AS %}", select {% octicon "kebab-horizontal" aria-label="Open menu" %}, then click **Cancel subscription**.
1. To confirm your cancellation, click **I understand, cancel {% data variables.product.prodname_AS %}**.

{% ifversion disable-ghas-button %}

## Disabling {% data variables.product.prodname_GHAS %} in an enterprise

Enterprise owners can disable {% data variables.product.prodname_GHAS %} completely and set a policy to prevent future re-enablement. See [AUTOTITLE](/billing/how-tos/products/disable-ghas-for-enterprise).

{% endif %}
2 changes: 2 additions & 0 deletions content/copilot/concepts/auto-model-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ When you select **Auto** in {% data variables.copilot.copilot_chat_short %}, {%
* {% data variables.copilot.copilot_gpt_53_codex %}
* {% data variables.copilot.copilot_claude_haiku_45 %}
* {% data variables.copilot.copilot_claude_sonnet_45 %}
* {% data variables.copilot.copilot_grok_code %}
* {% data variables.copilot.copilot_raptor_mini %}

> [!TIP] To see which model was used for each response, hover over the response in {% data variables.copilot.copilot_chat_short %}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ These fields appear in the exported NDJSON reports and in the {% data variables.

### {% data variables.copilot.copilot_cli_short %} metrics fields (API only)

The `totals_by_cli` object contains the following nested fields when CLI usage is present. These metrics are currently only available in the enterprise-level reports.
The `totals_by_cli` object contains the following nested fields when CLI usage is present. These metrics are currently only available in the enterprise-level and user-level reports.

| Field | Description |
|:--|:--|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@ A site administrator must enable {% data variables.product.prodname_AS %} for {%

If you are on a {% data variables.product.prodname_team %} or {% data variables.product.prodname_enterprise %} plan, license use for the entire team or enterprise is shown on your license page. {% ifversion fpt or ghec %}See [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage).{% endif %}

{% ifversion disable-ghas-button %}

## Managing {% data variables.product.prodname_GHAS %}

Enterprise owners can manage {% data variables.product.prodname_GHAS %} licensing and access for their enterprise, including disabling {% data variables.product.prodname_GHAS %} across all repositories and preventing future re-enablement. See [AUTOTITLE](/billing/how-tos/products/manage-ghas-licenses#disabling-github-advanced-security-across-your-enterprise).

For information about managing your {% data variables.product.prodname_GHAS %} license, see [AUTOTITLE](/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/managing-your-github-advanced-security-license-usage).

{% endif %}

{% ifversion copilot-chat-ghas-alerts %}

## Leveraging {% data variables.copilot.copilot_chat %} to understand security alerts
Expand Down
6 changes: 6 additions & 0 deletions data/features/disable-ghas-button.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Reference: #21435
# Disable GHAS button on the Enterprise licensing page [GA]
versions:
fpt: '*'
ghec: '*'
ghes: '>= 3.21'
6 changes: 3 additions & 3 deletions src/secret-scanning/data/pattern-docs/fpt/public-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down Expand Up @@ -1718,7 +1718,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: false
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down Expand Up @@ -3552,7 +3552,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down
6 changes: 3 additions & 3 deletions src/secret-scanning/data/pattern-docs/ghec/public-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down Expand Up @@ -1718,7 +1718,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: false
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down Expand Up @@ -3552,7 +3552,7 @@
isPublic: false
isPrivateWithGhas: true
hasPushProtection: true
hasValidityCheck: false
hasValidityCheck: true
hasExtendedMetadata: false
base64Supported: false
isduplicate: false
Expand Down