Secrets Scanning
Use the REST API to query secrets detection metrics
Last updated
Was this helpful?
Use the REST API to query secrets detection metrics
Last updated
Was this helpful?
The Secrets API provides a RESTful interface for querying various metrics related to Secrets detection findings and events. It offers endpoints to retrieve information about secret findings, events, and counts.
This endpoint returns the list of events that have occurred related to dependency findings.
Event types:
new-finding
new-findings
new-allowlisted-finding
new-allowlisted-findings
This endpoint returns the list of current secrets in the repository.
This endpoint returns the details of a secret finding.
Returns events after a specified timestamp or event ID. All events are returned if no timestamp or event ID is provided
/secrets/events
Returns secrets summary. One unique secret hash per repository
/secrets/findings
Returns a given finding
/secrets/findings/{findingId}