Join our Newsletter — 33% off our NHI Course
Home› Guides› Secrets scanning tool health check: 13 metrics to…
Template Secrets Management

Secrets scanning tool health check: 13 metrics to audit every quarter

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 13 November 2026 12 min read
On this page

A secrets scanner gives a comforting dashboard while new repositories go unscanned, push-time blocking is switched off for a deadline, internal token formats never match a rule and dismissed findings quietly include live credentials. This health check is a recurring, measurable review of a secrets scanning tool already in production: what it scans, whether its detectors still find what you issue, how findings move through triage, and who and what can reach the secrets it has collected. It turns those questions into thirteen metrics with formulas and thresholds, so the result can be compared quarter on quarter. It suits AppSec, platform and NHI teams looking for a "secret scanning audit checklist" or "secret scanning KPIs".

This page measures the tool; it does not explain how to choose, deploy or protect it. For roles, the scanner's own credentials, finding protection and CI placement, use Securing the secrets scanning tool itself. For detector coverage by credential type and how to test it, use the Secret Scanner Rule Coverage Comparison Guide, and for scanning practice in repositories, the Git Secret Scanning Guide. The review is vendor-neutral and applies to platform-native scanning, standalone scanners and open source detectors run in pipelines.

What this health check covers

The review asks: if a developer, pipeline or AI coding assistant committed a live credential today, would the tool see it, block it or route it to someone who acts, and is the tool itself a safe place to hold what it finds? It covers:

  • Surface coverage: repositories, full history, container images, CI logs and other surfaces such as wikis, tickets and chat, measured against inventories.
  • Prevention: push-time and pre-receive blocking, and the bypass rate.
  • Detector health: scan job success, custom detectors for your own credential formats, and seeded test results.
  • Finding workflow inside the tool: triage time, backlog age, owner routing and the quality of dismissals.
  • The tool as a credential store: who can see unmasked values, allowlist and exclusion hygiene, and the scanner's own tokens and integrations.

Who runs it: the AppSec or secrets scanning owner collects the data; the head of application or platform security reviews; the CISO signs off. What it is not: a measure of how fast the organisation rotates secrets across the estate or how many secrets live in vaults. Those are secrets management programme outcomes and are measured separately, so the metrics below stay with the tool.

Key takeaways

  • Coverage is measured against inventories. Count scanned repositories against the source control platform's list of active repositories, not against what the scanner already knows about.
  • Prevention beats detection. Push-time blocking keeps a secret out of history; track both its coverage and how often developers bypass it.
  • Your own token formats are the blind spot. Generic patterns and partner formats rarely match internal API keys and service tokens, so count custom detectors against the formats you issue.
  • Test with seeded canaries. Planting inert test credentials of each type is the only proof the detectors, pipelines and alert routing still work end to end.
  • The scanner is a credential store. It holds every secret it has found; unmasked viewers, exports and its integration tokens need the same control as a vault.

How to use this template

Copy the metrics table and the findings log into your own tracker, then run this secrets scanning tool health check at the cadence below. Collect each figure from the data source types described, score it against the thresholds, and record every amber or red result as a finding with an owner and a due date. Keep each completed review and its raw extracts so results can be compared quarter on quarter.

Cadence and sign-off

ReviewFrequencyOwnerApproverEvidence kept
New repository and surface reconciliationWeekly (automated)Secrets scanning ownerAppSec leadRepository inventory joined to scanner coverage, onboarding tickets
Dismissal sample and bypass reviewMonthlyAppSec engineerAppSec leadSampled dismissals with verdicts, bypass events with reasons
Seeded canary testQuarterly, and after detector or pipeline changesAppSec engineerAppSec leadTest plan, canary types planted, detections and alerts received
Full metrics review (this page)QuarterlySecrets scanning ownerCISOMetrics table, raw extracts, findings log
Role and integration credential recertificationQuarterlyIdentity governance teamAppSec leadRole list, unmasked viewers, integration tokens with reviewer decisions

Metrics

NHI Mgmt Group recommended thresholds; adjust to your risk appetite. "Active repository" means any repository with a commit, pull request or pipeline run in the last 180 days. "Verified live" means the tool or a validity check confirmed the credential still works.

IDMetricFormulaData source typeGreenAmberRed
SS-01Repository coverageActive repositories with scanning enabled and a completed full history scan ÷ active repositories in the source control inventorySource control platform repository list, scanner coverage exportAt least 98%90% to below 98%Below 90%
SS-02Push-time blocking coverageActive repositories with push protection or a pre-receive secret check enforced ÷ active repositoriesScanner or platform push protection settings, pre-receive hook configurationAt least 95%75% to below 95%Below 75%
SS-03Push-time bypass rateBlocked pushes that were bypassed ÷ pushes blockedPush protection bypass events with reasonsBelow 5%, all with a reason5% to 15%Above 15%, or bypasses with no reason
SS-04Non-code surface coverageIn-scope non-code surfaces (container registries, CI logs and artefacts, wikis, ticketing, chat) connected and scanned in the last 7 days ÷ in-scope surfacesSurface register, scanner integration status and last scan datesAt least 90%70% to below 90%Below 70%
SS-05Scan job successScheduled and pipeline scan jobs that completed without error or timeout ÷ scan jobs startedScanner job history, CI job logsAt least 99%95% to below 99%Below 95%
SS-06Internal format detector coverageInternal credential formats (API keys, service tokens, signing keys you issue) with a tested custom detector ÷ internal formats in the credential format registerCredential format register, custom detector list100%80% to below 100%Below 80%
SS-07Seeded canary detection rateInert test credentials planted across surfaces and types that produced an alert routed to the right team within 1 hour ÷ canaries plantedCanary test plan, scanner alert log, ticketing or chat receiptsAt least 95%80% to below 95%Below 80%
SS-08Verified-live triage timeVerified-live findings triaged (classified and assigned) within 4 hours of detection ÷ verified-live findingsFinding timestamps, triage and assignment historyAt least 95%80% to below 95%Below 80%
SS-09Open finding backlog ageOpen findings older than 30 days ÷ open findingsFinding export with created date and stateBelow 5%5% to 20%Above 20%
SS-10Owner routingNew findings automatically routed to an owning team through repository or surface ownership data ÷ new findingsFinding assignment data, repository ownership metadataAt least 95%80% to below 95%Below 80%
SS-11Dismissal qualitySampled dismissals with a recorded reason and confirmed correct on review ÷ dismissals sampled (minimum 25 or all, if fewer)Dismissal records, reviewer verdictsAt least 95%85% to below 95%Below 85%, or any verified-live secret dismissed as false positive
SS-12Exclusion hygienePath, repository, file type and pattern exclusions without owner, justification or expiry, or past expiry ÷ all exclusionsScanner exclusion and allowlist export, inline ignore annotations0%Above 0% to 10%Above 10%, or any exclusion of a whole repository or configuration file type
SS-13Unmasked access and integration credentialsPeople with rights to view unmasked secret values or export findings, plus scanner integration tokens unused for 90 days or past rotation ÷ the approved baseline for eachRole assignment export, integration and token inventoryAt or below baseline, all tokens in dateUp to 20% above baselineMore than 20% above baseline, or any long-lived token with write scope unused for 90 days

Report SS-01, SS-02 and SS-07 per business unit or source control organisation, and separately for repositories that hold infrastructure as code, which carry the most cloud credentials.

How to collect the data

Use exports and tool telemetry rather than questionnaires. Where the scanner offers an audit log, forward it to the SIEM first so these figures can be rerun each quarter.

  1. Fix the denominators. Export the active repository list from every source control organisation and instance, including archived but readable ones, and the register of non-code surfaces in scope (SS-01, SS-04). Mergers, shadow organisations and personal namespaces are where coverage gaps hide.
  2. Export scanner coverage and settings: per repository, whether scanning, history scanning and push-time blocking are on, and the last scan date (SS-01, SS-02). Include pre-receive hooks and developer-side hooks; the OWASP Secrets Management Cheat Sheet recommends detection before commit, but treat local hooks as advisory because developers can skip them.
  3. Pull bypass events with user, repository, reason and whether the secret was later confirmed live (SS-03).
  4. Read the job history for scheduled scans and pipeline scan steps, counting errors, timeouts and steps marked as allowed to fail (SS-05). A scan step that is allowed to fail is often failing silently.
  5. Keep a credential format register of every token type your organisation issues, with its prefix or structure, and match it to custom detectors (SS-06). The Secret Scanner Rule Coverage Comparison Guide covers how to design detectors and spot checks.
  6. Run the canary test. Plant inert, clearly labelled test credentials of each type in a test repository, a CI log, a container image layer and a ticket, then record which raised an alert and where it was routed (SS-07). Never use live credentials for this.
  7. Export findings with created, triaged, assigned, dismissed and closed timestamps, validity status and owner (SS-08 to SS-10). The Developer Secret Scanning Triage guide sets what good triage looks like.
  8. Sample dismissals randomly, with a second reviewer checking reason and correctness (SS-11). Export exclusions, allowlists and inline ignore annotations with authors and dates (SS-12).
  9. Export access and integrations: roles that can reveal full values or export findings, and every token, app installation and service account the scanner uses, with scopes and last use (SS-13).

Red flags that need action now

  • A verified-live finding dismissed as a false positive or "used in tests" with no rotation.
  • Push-time blocking turned off for a whole organisation or a group of infrastructure repositories.
  • A cluster of bypasses from one team or one automation account.
  • Canary credentials planted in CI logs or container images that produced no alert.
  • An exclusion for a whole repository, a configuration file type or a directory such as test fixtures that real code also uses.
  • Scan steps in pipelines set to continue on error for months.
  • Many people able to reveal full secret values, or bulk finding exports with no business reason.
  • A scanner integration token with write access to source control that has never been rotated.

Findings log

Log each amber or red result and each red flag. Carry open items into the next quarter.

IDFindingMetricSeverityOwnerDue dateStatus
HC-SECSCAN-01[Description, e.g. 212 repositories in an acquired organisation with no scanning]SS-01[High][Secrets scanning owner][Date][Open]
HC-SECSCAN-02[Description, e.g. internal service token format has no custom detector]SS-06[High][AppSec engineer][Date][Open]
HC-SECSCAN-03[Description][ID][Critical / High / Medium / Low][Role][Date][Open / In progress / Closed / Risk accepted]

Suggested due dates: critical within 7 days, high within 30 days, medium within 90 days. A verified-live secret found during the review is an incident, not a finding: follow the Leaked Credential Response Playbook.

Remediation map

Finding typeWhere to fix it
Repository and history coverage gapsGit Secret Scanning Guide
Push-time blocking off or frequently bypassedGit Secret Scanning Guide (pre-receive and push-time controls), Securing the secrets scanning tool itself (the scanner inside CI/CD)
Container image and build artefact gapsSecrets in Container Images and Build Artefacts Guide
Missing detectors, failed canariesSecret Scanner Rule Coverage Comparison Guide
Slow triage, backlog, poor dismissalsDeveloper Secret Scanning Triage
Broad exclusions, unmasked viewers, scanner tokensSecuring the secrets scanning tool itself
Suspected tampering with the scannerIf your secrets scanning tool is compromised
Repeated capability gapsSecrets Scanning Buyer's Guide

Framework mapping

AreaNIST CSF 2.0NIST SP 800-53 Rev. 5CIS Controls v8.1MITRE ATT&CK
Coverage and prevention (SS-01 to 04)PR.PS-06, ID.RA-01IA-5, RA-5Control 16Credentials In Files (T1552.001)
Detector and job health (SS-05 to 07)DE.CM-09SI-4Control 16Credentials In Files (T1552.001)
Finding workflow (SS-08 to 11)DE.AE-02, RS.MI-01IR-4, IA-5Control 16, Control 17
Exclusions, access and integrations (SS-12, 13)PR.AA-05, PR.PS-01AC-6, CM-6Control 5, Control 6Cloud Accounts (T1078.004)

References

Related NHI Mgmt Group resources: Securing the secrets scanning tool itself, Secret Scanner Rule Coverage Comparison Guide, Git Secret Scanning Guide, Secrets Management Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 13 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.