Security overview contains focused views where you can explore trends in detection, remediation, and prevention of security alerts and dig deep into the current state of your codebases.
All organizations on GitHub Enterprise can use:
- Secret risk assessment to evaluate the exposure of their organization to leaked secrets, see 查看安全风险评估报告.
- Dependabot data to evaluate the security of their supply chain in all repositories.
In addition, data for Advanced Security features, such as code scanning and secret scanning, is shown for organizations and enterprises that use GitHub Secret Protection, GitHub Code Security, or GitHub Advanced Security, and for public repositories, see Dependabot 警报 and 关于GitHub高级安全性.
About the views
注意
All views show information and metrics for the default branches of the repositories you have permission to view in an organization or enterprise.
The views are interactive with filters that allow you to look at the aggregated data in detail and identify sources of high risk, see security trends, and see the impact of pull request analysis on blocking security vulnerabilities entering your code. As you apply multiple filters to focus on narrower areas of interest, all data and metrics across the view change to reflect your current selection. For more information, see 在安全概述中筛选警报.
From security overview, you can download comma-separated values (CSV) files containing data from several pages of your organization or enterprise's security overview. These files can be used for efforts like security research and in-depth data analysis, and can integrate easily with external datasets. For more information, see 从安全概览导出数据.
There are dedicated views for each type of security alert. You can limit your analysis to a specific type of alert, and then narrow the results further with a range of filters specific to each view. For example, in the secret scanning view, you can use the "Secret type" filter to view only secret scanning alerts for a specific secret, like a GitHub personal access token.
注意
Security overview displays active alerts raised by security features. If there are no alerts shown in security overview for a repository, undetected security vulnerabilities or code errors may still exist or the feature may not be enabled for that repository.
About security overview for organizations
The application security team at your company can use the different views for both broad and specific analyses of your organization's security status. For example, the team can use the "Overview" dashboard view to track your organization's security landscape and progression.
You can find security overview on the Security and quality tab for any organization. Each view shows a summary of the data that you have access to. As you add filters, all data and metrics across the view change to reflect the repositories or alerts that you've selected.
Security overview has multiple views that provide different ways to explore enablement and alert data.
- Overview: visualize trends in Detection, Remediation, and Prevention of security alerts. For information about accessing and using the dashboard, see 查看安全洞察. For detailed explanations of metrics and calculations, see 安全概述仪表板指标.
- Risk: explore the risk from security alerts of all types or focus on a single alert type and identify your risk from specific vulnerable dependencies, code weaknesses, or leaked secrets, see 评估代码安全风险.
- Coverage: assess the adoption of security features across repositories in the organization, see 评估安全功能的采用.
- Assessments: regardless of the enablement status of Advanced Security features, organizations on GitHub Team and GitHub Enterprise can run a free report to scan the code in the organization for leaked secrets, see 借助 GitHub 实现机密保护.
- Campaigns: coordinate and measure targeted remediation efforts, grouping related security tasks across repositories, assigning owners, and tracking progress toward defined risk‑reduction goals.
- Enablement: see how quickly different teams are adopting security features.
- Code scanning on pull requests: assess the impact of running CodeQL and AI Scan on pull requests, and how development teams resolve alerts and findings, see 查看拉取请求的代码扫描指标.
- Dependabot: prioritize and track critical vulnerabilities by identifying, remediating, and measuring security improvements across repositories.
- Secret scanning: find out which types of secret are blocked by push protection and which teams are bypassing push protection, see 查看推送保护的 secret scanning 指标 and 审核绕过推送保护的请求.
You also create and manage security campaigns to remediate alerts from security overview, see 创建和管理安全活动 and 开展安全计划以大规模解决警报问题.
About security overview for enterprises
You can find security overview on the Security and quality tab for your enterprise. Each page displays aggregated and repository-specific security information for your enterprise.
Security overview for enterprises has multiple views that provide different ways to explore data, including an overview dashboard that visualizes alert trends. For information about the dashboard, see 查看安全洞察 and 安全概述仪表板指标.
Access to data in security overview
What you can see in security overview depends on your role and permissions in the organization or enterprise.
In general:
- Organization owners and security managers can view security data across all repositories in their organization.
- Organization members can view data only for repositories where they have access to security alerts.
- Enterprise owners can view aggregated security data in the enterprise-level security overview for organizations where they are an organization owner or security manager. To see repository-level details, they must have the appropriate role within the organization.
Security overview displays data only for repositories you have permission to view, and some views or actions may be limited based on your role.
For detailed, role-by-role permission information, including which views are available and how repository access affects visibility, see 安全概述权限.
Understanding dashboard data accuracy
The overview dashboard displays metrics based on the current state of your repositories and the historical state of security alerts. This data model has important implications for data consistency:
Data changes over time: Dashboard metrics can change for the same historical time period when viewed at different times. This occurs when repositories are deleted, security advisories are modified, or other changes affect the underlying data. If you need consistent data for compliance reports or auditing purposes, use the audit log instead. See 审核安全警报.
Alert data is historical; repository attributes are current: The dashboard tracks security alerts based on their historical state during the selected time period. However, repository filters (such as archived/active status) reflect the current state of repositories.
For example, if you archive a repository today, any open alerts in that repository are automatically closed. If you then view the overview dashboard for last week:
- The repository only appears when you filter to show archived repositories (its current state)
- The alerts from that repository appear as open (their state during last week)
This design ensures alert trends accurately reflect security activity during the time period you're analyzing, while repository filters help you focus on your current repository structure.