Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExistedBefore = "EXISTED_BEFORE" NewlyIntroduced = "NEWLY_INTRODUCED" Mixed = "MIXED" )
Variables ¶
This section is empty.
Functions ¶
func ConvertOutputToMap ¶
Types ¶
type AnalysisInfo ¶
type AnalysisInfo struct {
Status codeclarity.AnalysisStatus `json:"status"`
PrivateErrors []exceptions.PrivateError `json:"private_errors"`
PublicErrors []exceptions.PublicError `json:"public_errors"`
AnalysisStartTime string `json:"analysis_start_time"`
AnalysisEndTime string `json:"analysis_end_time"`
AnalysisDeltaTime float64 `json:"analysis_delta_time"`
VersionSeperator string `json:"version_seperator"`
ImportPathSeperator string `json:"import_path_seperator"`
DefaultWorkspaceName string `json:"default_workspace_name"`
SelfManagedWorkspaceName string `json:"self_managed_workspace_name"`
}
type IntroductionType ¶
type IntroductionType string
type Output ¶
type Output struct {
WorkSpaces map[string]Workspace `json:"workspaces"`
AnalysisInfo AnalysisInfo `json:"analysis_info"`
}
type SeverityDist ¶
type ToPatch ¶
type ToPatch struct {
DependencyName string
DependencyVersion string
Path []string
Vulnerability vulnerabilityFinder.Vulnerability
}
Click to show internal directories.
Click to hide internal directories.