Documentation
¶
Overview ¶
Package webhook provides an HTTP handler for GitHub webhook events. It validates the HMAC-SHA256 signature sent by GitHub and triggers an incremental single-repo scan for push, create, delete, and repository events.
The webhook endpoint is entirely optional: it is only registered when the GITHUB_WEBHOOK_SECRET environment variable is set. The periodic full-org scan continues to work regardless.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RepoScanner ¶
RepoScanner is the subset of scanner.Scanner used by the webhook handler.
Click to show internal directories.
Click to hide internal directories.