dmd import sbom
dmd import sbom
Import an SBOM
Usage
sbom '/path/to/sbom.json' --platform github --organisation jamietanna --repo jamietanna
Examples
# taking an SBOM that was produced from the GitHub repo https://github.com/jamietanna/jamietanna
dmd import sbom '/path/to/sbom.json' --platform github --organisation jamietanna --repo jamietanna --db dmd.db
# taking an SBOM that was produced from the GitLab repo https://gitlab.com/tanna.dev/dependency-management-data
dmd import sbom '/path/to/sbom.json' --platform gitlab --organisation tanna.dev --repo dependency-management-data --db dmd.db
Synopsis
Imports a Software Bill of Materials (SBOM).
Options
Flag (type) | Usage | Notes |
---|---|---|
-h, --help
|
help for sbom |
|
--no-progress
|
prevent displaying progress of long-running tasks |
|
--organisation (tanna.dev)
|
The organisation that hosts the repository that this given SBOM has been generated for, for instance tanna.dev, `gitlab-org/sbom` |
|
--platform (github)
|
The platform that hosts the repository that this given SBOM has been generated for, for instance github, `gitlab` |
|
--repo (string)
|
The repository that this given SBOM has been generated for |
|
Options inherited from parent commands
Flag (type) | Usage | Notes |
---|---|---|
--db (string)
|
the path to the input/output database |
|
--debug
|
whether to enable debug logging |
|
Related
dmd import
- Import raw data exports into a given database