Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosignVulnPredicate ¶
type CosignVulnPredicate struct { Invocation Invocation `json:"invocation"` Scanner Scanner `json:"scanner"` Metadata Metadata `json:"metadata"` }
CosignVulnPredicate represents the Cosign Vulnerability Scan Record. CosignVulnPredicate is based on structures in the Cosign repository. We defined them ourselves to reduce our dependence on the repository. cf. https://github.com/sigstore/cosign/blob/e0547cff64f98585a837a524ff77ff6b47ff5609/pkg/cosign/attestation/attestation.go#L45-L50
type Invocation ¶
type VulnWriter ¶
type VulnWriter struct {
// contains filtered or unexported fields
}
func NewVulnWriter ¶
func NewVulnWriter(output io.Writer, version string) VulnWriter
Click to show internal directories.
Click to hide internal directories.