Skip to content

Commit a09c2da

Browse files
authored
Merge pull request #43009 from github/repo-sync
Repo sync
2 parents ab5e209 + c515d9e commit a09c2da

File tree

14 files changed

+201
-0
lines changed

14 files changed

+201
-0
lines changed

content/admin/managing-iam/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ children:
2424
- /provisioning-user-accounts-with-scim
2525
- /reconfiguring-iam-for-enterprise-managed-users
2626
- /managing-recovery-codes-for-your-enterprise
27+
- /respond-to-incidents
2728
---
2829

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Responding to security incidents in your enterprise
3+
intro: Take bulk action when facing a major security incident.
4+
versions:
5+
feature: revoke-enterprise-tokens
6+
topics:
7+
- Accounts
8+
- Authentication
9+
- Enterprise
10+
- Identity
11+
children:
12+
- /revoke-authorizations-or-tokens
13+
- /lock-down-sso
14+
shortTitle: Respond to incidents
15+
---
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Locking down single sign-on in your enterprise
3+
intro: 'Take action in a security incident by blocking SSO for all users except enterprise owners.'
4+
permissions: 'Enterprise owners and users with the "Manage enterprise single sign-on configuration" fine-grained permission'
5+
product: 'Enterprises with managed users, or enterprises that have enabled SAML SSO for the enterprise or its organizations'
6+
versions:
7+
feature: revoke-enterprise-tokens
8+
type: how_to
9+
topics:
10+
- Accounts
11+
- Authentication
12+
- Enterprise
13+
- Identity
14+
shortTitle: Lock down SSO
15+
---
16+
17+
When your enterprise is affected by a major security incident, you can temporarily block single sign-on for all users except enterprise owners. This allows you to lock down access to your enterprise in order to investigate the incident within a more isolated surface area.
18+
19+
The outcome of this action depends on your enterprise type:
20+
21+
* **{% data variables.product.prodname_emus %}**: Prevents users from signing in to their {% data variables.enterprise.prodname_managed_user %} entirely.
22+
* **Enterprise with personal accounts**: Prevents users from authenticating to access SSO-protected resources or authorize tokens for SSO, but does not prevent them from signing in to their account and accessing non-protected resources.
23+
24+
In either case, all existing active SSO sessions are terminated, including for enterprise owners, who can reauthenticate with SSO to access the enterprise during the lockdown.
25+
26+
## Locking down single sign-on
27+
28+
{% data reusables.enterprise-accounts.access-enterprise %}
29+
{% data reusables.enterprise-accounts.settings-tab %}
30+
1. Find the correct page for your enterprise type:
31+
* **{% data variables.product.prodname_emus %}**: At the top of the page, click **Identity provider**.
32+
* **Personal accounts**: Click **Settings** at the top of the page, then click **Authentication security** in the left sidebar.
33+
1. Scroll down to the "Danger zone" section and, next to "Single sign-on lockdown", click **Enable**.
34+
35+
>[!IMPORTANT] If you have the "Manage enterprise single sign-on configuration" permission but are **not** an enterprise owner, you can enable the lockdown, but you will be unable to authenticate with SSO while the lockdown is active. If your enterprise uses {% data variables.product.prodname_emus %} or has enabled SAML at the enterprise level, this means you will not be able to authenticate to disable the lockdown later.
36+
37+
1. If you are an enterprise owner, reauthenticate with SSO.
38+
1. Once the investigation is complete and you are confident in resuming SSO authentication, come back to this section and disable the lockdown.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: Revoking SSO authorizations or deleting credentials in your enterprise
3+
intro: 'Respond to a security incident by taking bulk action on credentials with access to your enterprise.'
4+
permissions: 'Enterprise owners and users with the "Manage enterprise credentials" fine-grained permission'
5+
product: 'Enterprises with managed users, or enterprises that have enabled SAML SSO for the enterprise or its organizations'
6+
versions:
7+
feature: revoke-enterprise-tokens
8+
type: how_to
9+
topics:
10+
- Accounts
11+
- Authentication
12+
- Enterprise
13+
- Identity
14+
shortTitle: Revoke authorizations or tokens
15+
---
16+
17+
When your enterprise is affected by a major security incident, you can respond by preventing programmatic access to your enterprise or its organizations.
18+
19+
In the "Authentication security" section of your enterprise settings, you can review counts for user tokens and keys that are authorized for single sign-on (SSO). Then, if needed, you can use one of the following bulk actions in the "Danger zone":
20+
21+
* **Revoke SSO authorizations** to remove access to SSO-protected organization resources for user credentials in your enterprise.
22+
* **Delete keys and tokens** to remove user tokens and SSH keys in your enterprise, even if they don't have an SSO authorization ({% data variables.product.prodname_emus %} only).
23+
24+
>[!WARNING] These are high-impact actions that should be reserved for major security incidents. They are likely to break automations, and it could take months of work to restore your original state. For alternative options for responding to individual compromised tokens on a smaller scale, see the [Resources for smaller-scale responses](#resources-for-smaller-scale-responses) section.
25+
26+
## Accessing the authentication security page
27+
28+
{% data reusables.enterprise-accounts.access-enterprise %}
29+
{% data reusables.enterprise-accounts.settings-tab %}
30+
1. In the left sidebar, click **Authentication security**.
31+
32+
## Reviewing credentials
33+
34+
In the "Credentials" section, you can view how many credentials of each type have **at least one SSO authorization** for an organization in your enterprise. For more information, see [AUTOTITLE](/authentication/authenticating-with-single-sign-on/about-authentication-with-single-sign-on).
35+
36+
The counts include:
37+
38+
* {% data variables.product.pat_v2_caps_plural %}
39+
* {% data variables.product.pat_v1_caps_plural %}
40+
* User SSH keys
41+
* {% data variables.product.prodname_github_app %} and {% data variables.product.prodname_oauth_app %} user access tokens
42+
43+
An exact count is displayed if there are 10,000 or fewer of a token type. Above that figure, the description `10k+ tokens` is displayed.
44+
45+
## Taking bulk action (danger zone)
46+
47+
Use the **Danger zone** bulk action buttons to respond to a security incident as needed. The following sections describe each action, which SSO authorizations or credentials are impacted, and related audit log events.
48+
49+
>[!NOTE] If your enterprise does **not** use {% data variables.product.prodname_emus %} and has **not** enabled SAML SSO, neither of these actions is available. As an alternative, if you need users to replace {% data variables.product.pat_generic_plural %} as part of your incident response, you can configure an enterprise policy to expire all {% data variables.product.pat_generic_plural %}. See [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-personal-access-tokens-in-your-enterprise).
50+
51+
### Revoke SSO authorizations
52+
53+
This action is available for {% data variables.product.prodname_emus %} or enterprises that use SAML SSO.
54+
55+
Revoking authorizations removes SSO authorizations for user tokens and SSH keys across all organizations in your enterprise.
56+
57+
* Credentials that have had SSO authorizations revoked **cannot be re-authorized** for the affected organizations. To restore access, users must create new credentials and authorize them.
58+
* The credentials themselves are not deleted, and their permissions for the user and enterprise scopes, and for non-SSO-protected organizations, **remain active**.
59+
* Credentials that have not been authorized for SSO are **not affected**.
60+
61+
Authorization for **{% data variables.product.pat_v2_plural %}** works differently, so this action has a different effect on this token type. For fine-grained PATs where an organization is the "resource owner," the resource owner is removed, removing access to organization resources. Users can change the resource owner back to the organization account, which may require approval (see [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-personal-access-tokens-in-your-enterprise#enforcing-an-approval-policy-for-fine-grained-personal-access-tokens)).
62+
63+
### Delete keys and tokens
64+
65+
This action is available for {% data variables.product.prodname_emus %} only.
66+
67+
Deleting keys and tokens removes credentials that have access to your enterprise, regardless of whether they are authorized for SSO. The credentials stop working and are no longer visible in the UI.
68+
69+
To restore programmatic access, users must create new credentials, authorize them with organizations if required, and update affected processes to use the new credentials.
70+
71+
### Included credentials
72+
73+
Both actions include the following credential types:
74+
75+
* User SSH keys
76+
* {% data variables.product.prodname_oauth_apps %} user access tokens (`ghu_`)
77+
* {% data variables.product.prodname_github_app %} user access tokens
78+
* {% data variables.product.pat_v1_caps_plural %}
79+
* {% data variables.product.pat_v2_caps_plural %}
80+
81+
Note that the "revoke authorizations" action works differently for {% data variables.product.pat_v2_plural %}, as explained above.
82+
83+
The following credential types are **not** affected:
84+
85+
* {% data variables.product.prodname_github_app %} installation tokens (`ghs_`)
86+
* {% data variables.product.pat_v2_caps_plural %}
87+
* Deploy keys
88+
* {% data variables.product.prodname_actions %} `GITHUB_TOKEN` access
89+
90+
### Audit and security log events
91+
92+
The "revoke authorizations" action generates the following events:
93+
94+
* `org_credential_authorization.deauthorize`
95+
* `org_credential_authorization.revoke`
96+
* `personal_access_token.access_revoked`
97+
98+
The "delete tokens" action also generates those events, and additionally generates the following events:
99+
100+
* `oauth_access.destroy`
101+
* `personal_access_token.destroy`
102+
103+
## Resources for smaller-scale responses
104+
105+
The following articles describe alternative actions for managing incidents that are smaller in scope, where you can identify specific compromised tokens or user accounts.
106+
107+
* [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token)
108+
* [AUTOTITLE](/code-security/tutorials/remediate-leaked-secrets/remediating-a-leaked-secret)
109+
* [AUTOTITLE](/rest/credentials/revoke) in the REST API documentation

content/copilot/concepts/billing/copilot-requests.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ The available models vary depending on your {% data variables.product.prodname_c
9292
> * Discounted multipliers are available for using {% data variables.copilot.copilot_auto_model_selection %} in {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %}. See [AUTOTITLE](/copilot/concepts/auto-model-selection).
9393
> * {% data reusables.copilot.auto-model-multiplier-discount %} For example, Sonnet 4 would be billed at .9x rather than 1x when using {% data variables.copilot.copilot_auto_model_selection_short %}.
9494
> * Discounted multipliers are not available for {% data variables.copilot.copilot_free_short %}.
95+
> * The multiplier for {% data variables.copilot.copilot_claude_sonnet_46 %} may be subject to change.
9596
9697
Each model has a premium request multiplier, based on its complexity and resource usage. If you are on a paid {% data variables.product.prodname_copilot_short %} plan, your premium request allowance is deducted according to this multiplier.
9798

content/copilot/reference/ai-models/model-hosting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Used for:
5959
* {% data variables.copilot.copilot_claude_opus_46 %}
6060
* {% data variables.copilot.copilot_claude_opus_46_fast %}
6161
* {% data variables.copilot.copilot_claude_sonnet_40 %}
62+
* {% data variables.copilot.copilot_claude_sonnet_46 %}
6263

6364
These models are hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform. {% data variables.product.github %} has provider agreements in place to ensure data is not used for training. Additional details for each provider are included below:
6465

content/copilot/reference/ai-models/supported-models.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ The following table shows which AI models are available in each {% data variable
9292

9393
## Model multipliers
9494

95+
{% data reusables.copilot.sonnet-46-model-multiplier-note %}
96+
9597
Each model has a premium request multiplier, based on its complexity and resource usage. If you are on a paid {% data variables.product.prodname_copilot_short %} plan, your premium request allowance is deducted according to this multiplier.
9698

9799
For more information about premium requests, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ability to view counts for and revoke tokens in the enterprise, issue #21100
2+
3+
versions:
4+
ghec: '*'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> [!NOTE]
2+
The multiplier for {% data variables.copilot.copilot_claude_sonnet_46 %} may be subject to change.
3+

data/tables/copilot/model-multipliers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
multiplier_paid: 1
3838
multiplier_free: Not applicable
3939

40+
- name: Claude Sonnet 4.6
41+
multiplier_paid: 1
42+
multiplier_free: Not applicable
43+
4044
- name: Gemini 2.5 Pro
4145
multiplier_paid: 1
4246
multiplier_free: Not applicable

0 commit comments

Comments
 (0)