File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,3 +363,20 @@ The input to ScanCode is a local saved image: Docker or OCI.
363363Docker in Docker support will demand to have access to the saved images
364364(either extracted from the Docker images in Docker, or mounted in a volume or saved
365365from the Docker in the Docker image). Once saved we can analyze these alright.
366+
367+ Can I import SBOM from other SCA tools?
368+ ---------------------------------------
369+
370+ Yes! You can load SBOMs generated by other tools for further review and run
371+ pipelines to enrich or validate the data directly in ScanCode.io.
372+
373+ While most valid SBOMs should work out of the box, SBOMs from the following tools
374+ are actively supported and tested::
375+
376+ - Anchore: https://anchore.com/sbom/
377+ - CycloneDX cdxgen: https://cyclonedx.github.io/cdxgen/
378+ - Trivy: https://trivy.dev/latest/
379+
380+ .. note :: Imported SBOMs must follow the SPDX or CycloneDX standards, in JSON format.
381+ You can use the ``load-sbom `` pipeline to process and enhance these SBOMs in your
382+ ScanCode.io projects.
Original file line number Diff line number Diff line change @@ -76,14 +76,9 @@ def test_scanpipe_scan_integrations_load_sbom_anchore(self):
7676
7777 def test_scanpipe_scan_integrations_load_sbom_cdxgen (self ):
7878 # Input file generated with:
79- # $ cdxgen alpine:3.17.0 \
80- # --type docker \
81- # --output cdxgen-alpine-3.17-sbom.json \
82- # --spec-version 1.6 \
83- # --json-pretty
84- input_location = (
85- self .data / "sca-integrations" / "cdxgen-alpine-3.17-sbom.json"
86- )
79+ # $ cdxgen alpine:3.17.0 --type docker --spec-version 1.6 --json-pretty \
80+ # --output cdxgen-alpine-3.17-sbom.json
81+ input_location = self .data / "sca-integrations" / "cdxgen-alpine-3.17-sbom.json"
8782
8883 pipeline_name = "load_sbom"
8984 project1 = make_project ()
You can’t perform that action at this time.
0 commit comments