Security & quality overview
Open your enterprise account and select the Security and quality tab to see a consolidated overview of alerts and insights across the enterprise. The overview highlights trends such as detection rates, remediations, and prevention metrics. Switch to the Detections view for detailed information including:- Average age of open alerts
- Number of secrets bypassed
- Top repositories by alert count
- Static analysis findings (e.g., missing rate limiting)
- CWE IDs, alert counts, and severity levels

Coverage (Dependabot, Code scanning, Secret scanning)
The Coverage tab summarizes adoption of the three core GHAS features: Dependabot, Code Scanning, and Secret Scanning. For each repository the dashboard reports whether alerts, pull request alerts, push protection, or Dependabot security updates are enabled. Example: five repositories are shown; all have code scanning and secret scanning enabled, but only one has Dependabot security updates active. Use the repository filter to find repositories with specific protections enabled or disabled. Filter examples:- Find repos with Dependabot security updates enabled:
archived:false dependabot-security-updates:enabled - Find repos with Dependabot security updates disabled:
dependabot-security-updates:disabled

Actions usage metrics (Insights)
To monitor GitHub Actions usage across your enterprise, open the Insights tab and inspect the Actions usage metrics. This dashboard aggregates data such as minutes used, job runs, workflows, runner types, and runtime OS across organizations and repositories. Use filters to focus on a specific organization, repository, OS (Linux, Windows, macOS), or runner type (GitHub-hosted or self-hosted). The dashboard provides performance metrics for workflows, including:- Average runtime
- Average queue time
- Job failure rate
- Failed-job usage


Using the REST API to measure Actions adoption
For automation or large-scale audits, use the GitHub REST API to check whether repositories contain a.github/workflows directory. This is a practical heuristic to estimate Actions adoption (presence of workflows), but it does not guarantee active usage or recent runs.
Warning about tokens and permissions:
Do not hard-code Personal Access Tokens (PATs) in scripts or share them. Use environment variables or a secrets manager and grant the token the minimum scopes required (for private repos typically
repo or repo:status). See GitHub’s PAT documentation for best practices: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-tokengithub_actions_adoption.sh. It:
- Fetches up to 100 repositories for an organization
- Checks for the existence of
.github/workflows - Counts adopted repositories and prints a summary percentage
curl and jq installed. Run with TOKEN and ORG provided in the environment.
This script uses a simple adoption heuristic—checking for the
.github/workflows directory. To measure active usage more accurately, extend the script to inspect YAML files inside that directory or query workflow runs via the Actions API: https://docs.github.com/en/rest/actionsSummary and best practices
- Use Security and quality → Coverage to monitor GHAS feature adoption (Dependabot, Code Scanning, Secret Scanning) across repositories.
- Use Insights → Actions to analyze Actions usage, runtime OS, runner types, and workflow performance metrics.
- For automation or enterprise audits, combine the REST API with a script to estimate Actions adoption. If you need to track active usage, refine the heuristic by inspecting workflow YAMLs or querying workflow runs via the Actions API.
- Securely store and manage tokens; follow least-privilege principles for access.
- GitHub REST API: https://docs.github.com/en/rest
- GitHub Actions API docs: https://docs.github.com/en/rest/actions
- Creating a Personal Access Token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token