Documentation ¶
Index ¶
Constants ¶
View Source
const (
ISO8601LocalTime = "2006-01-02T15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitResponse ¶
type CommitResponse struct {
CommitVulnerabilities `json:"commit"`
}
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 ProjectResponse ¶
type ProjectResponse struct {
ProjectVulnerabilities `json:"project"`
}
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 SupportedLanguagesResponse ¶
type SupportedLanguagesResponse struct {
Languages []SupportedLanguage `json:"unstableSupportedLanguages"`
}
SupportedLanguagesResponse is a struct for the payload of the supported languages mediator endpoint
type Vulnerability ¶
Click to show internal directories.
Click to hide internal directories.