Skip to content

Commit

Permalink
Support for fail-on-error for container sbom generation. Env variable…
Browse files Browse the repository at this point in the history
… to force non-strict tar extraction.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Dec 26, 2024
1 parent 56fc686 commit 1651977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/managers/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ export const extractTar = async (fullImageName, dir, options) => {
if (DEBUG_MODE) {
console.log(`Archive ${fullImageName} is empty. Skipping.`);
}
return false;
} else if (["EACCES"].includes(err.code)) {
console.log(err);
/*
Expand Down
2 changes: 1 addition & 1 deletion types/lib/managers/docker.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1651977

Please # to comment.