https://github.com/voltone/rebar3_sbom
Rebar3 plugin to generate CycloneDX SBoM
https://github.com/voltone/rebar3_sbom
Last synced: about 1 year ago
JSON representation
Rebar3 plugin to generate CycloneDX SBoM
- Host: GitHub
- URL: https://github.com/voltone/rebar3_sbom
- Owner: voltone
- License: bsd-3-clause
- Created: 2019-11-19T15:31:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T09:12:16.000Z (almost 2 years ago)
- Last Synced: 2025-02-19T02:12:13.680Z (over 1 year ago)
- Language: Erlang
- Size: 23.4 KB
- Stars: 10
- Watchers: 1
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rebar3_sbom
===========
Generates a Software Bill-of-Materials (SBoM) in CycloneDX format
Use
---
Add rebar3_sbom to your rebar config, either in a project or globally in
~/.config/rebar3/rebar.config:
{plugins, [rebar3_sbom]}.
Then run the 'sbom' task on a project:
$ rebar3 sbom
===> Verifying dependencies...
===> CycloneDX SBoM written to bom.xml
The following command line options are supported:
-o, --output the full path to the SBoM output file [default: bom.xml]
-f, --force overwite existing files without prompting for confirmation
[default: false]
By default only dependencies in the 'default' profile are included. To
generate an SBoM covering development environments specify the relevant
profiles using 'as':
$ rebar3 as default,test,docs sbom -o dev_bom.xml