Safeguard
Security Guides•

How do you measure how fast your scanner alerts after a new advisory?

Track the gap from advisory publication to your first alert, split it into stages, and set a target. A simple measurement method with an example log.

Safeguard Security Team
3 min read

Measure advisory-to-alert time as the gap between an advisory's publication and the moment your team receives an alert for an affected project. Record three timestamps per finding, review the median and the slowest cases monthly, and fix whichever stage is slowest.

Why measure it

Teams usually know how often they scan. Few know how long they are exposed and uninformed. A nightly job can in theory be 24 hours behind. In practice the lag also includes the advisory source's delay, your poll interval and any batching of notifications.

GitHub notes that new vulnerabilities may take time to appear in its Advisory Database, so alerts can be delayed (about Dependabot alerts). That delay is outside your control, but you can see it in your numbers.

The three timestamps

TimestampWhere it comes from
PublishedThe advisory's own published date
DetectedWhen your system first matched it to a project
AlertedWhen a human was notified

From them you get three durations: source lag (published to detected, which includes your poll gap), processing lag (detected to alerted), and total.

Steps

  1. Add the fields. Store the advisory publish date and your first detection time on every finding.
  2. Add the alert time. Log when the notification was sent.
  3. Pick a sample. Take the last 30 days of new findings.
  4. Compute median and 90th percentile. The slow tail matters more than the average.
  5. Look for the biggest stage. If source lag dominates, shorten your poll interval or add a second feed. If processing lag dominates, look at batching or routing.
  6. Set a target. For example, urgent items alerted within hours, others within a day. Choose what fits your risk.
  7. Retest after changes.

Example log

FindingPublishedDetectedAlerted
Example AMon 09:00Mon 09:40Mon 09:41
Example BTue 14:00Wed 03:20Wed 08:00

Example A shows a fast poll with immediate paging. Example B shows a nightly detection and a morning digest, so about 18 hours elapsed. Both are made up for illustration.

Pitfalls

  • Using detection time as publication time, which hides source lag.
  • Averaging, which hides the worst cases.
  • Counting only findings you acted on.
  • Comparing across sources without noting that each publishes on its own schedule.

Quick check

What is a good target?

It depends on your risk. Many teams aim for hours on urgent classes and a day or less on the rest. Choose a number you can meet and then tighten it.

Does a faster poll always help?

Only if the source has the data. Polling more often than a source updates just adds load.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.