We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da2e49 commit a9c57b2Copy full SHA for a9c57b2
entrypoint.sh
@@ -94,7 +94,7 @@ detect_sbom_format() {
94
fi
95
96
# Check if it's SPDX format
97
- if jq -e '.spdxVersion // .SPDXID' "$sbom_file" > /dev/null 2>&1; then
+ if jq -e '.spdxVersion // .SPDXID // .sbom.spdxVersion // .sbom.SPDXID' "$sbom_file" > /dev/null 2>&1; then
98
echo "spdx"
99
return
100
0 commit comments