Skip to content

Commit

Permalink
fix: use official CPE for curl binary cataloger (#3164)
Browse files Browse the repository at this point in the history
The official CPE for curl is `cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*`

Signed-off-by: Weston Steimel <commits@weston.slmail.me>
  • Loading branch information
westonsteimel authored Aug 27, 2024
1 parent cf9bb13 commit 99be365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syft/pkg/cataloger/binary/classifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ func DefaultClassifiers() []Classifier {
),
Package: "curl",
PURL: mustPURL("pkg:generic/curl@version"),
CPEs: singleCPE("cpe:2.3:a:curl:curl:*:*:*:*:*:*:*:*"),
CPEs: singleCPE("cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*"),
},
}
}
Expand Down

0 comments on commit 99be365

Please # to comment.