Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultIgnoreFile is the file name to be evaluated
DefaultIgnoreFile = ".trivyignore"
)
Variables ¶
SuperSet binds the dependencies
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements db operations
func (Client) FillVulnerabilityInfo ¶
func (c Client) FillVulnerabilityInfo(vulns []types.DetectedVulnerability, reportType string)
FillVulnerabilityInfo fills extra info in vulnerability objects
func (Client) Filter ¶
func (c Client) Filter(ctx context.Context, vulns []types.DetectedVulnerability, misconfs []types.DetectedMisconfiguration, severities []dbTypes.Severity, ignoreUnfixed, includeNonFailures bool, ignoreFile, policyFile string) ( []types.DetectedVulnerability, *types.MisconfSummary, []types.DetectedMisconfiguration, error)
Filter filter out the vulnerabilities
Click to show internal directories.
Click to hide internal directories.