We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bomber exits with a exitcode=10 in both cases: when any issue is found, and when no issues found.
exitcode=10
Note that with previous releases the exit code was 0 in the case of successful scan
Install bomber in their latest version: 0.4.5, even though it reports a wrong version 0.4.4 when running bomber --version see #176
0.4.5
0.4.4
bomber --version
package.json
pack-resolver
{ "name": "no-name", "license": "UNLICENSED", "dependencies": { "pac-resolver": "7.0.0" } }
npm install
npx @cyclonedx/cyclonedx-npm --output-file sbom.json
bomber scan sbom.json --output json
echo $?
10
{ "name": "no-name", "license": "UNLICENSED", "dependencies": { "pac-resolver": "5.0.0" } }
The text was updated successfully, but these errors were encountered:
Perhaps regression was introduced in #165
Sorry, something went wrong.
Same on version 0.4.5
Appreciate the detailed explanation! I'll make sure we get this fixed and released as soon as possible.
djschleen
Successfully merging a pull request may close this issue.
Description
bomber exits with a
exitcode=10
in both cases: when any issue is found, and when no issues found.Note that with previous releases the exit code was 0 in the case of successful scan
How to reproduce
Install bomber in their latest version:
0.4.5
, even though it reports a wrong version0.4.4
when runningbomber --version
see #176Scan with no vulnerabilities
package.json
file with a the latest non-vulnerablepack-resolver
npm install
npx @cyclonedx/cyclonedx-npm --output-file sbom.json
bomber scan sbom.json --output json
and you can see no issues reportedecho $?
and it is10
Scan with vulnerabilities
package.json
file to downgradepack-resolver
to a vulnerable versionnpm install
npx @cyclonedx/cyclonedx-npm --output-file sbom.json
bomber scan sbom.json --output json
and you can see a couple of issues reportedecho $?
and it is10
The text was updated successfully, but these errors were encountered: