Skip to content

Commit 786d605

Browse files
authored
Merge pull request #46065 from github/repo-sync
Repo sync
2 parents dc1c914 + bb972a6 commit 786d605

44 files changed

Lines changed: 909 additions & 44 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/instructions/all.instructions.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ applyTo: "**"
66

77
This repository powers the GitHub Docs site (docs.github.com). It contains both the Next.js application code (TypeScript) and the documentation content (Markdown).
88

9+
## Choosing the pull request repository
10+
11+
- For work by GitHub employees, create pull requests in `github/docs-internal` by default, even if the current clone or `origin` remote points to `github/docs`. Use `github/docs` only when the contribution is intentionally public, such as when collaborating with an external contributor or customer.
12+
- Treat work originating from an internal repository, issue, pull request, or discussion as internal.
13+
- Before pushing a branch or creating a pull request, verify the destination repository explicitly instead of inferring it from the current Git remote. If the intended destination is unclear, ask the user.
14+
915
## Creating a pull request
1016

1117
When you create a pull request:
5 Bytes
Loading
3 Bytes
Loading
22.8 KB
Loading
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Configuring Proof of Presence
3+
shortTitle: Proof of Presence
4+
intro: 'Reduce the risk from compromised sessions by requiring people to reauthenticate with your identity provider before they perform high-impact actions in your enterprise.'
5+
product: 'Enterprise accounts on {% data variables.product.prodname_ghe_cloud %}'
6+
versions:
7+
feature: proof-of-presence
8+
contentType: concepts
9+
---
10+
11+
{% data reusables.public-preview.public-preview %}
12+
13+
## About Proof of Presence
14+
15+
Proof of Presence (PoP) adds an identity-provider challenge to sudo mode for enterprises. When a member attempts a protected high-impact action, {% data variables.product.github %} requires the member to reauthenticate through the enterprise's configured identity provider (IdP) before the action can proceed.
16+
17+
PoP uses the same session and timeout model as sudo mode, and the same protected actions that trigger sudo mode will trigger a PoP challenge. After a member successfully reauthenticates, the member can perform protected actions until the sudo-mode session expires. See [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/sudo-mode).
18+
19+
PoP can help you reduce the impact of a compromised session and meet compliance requirements for fresh authentication before sensitive operations. Before enabling PoP, make sure your IdP authentication policies provide the level of assurance that you require.
20+
21+
## Supported identity providers
22+
23+
{% data reusables.enterprise-accounts.proof-of-presence-supported-idps %}
24+
25+
## What members experience
26+
27+
When a member of your enterprise attempts a protected action and needs to reauthenticate, {% data variables.product.github %} redirects the member to the enterprise's IdP. The member follows the IdP prompts, including any required multi-factor authentication, then returns to {% data variables.product.github %} to complete the action.
28+
29+
If a member cannot complete the challenge, they should contact the enterprise administrator or IdP administrator who manages authentication for the enterprise.
30+
31+
## Prerequisites
32+
33+
Before you use PoP, configure SSO between your enterprise and a supported IdP. The configuration depends on your account and deployment type:
34+
35+
* For an enterprise that uses personal accounts, see [AUTOTITLE](/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise).
36+
{% ifversion ghec %}
37+
* For an enterprise that uses {% data variables.product.prodname_emus %}, see [AUTOTITLE](/admin/managing-iam/understanding-iam-for-enterprises/getting-started-with-enterprise-managed-users#configure-authentication).
38+
{% endif %}
39+
40+
## Enabling Proof of Presence
41+
42+
When you enable Proof of Presence, this policy will apply across your enterprise.
43+
44+
{% data reusables.enterprise-accounts.access-enterprise %}
45+
{% data reusables.enterprise-accounts.settings-tab %}
46+
1. Under {% octicon "gear" aria-hidden="true" aria-label="gear" %} **Settings**, click **Authentication security**.
47+
1. From the **Proof of presence** dropdown menu, select an authentication requirement.
48+
49+
Both options require the member to complete an authentication challenge through your IdP.
50+
51+
* **Re-authentication**: Requires the member to authenticate again. Depending on your enterprise's authentication policy, the member may be able to satisfy the challenge with password-based authentication.
52+
* **MFA**: Requires the member to authenticate again and satisfy an additional multi-factor authentication challenge, such as using an authenticator app or biometric scan, as configured by your enterprise.

‎content/admin/configuring-settings/hardening-security-for-your-enterprise/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versions:
66
ghec: '*'
77
ghes: '*'
88
children:
9+
- /configuring-proof-of-presence
910
- /configuring-tls
1011
- /configuring-tls-and-ssh-ciphers
1112
- /troubleshooting-tls-errors

‎content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-oidc-for-enterprise-managed-users.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ After you enable OIDC SSO, enable provisioning. See [AUTOTITLE](/admin/managing-
6565
You can use the role of guest collaborator to grant limited access to vendors and contractors in your enterprise. Unlike enterprise members, guest collaborators only have access to internal repositories within organizations where they are a member.
6666

6767
To use guest collaborators with OIDC authentication, you may need to update your settings in Entra ID. See [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/enabling-guest-collaborators).
68+
69+
## Enabling Proof of Presence
70+
71+
After you configure OIDC SSO, your enterprise can use Proof of Presence to require reauthentication through your IdP before high-impact actions. {% data reusables.enterprise-accounts.proof-of-presence-supported-idps %} For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-proof-of-presence).

‎content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,7 @@ After you enable SAML SSO, enable provisioning. For more information, see [AUTOT
133133
You can use the role of guest collaborator to grant limited access to vendors and contractors in your enterprise. Unlike enterprise members, guest collaborators only have access to internal repositories within organizations where they are a member.
134134

135135
If you use Entra ID or Okta for SAML authentication, you may need to update your IdP application to use guest collaborators. For more information, see [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/enabling-guest-collaborators).
136+
137+
### Enable Proof of Presence
138+
139+
After you configure SAML SSO, your enterprise can use Proof of Presence to require reauthentication through your IdP before high-impact actions. {% data reusables.enterprise-accounts.proof-of-presence-supported-idps %} For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-proof-of-presence).

‎content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ You can enable or disable SAML authentication for {% data variables.location.pro
148148

149149
{% endif %}
150150

151+
{% ifversion proof-of-presence %}
152+
153+
## Enabling Proof of Presence
154+
155+
After you configure SAML SSO, your enterprise can use Proof of Presence to require reauthentication through your IdP before high-impact actions. {% data reusables.enterprise-accounts.proof-of-presence-supported-idps %} For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-proof-of-presence).
156+
157+
{% endif %}
158+
151159
## Further reading
152160

153161
{%- ifversion ghec %}

‎content/authentication/keeping-your-account-and-data-secure/sudo-mode.md‎

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Sudo mode
3-
intro: 'To confirm access to your account before you perform a potentially sensitive action, {% data variables.location.product_location %} prompts for authentication.'
3+
intro: 'To confirm access to your account before you perform a protected high-impact action, {% data variables.location.product_location %} prompts for authentication.'
44
redirect_from:
55
- /articles/sudo-mode
66
- /github/authenticating-to-github/sudo-mode
@@ -15,12 +15,16 @@ category:
1515

1616
## About sudo mode
1717

18-
To maintain the security of your account when you perform a potentially sensitive action on {% data variables.location.product_location %}, you must authenticate even though you're already signed in. For example, {% data variables.product.company_short %} considers the following actions sensitive because each action could allow a new person or system to access your account.
18+
To maintain the security of your account when you perform a protected high-impact action on {% data variables.location.product_location %}, you must authenticate even though you're already signed in. {% data variables.product.company_short %} requires authentication for actions that can affect access to accounts and resources, including but not limited to:
1919

20-
* Modification of an associated email address
21-
* Authorization of a third-party application
22-
* Addition of a new SSH key
23-
* Creation of a PAT or application
20+
* **Account**: Deleting your user account, modifying an associated email address, adding a new SSH key, or authorizing third-party applications
21+
* **Developer settings**: Generating or removing a client secret, creating {% data variables.product.pat_generic_plural %}, revoking all tokens, or transferring a {% data variables.product.prodname_oauth_app %}
22+
* **Webhooks**: Creating, viewing, editing, or deleting repository, organization, or enterprise webhooks; viewing or redelivering webhook deliveries
23+
* **Organization membership**: Sending or editing organization invitations, adding members directly, adding team members, or changing team roles
24+
* **Organization security**: Changing two-factor authentication enforcement or other organization security settings
25+
* **Enterprise settings**: Creating organizations in an enterprise or changing app access settings for an identity provider (IdP) IP allow list
26+
* **Rulesets**: Creating and modifying rulesets at organization and repository level.
27+
* **Recovery codes**: Viewing, downloading, printing, or regenerating authentication or SSO recovery codes
2428

2529
After you authenticate to perform a sensitive action, your session is temporarily in "sudo mode." In sudo mode, you can perform sensitive actions without authentication. {% data variables.product.github %} has a two-hour session timeout period before prompting you for authentication again. During this time, any sensitive action that you perform will reset the timer.
2630

@@ -37,6 +41,16 @@ After you authenticate to perform a sensitive action, your session is temporaril
3741
3842
{% endif %}
3943

44+
{% ifversion proof-of-presence %}
45+
46+
## Proof of Presence for enterprise actions
47+
48+
Enterprises can extend sudo mode with Proof of Presence (PoP). For protected high-impact actions, PoP requires you to reauthenticate through your enterprise's identity provider before the action can proceed. Follow the identity provider's prompts, including any required multi-factor authentication, then return to {% data variables.product.github %} to complete the action.
49+
50+
{% data reusables.enterprise-accounts.proof-of-presence-supported-idps %} For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-proof-of-presence).
51+
52+
{% endif %}
53+
4054
## Confirming access for sudo mode
4155

4256
To confirm access for sudo mode, you can authenticate with your password. Optionally, you can use a different authentication method, like a passkey, {% ifversion fpt or ghec %}a security key, {% data variables.product.prodname_mobile %}, or a 2FA code{% elsif ghes %}a security key or a 2FA code{% endif %}.

0 commit comments

Comments
 (0)