Webhook Notifications
Automatically re-analyze FOSSA projects on a schedule or via an inbound webhook trigger.
Overview
FOSSA supports two ways to keep projects automatically up to date: scheduled hooks, which re-analyze projects on a recurring interval, and webhook hooks, which let an external system trigger a re-analysis on demand.
Both are configured under Settings → Projects → Hooks at the organization level.
Scheduled hooks
Scheduled hooks tell FOSSA to automatically re-analyze all projects in your organization on a recurring basis.
| Field | Description |
|---|---|
| Enabled | Turns on scheduled re-analysis by default for all new projects |
| Interval | How often to re-analyze: hour, day, or week |
| Interval length | How many intervals between re-analyses (e.g. 2 days) |
| Time | Time of day to run the update (e.g. 3:30pm) |
Once enabled, new projects will have scheduled re-analysis turned on by default using the configured interval and time. Existing projects are not affected retroactively; their hook settings must be updated individually.
Webhook hooks
Webhook hooks let an external system (such as a CI pipeline or a package registry) trigger a FOSSA re-analysis for a specific project by sending a POST request to that project's webhook URL.
Each project has a unique webhook URL:
https://app.fossa.com/hooks/webhook/{project-locator}To trigger a re-analysis:
curl -X POST "https://app.fossa.com/hooks/webhook/{project-locator}"Replace {project-locator} with the URL-encoded locator for your project, for example, sbom%2B58760%2Fmy-project.
Note
Calling the webhook URL returns a 404 NoActiveUpdateHooksError if no active webhook hook is configured for that project. Enable it per project under Project Settings → Settings → Hooks.
Warning
If the webhook call cannot be processed (for example, because the project is not eligible for re-analysis), FOSSA automatically disables the hook and records the error. Check the hook status in project settings if calls stop being processed.
Supported project types
Webhook hooks are supported for VCS-managed projects. They are not supported for fully provided (non-VCS) projects.