Added:
- Branch scanning:
- Fetch SBOM diffs for non‑default branches via Dependency Review API.
- Added
--branch-scan,--branch-limit, and--diff-baseCLI flags.
- Dependency Submission integration:
- Automatically submits dependency snapshots for branches being scanned, if not already present, using Component Detection.
- Language-aware sparse checkout.
- Use a pre-downloaded binary (
--component-detection-bin) or an auto-downloaded release. - Allows forcing submission, even if a snapshot already exists.
- Search and matching:
- Refactored search to de-duplicate logic and include branch diffs (added/updated packages only).
- Malware matching enhanced to enumerate packages from diffs; matches annotated with branch.
- CLI and CSV outputs include branch context; CSV adds a
branchcolumn.
- CLI and UX improvements:
- Argument validation updated:
--sync-sbomsrequires--sbom-cache. - Malware-only mode: allow
--sync-malwarewithout--sbom-cache(requires--malware-cache). - JSON/CLI/CSV interaction clarified and documented.
- Added examples for malware-only sync and branch scanning.
- Argument validation updated:
- Advisory sync robustness:
- GraphQL advisory sync implements adaptive retries with exponential backoff and
Retry-Aftersupport.
- GraphQL advisory sync implements adaptive retries with exponential backoff and
Fixed:
- Added
--ghesflag to ensure proper API URL construction for GitHub Enterprise Server instances.
- Initial release, with: SBOM sync; malware sync; malware matching; CLI, file based and interactive PURL searching. SARIF, CSV and JSON outputs supported.