The secret_scanning_alert
webhook is sent for activity related to secret scanning alerts. Secret scanning webhooks now support validity checks, so you can keep track of changes to validity status.
Changes to the secret_scanning_alert
webhook:
- A new
validity
property that is eitheractive
,inactive
, orunknown
depending on the most recent validity check. - A new action type,
validated
, which is triggered when a secret’s validity status changes.
Note: you must enable validity checks at the repository or organization level in order to opt in to the feature. This can be done from your secret scanning settings on the Code security and analysis
settings page by selecting the option to “automatically verify if a secret is valid by sending it to the relevant partner.”
Learn more about which secret types are supported or the secret scanning webhook.