Skip to content

Commit 8bc278f

Browse files
authored
Merge branch 'main' into docs-issue-cross-referencing-42376
2 parents 8517896 + 68e1535 commit 8bc278f

File tree

11 files changed

+77
-71
lines changed

11 files changed

+77
-71
lines changed

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/use-copilot-agents/coding-agent/make-changes-to-an-existing-pr.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ By default, {% data variables.product.prodname_copilot_short %} pushes commits d
2222

2323
If you prefer {% data variables.product.prodname_copilot_short %} to create a separate pull request instead, you can ask for this using natural language in your comment—for example, "open a PR to fix the tests."
2424

25+
## Resolving merge conflicts
26+
27+
You can ask {% data variables.product.prodname_copilot_short %} to resolve merge conflicts on a pull request by mentioning `@copilot` and asking it to fix the conflicts using natural language, such as "@copilot resolve the merge conflicts on this PR."
28+
29+
{% data variables.product.prodname_copilot_short %} will analyze the conflicting changes, resolve the conflicts, and ensure the build, tests, and linter still pass. Once it has finished, {% data variables.product.prodname_copilot_short %} will request your review so you can verify the conflict resolution before merging.
30+
2531
## Asking {% data variables.product.prodname_copilot_short %} to make changes
2632

2733
1. Navigate to the pull request that you want {% data variables.product.prodname_copilot_short %} to make changes to.

content/copilot/tutorials/coding-agent/get-the-best-results.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ Issues that you may choose to work on yourself, rather than assigning to {% data
6464

6565
Working with {% data variables.product.prodname_copilot_short %} on a pull request is just like working with a human developer: it's common for the pull request to need further work before it can be merged. The process for getting the pull request to a mergeable state is exactly the same when the pull request is created by {% data variables.product.prodname_copilot_short %} as when it's created by a human.
6666

67-
You can also mention `@copilot` in comments on the pull request—explaining what you think is incorrect, or could be improved—and {% data variables.product.prodname_copilot_short %} will push commits directly to the pull request's branch. Alternatively, you can work on the feature branch yourself and push changes to the pull request.
67+
Additionally, you can:
68+
* Mention `@copilot` in comments on the pull request, explaining what you think is incorrect, or could be improved, and {% data variables.product.prodname_copilot_short %} will push commits directly to the pull request's branch.
69+
* Ask {% data variables.product.prodname_copilot_short %} to resolve merge conflicts on the pull request. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/make-changes-to-an-existing-pr#resolving-merge-conflicts).
70+
* Work on the feature branch yourself and push changes to the pull request.
6871

6972
After a user with write access mentions `@copilot` in a comment, {% data variables.product.prodname_copilot_short %} will start to make any required changes, and will update the pull request when it's done. Because {% data variables.product.prodname_copilot_short %} starts looking at comments as soon as they are submitted, if you are likely to make multiple comments on a pull request it's best to batch them by clicking **Start a review**, rather than clicking **Add single comment**. You can then submit all of your comments at once, triggering {% data variables.product.prodname_copilot_short %} to work on your entire review, rather than working on individual comments separately.
7073

0 commit comments

Comments
 (0)