Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultIgnoreFile is the file name to be ignored
DefaultIgnoreFile = ".trivyignore"
)
Variables ¶
View Source
var SuperSet = wire.NewSet( wire.Struct(new(db.Config)), NewClient, wire.Bind(new(Operation), new(Client)), )
SuperSet binds the dependencies
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements db operations
type Operation ¶ added in v0.3.0
type Operation interface { FillInfo(vulns []types.DetectedVulnerability, reportType string) Filter(ctx context.Context, vulns []types.DetectedVulnerability, severities []dbTypes.Severity, ignoreUnfixed bool, ignoreFile string, policy string) ([]types.DetectedVulnerability, error) }
Operation defines the vulnerability operations
Click to show internal directories.
Click to hide internal directories.