mirror of
https://github.com/project-zot/zot.git
synced 2025-01-27 23:01:43 -05:00
22 lines
541 B
Go
22 lines
541 B
Go
// Package cveinfo ...
|
|
package cveinfo
|
|
|
|
import (
|
|
"github.com/anuvu/zot/pkg/extensions/search/common"
|
|
"github.com/anuvu/zot/pkg/log"
|
|
"github.com/anuvu/zot/pkg/storage"
|
|
config "github.com/aquasecurity/trivy/integration/config"
|
|
)
|
|
|
|
// CveInfo ...
|
|
type CveInfo struct {
|
|
Log log.Logger
|
|
CveTrivyController CveTrivyController
|
|
StoreController storage.StoreController
|
|
LayoutUtils *common.OciLayoutUtils
|
|
}
|
|
|
|
type CveTrivyController struct {
|
|
DefaultCveConfig *config.Config
|
|
SubCveConfig map[string]*config.Config
|
|
}
|