Skip to main content

Überprüfen von Änderungen an Inhaltsausschlüssen für GitHub Copilot

Sie können Änderungen an Inhaltsausschlüssen in Ihren Repositorys und Organisationen überwachen.

Wer kann dieses Feature verwenden?

Organization owners

Organisationen und Unternehmen mit einem Abonnement von GitHub Copilot Business oder GitHub Copilot Enterprise.

Organization and repository settings include the ability to exclude content from being used by GitHub Copilot. You can review any changes that are made to these content exclusion settings.

Reviewing changes in your repository

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Code & automation" section of the side bar, click Copilot.

  4. Scroll to the bottom of the page.

    You will see the name of the person who last changed the content exclusion settings, and information about when they made this change.

  5. Click the time of the last change.

    Screenshot of the last edited information. The time of change link is highlighted with a dark orange outline.

    The "Audit log" page for the organization is displayed, showing the most recently logged occurrences of the copilot.content_exclusion_changed action in the repository.

  6. Click the ellipsis (...) at the end of each entry to see more details.

    If the "excluded_paths" entry is truncated, hover over the truncated value to show the full entry. This displays the content of the exclusion settings after the change was saved.

    Screenshot of audit log details for the 'copilot.content_exclusion_changed' action. The ellipsis button is highlighted.

Reviewing changes in your organization

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. In the left sidebar, click Copilot then click Content exclusion.

  4. Scroll to the bottom of the page.

    You will see the name of the person who last changed the content exclusion settings, and information about when they made this change.

  5. Click the time of the last change.

    Screenshot of the last edited information. The time of change link is highlighted with a dark orange outline.

    The "Audit log" page for the organization is displayed, showing the most recently logged occurrences of the copilot.content_exclusion_changed action.

    Changes made at either the repository or organization level are listed.

  6. Click the ellipsis (...) at the end of each entry to see more details.

    If the "excluded_paths" entry is truncated, hover over the truncated value to show the full entry. This displays the content of the exclusion settings after the change was saved.

    Screenshot of audit log details for the 'copilot.content_exclusion_changed' action. The ellipsis button is highlighted.

Reviewing changes in your enterprise

  1. In the top-right corner of GitHub, click your profile photo.

  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.

  3. On the left side of the page, in the enterprise account sidebar, click Policies.

  4. In the " Policies" section, click Copilot.

  5. On the GitHub Copilot page, click the Content exclusion tab.

    At the bottom of the page you'll see the name of the person who last changed the content exclusion settings, and information about when they made this change.

  6. Click the time of the last change.

    Screenshot of the last edited information. The time of change link is highlighted with a dark orange outline.

    The "Audit log" page for the organization is displayed, showing the most recently logged occurrences of the copilot.content_exclusion_changed action.

    Changes made at the repository, organization, and enterprise level are listed.

  7. Click the ellipsis (...) at the end of each entry to see more details.

    If the "excluded_paths" entry is truncated, hover over the truncated value to show the full entry. This displays the content of the exclusion settings after the change was saved.

    Screenshot of audit log details for the 'copilot.content_exclusion_changed' action. The ellipsis button is highlighted.