mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 16:36:40 +01:00
add signature verification to install.sh (#2941)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -63,7 +63,7 @@ test_negative_snapshot_download_asset() {
|
||||
test_sboms_have_packages() {
|
||||
find "$(snapshot_dir)/" -name "*.sbom" -print0 | while IFS= read -r -d '' file; do
|
||||
count=$(cat "$file" | jq ".artifacts | length")
|
||||
if [ "$count" -gt 80 ]; then
|
||||
if [ "$count" -lt 80 ]; then
|
||||
echo "not enough packages found for file: $file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user