You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/code-security/security-overview/viewing-metrics-for-pull-request-alerts.md
+30-6Lines changed: 30 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Viewing metrics for pull request alerts
3
3
shortTitle: View PR alert metrics
4
4
allowTitleToDifferFromFilename: true
5
-
intro: 'You can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests for repositories across your organization, and to identify repositories where you may need to take action.'
5
+
intro: 'You can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests for repositories across your organizations, and to identify repositories where you may need to take action.'
6
6
permissions: '{% data reusables.permissions.security-overview %}'
7
7
type: how_to
8
8
topics:
@@ -16,26 +16,36 @@ versions:
16
16
feature: security-overview-org-codeql-pr-alerts
17
17
---
18
18
19
-
## About {% data variables.product.prodname_codeql %} pull request alerts metrics for an organization
19
+
## About {% data variables.product.prodname_codeql %} pull request alerts metrics
20
20
21
-
The metrics overview for {% data variables.product.prodname_codeql %} pull request alerts helps you to understand how well {% data variables.product.prodname_codeql %} is preventing vulnerabilities in your organization. You can use the metrics to assess how {% data variables.product.prodname_codeql %} is performing in pull requests, and to easily identify the repositories where you may need to take action in order to identify and reduce security risks.
21
+
The metrics overview for {% data variables.product.prodname_codeql %} pull request alerts helps you to understand how well {% data variables.product.prodname_codeql %} is preventing vulnerabilities in your organizations. You can use the metrics to assess how {% data variables.product.prodname_codeql %} is performing in pull requests, and to easily identify the repositories where you may need to take action in order to identify and reduce security risks.
22
22
23
-
The overview shows you a summary of how many vulnerabilities prevented by {% data variables.product.prodname_codeql %} have been caught in pull requests. The metrics are only tracked for pull requests that have been merged into the default branches of repositories in your organization.
23
+
The overview shows you a summary of how many vulnerabilities prevented by {% data variables.product.prodname_codeql %} have been caught in pull requests. The metrics are only tracked for pull requests that have been merged into the default branches of repositories in your organizations.
24
24
25
-
You can also find more granular metrics, such as how many alerts were fixedwith and without {% data variables.product.prodname_copilot_autofix_short %} suggestions, how many were unresolved and merged, and how many were dismissed as false positive or as risk accepted.
25
+
You can also find more granular metrics, such as how many alerts were fixed{% ifversion code-scanning-autofix %} with and without {% data variables.product.prodname_copilot_autofix_short %} suggestions{% endif %}, how many were unresolved and merged, and how many were dismissed as false positive or as risk accepted.
26
26
27
27
You can also view:
28
28
29
-
* The rules that are causing the most alerts in your organization, and how many alerts each rule is associated with.
29
+
* The rules that are causing the most alerts, and how many alerts each rule is associated with.
30
30
31
+
* The number of alerts that were merged into the default branch without resolution, and the number of alerts dismissed as an acceptable risk.
32
+
33
+
{% ifversion code-scanning-autofix %}
31
34
* The number of alerts that were fixed with an accepted {% data variables.product.prodname_copilot_autofix_short %} suggestion, displayed as a fraction of how many total {% data variables.product.prodname_copilot_autofix_short %} suggestions were available.
32
35
33
36
* Remediation rates, in a graph showing the percentage of alerts that were remediated with an available {% data variables.product.prodname_copilot_autofix_short %} suggestion, and the percentage of alerts that were remediated without a {% data variables.product.prodname_copilot_autofix_short %} suggestion.
37
+
{% endif %}
34
38
35
39
You can apply filters to the data. The metrics are based on activity from the default period or your selected period.
36
40
37
41

38
42
43
+
{% ifversion code-scanning-autofix %}
44
+
> [!NOTE] Metrics for {% data variables.product.prodname_copilot_autofix_short %} will be shown only for repositories where {% data variables.product.prodname_copilot_autofix_short %} is enabled.
45
+
{% else %}
46
+
> [!NOTE] Metrics for {% data variables.product.prodname_copilot_autofix_short %} are omitted because {% data variables.product.prodname_copilot_autofix_short %} is available only on {% data variables.product.github %} cloud platforms.
47
+
{% endif %}
48
+
39
49
## Viewing {% data variables.product.prodname_codeql %} pull request alerts metrics for an organization
40
50
41
51
{% data reusables.organizations.navigate-to-org %}
@@ -49,3 +59,17 @@ You can apply filters to the data. The metrics are based on activity from the de
49
59
* To search for repositories matching the selected filter, fill out the available fields for that filter, then click **Apply**. You can repeat this process to add as many filters as you would like to your search.
50
60
* Optionally, to remove a filter from your search, click {% octicon "filter" aria-hidden="true" %} **Filter**. In the row of the filter you want to remove, click {% octicon "x" aria-label="Delete FILTER-NUMBER: FILTER-PROPERTIES" %}, then click **Apply**.{% ifversion security-overview-export-data %}
51
61
1. You can use the {% octicon "download" aria-hidden="true" %} **Export CSV** button to download a CSV file of the data currently displayed on the page for security research and in-depth data analysis. For more information, see "[AUTOTITLE](/code-security/security-overview/exporting-data-from-security-overview)." {% endif %}
## Viewing {% data variables.product.prodname_codeql %} pull request alerts metrics for your enterprise
66
+
67
+
You can also view metrics for {% data variables.product.prodname_codeql %} alerts in pull requests across organizations in your enterprise.
68
+
69
+
{% data reusables.security-overview.enterprise-filters-tip %}
70
+
71
+
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
72
+
{% data reusables.code-scanning.click-code-security-enterprise %}
73
+
1. In the sidebar, under "Metrics", click **{% octicon "graph" aria-hidden="true" %} {% data variables.product.prodname_codeql %} pull request alerts**.
0 commit comments