Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DataflowElement ¶
type IssueData ¶
type IssueData struct {
ID string `json:"id"`
Title string `json:"title"`
Severity string `json:"severity"`
Dataflow []DataflowElement `json:"dataflow,omitempty"`
CWEs []string `json:"cwes,omitempty"`
CVEs []string `json:"cves,omitempty"`
PackageName string `json:"packageName,omitempty"`
Version string `json:"version,omitempty"`
Ecosystem string `json:"ecosystem,omitempty"`
FixedIn []string `json:"fixedIn,omitempty"`
Remediation string `json:"remediation,omitempty"`
FilePath string `json:"filePath,omitempty"`
Line int `json:"line,omitempty"`
Column int `json:"column,omitempty"`
Message string `json:"message,omitempty"`
FingerPrint string `json:"fingerPrint,omitempty"`
IsIgnored bool `json:"isIgnored,omitempty"`
// IsTransitiveDependency is set by SCA scans only. Pointer + omitempty
// preserves false in SCA payloads while keeping the key absent from non-SCA
// payloads.
IsTransitiveDependency *bool `json:"isTransitiveDependency,omitempty"`
// IntroducedThrough is the CLI dependency chain from the direct dependency
// to the vulnerable package: ordered from[1:] entries (project root
// excluded). Nil or empty omits the JSON key (omitempty).
IntroducedThrough []string `json:"introducedThrough,omitempty"`
}
IssueData contains extracted issue information for serialization
type OpenBrowserFunc ¶
type OpenBrowserFunc func(url string)
Click to show internal directories.
Click to hide internal directories.