You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pkg/sbom/cpe.go): Add exception for gitlab-operator to avoid matching as gitlab-* package and gitlab product
Not all gitlab-* packages should be treated as GitLab, but most of them are - as seen in
```
if strings.HasPrefix(name, "gitlab-") {
attr.Vendor = "gitlab"
attr.Product = "gitlab"
attr.SWEdition = "community"
return &attr
}
```
Added in 1c050aa
One notable exception is gitlab-operator, which is a Kubernetes operator
for managing GitLab installations, and not part of GitLab itself with
source @ https://gitlab.com/gitlab-org/cloud-native/gitlab-operator
Adding an explicit exception for this package to not match on `gitlab-*`
The reason for this change is because new gitlab-operator package was being matched with all older gitlab CVEs which is incorrect.
Signed-off-by: philroche <[email protected]>
0 commit comments