encode upstream qualifier on os package pURLs (#769)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2022-01-25 09:55:56 -05:00
committed by GitHub
parent d2e815a2c5
commit 6f0fad7ffd
8 changed files with 103 additions and 26 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ const (
purlArchQualifier = "arch"
purlDistroQualifier = "distro"
purlEpochQualifier = "epoch"
purlVCSURL = "vcs_url"
purlVCSURLQualifier = "vcs_url"
// this qualifier is not in the pURL spec, but is used by grype to perform indirect matching based on source information
purlUpstreamQualifier = "upstream"
)
type urlIdentifier interface {