Security And Analysis
This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "GitHub security features."
Actions
| Action | Sent when |
|---|---|
security_and_analysis | This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "GitHub security features." |
Payload
Fields of the delivery for the first action above. Every action shares the event's core fields.
| Field | Type | Required | Description |
|---|---|---|---|
changes | object | Yes | |
enterprise | object | No | An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured |
installation | object | No | The GitHub App installation. Webhook payloads contain the installation property when the event is configured |
organization | object | No | A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an |
repository | object | Yes | Full Repository |
sender | object | No | A GitHub user. |
Subscribing
To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission.