Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct { Options ProcessorOptions // contains filtered or unexported fields }
func NewProcessor ¶
func NewProcessor(opts ProcessorOptions) *Processor
NewProcessor returns a new VEX processor. For now, it defaults to the only vex implementation: OpenVEX
func (*Processor) ApplyVEX ¶
func (vm *Processor) ApplyVEX(pkgContext *pkg.Context, remainingMatches *match.Matches, ignoredMatches []match.IgnoredMatch) (*match.Matches, []match.IgnoredMatch, error)
ApplyVEX receives the results from a scan run and applies any VEX information in the files specified in the grype invocation. Any filtered results will be moved to the ignored matches slice.
type ProcessorOptions ¶
type ProcessorOptions struct { Documents []string IgnoreRules []match.IgnoreRule }
ProcessorOptions captures the optiones of the VEX processor.
type Status ¶
type Status string
const ( StatusNotAffected Status = Status(gopenvex.StatusNotAffected) StatusAffected Status = Status(gopenvex.StatusAffected) StatusFixed Status = Status(gopenvex.StatusFixed) StatusUnderInvestigation Status = Status(gopenvex.StatusUnderInvestigation) )
Click to show internal directories.
Click to hide internal directories.