File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,13 @@ func generateWfnAttributesForAPK(p pkgInfo) *wfn.Attributes {
54
54
return & attr
55
55
}
56
56
57
- if strings .HasPrefix (name , "gitlab-" ) {
57
+ // Not all gitlab-* packages should be treated as GitLab, but most of them are.
58
+ // One notable exception is gitlab-operator, which is a Kubernetes operator
59
+ // for managing GitLab installations, and not part of GitLab itself.
60
+ // Source @ https://gitlab.com/gitlab-org/cloud-native/gitlab-operator
61
+ // Adding an explicit exception for this package here.
62
+ // If more exceptions are found, we might need a more robust way to handle them.
63
+ if strings .HasPrefix (name , "gitlab-" ) && name != "gitlab-operator" {
58
64
attr .Vendor = "gitlab"
59
65
attr .Product = "gitlab"
60
66
attr .SWEdition = "community"
You can’t perform that action at this time.
0 commit comments