feat!: upgrade license scan and cleanup #4479 - #79
Merged
Merged
Conversation
shashi165
requested review from
bushjames,
elnyry-sam-k,
geka-evk,
gibaros,
kalinkrustev,
kleyow,
oderayi and
vijayg10
as code owners
June 10, 2026 16:39
|
Your development orb(s) have been published. It will expire in 30 days. |
|
Your orb has been published to the CircleCI Orb Registry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mojaloop/build@2.0.0Major version bump. The legacy
license_scannercommand is removed; consumers must move to the new SBOM-based license gate. Pin/upgrade tomojaloop/build@2.0.0(example/README updated accordingly). Also bumps the executor runtime to Node 24 — validate native-module repos before adopting.Upgrade license scanning to SBOM-first + harden Grype + cleanup
Replaces the legacy
license-scannertool with an SBOM-first license gate, hardens the Grype job, removes dead code, and bumps the runtime to Node 24.License scan migration (SBOM-first)
generate_sbomcommand (Syft → CycloneDX) andlicense_gatecommand (@mojaloop/license-scanner-tool, pinned).license_scan(image) andaudit_licenses(source) now generate a CycloneDX SBOM and gate it with the published tool; legacylicense_scannercommand removed.Grype hardening
set -euo pipefailand removed the|| echo "0"fallbacks in the severity-count step, so a parsing error fails the build instead of silently passing.grype_version(v0.114.0) andsyft_version(v1.45.0) params; Grype/Syft installs now pin the binary while the vuln DB stays auto-updating.Cleanup
image_scanjob (EOL Anchore Engine, unused by any workflow) and its now-deadanchore/anchore-engineorb import.Runtime
node:22.15.0-alpine3.21→node:24.15.0-alpine3.23(Node 24 LTS;alpine3.21isn't published for Node 24). Per-repo.nvmrcversions remain honored viaconfigure_nvm.Note