alerts

package
v0.0.0-...-95f6ed8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CVSS

type CVSS struct {
	VectorString string  `json:"vectorString"`
	Score        float32 `json:"score"`
}

type DependabotUpdate

type DependabotUpdate struct {
	PullRequest *PullRequest `json:"pullRequest"`
}

type Identifier

type Identifier struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL