From 3c096f30e75bb790eb095949bf2bbb4cf4c397d5 Mon Sep 17 00:00:00 2001 From: crozzy Date: Mon, 30 Sep 2024 11:09:09 -0700 Subject: [PATCH] services: add rhcc enricher Claircore has a new enricher that identifies RHCC layers. This patch enables it during service initialization. Signed-off-by: crozzy --- initialize/services.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/initialize/services.go b/initialize/services.go index 29765b17f3..a71b262434 100644 --- a/initialize/services.go +++ b/initialize/services.go @@ -14,6 +14,7 @@ import ( "github.com/quay/clair/config" "github.com/quay/claircore/datastore/postgres" "github.com/quay/claircore/enricher/cvss" + "github.com/quay/claircore/enricher/rhcc" "github.com/quay/claircore/libindex" "github.com/quay/claircore/libvuln" "github.com/quay/claircore/libvuln/driver" @@ -288,6 +289,7 @@ func localMatcher(ctx context.Context, cfg *config.Config) (matcher.Service, err Client: cl, Enrichers: []driver.Enricher{ &cvss.Enricher{}, + &rhcc.Enricher{}, }, }) if err != nil {