Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadResult ¶
func LoadResult(path string) (*types.ScanResult, error)
func PrintTable ¶
func PrintTable(r *Result)
Types ¶
type FindingRef ¶
type Result ¶
type Result struct {
Baseline string `json:"baseline"`
Current string `json:"current"`
NewFindings []FindingRef `json:"new_findings"`
FixedFindings []FindingRef `json:"fixed_findings"`
UnchangedCount int `json:"unchanged_count"`
ScoreChange int `json:"score_change"`
}
func Compare ¶
func Compare(baseline, current *types.ScanResult) *Result
Click to show internal directories.
Click to hide internal directories.