For the complete documentation index, see llms.txt. This page is also available as Markdown.

GitHub Advanced Security (GHAS) integration

Synchronize Seal's remediation findings into GitHub Advanced Security via the Dependabot alerts API.

GitHub Advanced Security (GHAS)

The Seal CLI calls the GitHub Dependabot alerts API after every seal fix run and dismisses the corresponding alerts on the target repository. Dependabot is the path GitHub exposes for managing the SCA alerts that appear under GHAS.

Before you start

  • A GitHub personal access token (PAT) with the repo:security_events scope (read, write, and dismiss security alerts).

  • The GitHub organization name and the repository name that owns the alerts.

  • If you are running self-hosted GitHub Enterprise Server, the URL of your Dependabot endpoint.

Configuration

Set these in your CI environment:

SEAL_DEPENDABOT_URL defaults to https://api.github.com if omitted. Override it to point at your GitHub Enterprise Server instance.

Or in .seal-config.yml at the project root:

How alerts are dismissed

Dependabot creates a single alert for different vulnerable versions of the same package. If your project is affected by more than one vulnerable version of the same package (only possible in certain ecosystems), Seal dismisses the alert only when all of those vulnerable versions have been sealed.

Verify

After a seal fix run with the integration configured, open the targeted repository's Security > Dependabot alerts view. Alerts Seal dismissed should appear as dismissed with a Seal-attributed reason.

Last updated