Skip to content

Commit 2029096

Browse files
authored
[EDI] Push protection for users (#59319)
1 parent 09438af commit 2029096

File tree

12 files changed

+96
-124
lines changed

12 files changed

+96
-124
lines changed

content/code-security/concepts/secret-security/about-push-protection.md

Lines changed: 56 additions & 63 deletions
Large diffs are not rendered by default.

content/code-security/how-tos/secure-your-secrets/customize-leak-detection/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: How-tos for customizing secret leak detection
3-
shortTitle: Detection customization
3+
shortTitle: Customize leak detection
44
intro: Learn how to customize {% data variables.product.github %}'s secret leak detection tools.
55
versions:
66
fpt: '*'

content/code-security/how-tos/secure-your-secrets/detect-secret-leaks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: How-tos for detecting secret leaks
3-
shortTitle: Leak detection
3+
shortTitle: Detect secret leaks
44
intro: Learn how to use {% data variables.product.github %}'s tools to detect secret leaks.
55
versions:
66
fpt: '*'

content/code-security/how-tos/secure-your-secrets/manage-bypass-requests/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: How-tos for bypass requests
3-
shortTitle: Bypass requests
3+
shortTitle: Manage bypass requests
44
intro: Learn how to use the delegated bypass feature.
55
versions:
66
fpt: '*'
@@ -15,4 +15,3 @@ children:
1515
- /managing-requests-to-bypass-push-protection
1616
- /reviewing-requests-to-bypass-push-protection
1717
---
18-
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How-tos for leak prevention
3-
shortTitle: Leak prevention
4-
intro: Learn how to prevent future secret leaks with {% data variables.product.github %}'s tools.
3+
shortTitle: Prevent future leaks
4+
intro: Learn how to prevent future secret leaks with {% data variables.product.github %}'s push protection.
55
versions:
66
fpt: '*'
77
ghes: '*'
@@ -12,6 +12,5 @@ topics:
1212
contentType: how-tos
1313
children:
1414
- /enabling-push-protection-for-your-repository
15-
- /push-protection-for-users
15+
- /manage-user-push-protection
1616
---
17-
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Managing push protection for users
3+
shortTitle: Manage user push protection
4+
intro: You can control {% data variables.product.github %}'s ability to block your pushes that may contain secrets.
5+
versions:
6+
feature: secret-scanning-push-protection-for-users
7+
product: '{% data reusables.gated-features.push-protection-for-users %}'
8+
contentType: how-tos
9+
topics:
10+
- Secret scanning
11+
- Secret Protection
12+
- Alerts
13+
- User account
14+
redirect_from:
15+
- /code-security/secret-scanning/push-protection-for-users
16+
- /code-security/secret-scanning/working-with-secret-scanning-and-push-protection/push-protection-for-users
17+
- /code-security/how-tos/secure-your-secrets/prevent-future-leaks/push-protection-for-users
18+
---
19+
20+
{% data reusables.user-settings.access_settings %}
21+
{% data reusables.user-settings.security-analysis %}
22+
1. Under "User", to the right of "Push protection for yourself", update your settings.
23+
24+
![Screenshot of the "User" section of the "Code security and analysis" settings page. A button labeled "Disable" is outlined in dark orange.](/assets/images/help/security/push-protection-for-yourself.png)

content/code-security/how-tos/secure-your-secrets/prevent-future-leaks/push-protection-for-users.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

content/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: How-tos for push protection
3-
shortTitle: Push protection
4-
intro: Learn how to use {% data variables.product.github %}'s push protection.
2+
title: How-tos for working with leak prevention
3+
shortTitle: Work with leak prevention
4+
intro: Learn how to work with {% data variables.product.github %}'s push protection in different environments.
55
versions:
66
fpt: '*'
77
ghes: '*'

data/learning-tracks/code-security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ secret_scanning:
127127
endif %}
128128
- >-
129129
{% ifversion secret-scanning-push-protection-for-users
130-
%}/code-security/how-tos/secure-your-secrets/prevent-future-leaks/push-protection-for-users{%
130+
%}/code-security/how-tos/secure-your-secrets/prevent-future-leaks/manage-user-push-protection{%
131131
endif %}
132132
- >-
133133
{% ifversion secret-scanning-push-protection
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
Push protection for users is on by default on the following repository types:
2-
3-
* Public repositories
1+
Push protection for users is on by default for public repositories

0 commit comments

Comments
 (0)