{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/secret-scanning-alert-webhook", "title": "secret-scanning-alert-webhook", "type": "object", "properties": { "number": { "$ref": "#/components/schemas/alert-number" }, "created_at": { "$ref": "#/components/schemas/alert-created-at" }, "updated_at": { "$ref": "#/components/schemas/nullable-alert-updated-at" }, "url": { "$ref": "#/components/schemas/alert-url" }, "html_url": { "$ref": "#/components/schemas/alert-html-url" }, "locations_url": { "type": "string", "format": "uri", "description": "The REST API URL of the code locations for this alert." }, "resolution": { "$ref": "#/components/schemas/secret-scanning-alert-resolution-webhook" }, "resolved_at": { "type": "string", "format": "date-time", "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, "resolved_by": { "$ref": "#/components/schemas/nullable-simple-user" }, "resolution_comment": { "type": "string", "description": "An optional comment to resolve an alert.", "nullable": true }, "secret_type": { "type": "string", "description": "The type of secret that secret scanning detected." }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", "enum": [ "active", "inactive", "unknown" ] }, "push_protection_bypassed": { "type": "boolean", "description": "Whether push protection was bypassed for the detected secret.", "nullable": true }, "push_protection_bypassed_by": { "$ref": "#/components/schemas/nullable-simple-user" }, "push_protection_bypassed_at": { "type": "string", "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true } } }