A user pushes one or more commits that contain a secret to a repository. This payload comes with an event key of repo:secret_detected.

interface RepoSecretDetected {
    actor: repo.secretDetected.Actor;
    date: string;
    eventKey: "repo:secret_detected";
    secretLocations: SecretLocation[];
}

Properties

The user who pushed the commits.

date: string
eventKey: "repo:secret_detected"
secretLocations: SecretLocation[]

The details of the commits that contain a secret.