GitHub public monitoring: triage leaked secrets with API and webhooks
GitHub public monitoring adds validity checks, alert timelines, a REST API and webhooks for leaked enterprise secrets. Build a response from alert to rotation.
Updated 3 min read

In this article
GitHub public monitoring watches public GitHub repositories for secrets attributed to your enterprise. On 23 October 2026 it gained alert triage, continuous validity checks, a REST API and a webhook. It remains in public preview for GitHub Enterprise Cloud customers.
It is included with GitHub Advanced Security or GitHub Secret Protection at no extra cost. Enterprise admins and enterprise security managers turn it on from the enterprise security dashboard.
Sources checked on 26 October 2026. Features, prices and availability can change; confirm the linked primary sources before acting.
What changed in GitHub public monitoring
Alerts can now be triaged, filtered and automated. Validity checks tell you which leaked credentials still work.

Validity checks run continuously for supported providers and show Active, Inactive or Unknown. The REST API returns alert metadata, secret type, attribution and exposed locations. The webhook fires when a new leak is attributed to your organisation.
Dismissing an alert does not revoke the secret
Closing an alert changes its state for your enterprise only. It does not revoke the credential or remove it from the public repository.
Anyone who copied the secret can still use it until you revoke it at the provider. Treat every alert as a live incident until rotation is confirmed.
Build a response workflow from webhook to rotation
Automate intake and triage, then keep a person on revocation. This order limits exposure time.
- Receive. Point the
secret_scanning_public_monitoring_alertwebhook at an internal endpoint. Verify the signature and store the event. - Enrich. Fetch the alert from the REST API for its secret type, attribution and locations.
- Prioritise. Active credentials first, Unknown next. Confirm Inactive ones at the provider rather than trusting the label.
- Revoke and rotate. Revoke at the provider, issue a new credential and deploy it through your secret manager.
- Request removal. Ask the repository owner to remove the file. Rotation comes first, because history and forks may keep copies.
- Close with evidence. Mark the alert Fixed with a comment linking the rotation ticket.

Audit evidence and post-incident rotation
The alert timeline becomes part of your audit trail. Add what GitHub cannot see.
- Check provider logs for use of the credential during the exposure window.
- Record who rotated what and when, and which systems received the new secret.
- Enable push protection and pre-commit scanning to stop the next leak.
- Prefer short-lived credentials so a future leak expires on its own.
Our verdict: wire the webhook into your incident process now, even in preview, but never let closing an alert stand in for revocation. Our Docker Compose production checklist covers secret handling in deployments. For a secret-scanning and response setup, see our application maintenance and support service.
Sources and further reading
Image credits
Explanatory diagrams: Cloudsoft Zone, CC BY-SA 4.0. Featured photograph: ImagePerson, CC BY-SA 4.0, via Wikimedia Commons. API Portal - API key management: APaskulin (WMF), CC BY-SA 4.0, via Wikimedia Commons.
Frequently asked questions
Does dismissing a public monitoring alert revoke the secret?
No. GitHub states that it does not revoke the credential or remove it from the public repository. Revoke it at the provider.
Who can use public monitoring?
GitHub Enterprise Cloud customers, in public preview, included with GitHub Advanced Security or GitHub Secret Protection.
Which webhook event reports new leaks?
The enterprise-level secret_scanning_public_monitoring_alert event.
Sources
- Public monitoring adds triage, validity, API and webhooks — GitHub, 2026-10-23
Written with substantial AI assistance. Facts checked against cited sources. Editorial policy.
Read next

TutorialDevOps5 min read
Prometheus and Grafana monitoring for Laravel and Node.js applications
Use Prometheus and Grafana to connect private application metrics, host observations and actionable dashboards for Laravel and Node.js production workloads.
New tools, once a week
One short email listing what joined the directory.
Comments
No comments yet. Be the first to join the conversation.
Leave a comment
Every comment is read by a moderator before it appears. Your email address is never published; it is used only to contact you about this comment.
More from Cloudsoft Zone

TutorialDevOps5 min read
Production stack monitoring: nginx, PHP-FPM, MySQL, Redis and queue workers
Build production stack monitoring with private nginx and PHP-FPM status, MySQL connection signals, Redis memory context and queue progress instead of process-only checks.
By Nilesh Kushvaha

TutorialDevOps5 min read
Production monitoring for a small SaaS: signals, alerts and recovery evidence you actually need
Build production monitoring around critical user journeys, application errors, queue progress and capacity signals, with actionable alerts and a verified delivery path.
By Nilesh Kushvaha

TutorialDevOps5 min read
Deployment approval gates: when a production release needs a human decision
Use deployment approval gates for concrete production decisions with artifact identity, migration risk, acceptance evidence and a clear recovery plan before credentials are released.
By Nilesh Kushvaha