mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 08:26:38 +01:00
chore(deps): update tools to latest versions (#3413)
* chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix linting Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
co-authored by
spiffcs
Alex Goodman
parent
abd6abe186
commit
ac8be4ad41
@@ -61,6 +61,11 @@ test_negative_snapshot_download_asset() {
|
||||
}
|
||||
|
||||
test_sboms_have_packages() {
|
||||
if ! command -v jq &> /dev/null; then
|
||||
echo "jq command not found. Please install jq or ensure it is in your PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find "$(snapshot_dir)/" -name "*.sbom" -print0 | while IFS= read -r -d '' file; do
|
||||
count=$(cat "$file" | jq ".artifacts | length")
|
||||
if [ "$count" -lt 80 ]; then
|
||||
|
||||
Reference in New Issue
Block a user