Closed txdvse closed 1 year ago
Ran into issues with the new tools when generating for Go projects, here's the logs:
2023-11-07 16:10:51 Running : sbom-tool, with: cd /bound_dir/code && sbom-tool generate -ps . -b . -m /bound_dir/sboms -pn . -pv .
2023-11-07 16:10:51 Error running: sbom-tool, exit code: 127
2023-11-07 16:10:51 Running : SPDX SBOM Generator, with: cd /bound_dir/code && spdx-sbom-generator -p . -o /bound_dir/sboms/
2023-11-07 16:10:51 Error running: SPDX SBOM Generator, exit code: 127
2023-11-07 16:10:51 Running : sbom4files CDX, with: sbom4files -d /bound_dir/code -r --sbom cyclonedx -o /bound_dir/sboms/tempbom.xml
2023-11-07 16:10:51 Error running: sbom4files CDX, exit code: 255
2023-11-07 16:10:51 Running : Syft SPDX, with: cd /bound_dir/code && syft . -vv -o spdx-tag-value > /bound_dir/sboms/tempbom.spdx
2023-11-07 16:10:58 Completed : Syft SPDX, with: cd /bound_dir/code && syft . -vv -o spdx-tag-value > /bound_dir/sboms/tempbom.spdx
2023-11-07 16:10:58 Running : sbom4files SPDX, with: sbom4files -d /bound_dir/code -r --sbom spdx --format tag -o /bound_dir/sboms/tempbom.xml
2023-11-07 16:10:59 Error running: sbom4files SPDX, exit code: 255
2023-11-07 16:10:59 Running : CycloneDX Generator, with: cd /bound_dir/code && cdxgen -r -o /bound_dir/sboms/tempbom.xml
2023-11-07 16:10:59 Error running: CycloneDX Generator, exit code: 1
2023-11-07 16:10:59 Running : GoBom, with: cd /bound_dir/code && gobom generate . -o /bound_dir/sboms
2023-11-07 16:10:59 Error running: GoBom, exit code: 127
2023-11-07 16:10:59 Running : Covenant, with: dotnet covenant install --global /bound_dir/code -o /bound_dir/sboms
2023-11-07 16:10:59 Error running: Covenant, exit code: 127
2023-11-07 16:10:59 Running : CycloneDX Go, with: cd /bound_dir/code && cyclonedx-go -o /bound_dir/sboms
2023-11-07 16:10:59 Error running: CycloneDX Go, exit code: 127
2023-11-07 16:10:59 Running : Syft CDX, with: cd /bound_dir/code && syft . -vv -o cyclonedx-xml > /bound_dir/sboms/tempbom.xml
2023-11-07 16:11:03 Completed : Syft CDX, with: cd /bound_dir/code && syft . -vv -o cyclonedx-xml > /bound_dir/sboms/tempbom.xml
Added new validation and runner scripts for OSI for more clear success confirmation
Changed
Added
validate.sh
: Validation script that runs before launching flask api server in OSI to confirm what languages, package managers, and tools are installedrunner.sh
: Launch script that sets up flask and runsvalidate.sh
Changed
Removed