Skip to content

Commit 749882c

Browse files
authored
Merge pull request #40378 from github/repo-sync
Repo sync
2 parents d3d21e7 + eb59857 commit 749882c

File tree

17 files changed

+60
-49
lines changed

17 files changed

+60
-49
lines changed

content/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-firewall.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,31 @@ By default, {% data variables.product.prodname_copilot_short %}'s access to the
2525

2626
Limiting access to the internet helps to manage data exfiltration risks, where surprising behavior from {% data variables.product.prodname_copilot_short %}, or malicious instructions given to it, could lead to code or other sensitive information being leaked to remote locations.
2727

28-
The default firewall rules allow access to a number of hosts that {% data variables.product.prodname_copilot_short %} uses to interact with {% data variables.product.github %} or to download dependencies.
28+
The firewall always allows access to a number of hosts that {% data variables.product.prodname_copilot_short %} uses to interact with {% data variables.product.github %}. By default, a recommended allowlist is also enabled to allow the agent to download dependencies.
2929

3030
If {% data variables.product.prodname_copilot_short %} tries to make a request which is blocked by the firewall, a warning is added to the pull request body (if {% data variables.product.prodname_copilot_short %} is creating a pull request for the first time) or to a comment (if {% data variables.product.prodname_copilot_short %} is responding to a pull request comment). The warning shows the blocked address and the command that tried to make the request.
3131

3232
![Screenshot of a warning from {% data variables.product.prodname_copilot_short %} about being blocked by the firewall.](/assets/images/help/copilot/coding-agent/firewall-warning.png)
3333

34+
## Managing the recommended firewall allowlist
35+
36+
The recommended allowlist, enabled by default, allows access to:
37+
38+
* Common operating system package repositories (for example, Debian, Ubuntu, Red Hat).
39+
* Common container registries (for example, Docker Hub, Azure Container Registry, AWS Elastic Container Registry).
40+
* Packages registries used by popular programming languages (C#, Dart, Go, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby, Rust, Swift).
41+
* Common certificate authorities (to allow SSL certificates to be validated).
42+
* Hosts used to download web browsers for the Playwright MCP server.
43+
44+
You can choose to turn off the recommended allowlist.
45+
46+
{% data reusables.repositories.navigate-to-repo %}
47+
{% data reusables.repositories.sidebar-settings %}
48+
1. In the "Code & automation" section of the sidebar, click **{% data variables.product.prodname_copilot_short %}** then **{% data variables.copilot.copilot_coding_agent_short %}**.
49+
1. Toggle the **Recommended allowlist** setting **off**.
50+
51+
To use the recommended allowlist in addition to your own allowlist, keep the **Recommended allowlist** setting **on**, and add your additional addresses in the **Custom allowlist** page.
52+
3453
## Allowlisting additional hosts in the agent's firewall
3554

3655
You can allowlist additional addresses in the agent's firewall.
@@ -39,7 +58,7 @@ You can allowlist additional addresses in the agent's firewall.
3958
{% data reusables.repositories.sidebar-settings %}
4059
1. In the "Code & automation" section of the sidebar, click **{% data variables.product.prodname_copilot_short %}** then **{% data variables.copilot.copilot_coding_agent_short %}**.
4160
1. Click **Custom allowlist**
42-
1. Add the addresses you want to include in the allow list. You can include:
61+
1. Add the addresses you want to include in the allowlist. You can include:
4362

4463
* **Domains** (for example, `packages.contoso.corp`). Traffic will be allowed to the specified domain and any subdomains.
4564

@@ -52,14 +71,6 @@ You can allowlist additional addresses in the agent's firewall.
5271
1. Click **Add Rule**.
5372
1. After validating your list, click **Save changes**.
5473

55-
## Overwriting the recommended firewall allowlist
56-
57-
By default, the firewall allows access to a number of hosts that are commonly used to download dependencies or that {% data variables.product.prodname_copilot_short %} uses to interact with {% data variables.product.github %}.
58-
59-
To disable this, toggle the **Recommended allowlist** setting **off**.
60-
61-
To use the recommended allowlist in addition to your own allowlist, keep the **Recommended allowlist** setting **on**, and add your additional addresses in the **Custom allowlist** page.
62-
6374
### Disabling the firewall
6475

6576
> [!WARNING]

content/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The migration log lists the steps that were completed as part of the migration a
2323
* How long the migration took
2424

2525
> [!IMPORTANT]
26-
> Issues should be enabled in the target repository for the migration log to be created.
26+
> Issues should be enabled in the target repository for the migration log to be created.
2727
2828
You can access the migration log for a repository migration in multiple ways.
2929

src/audit-logs/data/fpt/user.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7782,7 +7782,7 @@
77827782
"operation_type",
77837783
"request_access_security_header"
77847784
],
7785-
"docs_reference_titles": "Showing your private contributions on your profile"
7785+
"docs_reference_titles": "Manage visibility settings for private contributions"
77867786
},
77877787
{
77887788
"action": "user.login",
@@ -8000,7 +8000,7 @@
80008000
"created_at",
80018001
"request_access_security_header"
80028002
],
8003-
"docs_reference_titles": "Showing your private contributions on your profile"
8003+
"docs_reference_titles": "Manage visibility settings for private contributions"
80048004
},
80058005
{
80068006
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghec/user.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7782,7 +7782,7 @@
77827782
"operation_type",
77837783
"request_access_security_header"
77847784
],
7785-
"docs_reference_titles": "Showing your private contributions on your profile"
7785+
"docs_reference_titles": "Manage visibility settings for private contributions"
77867786
},
77877787
{
77887788
"action": "user.login",
@@ -8000,7 +8000,7 @@
80008000
"created_at",
80018001
"request_access_security_header"
80028002
],
8003-
"docs_reference_titles": "Showing your private contributions on your profile"
8003+
"docs_reference_titles": "Manage visibility settings for private contributions"
80048004
},
80058005
{
80068006
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.14/enterprise.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15154,7 +15154,7 @@
1515415154
"operation_type",
1515515155
"request_access_security_header"
1515615156
],
15157-
"docs_reference_titles": "Showing your private contributions on your profile"
15157+
"docs_reference_titles": "Manage visibility settings for private contributions"
1515815158
},
1515915159
{
1516015160
"action": "user.login",
@@ -15464,7 +15464,7 @@
1546415464
"created_at",
1546515465
"request_access_security_header"
1546615466
],
15467-
"docs_reference_titles": "Showing your private contributions on your profile"
15467+
"docs_reference_titles": "Manage visibility settings for private contributions"
1546815468
},
1546915469
{
1547015470
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.14/user.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7340,7 +7340,7 @@
73407340
"operation_type",
73417341
"request_access_security_header"
73427342
],
7343-
"docs_reference_titles": "Showing your private contributions on your profile"
7343+
"docs_reference_titles": "Manage visibility settings for private contributions"
73447344
},
73457345
{
73467346
"action": "user.login",
@@ -7558,7 +7558,7 @@
75587558
"created_at",
75597559
"request_access_security_header"
75607560
],
7561-
"docs_reference_titles": "Showing your private contributions on your profile"
7561+
"docs_reference_titles": "Manage visibility settings for private contributions"
75627562
},
75637563
{
75647564
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.15/enterprise.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15353,7 +15353,7 @@
1535315353
"operation_type",
1535415354
"request_access_security_header"
1535515355
],
15356-
"docs_reference_titles": "Showing your private contributions on your profile"
15356+
"docs_reference_titles": "Manage visibility settings for private contributions"
1535715357
},
1535815358
{
1535915359
"action": "user.login",
@@ -15663,7 +15663,7 @@
1566315663
"created_at",
1566415664
"request_access_security_header"
1566515665
],
15666-
"docs_reference_titles": "Showing your private contributions on your profile"
15666+
"docs_reference_titles": "Manage visibility settings for private contributions"
1566715667
},
1566815668
{
1566915669
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.15/user.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7539,7 +7539,7 @@
75397539
"operation_type",
75407540
"request_access_security_header"
75417541
],
7542-
"docs_reference_titles": "Showing your private contributions on your profile"
7542+
"docs_reference_titles": "Manage visibility settings for private contributions"
75437543
},
75447544
{
75457545
"action": "user.login",
@@ -7757,7 +7757,7 @@
77577757
"created_at",
77587758
"request_access_security_header"
77597759
],
7760-
"docs_reference_titles": "Showing your private contributions on your profile"
7760+
"docs_reference_titles": "Manage visibility settings for private contributions"
77617761
},
77627762
{
77637763
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.16/enterprise.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16067,7 +16067,7 @@
1606716067
"operation_type",
1606816068
"request_access_security_header"
1606916069
],
16070-
"docs_reference_titles": "Showing your private contributions on your profile"
16070+
"docs_reference_titles": "Manage visibility settings for private contributions"
1607116071
},
1607216072
{
1607316073
"action": "user.login",
@@ -16377,7 +16377,7 @@
1637716377
"created_at",
1637816378
"request_access_security_header"
1637916379
],
16380-
"docs_reference_titles": "Showing your private contributions on your profile"
16380+
"docs_reference_titles": "Manage visibility settings for private contributions"
1638116381
},
1638216382
{
1638316383
"action": "user.sign_in_from_unrecognized_device",

src/audit-logs/data/ghes-3.16/user.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7693,7 +7693,7 @@
76937693
"operation_type",
76947694
"request_access_security_header"
76957695
],
7696-
"docs_reference_titles": "Showing your private contributions on your profile"
7696+
"docs_reference_titles": "Manage visibility settings for private contributions"
76977697
},
76987698
{
76997699
"action": "user.login",
@@ -7911,7 +7911,7 @@
79117911
"created_at",
79127912
"request_access_security_header"
79137913
],
7914-
"docs_reference_titles": "Showing your private contributions on your profile"
7914+
"docs_reference_titles": "Manage visibility settings for private contributions"
79157915
},
79167916
{
79177917
"action": "user.sign_in_from_unrecognized_device",

0 commit comments

Comments
 (0)