Skip to content

Commit 8a196ed

Browse files
authored
Merge branch 'main' into docs-base-branch-pencil-icon-43423
2 parents 09d64d6 + 10fca1f commit 8a196ed

File tree

181 files changed

+6461
-424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+6461
-424
lines changed

.github/workflows/content-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ jobs:
7171
git config user.email "github-actions[bot]@users.noreply.github.com"
7272
7373
if git ls-remote --exit-code --heads origin "$UPDATE_BRANCH" > /dev/null 2>&1; then
74-
git fetch origin "$UPDATE_BRANCH" main
74+
git fetch --unshallow origin "$UPDATE_BRANCH" main 2>/dev/null || git fetch origin "$UPDATE_BRANCH" main
7575
git checkout "$UPDATE_BRANCH"
7676
git merge origin/main --no-edit || {
7777
echo "Merge conflict with main — resetting branch to main"
7878
git merge --abort 2>/dev/null || true
79-
git checkout main
79+
git checkout -f main
8080
git branch -D "$UPDATE_BRANCH"
8181
if [ -z "$PR_NUMBER" ]; then
8282
git push origin --delete "$UPDATE_BRANCH" || true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# ---------------------------------------------------------------
1111
# To update the sha:
1212
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
13-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260218-111945-g0ef8bb15f@sha256:03eb088f3581049afaf2984f917a3a9be7e5efc248049f4156cd83481579fb59 AS base
13+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260320-170214-g814cb7830@sha256:90350e63f9b56ec3f60f5ef9f51b489c4eef6462c7727e0d6729a1c8d95a4aa7 AS base
1414

1515
# Install curl for Node install and determining the early access branch
1616
# Install git for cloning docs-early-access & translations repos

content/actions/how-tos/manage-runners/larger-runners/use-custom-images.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ category:
1010
contentType: how-tos
1111
---
1212

13-
{% data reusables.actions.custom-images-public-preview-note %}
14-
1513
## Custom images
1614

1715
You can create a custom image to define the exact environment that your {% data variables.actions.github_hosted_larger_runners %} use. Custom images let you preinstall tools, dependencies, and configurations to speed up workflows and improve consistency across jobs.

content/code-security/concepts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ children:
1414
- supply-chain-security
1515
- /vulnerability-reporting-and-management
1616
- /security-at-scale
17+
---

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ With {% data variables.copilot.copilot_coding_agent %}, {% data variables.produc
3030
* Improve test coverage
3131
* Update documentation
3232
* Address technical debt
33+
* Resolve merge conflicts
3334

3435
To delegate tasks to {% data variables.copilot.copilot_coding_agent %}, you can:
3536

content/copilot/how-tos/administer-copilot/manage-for-enterprise/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ children:
1111
- /manage-agents
1212
- /manage-spark
1313
- /use-your-own-api-keys
14+
- /review-audit-logs
1415
redirect_from:
1516
- /copilot/managing-copilot/managing-copilot-for-your-enterprise
1617
- /copilot/how-tos/administer/enterprises
1718
- /copilot/how-tos/administer/manage-for-enterprise
1819
contentType: how-tos
1920
---
21+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Reviewing audit logs for GitHub Copilot
3+
shortTitle: Review audit logs
4+
intro: Check for changes to settings or licenses in your {% data variables.product.prodname_copilot_short %} plan.
5+
product: '{% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %}'
6+
permissions: Enterprise owners or users with the "Read enterprise audit logs" custom role
7+
redirect_from:
8+
- /copilot/managing-copilot-for-business/reviewing-your-organization-or-enterprises-audit-logs-for-copilot-for-business
9+
- /copilot/managing-copilot-business/reviewing-your-organization-or-enterprises-audit-logs-for-copilot-business
10+
- /copilot/managing-github-copilot-in-your-organization/reviewing-your-organization-or-enterprises-audit-logs-for-copilot-business
11+
- /copilot/managing-github-copilot-in-your-organization/reviewing-audit-logs-for-copilot-business
12+
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-audit-logs-for-copilot-business
13+
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-github-copilot-activity-in-your-organization/reviewing-audit-logs-for-copilot-business
14+
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/reviewing-audit-logs-for-copilot-business
15+
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-audit-logs-for-copilot-business
16+
- /copilot/how-tos/administer/organizations/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-audit-logs-for-copilot-business
17+
- /copilot/how-tos/administer/organizations/reviewing-activity-related-to-github-copilot-in-your-organization/review-audit-logs
18+
- /copilot/how-tos/administer/organizations/review-activity/review-audit-logs
19+
- /copilot/how-tos/administer/manage-for-organization/review-activity/review-audit-logs
20+
- /copilot/how-tos/administer-copilot/manage-for-organization/review-activity/review-audit-logs
21+
versions:
22+
feature: copilot
23+
contentType: how-tos
24+
category:
25+
- Manage Copilot for a team
26+
---
27+
28+
You can use the audit log to review actions taken in your enterprise. The audit log includes a record of:
29+
30+
* Changes to your {% data variables.product.prodname_copilot_short %} plan, such as changes to settings and policies or a user losing or receiving a license
31+
* Agent activity on the {% data variables.product.github %} website
32+
33+
The audit log does **not** include client session data, such as the prompts a user sends to {% data variables.product.prodname_copilot_short %} locally. A custom solution is required to access this data: for example, some companies use custom hooks to send {% data variables.copilot.copilot_cli_short %} events to their own logging service.
34+
35+
## Viewing your enterprise's audit logs
36+
37+
{% data reusables.enterprise-accounts.access-enterprise %}
38+
{% data reusables.enterprise-accounts.settings-tab %}
39+
{% data reusables.enterprise-accounts.audit-log-tab %}
40+
41+
## Searching audit log events
42+
43+
Use the `action:copilot` search term to view all events related to your {% data variables.product.prodname_copilot_short %} plan.
44+
45+
You can also filter by a specific event. For example, `action:copilot.cfb_seat_assignment_created` returns events related to a license being assigned to a new user. For a full list of {% data variables.product.prodname_copilot_short %} events, see [AUTOTITLE](/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise#copilot) or [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/audit-log-events-for-your-organization#copilot).
46+
47+
To view a record of agent activity, use the `actor:Copilot` search term. See [AUTOTITLE](/copilot/reference/agentic-audit-log-events).
48+
49+
## Retaining audit log history
50+
51+
The audit log retains events for the last 180 days. We recommend streaming the audit log to a Security Information and Event Management (SIEM) platform, where you can view long-term history and set up alerts for anomalous activity. See [AUTOTITLE](/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise).
52+
53+
## Further reading
54+
55+
* [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization)

content/copilot/how-tos/administer-copilot/manage-for-organization/review-activity/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
title: Reviewing activity related to GitHub Copilot in your organization
33
shortTitle: Review activity
4-
intro: 'Organization owners can review {% data variables.product.prodname_copilot_short %} usage in their organization.'
4+
intro: Organization owners can review {% data variables.product.prodname_copilot_short %} usage in their organization.
55
versions:
66
feature: copilot
77
children:
88
- /review-user-activity-data
9-
- /review-audit-logs
109
redirect_from:
1110
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization
1211
- /copilot/how-tos/administer/organizations/reviewing-activity-related-to-github-copilot-in-your-organization

content/copilot/how-tos/administer-copilot/manage-for-organization/review-activity/review-audit-logs.md

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

content/copilot/how-tos/configure-personal-settings/authenticate-to-ghecom.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,19 @@ If you ever need to switch to an account on {% data variables.product.prodname_d
7575

7676
{% endxcode %}
7777

78-
{% cli %}
78+
{% copilotcli %}
7979

8080
## Authenticating from the command line
8181

82-
To use the `gh-copilot` extension for the {% data variables.product.prodname_cli %}, you must:
82+
To use {% data variables.copilot.copilot_cli_short %}, you must:
8383

84-
1. Download and install the extension. To do this, you must be authenticated to an account on {% data variables.product.prodname_dotcom_the_website %}. See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/installing-github-copilot-in-the-cli#installing-copilot-in-the-cli).
85-
1. Authenticate to the account on {% data variables.enterprise.data_residency_site %} where you receive your {% data variables.product.prodname_copilot_short %} license.
84+
1. Download and install {% data variables.copilot.copilot_cli_short %}. See [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli).
85+
1. Authenticate to the account on {% data variables.enterprise.data_residency_site %} where you receive your {% data variables.product.prodname_copilot_short %} license with `copilot login --host {% data variables.enterprise.data_residency_domain %}`.
8686

87-
{% data variables.product.prodname_dotcom_the_website %} is the default destination of {% data variables.product.prodname_cli %} requests. To use `gh copilot`, you must ensure requests are sent to {% data variables.enterprise.data_residency_site %}, where you receive your license. You have the following options:
88-
* Include the flag `--hostname SUBDOMAIN.ghe.com` in all `gh copilot` commands.
89-
* Set the `GH_HOST` environment variable to change the default host for all {% data variables.product.prodname_cli %} commands.
90-
* Sign out of {% data variables.product.prodname_dotcom_the_website %} with `gh auth logout`. However, you will need to sign back in to get updates to `gh-copilot`.
9187

92-
For general information on using the {% data variables.product.prodname_cli %} across platforms, see [AUTOTITLE](/github-cli/github-cli/using-multiple-accounts).
88+
For general information on using {% data variables.copilot.copilot_cli_short %}, see [AUTOTITLE](/copilot/how-tos/copilot-cli).
9389

94-
{% endcli %}
90+
{% endcopilotcli %}
9591

9692
{% visualstudio %}
9793

0 commit comments

Comments
 (0)