Skip to content

Commit bd36716

Browse files
authored
Merge pull request #12288 from github/repo-sync
repo sync
2 parents 0dcddaa + c255758 commit bd36716

23 files changed

Lines changed: 5045 additions & 562 deletions
157 KB
Loading
67.5 KB
Loading
44.4 KB
Loading
43.5 KB
Loading
57.9 KB
Loading
156 KB
Loading
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Configuring custom footers
3+
intro: 'You can give users easy access to enterprise-specific links by adding custom footers to {% data variables.product.product_name %}.'
4+
versions:
5+
ghec: '*'
6+
ghes: '>=3.4'
7+
type: how_to
8+
topics:
9+
- Enterprise
10+
- Fundamentals
11+
shortTitle: Configure custom footers
12+
---
13+
Enterprise owners can configure {% data variables.product.product_name %} to show custom footers with up to five additional links.
14+
15+
![Custom footer](/assets/images/enterprise/custom-footer/octodemo-footer.png)
16+
17+
The custom footer is displayed above the {% data variables.product.prodname_dotcom %} footer {% ifversion ghes or ghae %}to all users, on all pages of {% data variables.product.product_name %}{% else %}to all enterprise members and collaborators, on all repository and organization pages for repositories and organizations that belong to the enterprise{% endif %}.
18+
19+
## Configuring custom footers for your enterprise
20+
21+
{% data reusables.enterprise-accounts.access-enterprise %}
22+
{% data reusables.enterprise-accounts.settings-tab %}
23+
24+
1. Under "Settings", click **Profile**.
25+
{%- ifversion ghec %}
26+
![Enterprise profile settings](/assets/images/enterprise/custom-footer/enterprise-profile-ghec.png)
27+
{%- else %}
28+
![Enterprise profile settings](/assets/images/enterprise/custom-footer/enterprise-profile-ghes.png)
29+
{%- endif %}
30+
31+
1. At the top of the Profile section, click **Custom footer**.
32+
![Custom footer section](/assets/images/enterprise/custom-footer/custom-footer-section.png)
33+
34+
1. Add up to five links in the fields shown.
35+
![Add footer links](/assets/images/enterprise/custom-footer/add-footer-links.png)
36+
37+
1. Click **Update custom footer** to save the content and display the custom footer.
38+
![Update custom footer](/assets/images/enterprise/custom-footer/update-custom-footer.png)

content/admin/configuration/configuring-your-enterprise/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ children:
3434
- /restricting-network-traffic-to-your-enterprise
3535
- /configuring-github-pages-for-your-enterprise
3636
- /configuring-the-referrer-policy-for-your-enterprise
37+
- /configuring-custom-footers
3738
shortTitle: Configure your enterprise
3839
---
3940

content/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,8 @@ After your pattern is created, {% data variables.product.prodname_secret_scannin
8282

8383
## Defining a custom pattern for an enterprise account
8484

85-
{% ifversion fpt or ghec or ghes %}
86-
8785
Before defining a custom pattern, you must ensure that you enable secret scanning for your enterprise account. For more information, see "[Enabling {% data variables.product.prodname_GH_advanced_security %} for your enterprise]({% ifversion fpt or ghec %}/enterprise-server@latest/{% endif %}/admin/advanced-security/enabling-github-advanced-security-for-your-enterprise)."
8886

89-
{% endif %}
90-
9187
{% note %}
9288

9389
**Note:** As there is no dry-run functionality, we recommend that you test your custom patterns in a repository before defining them for your entire enterprise. That way, you can avoid creating excess false-positive {% data variables.product.prodname_secret_scanning %} alerts.
@@ -98,12 +94,12 @@ Before defining a custom pattern, you must ensure that you enable secret scannin
9894
{% data reusables.enterprise-accounts.policies-tab %}
9995
{% data reusables.enterprise-accounts.advanced-security-policies %}
10096
{% data reusables.enterprise-accounts.advanced-security-security-features %}
101-
1. Under "Secret scanning custom patterns", click {% ifversion fpt or ghes > 3.2 or ghae-next or ghec %}**New pattern**{% elsif ghes = 3.2 %}**New custom pattern**{% endif %}.
97+
1. Under "Secret scanning custom patterns", click {% ifversion ghes = 3.2 %}**New custom pattern**{% else %}**New pattern**{% endif %}.
10298
{% data reusables.advanced-security.secret-scanning-add-custom-pattern-details %}
10399

104100
After your pattern is created, {% data variables.product.prodname_secret_scanning %} scans for any secrets in {% ifversion fpt or ghec %}private{% endif %} repositories within your enterprise's organizations with {% data variables.product.prodname_GH_advanced_security %} enabled, including their entire Git history on all branches. Organization owners and repository administrators will be alerted to any secrets found, and can review the alert in the repository where the secret is found. For more information on viewing {% data variables.product.prodname_secret_scanning %} alerts, see "[Managing alerts from {% data variables.product.prodname_secret_scanning %}](/code-security/secret-security/managing-alerts-from-secret-scanning)."
105101

106-
{% ifversion fpt or ghes > 3.2 or ghec %}
102+
{% ifversion fpt or ghes > 3.2 or ghec or ghae %}
107103
## Editing a custom pattern
108104

109105
When you save a change to a custom pattern, this closes all the {% data variables.product.prodname_secret_scanning %} alerts that were created using the previous version of the pattern.
@@ -120,7 +116,7 @@ When you save a change to a custom pattern, this closes all the {% data variable
120116

121117
* For a repository or organization, display the "Security & analysis" settings for the repository or organization where the custom pattern was created. For more information, see "[Defining a custom pattern for a repository](#defining-a-custom-pattern-for-a-repository)" or "[Defining a custom pattern for an organization](#defining-a-custom-pattern-for-an-organization)" above.
122118
* For an enterprise, under "Policies" display the "Advanced Security" area, and then click **Security features**. For more information, see "[Defining a custom pattern for an enterprise account](#defining-a-custom-pattern-for-an-enterprise-account)" above.
123-
{%- ifversion fpt or ghes > 3.2 or ghae-next %}
119+
{%- ifversion fpt or ghes > 3.2 or ghae %}
124120
1. To the right of the custom pattern you want to remove, click {% octicon "trash" aria-label="The trash icon" %}.
125121
1. Review the confirmation, and select a method for dealing with any open alerts relating to the custom pattern.
126122
1. Click **Yes, delete this pattern**.

content/rest/reference/secret-scanning.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ miniTocMaxHeadingLevel: 3
1111

1212
{% data reusables.secret-scanning.api-beta %}
1313

14-
The {% data variables.product.prodname_secret_scanning %} API lets you retrieve and update secret scanning alerts from a {% ifversion fpt or ghec %}private {% endif %}repository. For more information on secret scanning, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
14+
The {% data variables.product.prodname_secret_scanning %} API lets you{% ifversion fpt or ghec or ghes > 3.1 or ghae-next %}:
15+
16+
- Enable or disable {% data variables.product.prodname_secret_scanning %} for a repository. For more information, see "[Repositories](/rest/reference/repos#update-a-repository)" in the REST API documentation.
17+
- Retrieve and update {% data variables.product.prodname_secret_scanning %} alerts from a {% ifversion fpt or ghec %}private {% endif %}repository. For futher details, see the sections below.
18+
{%- else %} retrieve and update {% data variables.product.prodname_secret_scanning %} alerts from a {% ifversion fpt or ghec %}private {% endif %}repository.{% endif %}
19+
20+
For more information about {% data variables.product.prodname_secret_scanning %}, see "[About {% data variables.product.prodname_secret_scanning %}](/code-security/secret-security/about-secret-scanning)."
1521

1622
{% include rest_operations_at_current_path %}

0 commit comments

Comments
 (0)