Skip to content

Replaces trivy with syft for sbom generation#180

Open
bomoko wants to merge 3 commits intomainfrom
feature-replace-trivy
Open

Replaces trivy with syft for sbom generation#180
bomoko wants to merge 3 commits intomainfrom
feature-replace-trivy

Conversation

@bomoko
Copy link
Contributor

@bomoko bomoko commented Feb 26, 2026

This PR replaces the Trivy scanner in the insights-scanner image with Syft which is generally a lot better at generating more comprehensive SBOMs.

NOTE: compatibility with trivy in insights-handler has been confirmed, as this generates standard cyclonedx json.

closes uselagoon/insights-remote#79

@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions bot added the insights-scanner PRs that touch the 'insights-scanner' folder label Feb 26, 2026
@github-actions github-actions bot added the renovate.json PRs that touch the 'renovate.json' folder label Feb 26, 2026
@bomoko bomoko requested a review from rocketeerbkw February 26, 2026 01:18
@rocketeerbkw
Copy link
Member

@bomoko
Copy link
Contributor Author

bomoko commented Feb 26, 2026

Do we still need to build a new image daily with syft? https://github.com/uselagoon/lagoon-service-images/blob/main/.github/workflows/insights-scanner-image.yaml#L4-L5

Good catch @rocketeerbkw . Nope, you're right. Removed.

Copy link
Member

@rocketeerbkw rocketeerbkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Builds locally 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

insights-scanner PRs that touch the 'insights-scanner' folder renovate.json PRs that touch the 'renovate.json' folder

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the option to use anchore/syft image for SBOM scanning

2 participants