Skip to content

Commit bbad8c8

Browse files
Merge branch 'main' into patch-1
2 parents f99d54d + d4f17ee commit bbad8c8

71 files changed

Lines changed: 1365 additions & 140 deletions

File tree

Some content is hidden

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

content/billing/concepts/product-billing/github-actions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ The use of standard {% data variables.product.github %}-hosted runners is free:
112112
* In public repositories
113113
* For {% data variables.product.prodname_pages %}
114114
* For {% data variables.product.prodname_dependabot %}
115-
* For the agentic features ({% data variables.release-phases.public_preview %}) in {% data variables.copilot.copilot_code-review %}
116115

117116
> [!NOTE]
118117
>

content/billing/concepts/product-billing/github-copilot-licenses.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ category:
1515
- Understand product costs
1616
---
1717

18+
<!-- expires 2026-06-01 -->
19+
20+
{% data reusables.copilot.ubb-announcement-cfi-cb-ce %}
21+
22+
<!-- end expires 2026-06-01 -->
23+
1824
Usage of {% data variables.product.prodname_copilot %} is measured through a combination of licenses and monthly usage tracking. For more information about how usage costs in {% data variables.product.prodname_copilot_short %} work, see [AUTOTITLE](/billing/concepts/product-billing/github-copilot-premium-requests).
1925

2026
## Licenses for {% data variables.product.prodname_copilot_short %}

content/billing/concepts/product-billing/github-copilot-premium-requests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ category:
88
- Understand product costs
99
---
1010

11+
<!-- expires 2026-06-01 -->
12+
13+
{% data reusables.copilot.ubb-announcement-cfi-cb-ce %}
14+
15+
<!-- end expires 2026-06-01 -->
16+
1117
Usage of {% data variables.product.prodname_copilot_short %} is measured through a combination of licenses and monthly usage tracking. For more information about how license costs in {% data variables.product.prodname_copilot_short %} work, see [AUTOTITLE](/billing/concepts/product-billing/github-copilot-licenses).
1218

1319
> [!IMPORTANT]
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
---
2+
title: Assessing the impact of GitHub Secret Protection
3+
intro: 'Measure how {% data variables.product.prodname_GH_secret_protection_always %} reduces secret exposure across your organization, so you can demonstrate value and identify areas to strengthen your security posture.'
4+
allowTitleToDifferFromFilename: true
5+
shortTitle: Assess GHSP impact
6+
versions:
7+
fpt: '*'
8+
ghec: '*'
9+
ghes: '*'
10+
contentType: tutorials
11+
category:
12+
- Protect your secrets
13+
---
14+
15+
## Introduction
16+
17+
After enabling {% data variables.product.prodname_GH_secret_protection_always %} (GHSP) for your organization, you'll want to assess its impact and understand how it's protecting your organization. This tutorial walks you through accessing secret-related data and interpreting the results to measure GHSP performance.
18+
19+
In this tutorial, you'll learn how to:
20+
* Access your organization's security overview to view {% data variables.product.prodname_secret_scanning %} data
21+
* Review the {% data variables.product.prodname_secret_risk_assessment %} (SRA) report
22+
* Compare and analyze the data to assess GHSP's impact
23+
24+
If you don't have a historic SRA report from before your GHSP rollout, you can still assess GHSP's effectiveness. Skip ahead to [Step 4: Analyze security overview data trends](#step-4-analyze-security-overview-data-trends).
25+
26+
## Prerequisites
27+
28+
* You need to have the organization owner or security manager role.
29+
* {% data variables.product.prodname_secret_protection %} must be enabled for your organization.
30+
31+
## Step 1: Access the organization-level security overview
32+
33+
The security overview provides real-time data about {% data variables.secret-scanning.alerts %} across your organization.
34+
35+
{% data reusables.organizations.navigate-to-org %}
36+
{% data reusables.organizations.security-overview %}
37+
1. On the security overview page, click the **Risk** tab to view secret scanning data.
38+
The overview shows:
39+
* Total number of open {% data variables.secret-scanning.alerts %}
40+
* Alert trends over time
41+
* Breakdown by repository
42+
* Alert severity distribution
43+
44+
## Step 2: View your {% data variables.product.prodname_secret_risk_assessment %} report
45+
46+
If you previously ran a SRA report, you can access the report to establish a baseline.
47+
48+
{% data reusables.organizations.navigate-to-org %}
49+
{% data reusables.organizations.security-overview %}
50+
{% data reusables.security-overview.open-assessments-view %}
51+
1. Review the key metrics from the assessment, including:
52+
* Number of exposed secrets detected
53+
* Types of secrets found
54+
* Repositories with the highest risk
55+
* Recommended remediation actions
56+
57+
> [!NOTE] The SRA report represents a point-in-time snapshot of your secret exposure before or during your GHSP implementation.
58+
59+
## Step 3: Compare SRA data with current security overview
60+
61+
The SRA report is a **point-in-time** snapshot taken before or during your GHSP rollout, while the security overview shows **real-time** data that updates as alerts are opened and resolved. To make a meaningful comparison, you need to ensure both datasets cover the same secret types.
62+
63+
### Filter to comparable pattern types
64+
65+
The SRA report only detects **provider patterns** and **generic patterns**. The security overview, however, may also include results from custom patterns you've configured since enabling GHSP. To ensure an accurate comparison, filter the security overview to the same pattern types the SRA covers.
66+
67+
#### Using the UI
68+
69+
In the security overview **Risk** tab, use the filter bar to narrow results to provider and generic patterns only, excluding any custom patterns.
70+
71+
#### Using the API
72+
73+
Alternatively, you can use the REST API to programmatically retrieve alerts filtered by secret type. For example, to list only default (provider) {% data variables.secret-scanning.alerts %} for a repository:
74+
75+
```shell copy
76+
gh api \
77+
-H "Accept: application/vnd.github+json" \
78+
/orgs/ORG/secret-scanning/alerts --paginate
79+
```
80+
81+
This returns alerts for default patterns only. To also include generic patterns in your results, pass the specific token names using the `secret_type` parameter.
82+
83+
For more information, see [AUTOTITLE](/rest/secret-scanning/secret-scanning).
84+
85+
### Build your comparison
86+
87+
1. Using the filtered data, create a comparison table with these key metrics:
88+
89+
| Metric | SRA report (Baseline) | Current security overview (Filtered) | Change |
90+
|--------|----------------------|--------------------------------------|--------|
91+
| Total exposed secrets | [SRA number] | [Current number] | [Difference] |
92+
| Critical alerts | [SRA number] | [Current number] | [Difference] |
93+
| Affected repositories | [SRA number] | [Current number] | [Difference] |
94+
95+
1. Calculate the percentage change for each metric:
96+
* **Positive impact indicators:** Reduction in total exposed secrets, fewer critical alerts
97+
* **Areas for improvement:** New alerts appearing, specific repositories with increasing trends
98+
99+
1. Note any significant differences in:
100+
* Secret types being detected
101+
* Repository coverage
102+
* Alert resolution rates
103+
104+
## Step 4: Analyze security overview data trends
105+
106+
Even without an SRA report, you can assess GHSP effectiveness by analyzing trends in the security overview.
107+
108+
{% data reusables.organizations.navigate-to-org %}
109+
{% data reusables.organizations.security-overview %}
110+
1. In the security overview **Risk** tab, look at the trend graph showing {% data variables.secret-scanning.alerts %} over time.
111+
1. Identify patterns:
112+
* **Declining trend:** Indicates successful remediation and prevention
113+
* **Plateau:** May suggest steady state or need for increased awareness
114+
* **Rising trend:** May indicate increased detection coverage or new secret introduction
115+
116+
1. Click on individual repositories to drill down into specific alert details.
117+
1. Review the alert resolution rate:
118+
* Navigate to the **{% data variables.product.prodname_security_and_quality_tab %}** tab for your organization.
119+
* Under "Findings", Click **{% data variables.product.prodname_secret_scanning_caps %}**.
120+
* Check how many alerts have been closed versus the number of alerts that remain open.
121+
* Select the alert type you're interested in.
122+
* Assess average time to resolution.
123+
124+
## Step 5: Interpret the results and take action
125+
126+
Based on your analysis, determine the next steps.
127+
128+
### If you're seeing positive trends
129+
130+
* Document the improvement to demonstrate GHSP value
131+
* Identify successful practices to replicate across other repositories
132+
* Consider expanding GHSP coverage to additional repositories or organizations
133+
134+
### If you're seeing areas for improvement
135+
136+
* Review repositories with increasing alerts or slow resolution times
137+
* Provide additional training to development teams
138+
* Assess whether custom patterns need to be configured
139+
* Check if push protection is enabled to prevent new secrets from being introduced
140+
141+
### Ongoing monitoring
142+
143+
* Schedule regular reviews (weekly or monthly) of the security overview
144+
* Set up notifications for new {% data variables.secret-scanning.alerts %}
145+
* Track metrics over time to demonstrate continuous improvement
146+
147+
## Further reading
148+
149+
* To understand {% data variables.product.prodname_secret_scanning %} metrics in detail, see [AUTOTITLE](/code-security/security-overview/viewing-security-insights).

content/code-security/tutorials/remediate-leaked-secrets/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ versions:
88
contentType: tutorials
99
children:
1010
- /calculating-the-cost-savings-of-push-protection
11+
- /assessing-ghsp-impact
1112
- /evaluating-alerts
1213
- /remediating-a-leaked-secret
1314
---
14-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can also use `gh skill` in {% data variables.product.prodname_cli %} to disc
2525
{% data variables.product.prodname_copilot_short %} supports:
2626

2727
* Project skills, stored in your repository (`.github/skills`, `.claude/skills`, or `.agents/skills`)
28-
* Personal skills, stored in your home directory and shared across projects (`~/.copilot/skills`, `~/.claude/skills`, or `~/.agents/skills`)
28+
* Personal skills, stored in your home directory and shared across projects (`~/.copilot/skills` or `~/.agents/skills`)
2929

3030
Support for organization-level and enterprise-level skills is coming soon.
3131

content/copilot/concepts/agents/code-review.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ category:
1515
- Learn about Copilot
1616
---
1717

18+
<!-- expires 2026-06-01 -->
19+
20+
{% data reusables.copilot.code-review-actions-minutes-note %}
21+
22+
<!-- end expires 2026-06-01 -->
23+
1824
## Introduction
1925

2026
{% data variables.copilot.copilot_code-review_short %} reviews code written in any language, and provides feedback. It reviews your code from multiple angles to identify issues and suggest fixes. You can apply suggested changes with a couple of clicks.
@@ -98,17 +104,19 @@ If {% data variables.product.prodname_actions %} is unavailable or if Actions wo
98104

99105
### Usage of {% data variables.product.prodname_actions %} runners for agentic capabilities in code review
100106

101-
{% data variables.copilot.copilot_code-review_short %} uses free minutes for {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_dotcom %}-hosted runners. You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance.
107+
{% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses standard {% data variables.product.prodname_dotcom %}-hosted runners. You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance, or use self-hosted runners.
102108

103109
> [!NOTE]
104-
> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed per-minute and may incur additional {% data variables.product.prodname_actions %} charges.
110+
> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed at a higher per-minute rate. Self-hosted runners do not consume {% data variables.product.prodname_actions %} minutes.
105111
106112
You do not need to have {% data variables.product.prodname_actions %} enabled in your organization or enterprise to use the agentic capabilities in code review.
107113

108114
If your organization has disabled {% data variables.product.prodname_dotcom %}-hosted runners, the agentic capabilities will not be available. In this case, code reviews will fall back to a more limited review. Organizations in this situation can use self-hosted runners.
109115

110116
For more information on configuring runners, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners).
111117

118+
You can view the {% data variables.product.prodname_actions %} minutes associated with {% data variables.copilot.copilot_code-review_short %} runs. For more information, see [{% data variables.product.prodname_actions %} minutes for code review](/copilot/reference/copilot-billing/models-and-pricing#github-actions-minutes-for-code-review).
119+
112120
## Code review monthly quota
113121

114122
Each time {% data variables.product.prodname_copilot_short %} reviews a pull request or reviews code in your IDE, your monthly quota of {% data variables.product.prodname_copilot_short %} premium requests is reduced by one.

content/copilot/concepts/auto-model-selection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'About {% data variables.product.prodname_copilot_short %} auto model sel
33
allowTitleToDifferFromFilename: true
44
shortTitle: 'Auto model selection'
55
intro: 'Automatically select models for {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cloud_agent %}, and third-party agents.'
6-
product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} for {% data variables.copilot.copilot_chat_short %} is available with all {% data variables.product.prodname_copilot %} plans. <br>{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} for {% data variables.copilot.copilot_cloud_agent %} is available for {% data variables.copilot.copilot_pro %} and {% data variables.copilot.copilot_pro_plus %} plans.'
6+
product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available with all {% data variables.product.prodname_copilot %} plans.'
77
versions:
88
feature: copilot
99
contentType: concepts

content/copilot/concepts/billing/billing-for-individuals.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ category:
1616
- Learn about Copilot
1717
---
1818

19+
<!-- expires 2026-06-01 -->
20+
21+
{% data reusables.copilot.ubb-announcement-cfi %}
22+
23+
<!-- end expires 2026-06-01 -->
24+
1925
> [!IMPORTANT]
2026
> {% data reusables.copilot.plans.individual-plans-paused %} If you hit unexpected limits or these changes just don’t work for you, you can cancel your Pro or Pro+ subscription and receive a refund for the time remaining on your current subscription before May 20.
2127
> 1. To cancel and receive a refund for the time remaining, go to your [Billing settings](https://github.com/settings/billing/licensing).

0 commit comments

Comments
 (0)