Secret Scanning Alert

This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "About secret scanning." For information about the API to manage secret scanning alerts, see "Secret scanning" in the REST API documentation.

Actions

ActionSent when
assignedA secret scanning alert was assigned.
createdA secret scanning alert was created.
metadata-createdMetadata was created for a secret scanning alert.
metadata-removedMetadata was removed from a secret scanning alert.
publicly-leakedA secret scanning alert was detected in a public repo.
reopenedA previously closed secret scanning alert was reopened.
resolvedA secret scanning alert was closed.
unassignedA secret scanning alert was unassigned.
validatedA secret scanning alert was validated.

Payload

Fields of the delivery for the first action above. Every action shares the event's core fields.

FieldTypeRequiredDescription
actionstringYes
alertobjectYes
assigneeobjectNoA GitHub user.
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
installationobjectNoThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
organizationobjectNoA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
repositoryobjectYesThe repository on GitHub where the event occurred. Webhook payloads contain the repository property
senderobjectNoA GitHub user.
Subscribing

To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission.