Skip to content

Commit 43990a5

Browse files
authored
Update 3-github-copilot-contractual-protections-disabling-matching-public-code.md
1 parent f12910f commit 43990a5

1 file changed

Lines changed: 28 additions & 6 deletions

File tree

learn-pr/github/github-copilot-management-and-customizations/includes/3-github-copilot-contractual-protections-disabling-matching-public-code.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,38 @@ To help ensure that your organization remains compliant with legal requirements,
1616

1717
GitHub Copilot can help minimize potential code overlap by identifying and filtering out code suggestions that match publicly available code. This feature is essential for maintaining the originality and security of your codebase. It can reduce the risk of incorporating nonsecure or noncompliant code into your projects.
1818

19-
To block suggestions that match public code:
19+
### Key distinctions
2020

21-
1. On the upper-right corner of any page on GitHub, select your profile photo, and then select **Your enterprises** or **Your organizations**.
21+
| Scope | Who can manage | What it controls | Notes |
22+
|-------|----------------|----------------|-------|
23+
| **Organization (Business/Enterprise plans)** | Admins | Public Code filter for all members; required for IP indemnity | Organization admins can block suggestions matching public code for all members. This is required to activate Intellectual Property Indemnity. |
24+
| **Personal account (Free, Pro, Pro+) – individually paid** | Individual user | Toggle to Allow or Block suggestions matching public code | Users who purchase their own Copilot license can fully control this setting in their personal account under **Copilot → Features → Privacy**. |
25+
| **Personal account (Free, Pro, Pro+) – org-provided** | Individual user | Toggle to Allow or Block suggestions matching public code | If your seat is assigned by an organization, the toggle may be **locked** and will reflect the organization’s policy. |
2226

23-
1. Next to the enterprise or organization, select **Settings**.
27+
### Managing the organizational public code filter
2428

25-
1. On the left sidebar, select **Copilot**.
29+
For organizations on **Business or Enterprise plans**, admins can control whether Copilot blocks suggestions that match public code. This is important for compliance and to enable IP indemnity.
2630

27-
1. Under **Suggestions**, select **Matching public code** on the dropdown menu, and then select **Block**.
31+
**Steps for organization admins:**
2832

29-
1. To confirm your new settings, select **Save**.
33+
1. In the upper-right corner of GitHub, click your **profile picture**, then select **Your enterprises** or **Your organizations**.
34+
2. Next to the enterprise or organization you want to configure, click **Settings**.
35+
3. In the left sidebar, click **Copilot** under **Code, planning, and automation**.
36+
4. Click **Features**, then scroll to the **Privacy** section.
37+
5. Locate **Suggestions matching public code** and choose the desired option (e.g., **Block** to prevent matching suggestions across the organization).
38+
6. Click **Save** to apply the changes.
39+
40+
41+
### Managing public code suggestions for personal users
42+
43+
If you are paying for your own Copilot license (Free, Pro, or Pro+), you can control suggestions matching public code directly in your account.
44+
45+
**Steps for personal license holders:**
46+
47+
1. In the upper-right corner of GitHub, click your **profile picture**, then select **Settings**.
48+
2. In the left sidebar, click **Copilot** under **Code, planning, and automation**.
49+
3. Click **Features**, then scroll to the **Privacy** section.
50+
4. Locate **Suggestions matching public code** and toggle between **Allow** or **Block** according to your preference.
51+
5. Your choice will immediately affect the suggestions Copilot provides in your personal environment.
3052

3153
Now let's explore managing content exclusion from an internal lens.

0 commit comments

Comments
 (0)