Documentation ¶
Index ¶
Constants ¶
View Source
const (
ISO8601LocalTime = "2006-01-02T15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitVulnerabilities ¶
type CommitVulnerabilities struct { CommitID string `json:"commit_id"` VulnerabilityHistogram []SeverityCount `json:"vulnerability_histogram"` Sources []SourceVulnerability `json:"Sources"` TypeName *string `json:"__typename,omitempty"` Message *string `json:"message,omitempty"` }
type Organization ¶
type ProjectVulnerabilities ¶
type ProjectVulnerabilities struct { TypeName string `json:"__typename"` Name string `json:"name,omitempty"` Commit *CommitVulnerabilities `json:"commit,omitempty"` Message *string `json:"message,omitempty"` }
type SeverityCount ¶
type SourceVulnerability ¶
type SourceVulnerability struct { Name string `json:"name"` Version string `json:"version"` Vulnerabilities []Vulnerability `json:"vulnerabilities"` }
type SupportedLanguage ¶
type SupportedLanguage struct { Name string `json:"name"` DefaultVersion string `json:"default_version"` }
SupportedLanguage is a struct for the payload of the supported languages mediator endpoint
type Vulnerability ¶
Click to show internal directories.
Click to hide internal directories.