mirror of
https://github.com/project-zot/zot.git
synced 2025-01-06 22:40:28 -05:00
d930adbd49
trivy updated to v0.20.0 trivy-db updated to bec0c6a fanal updated to f7efd1b
26 lines
559 B
Go
26 lines
559 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"
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
// CveInfo ...
|
|
type CveInfo struct {
|
|
Log log.Logger
|
|
CveTrivyController CveTrivyController
|
|
StoreController storage.StoreController
|
|
LayoutUtils *common.OciLayoutUtils
|
|
}
|
|
|
|
type CveTrivyController struct {
|
|
DefaultCveConfig *TrivyCtx
|
|
SubCveConfig map[string]*TrivyCtx
|
|
}
|
|
type TrivyCtx struct {
|
|
Input string
|
|
Ctx *cli.Context
|
|
}
|