You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be able to build sbom.json and/or sbom.xml manifests
Actual behaviour
When running following command:
box-manifest make build -r sbom.json -vvv
Got these results :
[notice] RUN Workflow with following stages >> build
[debug] RUN Starting stage "Bartlett\BoxManifest\Pipeline\BuildStage"
[critical] RES The stage "Bartlett\BoxManifest\Pipeline\BuildStage" has failed : CycloneDX\Core\Factories\LicenseFactory::makeFromString(): Argument #1 ($license) must be of type string, array given, called in /shared/backups/bartlett/box-manifest/src/Composer/Manifest/SbomManifestBuilder.php on line 133
[error] RES Workflow has failed
The text was updated successfully, but these errors were encountered:
Summary
Cannot generate SBOM manifest format for project what are Composer license defined by an array of strings
Example with project : https://github.com/shipmonk-rnd/composer-dependency-analyser
See: https://github.com/shipmonk-rnd/composer-dependency-analyser/blob/1.7.0/composer.json#L4-L6
Expected behaviour
Be able to build
sbom.json
and/orsbom.xml
manifestsActual behaviour
When running following command:
Got these results :
The text was updated successfully, but these errors were encountered: