MSBA-361 · Lesson 6 of 12 · 18 min

Security overview

▶ Video coming soon A video version of this lesson is on the way.

Until November, Freya's weekly report to Marisol Varga-Reyes, the director of platform engineering, had been a spreadsheet assembled by hand from the API and three vendor dashboards. It took Seraphine most of Monday morning and was out of date by Tuesday. The sixth session replaced it with a tour of security overview, GitHub's built-in view of security across an organization or enterprise.

What security overview is

Security overview is a set of pages at organization and enterprise level that summarize the security features and alerts of many repositories at once. It answers three kinds of question. Coverage questions: which repositories have which features enabled? Risk questions: where are the open alerts, and how serious are they? Trend questions: are things getting better, how fast are alerts fixed, and how many problems are prevented before they merge?

A diagram with security overview at the center and five surrounding boxes: Overview dashboard with trends and metrics; Risk view with alerts by repository; Coverage view with features enabled per repository; Alert views for code scanning, secret scanning and Dependabot; Reports such as pull request alert and push protection reports.
The main parts of security overview.

Security overview is available for organizations and enterprises; there is no repository-level version, because a single repository's Security tab already shows its own alerts. Some views are available to every organization with GitHub Team or Enterprise Cloud, and some metrics depend on having GitHub Secret Protection or GitHub Code Security. The exact split changes as features move, so teams should check which views their plan shows rather than rely on a list.

Who can see what

What a person sees in security overview depends on their role and their access to repositories.

Access to security overview. Lesson 9 covers the security manager role in detail.
PersonWhat they see
Organization ownerAll repositories and alerts in the organization
Security managerAll repositories and alerts in the organization, with permission to manage security settings and alerts
Enterprise ownerEnterprise-level views across organizations, for organizations where they have the needed role
Member with access to some repositoriesData only for repositories they can see, and only alert types they are allowed to view in those repositories

This matters for reporting. If a team lead opens security overview and sees forty repositories, it may be because they can only see forty, not because the organization has forty. Seraphine asked team leads to use the team filter rather than relying on what happened to be visible, and asked for every repository to carry the owning-team custom property, which MSBA-291 had made required.

The overview dashboard

The overview page is the place to start. It shows metrics for the selected period and filters, including the number of open alerts and how it has changed, the alerts that were fixed or dismissed, and measures of speed such as the mean time to remediate. It can be filtered by tool, alert type, repository properties, team and date range, and it separates alerts by severity.

Dashboard metrics and how Skerry read them. Metric names may differ slightly in the product.
MetricWhat it measuresHow Skerry used it
Open alerts over timeBacklog size and directionThe headline number in Freya's report
New, fixed and dismissed in the periodFlow in and out of the backlogSpotted weeks when new alerts outpaced fixes
Mean time to remediateAverage time from detection to fixCompared with the response targets from lesson 3
Net resolve rateAlerts closed relative to alerts createdAbove 100 percent means the backlog shrinks
Alerts fixed with AutofixUse and value of suggested fixesEvidence for keeping Autofix on
Prevented or fixed in pull requestsProblems caught before reaching the default branchThe main shift-left measure

Freya liked the dashboard because it answered the question leadership actually asked, which was not how many alerts there were but whether the number was going down. By November 20, the organization-level net resolve rate for code scanning had been above 100 percent for three weeks running, meaning more alerts were closing than opening.

The risk view

The risk view lists repositories with their open alerts by type and severity, and lets you sort and filter to find where risk is concentrated. Seraphine filtered it with two custom properties that Skerry required on every repository: data-classification set to restricted, and exposure set to internet, a property added during MSBA-360. The result was 61 repositories that held restricted data and faced the internet. Those were the ones she reviewed first every week.

Filtering by custom properties is the most useful habit in security overview. Properties describe what the repository is: who owns it, what data it holds, whether it is exposed, whether it is in production. Combined with alert counts, they turn a list of thousands of repositories into a short list of those that matter most.

The coverage view

The coverage view shows, for each repository, which security features are enabled: secret scanning, push protection, Dependabot alerts and security updates, code scanning, and others. It also shows which security configuration is attached, a subject for lesson 8. From the coverage view, owners and security managers can apply a configuration to repositories that are missing one.

This was where Seraphine found her 57 repositories needing advanced setup. Filtering coverage for code scanning that was enabled but had a failed or unsupported default setup status listed exactly the repositories where CodeQL could not analyze the code on its own. The view also showed eight in-scope repositories with no configuration at all, created in the two days before the enforced configuration was attached to a new custom property value. They were fixed within the hour.

Alert views across repositories

Security overview has organization-wide alert lists for code scanning, secret scanning and Dependabot. Each works like the repository alert list, with the same filters, but across every repository you can see. They support bulk actions, such as dismissing many alerts of one rule with a shared reason or assigning them, which is how security teams handle repeated patterns efficiently. The code scanning list can also be used to start a security campaign from a filtered set of alerts, which is the subject of lesson 7.

Using security overview's alert views.
TaskWhere in security overviewExample at Skerry
Find every alert from one rule across the organizationCode scanning alerts, filtered by rule186 SQL injection alerts in 31 repositories
Find secrets that were bypassed at pushSecret scanning alerts, filtered by bypassThe 22 bypasses from MSBA-360's first month
Find exploit-likely dependency alertsDependabot alerts, filtered by EPSS or auto-triageThe 214 exploit-likely alerts after auto-triage
See enablement gapsCoverageEight repositories without a configuration

Reports

Security overview also includes focused reports. Two were important at Skerry. A report on CodeQL alerts in pull requests shows how many alerts were raised in pull requests, how many were fixed before merge and how many were dismissed or merged anyway, by repository and by rule. A report on secret scanning push protection shows blocks, bypasses and the reasons given, which Freya used to judge whether delegated bypass, introduced in MSBA-360, was working. Report names and availability change over time, so the team bookmarked them rather than writing their names into procedures.

Enterprise-level overview

Enterprise owners and people with the right enterprise role can see security overview across all organizations in the enterprise. At Skerry, this view mattered because the European partner enterprise planned in MSBA-291 and the skerry-oss enterprise were separate enterprises; the main enterprise view covered skerry, skerry-stores and skerry-sandbox. Lorcan asked whether he could see license use there. He could see enablement and committer counts through the licensing pages and the coverage view, but security overview itself is about features and alerts rather than billing.

Exporting and the API

Security overview pages can be exported to CSV for analysis elsewhere, and the same data is available through the REST and GraphQL APIs, including organization-wide alert lists and enablement status. Skerry kept a small export job that wrote weekly snapshots to the governance repository from MSBA-291, so that the January audit could see history even for periods when the dashboard's date range was changed. Lesson 10 builds the weekly scorecard on those exports.

Listing open critical code scanning alerts across an organization with the GitHub CLI. Check the API reference for current parameters.
gh api -H "Accept: application/vnd.github+json" \
  "/orgs/skerry/code-scanning/alerts?state=open&severity=critical&per_page=100" \
  --paginate --jq '.[] | [.repository.name, .rule.id, .most_recent_instance.location.path] | @tsv'

Worked problem

Answering a director's question

Marisol asks: are our internet-facing payment systems getting safer, and which team should I talk to first? What should Seraphine do in security overview?

Show solution
  1. Filter the overview dashboard by exposure internet and data-classification restricted for the last 90 days.
  2. Read the trend of open critical and high alerts and the mean time to remediate.
  3. Switch to the risk view with the same filters and sort by critical and high alerts.
  4. Group by owning team to see which team holds most of the open risk.

Answer: Use the same property filters on the dashboard for the trend and on the risk view for the ranking, then group by owning team to name the team to talk to first.

A weekly routine with security overview

Security overview has many views, and new users often wander through them without a question in mind. Seraphine gave the champions a fifteen-minute weekly routine with one question per step.

A champion's weekly security overview routine.
StepQuestionWhere to look
1Is anything not being analyzed?Coverage view, filtered to the team's repositories, sorted by failed or missing analyses
2What new serious alerts appeared this week?Code scanning alerts, filtered to critical and high, opened in the last seven days
3Which serious alerts are getting old?Same filter, sorted by age, older than the team's target
4Are campaigns on track?The campaigns view for any campaign including the team's repositories
5Were there dismissals worth a second look?Closed alerts with reason false positive or won't fix, closed in the last seven days

Most weeks the routine found nothing urgent, which was the point: a quiet routine done every week finds the problem in the one week something goes wrong. In the second week of November, step 1 showed that one of the commerce team's repositories had stopped being analyzed after a workflow file was renamed. Without the routine, nobody would have noticed until the next audit.

Common misreadings

Three misreadings came up often enough that Freya added them to the champions' guide. First, the number of open alerts is not a measure of risk on its own; an organization that adds coverage will see the number rise even as its security improves. Second, an empty view may mean a filter is hiding results, or that the viewer lacks access to some repositories, since security overview shows only what the viewer is allowed to see. Third, a repository with zero alerts is not necessarily safe; it may simply not be analyzed, which is why the coverage view comes first in the routine.

Priya found the second point useful for Tidewater. When Dmitri asked why his view showed fewer alerts than hers, the answer was that he had not been added to the repository with TrailCheck's experimental branch, and security overview was correctly hiding it.

Security overview at enterprise level for Skerry

Skerry's enterprise held three organizations inside the managed users enterprise and skerry-oss in its own small enterprise. Enterprise owners and the app security team could see security overview across skerry, skerry-stores and skerry-sandbox in one place, which mattered because some teams owned repositories in more than one organization. skerry-oss had to be checked separately. Seraphine kept a saved filter for each organization and one for the enterprise, and the scorecard in lesson 10 combined them so that nobody had to remember which view held which repository. The enterprise view also made it easy to spot a pattern that a single organization hides: the same rule producing serious alerts in both the main organization and the store systems organization, a sign that the shared cause lived in a library both used.

Common mistakes

  • MistakeTreating what one person sees as the whole organization.

    InsteadRemember that views are limited by access; use owners or security managers for organization-wide reports.

  • MistakeReviewing alerts repository by repository.

    InsteadUse custom property filters and organization-wide alert lists to find patterns and the riskiest repositories.

  • MistakeReporting only the number of open alerts.

    InsteadReport trends, remediation time and alerts prevented in pull requests.

  • MistakeRelying on the dashboard for historical evidence.

    InsteadExport snapshots or use the API so evidence survives changes to the view.

Summary and key terms

  • Security overview summarizes security features and alerts across an organization or enterprise.
  • What a person sees depends on their role and repository access.
  • The overview dashboard shows trends, remediation time and alerts prevented in pull requests.
  • The risk view ranks repositories by open alerts; custom property filters find the most important ones.
  • The coverage view shows enabled features and attached configurations, and can apply configurations.
  • Organization-wide alert views support filters, bulk actions and starting campaigns.
  • Exports and the API preserve history for reporting and audit.
Security overview
Organization and enterprise pages that summarize security coverage, alerts and trends across repositories.
Risk view
The security overview page that lists repositories by open alerts and severity.
Coverage view
The security overview page that shows which security features are enabled on each repository.
Mean time to remediate
The average time from an alert being detected to it being fixed.
Net resolve rate
Alerts closed compared with alerts opened in a period.
Bulk action
An action applied to many alerts at once, such as dismissing or assigning.
Custom property
Metadata set on repositories, such as owning team or data classification, used for filtering and targeting.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which view would you use to find repositories missing push protection?

    Show answer

    The coverage view.

  2. Why might a team lead see fewer repositories than exist in the organization?

    Show answer

    Security overview only shows repositories the person can access.

  3. What does a net resolve rate above 100 percent mean?

    Show answer

    More alerts are being closed than opened, so the backlog is shrinking.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz