Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SevIntToStr ¶
Types ¶
type CompatabilityResponse ¶
type CompatabilityResponse struct { Data struct { Attributes struct { Status string } } }
type Finding ¶
type Finding struct { Name string Ecosystem string ManifestPath string ManifestVersion string TopSummary string TopSummarySeverity int TopPatchedVersion string Count int DependencyScope string PullRequestURL string }
func (Finding) GetCompatability ¶
func (Finding) PackageString ¶
func (Finding) SummaryString ¶
func (Finding) UsageString ¶
func (Finding) VersionString ¶
type FirstPatchedVersion ¶
type FirstPatchedVersion struct {
Identifier string
}
type Node ¶
type Query ¶
type Query struct {
Repository Repository `graphql:"repository(name: $name, owner: $owner)"`
}
type Repository ¶
type Repository struct {
VulnerabilityAlerts VulnerabilityAlerts `graphql:"vulnerabilityAlerts(first: $first, after: $cursor, states:OPEN)"`
}
type SecurityAdvisory ¶
type SecurityAdvisory struct {
Summary string
}
type SecurityVulnerability ¶
type SecurityVulnerability struct { FirstPatchedVersion FirstPatchedVersion Package Package Severity string }
type VulnerabilityAlerts ¶
Click to show internal directories.
Click to hide internal directories.