Skip to content

Conversation

@tdruez
Copy link
Contributor

@tdruez tdruez commented Aug 20, 2025

This PR adds support for importing SBOMs generated with Anchore tools.

Changes:

  • Adapt the load_sbom pipeline to ensure the Anchore SBOMs are fully supported
  • Add a unit test to ensure the Anchore SBOM support
  • Add a GitHub workflow that runs every week to ensure the Anchore SBOM support (see below for details)

Workflow

Available at .github/workflows/sca-integration-anchore.yml

Documentation:

# This workflow:
#  1. Generates a CycloneDX SBOM for a container image using Anchore Grype.
#  2. Uploads the SBOM as a GitHub artifact for future inspection.
#  3. Loads the SBOM into ScanCode.io for further analysis.
#  4. Runs assertions to verify that the SBOM was properly processed in ScanCode.io.
#
# It runs on demand, and once a week (scheduled).

Notes

The Grype scan-action is used in the workflow to generate an SBOM that also includes vulnerabilities.

@tdruez tdruez changed the title Add GH workflow to generate SBOM with Anchore Syft #1728 Add GH workflow to generate SBOM with Anchore tools #1728 Aug 20, 2025
@tdruez tdruez changed the title Add GH workflow to generate SBOM with Anchore tools #1728 [CRAVEX] SCA Integrations: Anchore Aug 20, 2025
@tdruez tdruez merged commit c2f46df into main Aug 20, 2025
14 checks passed
@tdruez tdruez deleted the 1728-sca-integrations-anchore branch August 20, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants