Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependabotUpdate ¶
type DependabotUpdate struct {
PullRequest *PullRequest `json:"pullRequest"`
}
type Identifier ¶
type PullRequest ¶
type PullRequest struct {
Number int `json:"number"`
}
type Repository ¶
type Repository struct { NameWithOwner string `json:"nameWithOwner"` URL string `json:"url"` VulnerabilityAlerts VulnerabilityAlerts `json:"vulnerabilityAlerts"` }
type SecurityAdvisory ¶
type SecurityAdvisory struct { GhsaID string `json:"ghsaId"` Severity string `json:"severity"` Summary string `json:"summary"` CVSS CVSS `json:"cvss"` Identifiers []Identifier `json:"identifiers"` }
type SecurityAdvisoryNode ¶
type SecurityAdvisoryNode struct { SecurityAdvisory SecurityAdvisory `json:"securityAdvisory"` State string `json:"state"` CreatedAt *time.Time `json:"createdAt"` DependabotUpdate DependabotUpdate `json:"dependabotUpdate"` }
type VulnerabilityAlerts ¶
type VulnerabilityAlerts struct {
Nodes []SecurityAdvisoryNode `json:"nodes"`
}
Click to show internal directories.
Click to hide internal directories.