Skip to content

Commit

Permalink
Apparently syft's json keys change based on cardnality? (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
viega authored Oct 27, 2023
1 parent 772dfde commit 1dd895d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/sbomconfig.c4m
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func extract_syft_sbom(out: string, code) {
echo(out)
}

validIndicator := "\"components\": "
validIndicator := "\"component"
emptyIndicator := "\"components\": []"

if not contains(out, validIndicator) {
Expand Down

0 comments on commit 1dd895d

Please sign in to comment.