Skip to content

Commit ab8cf9f

Browse files
committed
Add entry in the FAQ about SCA tools support
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent 188564b commit ab8cf9f

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

docs/faq.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,20 @@ The input to ScanCode is a local saved image: Docker or OCI.
363363
Docker 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
365365
from 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.

scanpipe/tests/test_sca_integrations.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)