Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusClean = "CLEAN" StatusActionRequired = "ACTION_REQUIRED" StatusReview = "REVIEW" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agent ¶
type Agent struct {
Status string `json:"status"`
Target string `json:"target"`
Packages int `json:"packages"`
Findings int `json:"findings,omitempty"`
Shown int `json:"shown,omitempty"`
Sources []string `json:"sources"`
Actions []AgentAction `json:"actions,omitempty"`
Top []AgentFinding `json:"top,omitempty"`
Unfixable int `json:"unfixable,omitempty"`
Warnings []string `json:"warnings,omitempty"`
}
type AgentAction ¶
type AgentFinding ¶
type AgentFinding struct {
ID string `json:"id"`
Package string `json:"package"`
Severity string `json:"severity"`
Score int `json:"score"`
Exploited bool `json:"exploited,omitempty"`
EPSS float64 `json:"epss,omitempty"`
FixedIn []string `json:"fixed_in,omitempty"`
Fresh bool `json:"fresh,omitempty"`
Summary string `json:"summary,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.