grafeas

package
v0.0.0-...-a8a6208 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 56

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoteKind_name = map[int32]string{
		0:  "NOTE_KIND_UNSPECIFIED",
		1:  "VULNERABILITY",
		2:  "BUILD",
		3:  "IMAGE",
		4:  "PACKAGE",
		5:  "DEPLOYMENT",
		6:  "DISCOVERY",
		7:  "ATTESTATION",
		8:  "UPGRADE",
		9:  "COMPLIANCE",
		10: "DSSE_ATTESTATION",
		11: "VULNERABILITY_ASSESSMENT",
		12: "SBOM_REFERENCE",
	}
	NoteKind_value = map[string]int32{
		"NOTE_KIND_UNSPECIFIED":    0,
		"VULNERABILITY":            1,
		"BUILD":                    2,
		"IMAGE":                    3,
		"PACKAGE":                  4,
		"DEPLOYMENT":               5,
		"DISCOVERY":                6,
		"ATTESTATION":              7,
		"UPGRADE":                  8,
		"COMPLIANCE":               9,
		"DSSE_ATTESTATION":         10,
		"VULNERABILITY_ASSESSMENT": 11,
		"SBOM_REFERENCE":           12,
	}
)

Enum value maps for NoteKind.

View Source
var (
	CVSSVersion_name = map[int32]string{
		0: "CVSS_VERSION_UNSPECIFIED",
		1: "CVSS_VERSION_2",
		2: "CVSS_VERSION_3",
	}
	CVSSVersion_value = map[string]int32{
		"CVSS_VERSION_UNSPECIFIED": 0,
		"CVSS_VERSION_2":           1,
		"CVSS_VERSION_3":           2,
	}
)

Enum value maps for CVSSVersion.

View Source
var (
	CVSSv3_AttackVector_name = map[int32]string{
		0: "ATTACK_VECTOR_UNSPECIFIED",
		1: "ATTACK_VECTOR_NETWORK",
		2: "ATTACK_VECTOR_ADJACENT",
		3: "ATTACK_VECTOR_LOCAL",
		4: "ATTACK_VECTOR_PHYSICAL",
	}
	CVSSv3_AttackVector_value = map[string]int32{
		"ATTACK_VECTOR_UNSPECIFIED": 0,
		"ATTACK_VECTOR_NETWORK":     1,
		"ATTACK_VECTOR_ADJACENT":    2,
		"ATTACK_VECTOR_LOCAL":       3,
		"ATTACK_VECTOR_PHYSICAL":    4,
	}
)

Enum value maps for CVSSv3_AttackVector.

View Source
var (
	CVSSv3_AttackComplexity_name = map[int32]string{
		0: "ATTACK_COMPLEXITY_UNSPECIFIED",
		1: "ATTACK_COMPLEXITY_LOW",
		2: "ATTACK_COMPLEXITY_HIGH",
	}
	CVSSv3_AttackComplexity_value = map[string]int32{
		"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
		"ATTACK_COMPLEXITY_LOW":         1,
		"ATTACK_COMPLEXITY_HIGH":        2,
	}
)

Enum value maps for CVSSv3_AttackComplexity.

View Source
var (
	CVSSv3_PrivilegesRequired_name = map[int32]string{
		0: "PRIVILEGES_REQUIRED_UNSPECIFIED",
		1: "PRIVILEGES_REQUIRED_NONE",
		2: "PRIVILEGES_REQUIRED_LOW",
		3: "PRIVILEGES_REQUIRED_HIGH",
	}
	CVSSv3_PrivilegesRequired_value = map[string]int32{
		"PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
		"PRIVILEGES_REQUIRED_NONE":        1,
		"PRIVILEGES_REQUIRED_LOW":         2,
		"PRIVILEGES_REQUIRED_HIGH":        3,
	}
)

Enum value maps for CVSSv3_PrivilegesRequired.

View Source
var (
	CVSSv3_UserInteraction_name = map[int32]string{
		0: "USER_INTERACTION_UNSPECIFIED",
		1: "USER_INTERACTION_NONE",
		2: "USER_INTERACTION_REQUIRED",
	}
	CVSSv3_UserInteraction_value = map[string]int32{
		"USER_INTERACTION_UNSPECIFIED": 0,
		"USER_INTERACTION_NONE":        1,
		"USER_INTERACTION_REQUIRED":    2,
	}
)

Enum value maps for CVSSv3_UserInteraction.

View Source
var (
	CVSSv3_Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "SCOPE_UNCHANGED",
		2: "SCOPE_CHANGED",
	}
	CVSSv3_Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"SCOPE_UNCHANGED":   1,
		"SCOPE_CHANGED":     2,
	}
)

Enum value maps for CVSSv3_Scope.

View Source
var (
	CVSSv3_Impact_name = map[int32]string{
		0: "IMPACT_UNSPECIFIED",
		1: "IMPACT_HIGH",
		2: "IMPACT_LOW",
		3: "IMPACT_NONE",
	}
	CVSSv3_Impact_value = map[string]int32{
		"IMPACT_UNSPECIFIED": 0,
		"IMPACT_HIGH":        1,
		"IMPACT_LOW":         2,
		"IMPACT_NONE":        3,
	}
)

Enum value maps for CVSSv3_Impact.

View Source
var (
	CVSS_AttackVector_name = map[int32]string{
		0: "ATTACK_VECTOR_UNSPECIFIED",
		1: "ATTACK_VECTOR_NETWORK",
		2: "ATTACK_VECTOR_ADJACENT",
		3: "ATTACK_VECTOR_LOCAL",
		4: "ATTACK_VECTOR_PHYSICAL",
	}
	CVSS_AttackVector_value = map[string]int32{
		"ATTACK_VECTOR_UNSPECIFIED": 0,
		"ATTACK_VECTOR_NETWORK":     1,
		"ATTACK_VECTOR_ADJACENT":    2,
		"ATTACK_VECTOR_LOCAL":       3,
		"ATTACK_VECTOR_PHYSICAL":    4,
	}
)

Enum value maps for CVSS_AttackVector.

View Source
var (
	CVSS_AttackComplexity_name = map[int32]string{
		0: "ATTACK_COMPLEXITY_UNSPECIFIED",
		1: "ATTACK_COMPLEXITY_LOW",
		2: "ATTACK_COMPLEXITY_HIGH",
		3: "ATTACK_COMPLEXITY_MEDIUM",
	}
	CVSS_AttackComplexity_value = map[string]int32{
		"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
		"ATTACK_COMPLEXITY_LOW":         1,
		"ATTACK_COMPLEXITY_HIGH":        2,
		"ATTACK_COMPLEXITY_MEDIUM":      3,
	}
)

Enum value maps for CVSS_AttackComplexity.

View Source
var (
	CVSS_Authentication_name = map[int32]string{
		0: "AUTHENTICATION_UNSPECIFIED",
		1: "AUTHENTICATION_MULTIPLE",
		2: "AUTHENTICATION_SINGLE",
		3: "AUTHENTICATION_NONE",
	}
	CVSS_Authentication_value = map[string]int32{
		"AUTHENTICATION_UNSPECIFIED": 0,
		"AUTHENTICATION_MULTIPLE":    1,
		"AUTHENTICATION_SINGLE":      2,
		"AUTHENTICATION_NONE":        3,
	}
)

Enum value maps for CVSS_Authentication.

View Source
var (
	CVSS_PrivilegesRequired_name = map[int32]string{
		0: "PRIVILEGES_REQUIRED_UNSPECIFIED",
		1: "PRIVILEGES_REQUIRED_NONE",
		2: "PRIVILEGES_REQUIRED_LOW",
		3: "PRIVILEGES_REQUIRED_HIGH",
	}
	CVSS_PrivilegesRequired_value = map[string]int32{
		"PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
		"PRIVILEGES_REQUIRED_NONE":        1,
		"PRIVILEGES_REQUIRED_LOW":         2,
		"PRIVILEGES_REQUIRED_HIGH":        3,
	}
)

Enum value maps for CVSS_PrivilegesRequired.

View Source
var (
	CVSS_UserInteraction_name = map[int32]string{
		0: "USER_INTERACTION_UNSPECIFIED",
		1: "USER_INTERACTION_NONE",
		2: "USER_INTERACTION_REQUIRED",
	}
	CVSS_UserInteraction_value = map[string]int32{
		"USER_INTERACTION_UNSPECIFIED": 0,
		"USER_INTERACTION_NONE":        1,
		"USER_INTERACTION_REQUIRED":    2,
	}
)

Enum value maps for CVSS_UserInteraction.

View Source
var (
	CVSS_Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "SCOPE_UNCHANGED",
		2: "SCOPE_CHANGED",
	}
	CVSS_Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"SCOPE_UNCHANGED":   1,
		"SCOPE_CHANGED":     2,
	}
)

Enum value maps for CVSS_Scope.

View Source
var (
	CVSS_Impact_name = map[int32]string{
		0: "IMPACT_UNSPECIFIED",
		1: "IMPACT_HIGH",
		2: "IMPACT_LOW",
		3: "IMPACT_NONE",
		4: "IMPACT_PARTIAL",
		5: "IMPACT_COMPLETE",
	}
	CVSS_Impact_value = map[string]int32{
		"IMPACT_UNSPECIFIED": 0,
		"IMPACT_HIGH":        1,
		"IMPACT_LOW":         2,
		"IMPACT_NONE":        3,
		"IMPACT_PARTIAL":     4,
		"IMPACT_COMPLETE":    5,
	}
)

Enum value maps for CVSS_Impact.

View Source
var (
	DeploymentOccurrence_Platform_name = map[int32]string{
		0: "PLATFORM_UNSPECIFIED",
		1: "GKE",
		2: "FLEX",
		3: "CUSTOM",
	}
	DeploymentOccurrence_Platform_value = map[string]int32{
		"PLATFORM_UNSPECIFIED": 0,
		"GKE":                  1,
		"FLEX":                 2,
		"CUSTOM":               3,
	}
)

Enum value maps for DeploymentOccurrence_Platform.

View Source
var (
	DiscoveryOccurrence_ContinuousAnalysis_name = map[int32]string{
		0: "CONTINUOUS_ANALYSIS_UNSPECIFIED",
		1: "ACTIVE",
		2: "INACTIVE",
	}
	DiscoveryOccurrence_ContinuousAnalysis_value = map[string]int32{
		"CONTINUOUS_ANALYSIS_UNSPECIFIED": 0,
		"ACTIVE":                          1,
		"INACTIVE":                        2,
	}
)

Enum value maps for DiscoveryOccurrence_ContinuousAnalysis.

View Source
var (
	DiscoveryOccurrence_AnalysisStatus_name = map[int32]string{
		0: "ANALYSIS_STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "SCANNING",
		3: "FINISHED_SUCCESS",

		4: "FINISHED_FAILED",
		5: "FINISHED_UNSUPPORTED",
	}
	DiscoveryOccurrence_AnalysisStatus_value = map[string]int32{
		"ANALYSIS_STATUS_UNSPECIFIED": 0,
		"PENDING":                     1,
		"SCANNING":                    2,
		"FINISHED_SUCCESS":            3,
		"COMPLETE":                    3,
		"FINISHED_FAILED":             4,
		"FINISHED_UNSUPPORTED":        5,
	}
)

Enum value maps for DiscoveryOccurrence_AnalysisStatus.

View Source
var (
	DiscoveryOccurrence_SBOMStatus_SBOMState_name = map[int32]string{
		0: "SBOM_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "COMPLETE",
	}
	DiscoveryOccurrence_SBOMStatus_SBOMState_value = map[string]int32{
		"SBOM_STATE_UNSPECIFIED": 0,
		"PENDING":                1,
		"COMPLETE":               2,
	}
)

Enum value maps for DiscoveryOccurrence_SBOMStatus_SBOMState.

View Source
var (
	Architecture_name = map[int32]string{
		0: "ARCHITECTURE_UNSPECIFIED",
		1: "X86",
		2: "X64",
	}
	Architecture_value = map[string]int32{
		"ARCHITECTURE_UNSPECIFIED": 0,
		"X86":                      1,
		"X64":                      2,
	}
)

Enum value maps for Architecture.

View Source
var (
	Version_VersionKind_name = map[int32]string{
		0: "VERSION_KIND_UNSPECIFIED",
		1: "NORMAL",
		2: "MINIMUM",
		3: "MAXIMUM",
	}
	Version_VersionKind_value = map[string]int32{
		"VERSION_KIND_UNSPECIFIED": 0,
		"NORMAL":                   1,
		"MINIMUM":                  2,
		"MAXIMUM":                  3,
	}
)

Enum value maps for Version_VersionKind.

View Source
var (
	AliasContext_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "FIXED",
		2: "MOVABLE",
		4: "OTHER",
	}
	AliasContext_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"FIXED":            1,
		"MOVABLE":          2,
		"OTHER":            4,
	}
)

Enum value maps for AliasContext_Kind.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "MINIMAL",
		2: "LOW",
		3: "MEDIUM",
		4: "HIGH",
		5: "CRITICAL",
	}
	Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"MINIMAL":              1,
		"LOW":                  2,
		"MEDIUM":               3,
		"HIGH":                 4,
		"CRITICAL":             5,
	}
)

Enum value maps for Severity.

View Source
var (
	VulnerabilityAssessmentNote_Assessment_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "AFFECTED",
		2: "NOT_AFFECTED",
		3: "FIXED",
		4: "UNDER_INVESTIGATION",
	}
	VulnerabilityAssessmentNote_Assessment_State_value = map[string]int32{
		"STATE_UNSPECIFIED":   0,
		"AFFECTED":            1,
		"NOT_AFFECTED":        2,
		"FIXED":               3,
		"UNDER_INVESTIGATION": 4,
	}
)

Enum value maps for VulnerabilityAssessmentNote_Assessment_State.

View Source
var (
	VulnerabilityAssessmentNote_Assessment_Justification_JustificationType_name = map[int32]string{
		0: "JUSTIFICATION_TYPE_UNSPECIFIED",
		1: "COMPONENT_NOT_PRESENT",
		2: "VULNERABLE_CODE_NOT_PRESENT",
		3: "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH",
		4: "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY",
		5: "INLINE_MITIGATIONS_ALREADY_EXIST",
	}
	VulnerabilityAssessmentNote_Assessment_Justification_JustificationType_value = map[string]int32{
		"JUSTIFICATION_TYPE_UNSPECIFIED":                    0,
		"COMPONENT_NOT_PRESENT":                             1,
		"VULNERABLE_CODE_NOT_PRESENT":                       2,
		"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH":               3,
		"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY": 4,
		"INLINE_MITIGATIONS_ALREADY_EXIST":                  5,
	}
)

Enum value maps for VulnerabilityAssessmentNote_Assessment_Justification_JustificationType.

View Source
var (
	VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType_name = map[int32]string{
		0: "REMEDIATION_TYPE_UNSPECIFIED",
		1: "MITIGATION",
		2: "NO_FIX_PLANNED",
		3: "NONE_AVAILABLE",
		4: "VENDOR_FIX",
		5: "WORKAROUND",
	}
	VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType_value = map[string]int32{
		"REMEDIATION_TYPE_UNSPECIFIED": 0,
		"MITIGATION":                   1,
		"NO_FIX_PLANNED":               2,
		"NONE_AVAILABLE":               3,
		"VENDOR_FIX":                   4,
		"WORKAROUND":                   5,
	}
)

Enum value maps for VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType.

View Source
var File_grafeas_v1_attestation_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_build_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_common_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_compliance_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_cvss_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_deployment_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_discovery_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_dsse_attestation_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_grafeas_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_image_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_intoto_provenance_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_intoto_statement_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_package_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_provenance_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_sbom_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_severity_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_slsa_provenance_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_slsa_provenance_zero_two_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_upgrade_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_vex_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_vulnerability_proto protoreflect.FileDescriptor

Functions

func RegisterGrafeasServer

func RegisterGrafeasServer(s *grpc.Server, srv GrafeasServer)

Types

type AliasContext

type AliasContext struct {

	// The alias kind.
	Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.AliasContext_Kind" json:"kind,omitempty"`
	// The alias name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

An alias to a repo revision.

func (*AliasContext) Descriptor deprecated

func (*AliasContext) Descriptor() ([]byte, []int)

Deprecated: Use AliasContext.ProtoReflect.Descriptor instead.

func (*AliasContext) GetKind

func (x *AliasContext) GetKind() AliasContext_Kind

func (*AliasContext) GetName

func (x *AliasContext) GetName() string

func (*AliasContext) ProtoMessage

func (*AliasContext) ProtoMessage()

func (*AliasContext) ProtoReflect

func (x *AliasContext) ProtoReflect() protoreflect.Message

func (*AliasContext) Reset

func (x *AliasContext) Reset()

func (*AliasContext) String

func (x *AliasContext) String() string

type AliasContext_Kind

type AliasContext_Kind int32

The type of an alias.

const (
	// Unknown.
	AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0
	// Git tag.
	AliasContext_FIXED AliasContext_Kind = 1
	// Git branch.
	AliasContext_MOVABLE AliasContext_Kind = 2
	// Used to specify non-standard aliases. For example, if a Git repo has a
	// ref named "refs/foo/bar".
	AliasContext_OTHER AliasContext_Kind = 4
)

func (AliasContext_Kind) Descriptor

func (AliasContext_Kind) Enum

func (AliasContext_Kind) EnumDescriptor deprecated

func (AliasContext_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use AliasContext_Kind.Descriptor instead.

func (AliasContext_Kind) Number

func (AliasContext_Kind) String

func (x AliasContext_Kind) String() string

func (AliasContext_Kind) Type

type Architecture

type Architecture int32

Instruction set architectures supported by various package managers.

const (
	// Unknown architecture.
	Architecture_ARCHITECTURE_UNSPECIFIED Architecture = 0
	// X86 architecture.
	Architecture_X86 Architecture = 1
	// X64 architecture.
	Architecture_X64 Architecture = 2
)

func (Architecture) Descriptor

func (Architecture) Enum

func (x Architecture) Enum() *Architecture

func (Architecture) EnumDescriptor deprecated

func (Architecture) EnumDescriptor() ([]byte, []int)

Deprecated: Use Architecture.Descriptor instead.

func (Architecture) Number

func (Architecture) String

func (x Architecture) String() string

func (Architecture) Type

type Artifact

type Artifact struct {

	// Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
	// container.
	Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// Artifact ID, if any; for container images, this will be a URL by digest
	// like `gcr.io/projectID/imagename@sha256:123456`.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Related artifact names. This may be the path to a binary or jar file, or in
	// the case of a container build, the name used to push the container image to
	// Google Container Registry, as presented to `docker push`. Note that a
	// single Artifact ID can have multiple names, for example if two tags are
	// applied to one image.
	Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Artifact describes a build product.

func (*Artifact) Descriptor deprecated

func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetChecksum

func (x *Artifact) GetChecksum() string

func (*Artifact) GetId

func (x *Artifact) GetId() string

func (*Artifact) GetNames

func (x *Artifact) GetNames() []string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type AttestationNote

type AttestationNote struct {

	// Hint hints at the purpose of the attestation authority.
	Hint *AttestationNote_Hint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
	// contains filtered or unexported fields
}

Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.

func (*AttestationNote) Descriptor deprecated

func (*AttestationNote) Descriptor() ([]byte, []int)

Deprecated: Use AttestationNote.ProtoReflect.Descriptor instead.

func (*AttestationNote) GetHint

func (x *AttestationNote) GetHint() *AttestationNote_Hint

func (*AttestationNote) ProtoMessage

func (*AttestationNote) ProtoMessage()

func (*AttestationNote) ProtoReflect

func (x *AttestationNote) ProtoReflect() protoreflect.Message

func (*AttestationNote) Reset

func (x *AttestationNote) Reset()

func (*AttestationNote) String

func (x *AttestationNote) String() string

type AttestationNote_Hint

type AttestationNote_Hint struct {

	// Required. The human readable name of this attestation authority, for
	// example "qa".
	HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
	// contains filtered or unexported fields
}

This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.

func (*AttestationNote_Hint) Descriptor deprecated

func (*AttestationNote_Hint) Descriptor() ([]byte, []int)

Deprecated: Use AttestationNote_Hint.ProtoReflect.Descriptor instead.

func (*AttestationNote_Hint) GetHumanReadableName

func (x *AttestationNote_Hint) GetHumanReadableName() string

func (*AttestationNote_Hint) ProtoMessage

func (*AttestationNote_Hint) ProtoMessage()

func (*AttestationNote_Hint) ProtoReflect

func (x *AttestationNote_Hint) ProtoReflect() protoreflect.Message

func (*AttestationNote_Hint) Reset

func (x *AttestationNote_Hint) Reset()

func (*AttestationNote_Hint) String

func (x *AttestationNote_Hint) String() string

type AttestationOccurrence

type AttestationOccurrence struct {

	// Required. The serialized payload that is verified by one or more
	// `signatures`.
	SerializedPayload []byte `protobuf:"bytes,1,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"`
	// One or more signatures over `serialized_payload`.  Verifier implementations
	// should consider this attestation message verified if at least one
	// `signature` verifies `serialized_payload`.  See `Signature` in common.proto
	// for more details on signature structure and verification.
	Signatures []*Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// One or more JWTs encoding a self-contained attestation.
	// Each JWT encodes the payload that it verifies within the JWT itself.
	// Verifier implementation SHOULD ignore the `serialized_payload` field
	// when verifying these JWTs.
	// If only JWTs are present on this AttestationOccurrence, then the
	// `serialized_payload` SHOULD be left empty.
	// Each JWT SHOULD encode a claim specific to the `resource_uri` of this
	// Occurrence, but this is not validated by Grafeas metadata API
	// implementations.  The JWT itself is opaque to Grafeas.
	Jwts []*Jwt `protobuf:"bytes,3,rep,name=jwts,proto3" json:"jwts,omitempty"`
	// contains filtered or unexported fields
}

Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.

func (*AttestationOccurrence) Descriptor deprecated

func (*AttestationOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use AttestationOccurrence.ProtoReflect.Descriptor instead.

func (*AttestationOccurrence) GetJwts

func (x *AttestationOccurrence) GetJwts() []*Jwt

func (*AttestationOccurrence) GetSerializedPayload

func (x *AttestationOccurrence) GetSerializedPayload() []byte

func (*AttestationOccurrence) GetSignatures

func (x *AttestationOccurrence) GetSignatures() []*Signature

func (*AttestationOccurrence) ProtoMessage

func (*AttestationOccurrence) ProtoMessage()

func (*AttestationOccurrence) ProtoReflect

func (x *AttestationOccurrence) ProtoReflect() protoreflect.Message

func (*AttestationOccurrence) Reset

func (x *AttestationOccurrence) Reset()

func (*AttestationOccurrence) String

func (x *AttestationOccurrence) String() string

type BatchCreateNotesRequest

type BatchCreateNotesRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the notes are to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The notes to create. Max allowed length is 1000.
	Notes map[string]*Note `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request to create notes in batch.

func (*BatchCreateNotesRequest) Descriptor deprecated

func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateNotesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesRequest) GetNotes

func (x *BatchCreateNotesRequest) GetNotes() map[string]*Note

func (*BatchCreateNotesRequest) GetParent

func (x *BatchCreateNotesRequest) GetParent() string

func (*BatchCreateNotesRequest) ProtoMessage

func (*BatchCreateNotesRequest) ProtoMessage()

func (*BatchCreateNotesRequest) ProtoReflect

func (x *BatchCreateNotesRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesRequest) Reset

func (x *BatchCreateNotesRequest) Reset()

func (*BatchCreateNotesRequest) String

func (x *BatchCreateNotesRequest) String() string

type BatchCreateNotesResponse

type BatchCreateNotesResponse struct {

	// The notes that were created.
	Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

Response for creating notes in batch.

func (*BatchCreateNotesResponse) Descriptor deprecated

func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateNotesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesResponse) GetNotes

func (x *BatchCreateNotesResponse) GetNotes() []*Note

func (*BatchCreateNotesResponse) ProtoMessage

func (*BatchCreateNotesResponse) ProtoMessage()

func (*BatchCreateNotesResponse) ProtoReflect

func (x *BatchCreateNotesResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesResponse) Reset

func (x *BatchCreateNotesResponse) Reset()

func (*BatchCreateNotesResponse) String

func (x *BatchCreateNotesResponse) String() string

type BatchCreateOccurrencesRequest

type BatchCreateOccurrencesRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the occurrences are to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The occurrences to create. Max allowed length is 1000.
	Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// contains filtered or unexported fields
}

Request to create occurrences in batch.

func (*BatchCreateOccurrencesRequest) Descriptor deprecated

func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesRequest) GetOccurrences

func (x *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence

func (*BatchCreateOccurrencesRequest) GetParent

func (x *BatchCreateOccurrencesRequest) GetParent() string

func (*BatchCreateOccurrencesRequest) ProtoMessage

func (*BatchCreateOccurrencesRequest) ProtoMessage()

func (*BatchCreateOccurrencesRequest) ProtoReflect

func (*BatchCreateOccurrencesRequest) Reset

func (x *BatchCreateOccurrencesRequest) Reset()

func (*BatchCreateOccurrencesRequest) String

type BatchCreateOccurrencesResponse

type BatchCreateOccurrencesResponse struct {

	// The occurrences that were created.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// contains filtered or unexported fields
}

Response for creating occurrences in batch.

func (*BatchCreateOccurrencesResponse) Descriptor deprecated

func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesResponse) GetOccurrences

func (x *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence

func (*BatchCreateOccurrencesResponse) ProtoMessage

func (*BatchCreateOccurrencesResponse) ProtoMessage()

func (*BatchCreateOccurrencesResponse) ProtoReflect

func (*BatchCreateOccurrencesResponse) Reset

func (x *BatchCreateOccurrencesResponse) Reset()

func (*BatchCreateOccurrencesResponse) String

type BuildNote

type BuildNote struct {

	// Required. Immutable. Version of the builder which produced this build.
	BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
	// contains filtered or unexported fields
}

Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.

func (*BuildNote) Descriptor deprecated

func (*BuildNote) Descriptor() ([]byte, []int)

Deprecated: Use BuildNote.ProtoReflect.Descriptor instead.

func (*BuildNote) GetBuilderVersion

func (x *BuildNote) GetBuilderVersion() string

func (*BuildNote) ProtoMessage

func (*BuildNote) ProtoMessage()

func (*BuildNote) ProtoReflect

func (x *BuildNote) ProtoReflect() protoreflect.Message

func (*BuildNote) Reset

func (x *BuildNote) Reset()

func (*BuildNote) String

func (x *BuildNote) String() string

type BuildOccurrence

type BuildOccurrence struct {

	// The actual provenance for the build.
	Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"`
	// Serialized JSON representation of the provenance, used in generating the
	// build signature in the corresponding build note. After verifying the
	// signature, `provenance_bytes` can be unmarshalled and compared to the
	// provenance to confirm that it is unchanged. A base64-encoded string
	// representation of the provenance bytes is used for the signature in order
	// to interoperate with openssl which expects this format for signature
	// verification.
	//
	// The serialized form is captured both to avoid ambiguity in how the
	// provenance is marshalled to json as well to prevent incompatibilities with
	// future changes.
	ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"`
	// Deprecated. See InTotoStatement for the replacement.
	// In-toto Provenance representation as defined in spec.
	IntotoProvenance *InTotoProvenance `protobuf:"bytes,3,opt,name=intoto_provenance,json=intotoProvenance,proto3" json:"intoto_provenance,omitempty"`
	// In-toto Statement representation as defined in spec.
	// The intoto_statement can contain any type of provenance. The serialized
	// payload of the statement can be stored and signed in the Occurrence's
	// envelope.
	IntotoStatement *InTotoStatement `protobuf:"bytes,4,opt,name=intoto_statement,json=intotoStatement,proto3" json:"intoto_statement,omitempty"`
	// In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa
	// spec, wrapped in an in-toto statement. This allows for direct
	// jsonification of a to-spec in-toto slsa statement with a to-spec
	// slsa provenance.
	InTotoSlsaProvenanceV1 *InTotoSlsaProvenanceV1 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Details of a build occurrence.

func (*BuildOccurrence) Descriptor deprecated

func (*BuildOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use BuildOccurrence.ProtoReflect.Descriptor instead.

func (*BuildOccurrence) GetInTotoSlsaProvenanceV1

func (x *BuildOccurrence) GetInTotoSlsaProvenanceV1() *InTotoSlsaProvenanceV1

func (*BuildOccurrence) GetIntotoProvenance

func (x *BuildOccurrence) GetIntotoProvenance() *InTotoProvenance

func (*BuildOccurrence) GetIntotoStatement

func (x *BuildOccurrence) GetIntotoStatement() *InTotoStatement

func (*BuildOccurrence) GetProvenance

func (x *BuildOccurrence) GetProvenance() *BuildProvenance

func (*BuildOccurrence) GetProvenanceBytes

func (x *BuildOccurrence) GetProvenanceBytes() string

func (*BuildOccurrence) ProtoMessage

func (*BuildOccurrence) ProtoMessage()

func (*BuildOccurrence) ProtoReflect

func (x *BuildOccurrence) ProtoReflect() protoreflect.Message

func (*BuildOccurrence) Reset

func (x *BuildOccurrence) Reset()

func (*BuildOccurrence) String

func (x *BuildOccurrence) String() string

type BuildProvenance

type BuildProvenance struct {

	// Required. Unique identifier of the build.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the project.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Commands requested by the build.
	Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"`
	// Output of the build.
	BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"`
	// Time at which the build was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time at which execution of the build was started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time at which execution of the build was finished.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// E-mail address of the user who initiated this build. Note that this was the
	// user's e-mail address at the time the build was initiated; this address may
	// not represent the same end-user for all time.
	Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"`
	// URI where any logs for this provenance were written.
	LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"`
	// Details of the Source input to the build.
	SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`
	// Trigger identifier if the build was triggered automatically; empty if not.
	TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
	// Special options applied to this build. This is a catch-all field where
	// build providers can enter any desired additional details.
	BuildOptions map[string]string `` /* 186-byte string literal not displayed */
	// Version string of the builder at the time this build was executed.
	BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
	// contains filtered or unexported fields
}

Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.

func (*BuildProvenance) Descriptor deprecated

func (*BuildProvenance) Descriptor() ([]byte, []int)

Deprecated: Use BuildProvenance.ProtoReflect.Descriptor instead.

func (*BuildProvenance) GetBuildOptions

func (x *BuildProvenance) GetBuildOptions() map[string]string

func (*BuildProvenance) GetBuilderVersion

func (x *BuildProvenance) GetBuilderVersion() string

func (*BuildProvenance) GetBuiltArtifacts

func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact

func (*BuildProvenance) GetCommands

func (x *BuildProvenance) GetCommands() []*Command

func (*BuildProvenance) GetCreateTime

func (x *BuildProvenance) GetCreateTime() *timestamppb.Timestamp

func (*BuildProvenance) GetCreator

func (x *BuildProvenance) GetCreator() string

func (*BuildProvenance) GetEndTime

func (x *BuildProvenance) GetEndTime() *timestamppb.Timestamp

func (*BuildProvenance) GetId

func (x *BuildProvenance) GetId() string

func (*BuildProvenance) GetLogsUri

func (x *BuildProvenance) GetLogsUri() string

func (*BuildProvenance) GetProjectId

func (x *BuildProvenance) GetProjectId() string

func (*BuildProvenance) GetSourceProvenance

func (x *BuildProvenance) GetSourceProvenance() *Source

func (*BuildProvenance) GetStartTime

func (x *BuildProvenance) GetStartTime() *timestamppb.Timestamp

func (*BuildProvenance) GetTriggerId

func (x *BuildProvenance) GetTriggerId() string

func (*BuildProvenance) ProtoMessage

func (*BuildProvenance) ProtoMessage()

func (*BuildProvenance) ProtoReflect

func (x *BuildProvenance) ProtoReflect() protoreflect.Message

func (*BuildProvenance) Reset

func (x *BuildProvenance) Reset()

func (*BuildProvenance) String

func (x *BuildProvenance) String() string

type BuilderConfig

type BuilderConfig struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuilderConfig) Descriptor deprecated

func (*BuilderConfig) Descriptor() ([]byte, []int)

Deprecated: Use BuilderConfig.ProtoReflect.Descriptor instead.

func (*BuilderConfig) GetId

func (x *BuilderConfig) GetId() string

func (*BuilderConfig) ProtoMessage

func (*BuilderConfig) ProtoMessage()

func (*BuilderConfig) ProtoReflect

func (x *BuilderConfig) ProtoReflect() protoreflect.Message

func (*BuilderConfig) Reset

func (x *BuilderConfig) Reset()

func (*BuilderConfig) String

func (x *BuilderConfig) String() string

type CVSS

type CVSS struct {

	// The base score is a function of the base metric scores.
	BaseScore           float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
	ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`
	ImpactScore         float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`
	// Base Metrics
	// Represents the intrinsic characteristics of a vulnerability that are
	// constant over time and across user environments.
	AttackVector          CVSS_AttackVector       `` /* 132-byte string literal not displayed */
	AttackComplexity      CVSS_AttackComplexity   `` /* 148-byte string literal not displayed */
	Authentication        CVSS_Authentication     `protobuf:"varint,6,opt,name=authentication,proto3,enum=grafeas.v1.CVSS_Authentication" json:"authentication,omitempty"`
	PrivilegesRequired    CVSS_PrivilegesRequired `` /* 156-byte string literal not displayed */
	UserInteraction       CVSS_UserInteraction    `` /* 144-byte string literal not displayed */
	Scope                 CVSS_Scope              `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSS_Scope" json:"scope,omitempty"`
	ConfidentialityImpact CVSS_Impact             `` /* 154-byte string literal not displayed */
	IntegrityImpact       CVSS_Impact             `` /* 136-byte string literal not displayed */
	AvailabilityImpact    CVSS_Impact             `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.

func (*CVSS) Descriptor deprecated

func (*CVSS) Descriptor() ([]byte, []int)

Deprecated: Use CVSS.ProtoReflect.Descriptor instead.

func (*CVSS) GetAttackComplexity

func (x *CVSS) GetAttackComplexity() CVSS_AttackComplexity

func (*CVSS) GetAttackVector

func (x *CVSS) GetAttackVector() CVSS_AttackVector

func (*CVSS) GetAuthentication

func (x *CVSS) GetAuthentication() CVSS_Authentication

func (*CVSS) GetAvailabilityImpact

func (x *CVSS) GetAvailabilityImpact() CVSS_Impact

func (*CVSS) GetBaseScore

func (x *CVSS) GetBaseScore() float32

func (*CVSS) GetConfidentialityImpact

func (x *CVSS) GetConfidentialityImpact() CVSS_Impact

func (*CVSS) GetExploitabilityScore

func (x *CVSS) GetExploitabilityScore() float32

func (*CVSS) GetImpactScore

func (x *CVSS) GetImpactScore() float32

func (*CVSS) GetIntegrityImpact

func (x *CVSS) GetIntegrityImpact() CVSS_Impact

func (*CVSS) GetPrivilegesRequired

func (x *CVSS) GetPrivilegesRequired() CVSS_PrivilegesRequired

func (*CVSS) GetScope

func (x *CVSS) GetScope() CVSS_Scope

func (*CVSS) GetUserInteraction

func (x *CVSS) GetUserInteraction() CVSS_UserInteraction

func (*CVSS) ProtoMessage

func (*CVSS) ProtoMessage()

func (*CVSS) ProtoReflect

func (x *CVSS) ProtoReflect() protoreflect.Message

func (*CVSS) Reset

func (x *CVSS) Reset()

func (*CVSS) String

func (x *CVSS) String() string

type CVSSVersion

type CVSSVersion int32

CVSS Version.

const (
	CVSSVersion_CVSS_VERSION_UNSPECIFIED CVSSVersion = 0
	CVSSVersion_CVSS_VERSION_2           CVSSVersion = 1
	CVSSVersion_CVSS_VERSION_3           CVSSVersion = 2
)

func (CVSSVersion) Descriptor

func (CVSSVersion) Enum

func (x CVSSVersion) Enum() *CVSSVersion

func (CVSSVersion) EnumDescriptor deprecated

func (CVSSVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSVersion.Descriptor instead.

func (CVSSVersion) Number

func (x CVSSVersion) Number() protoreflect.EnumNumber

func (CVSSVersion) String

func (x CVSSVersion) String() string

func (CVSSVersion) Type

type CVSS_AttackComplexity

type CVSS_AttackComplexity int32
const (
	CVSS_ATTACK_COMPLEXITY_UNSPECIFIED CVSS_AttackComplexity = 0
	CVSS_ATTACK_COMPLEXITY_LOW         CVSS_AttackComplexity = 1
	CVSS_ATTACK_COMPLEXITY_HIGH        CVSS_AttackComplexity = 2
	CVSS_ATTACK_COMPLEXITY_MEDIUM      CVSS_AttackComplexity = 3
)

func (CVSS_AttackComplexity) Descriptor

func (CVSS_AttackComplexity) Enum

func (CVSS_AttackComplexity) EnumDescriptor deprecated

func (CVSS_AttackComplexity) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_AttackComplexity.Descriptor instead.

func (CVSS_AttackComplexity) Number

func (CVSS_AttackComplexity) String

func (x CVSS_AttackComplexity) String() string

func (CVSS_AttackComplexity) Type

type CVSS_AttackVector

type CVSS_AttackVector int32
const (
	CVSS_ATTACK_VECTOR_UNSPECIFIED CVSS_AttackVector = 0
	CVSS_ATTACK_VECTOR_NETWORK     CVSS_AttackVector = 1
	CVSS_ATTACK_VECTOR_ADJACENT    CVSS_AttackVector = 2
	CVSS_ATTACK_VECTOR_LOCAL       CVSS_AttackVector = 3
	CVSS_ATTACK_VECTOR_PHYSICAL    CVSS_AttackVector = 4
)

func (CVSS_AttackVector) Descriptor

func (CVSS_AttackVector) Enum

func (CVSS_AttackVector) EnumDescriptor deprecated

func (CVSS_AttackVector) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_AttackVector.Descriptor instead.

func (CVSS_AttackVector) Number

func (CVSS_AttackVector) String

func (x CVSS_AttackVector) String() string

func (CVSS_AttackVector) Type

type CVSS_Authentication

type CVSS_Authentication int32
const (
	CVSS_AUTHENTICATION_UNSPECIFIED CVSS_Authentication = 0
	CVSS_AUTHENTICATION_MULTIPLE    CVSS_Authentication = 1
	CVSS_AUTHENTICATION_SINGLE      CVSS_Authentication = 2
	CVSS_AUTHENTICATION_NONE        CVSS_Authentication = 3
)

func (CVSS_Authentication) Descriptor

func (CVSS_Authentication) Enum

func (CVSS_Authentication) EnumDescriptor deprecated

func (CVSS_Authentication) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_Authentication.Descriptor instead.

func (CVSS_Authentication) Number

func (CVSS_Authentication) String

func (x CVSS_Authentication) String() string

func (CVSS_Authentication) Type

type CVSS_Impact

type CVSS_Impact int32
const (
	CVSS_IMPACT_UNSPECIFIED CVSS_Impact = 0
	CVSS_IMPACT_HIGH        CVSS_Impact = 1
	CVSS_IMPACT_LOW         CVSS_Impact = 2
	CVSS_IMPACT_NONE        CVSS_Impact = 3
	CVSS_IMPACT_PARTIAL     CVSS_Impact = 4
	CVSS_IMPACT_COMPLETE    CVSS_Impact = 5
)

func (CVSS_Impact) Descriptor

func (CVSS_Impact) Enum

func (x CVSS_Impact) Enum() *CVSS_Impact

func (CVSS_Impact) EnumDescriptor deprecated

func (CVSS_Impact) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_Impact.Descriptor instead.

func (CVSS_Impact) Number

func (x CVSS_Impact) Number() protoreflect.EnumNumber

func (CVSS_Impact) String

func (x CVSS_Impact) String() string

func (CVSS_Impact) Type

type CVSS_PrivilegesRequired

type CVSS_PrivilegesRequired int32
const (
	CVSS_PRIVILEGES_REQUIRED_UNSPECIFIED CVSS_PrivilegesRequired = 0
	CVSS_PRIVILEGES_REQUIRED_NONE        CVSS_PrivilegesRequired = 1
	CVSS_PRIVILEGES_REQUIRED_LOW         CVSS_PrivilegesRequired = 2
	CVSS_PRIVILEGES_REQUIRED_HIGH        CVSS_PrivilegesRequired = 3
)

func (CVSS_PrivilegesRequired) Descriptor

func (CVSS_PrivilegesRequired) Enum

func (CVSS_PrivilegesRequired) EnumDescriptor deprecated

func (CVSS_PrivilegesRequired) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_PrivilegesRequired.Descriptor instead.

func (CVSS_PrivilegesRequired) Number

func (CVSS_PrivilegesRequired) String

func (x CVSS_PrivilegesRequired) String() string

func (CVSS_PrivilegesRequired) Type

type CVSS_Scope

type CVSS_Scope int32
const (
	CVSS_SCOPE_UNSPECIFIED CVSS_Scope = 0
	CVSS_SCOPE_UNCHANGED   CVSS_Scope = 1
	CVSS_SCOPE_CHANGED     CVSS_Scope = 2
)

func (CVSS_Scope) Descriptor

func (CVSS_Scope) Descriptor() protoreflect.EnumDescriptor

func (CVSS_Scope) Enum

func (x CVSS_Scope) Enum() *CVSS_Scope

func (CVSS_Scope) EnumDescriptor deprecated

func (CVSS_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_Scope.Descriptor instead.

func (CVSS_Scope) Number

func (x CVSS_Scope) Number() protoreflect.EnumNumber

func (CVSS_Scope) String

func (x CVSS_Scope) String() string

func (CVSS_Scope) Type

type CVSS_UserInteraction

type CVSS_UserInteraction int32
const (
	CVSS_USER_INTERACTION_UNSPECIFIED CVSS_UserInteraction = 0
	CVSS_USER_INTERACTION_NONE        CVSS_UserInteraction = 1
	CVSS_USER_INTERACTION_REQUIRED    CVSS_UserInteraction = 2
)

func (CVSS_UserInteraction) Descriptor

func (CVSS_UserInteraction) Enum

func (CVSS_UserInteraction) EnumDescriptor deprecated

func (CVSS_UserInteraction) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSS_UserInteraction.Descriptor instead.

func (CVSS_UserInteraction) Number

func (CVSS_UserInteraction) String

func (x CVSS_UserInteraction) String() string

func (CVSS_UserInteraction) Type

type CVSSv3

type CVSSv3 struct {

	// The base score is a function of the base metric scores.
	BaseScore           float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
	ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`
	ImpactScore         float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`
	// Base Metrics
	// Represents the intrinsic characteristics of a vulnerability that are
	// constant over time and across user environments.
	AttackVector          CVSSv3_AttackVector       `` /* 134-byte string literal not displayed */
	AttackComplexity      CVSSv3_AttackComplexity   `` /* 150-byte string literal not displayed */
	PrivilegesRequired    CVSSv3_PrivilegesRequired `` /* 158-byte string literal not displayed */
	UserInteraction       CVSSv3_UserInteraction    `` /* 146-byte string literal not displayed */
	Scope                 CVSSv3_Scope              `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSSv3_Scope" json:"scope,omitempty"`
	ConfidentialityImpact CVSSv3_Impact             `` /* 156-byte string literal not displayed */
	IntegrityImpact       CVSSv3_Impact             `` /* 138-byte string literal not displayed */
	AvailabilityImpact    CVSSv3_Impact             `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

func (*CVSSv3) Descriptor deprecated

func (*CVSSv3) Descriptor() ([]byte, []int)

Deprecated: Use CVSSv3.ProtoReflect.Descriptor instead.

func (*CVSSv3) GetAttackComplexity

func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity

func (*CVSSv3) GetAttackVector

func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector

func (*CVSSv3) GetAvailabilityImpact

func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact

func (*CVSSv3) GetBaseScore

func (x *CVSSv3) GetBaseScore() float32

func (*CVSSv3) GetConfidentialityImpact

func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact

func (*CVSSv3) GetExploitabilityScore

func (x *CVSSv3) GetExploitabilityScore() float32

func (*CVSSv3) GetImpactScore

func (x *CVSSv3) GetImpactScore() float32

func (*CVSSv3) GetIntegrityImpact

func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact

func (*CVSSv3) GetPrivilegesRequired

func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired

func (*CVSSv3) GetScope

func (x *CVSSv3) GetScope() CVSSv3_Scope

func (*CVSSv3) GetUserInteraction

func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction

func (*CVSSv3) ProtoMessage

func (*CVSSv3) ProtoMessage()

func (*CVSSv3) ProtoReflect

func (x *CVSSv3) ProtoReflect() protoreflect.Message

func (*CVSSv3) Reset

func (x *CVSSv3) Reset()

func (*CVSSv3) String

func (x *CVSSv3) String() string

type CVSSv3_AttackComplexity

type CVSSv3_AttackComplexity int32
const (
	CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0
	CVSSv3_ATTACK_COMPLEXITY_LOW         CVSSv3_AttackComplexity = 1
	CVSSv3_ATTACK_COMPLEXITY_HIGH        CVSSv3_AttackComplexity = 2
)

func (CVSSv3_AttackComplexity) Descriptor

func (CVSSv3_AttackComplexity) Enum

func (CVSSv3_AttackComplexity) EnumDescriptor deprecated

func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_AttackComplexity.Descriptor instead.

func (CVSSv3_AttackComplexity) Number

func (CVSSv3_AttackComplexity) String

func (x CVSSv3_AttackComplexity) String() string

func (CVSSv3_AttackComplexity) Type

type CVSSv3_AttackVector

type CVSSv3_AttackVector int32
const (
	CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0
	CVSSv3_ATTACK_VECTOR_NETWORK     CVSSv3_AttackVector = 1
	CVSSv3_ATTACK_VECTOR_ADJACENT    CVSSv3_AttackVector = 2
	CVSSv3_ATTACK_VECTOR_LOCAL       CVSSv3_AttackVector = 3
	CVSSv3_ATTACK_VECTOR_PHYSICAL    CVSSv3_AttackVector = 4
)

func (CVSSv3_AttackVector) Descriptor

func (CVSSv3_AttackVector) Enum

func (CVSSv3_AttackVector) EnumDescriptor deprecated

func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_AttackVector.Descriptor instead.

func (CVSSv3_AttackVector) Number

func (CVSSv3_AttackVector) String

func (x CVSSv3_AttackVector) String() string

func (CVSSv3_AttackVector) Type

type CVSSv3_Impact

type CVSSv3_Impact int32
const (
	CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0
	CVSSv3_IMPACT_HIGH        CVSSv3_Impact = 1
	CVSSv3_IMPACT_LOW         CVSSv3_Impact = 2
	CVSSv3_IMPACT_NONE        CVSSv3_Impact = 3
)

func (CVSSv3_Impact) Descriptor

func (CVSSv3_Impact) Enum

func (x CVSSv3_Impact) Enum() *CVSSv3_Impact

func (CVSSv3_Impact) EnumDescriptor deprecated

func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_Impact.Descriptor instead.

func (CVSSv3_Impact) Number

func (CVSSv3_Impact) String

func (x CVSSv3_Impact) String() string

func (CVSSv3_Impact) Type

type CVSSv3_PrivilegesRequired

type CVSSv3_PrivilegesRequired int32
const (
	CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0
	CVSSv3_PRIVILEGES_REQUIRED_NONE        CVSSv3_PrivilegesRequired = 1
	CVSSv3_PRIVILEGES_REQUIRED_LOW         CVSSv3_PrivilegesRequired = 2
	CVSSv3_PRIVILEGES_REQUIRED_HIGH        CVSSv3_PrivilegesRequired = 3
)

func (CVSSv3_PrivilegesRequired) Descriptor

func (CVSSv3_PrivilegesRequired) Enum

func (CVSSv3_PrivilegesRequired) EnumDescriptor deprecated

func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_PrivilegesRequired.Descriptor instead.

func (CVSSv3_PrivilegesRequired) Number

func (CVSSv3_PrivilegesRequired) String

func (x CVSSv3_PrivilegesRequired) String() string

func (CVSSv3_PrivilegesRequired) Type

type CVSSv3_Scope

type CVSSv3_Scope int32
const (
	CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0
	CVSSv3_SCOPE_UNCHANGED   CVSSv3_Scope = 1
	CVSSv3_SCOPE_CHANGED     CVSSv3_Scope = 2
)

func (CVSSv3_Scope) Descriptor

func (CVSSv3_Scope) Enum

func (x CVSSv3_Scope) Enum() *CVSSv3_Scope

func (CVSSv3_Scope) EnumDescriptor deprecated

func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_Scope.Descriptor instead.

func (CVSSv3_Scope) Number

func (CVSSv3_Scope) String

func (x CVSSv3_Scope) String() string

func (CVSSv3_Scope) Type

type CVSSv3_UserInteraction

type CVSSv3_UserInteraction int32
const (
	CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0
	CVSSv3_USER_INTERACTION_NONE        CVSSv3_UserInteraction = 1
	CVSSv3_USER_INTERACTION_REQUIRED    CVSSv3_UserInteraction = 2
)

func (CVSSv3_UserInteraction) Descriptor

func (CVSSv3_UserInteraction) Enum

func (CVSSv3_UserInteraction) EnumDescriptor deprecated

func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int)

Deprecated: Use CVSSv3_UserInteraction.Descriptor instead.

func (CVSSv3_UserInteraction) Number

func (CVSSv3_UserInteraction) String

func (x CVSSv3_UserInteraction) String() string

func (CVSSv3_UserInteraction) Type

type CloudRepoSourceContext

type CloudRepoSourceContext struct {

	// The ID of the repo.
	RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// A revision in a Cloud Repo can be identified by either its revision ID or
	// its alias.
	//
	// Types that are assignable to Revision:
	//	*CloudRepoSourceContext_RevisionId
	//	*CloudRepoSourceContext_AliasContext
	Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"`
	// contains filtered or unexported fields
}

A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.

func (*CloudRepoSourceContext) Descriptor deprecated

func (*CloudRepoSourceContext) Descriptor() ([]byte, []int)

Deprecated: Use CloudRepoSourceContext.ProtoReflect.Descriptor instead.

func (*CloudRepoSourceContext) GetAliasContext

func (x *CloudRepoSourceContext) GetAliasContext() *AliasContext

func (*CloudRepoSourceContext) GetRepoId

func (x *CloudRepoSourceContext) GetRepoId() *RepoId

func (*CloudRepoSourceContext) GetRevision

func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision

func (*CloudRepoSourceContext) GetRevisionId

func (x *CloudRepoSourceContext) GetRevisionId() string

func (*CloudRepoSourceContext) ProtoMessage

func (*CloudRepoSourceContext) ProtoMessage()

func (*CloudRepoSourceContext) ProtoReflect

func (x *CloudRepoSourceContext) ProtoReflect() protoreflect.Message

func (*CloudRepoSourceContext) Reset

func (x *CloudRepoSourceContext) Reset()

func (*CloudRepoSourceContext) String

func (x *CloudRepoSourceContext) String() string

type CloudRepoSourceContext_AliasContext

type CloudRepoSourceContext_AliasContext struct {
	// An alias, which may be a branch or tag.
	AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}

type CloudRepoSourceContext_RevisionId

type CloudRepoSourceContext_RevisionId struct {
	// A revision ID.
	RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"`
}

type Command

type Command struct {

	// Required. Name of the command, as presented on the command line, or if the
	// command is packaged as a Docker container, as presented to `docker pull`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Environment variables set before running this command.
	Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
	// Command-line arguments used when executing this command.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Working directory (relative to project source root) used when running this
	// command.
	Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`
	// Optional unique identifier for this command, used in wait_for to reference
	// this command as a dependency.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// The ID(s) of the command(s) that this command depends on.
	WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"`
	// contains filtered or unexported fields
}

Command describes a step performed as part of the build pipeline.

func (*Command) Descriptor deprecated

func (*Command) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetArgs

func (x *Command) GetArgs() []string

func (*Command) GetDir

func (x *Command) GetDir() string

func (*Command) GetEnv

func (x *Command) GetEnv() []string

func (*Command) GetId

func (x *Command) GetId() string

func (*Command) GetName

func (x *Command) GetName() string

func (*Command) GetWaitFor

func (x *Command) GetWaitFor() []string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type Completeness

type Completeness struct {

	// If true, the builder claims that recipe.arguments is complete, meaning that
	// all external inputs are properly captured in the recipe.
	Arguments bool `protobuf:"varint,1,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// If true, the builder claims that recipe.environment is claimed to be
	// complete.
	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// If true, the builder claims that materials are complete, usually through
	// some controls to prevent network access. Sometimes called "hermetic".
	Materials bool `protobuf:"varint,3,opt,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the builder claims certain fields in this message to be complete.

func (*Completeness) Descriptor deprecated

func (*Completeness) Descriptor() ([]byte, []int)

Deprecated: Use Completeness.ProtoReflect.Descriptor instead.

func (*Completeness) GetArguments

func (x *Completeness) GetArguments() bool

func (*Completeness) GetEnvironment

func (x *Completeness) GetEnvironment() bool

func (*Completeness) GetMaterials

func (x *Completeness) GetMaterials() bool

func (*Completeness) ProtoMessage

func (*Completeness) ProtoMessage()

func (*Completeness) ProtoReflect

func (x *Completeness) ProtoReflect() protoreflect.Message

func (*Completeness) Reset

func (x *Completeness) Reset()

func (*Completeness) String

func (x *Completeness) String() string

type ComplianceNote

type ComplianceNote struct {

	// The title that identifies this compliance check.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// A description about this compliance check.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The OS and config versions the benchmark applies to.
	Version []*ComplianceVersion `protobuf:"bytes,3,rep,name=version,proto3" json:"version,omitempty"`
	// A rationale for the existence of this compliance check.
	Rationale string `protobuf:"bytes,4,opt,name=rationale,proto3" json:"rationale,omitempty"`
	// A description of remediation steps if the compliance check fails.
	Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
	// Types that are assignable to ComplianceType:
	//
	//	*ComplianceNote_CisBenchmark_
	ComplianceType isComplianceNote_ComplianceType `protobuf_oneof:"compliance_type"`
	// Serialized scan instructions with a predefined format.
	ScanInstructions []byte `protobuf:"bytes,7,opt,name=scan_instructions,json=scanInstructions,proto3" json:"scan_instructions,omitempty"`
	// Potential impact of the suggested remediation
	//
	// Types that are assignable to PotentialImpact:
	//
	//	*ComplianceNote_Impact
	PotentialImpact isComplianceNote_PotentialImpact `protobuf_oneof:"potential_impact"`
	// contains filtered or unexported fields
}

func (*ComplianceNote) Descriptor deprecated

func (*ComplianceNote) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceNote.ProtoReflect.Descriptor instead.

func (*ComplianceNote) GetCisBenchmark

func (x *ComplianceNote) GetCisBenchmark() *ComplianceNote_CisBenchmark

func (*ComplianceNote) GetComplianceType

func (m *ComplianceNote) GetComplianceType() isComplianceNote_ComplianceType

func (*ComplianceNote) GetDescription

func (x *ComplianceNote) GetDescription() string

func (*ComplianceNote) GetImpact

func (x *ComplianceNote) GetImpact() string

func (*ComplianceNote) GetPotentialImpact

func (m *ComplianceNote) GetPotentialImpact() isComplianceNote_PotentialImpact

func (*ComplianceNote) GetRationale

func (x *ComplianceNote) GetRationale() string

func (*ComplianceNote) GetRemediation

func (x *ComplianceNote) GetRemediation() string

func (*ComplianceNote) GetScanInstructions

func (x *ComplianceNote) GetScanInstructions() []byte

func (*ComplianceNote) GetTitle

func (x *ComplianceNote) GetTitle() string

func (*ComplianceNote) GetVersion

func (x *ComplianceNote) GetVersion() []*ComplianceVersion

func (*ComplianceNote) ProtoMessage

func (*ComplianceNote) ProtoMessage()

func (*ComplianceNote) ProtoReflect

func (x *ComplianceNote) ProtoReflect() protoreflect.Message

func (*ComplianceNote) Reset

func (x *ComplianceNote) Reset()

func (*ComplianceNote) String

func (x *ComplianceNote) String() string

type ComplianceNote_CisBenchmark

type ComplianceNote_CisBenchmark struct {
	ProfileLevel int32    `protobuf:"varint,1,opt,name=profile_level,json=profileLevel,proto3" json:"profile_level,omitempty"`
	Severity     Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

A compliance check that is a CIS benchmark.

func (*ComplianceNote_CisBenchmark) Descriptor deprecated

func (*ComplianceNote_CisBenchmark) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceNote_CisBenchmark.ProtoReflect.Descriptor instead.

func (*ComplianceNote_CisBenchmark) GetProfileLevel

func (x *ComplianceNote_CisBenchmark) GetProfileLevel() int32

func (*ComplianceNote_CisBenchmark) GetSeverity

func (x *ComplianceNote_CisBenchmark) GetSeverity() Severity

func (*ComplianceNote_CisBenchmark) ProtoMessage

func (*ComplianceNote_CisBenchmark) ProtoMessage()

func (*ComplianceNote_CisBenchmark) ProtoReflect

func (*ComplianceNote_CisBenchmark) Reset

func (x *ComplianceNote_CisBenchmark) Reset()

func (*ComplianceNote_CisBenchmark) String

func (x *ComplianceNote_CisBenchmark) String() string

type ComplianceNote_CisBenchmark_

type ComplianceNote_CisBenchmark_ struct {
	CisBenchmark *ComplianceNote_CisBenchmark `protobuf:"bytes,6,opt,name=cis_benchmark,json=cisBenchmark,proto3,oneof"`
}

type ComplianceNote_Impact

type ComplianceNote_Impact struct {
	Impact string `protobuf:"bytes,8,opt,name=impact,proto3,oneof"`
}

type ComplianceOccurrence

type ComplianceOccurrence struct {
	NonCompliantFiles   []*NonCompliantFile `protobuf:"bytes,2,rep,name=non_compliant_files,json=nonCompliantFiles,proto3" json:"non_compliant_files,omitempty"`
	NonComplianceReason string              `protobuf:"bytes,3,opt,name=non_compliance_reason,json=nonComplianceReason,proto3" json:"non_compliance_reason,omitempty"`
	// contains filtered or unexported fields
}

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

func (*ComplianceOccurrence) Descriptor deprecated

func (*ComplianceOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceOccurrence.ProtoReflect.Descriptor instead.

func (*ComplianceOccurrence) GetNonComplianceReason

func (x *ComplianceOccurrence) GetNonComplianceReason() string

func (*ComplianceOccurrence) GetNonCompliantFiles

func (x *ComplianceOccurrence) GetNonCompliantFiles() []*NonCompliantFile

func (*ComplianceOccurrence) ProtoMessage

func (*ComplianceOccurrence) ProtoMessage()

func (*ComplianceOccurrence) ProtoReflect

func (x *ComplianceOccurrence) ProtoReflect() protoreflect.Message

func (*ComplianceOccurrence) Reset

func (x *ComplianceOccurrence) Reset()

func (*ComplianceOccurrence) String

func (x *ComplianceOccurrence) String() string

type ComplianceVersion

type ComplianceVersion struct {

	// The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
	// applicable to.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The name of the document that defines this benchmark, e.g. "CIS
	// Container-Optimized OS".
	BenchmarkDocument string `protobuf:"bytes,3,opt,name=benchmark_document,json=benchmarkDocument,proto3" json:"benchmark_document,omitempty"`
	// The version of the benchmark. This is set to the version of the OS-specific
	// CIS document the benchmark is defined in.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Describes the CIS benchmark version that is applicable to a given OS and os version.

func (*ComplianceVersion) Descriptor deprecated

func (*ComplianceVersion) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceVersion.ProtoReflect.Descriptor instead.

func (*ComplianceVersion) GetBenchmarkDocument

func (x *ComplianceVersion) GetBenchmarkDocument() string

func (*ComplianceVersion) GetCpeUri

func (x *ComplianceVersion) GetCpeUri() string

func (*ComplianceVersion) GetVersion

func (x *ComplianceVersion) GetVersion() string

func (*ComplianceVersion) ProtoMessage

func (*ComplianceVersion) ProtoMessage()

func (*ComplianceVersion) ProtoReflect

func (x *ComplianceVersion) ProtoReflect() protoreflect.Message

func (*ComplianceVersion) Reset

func (x *ComplianceVersion) Reset()

func (*ComplianceVersion) String

func (x *ComplianceVersion) String() string

type CreateNoteRequest

type CreateNoteRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the note is to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The ID to use for this note.
	NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"`
	// The note to create.
	Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new note.

func (*CreateNoteRequest) Descriptor deprecated

func (*CreateNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNoteRequest.ProtoReflect.Descriptor instead.

func (*CreateNoteRequest) GetNote

func (x *CreateNoteRequest) GetNote() *Note

func (*CreateNoteRequest) GetNoteId

func (x *CreateNoteRequest) GetNoteId() string

func (*CreateNoteRequest) GetParent

func (x *CreateNoteRequest) GetParent() string

func (*CreateNoteRequest) ProtoMessage

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) ProtoReflect

func (x *CreateNoteRequest) ProtoReflect() protoreflect.Message

func (*CreateNoteRequest) Reset

func (x *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String

func (x *CreateNoteRequest) String() string

type CreateOccurrenceRequest

type CreateOccurrenceRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the occurrence is to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The occurrence to create.
	Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new occurrence.

func (*CreateOccurrenceRequest) Descriptor deprecated

func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*CreateOccurrenceRequest) GetOccurrence

func (x *CreateOccurrenceRequest) GetOccurrence() *Occurrence

func (*CreateOccurrenceRequest) GetParent

func (x *CreateOccurrenceRequest) GetParent() string

func (*CreateOccurrenceRequest) ProtoMessage

func (*CreateOccurrenceRequest) ProtoMessage()

func (*CreateOccurrenceRequest) ProtoReflect

func (x *CreateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*CreateOccurrenceRequest) Reset

func (x *CreateOccurrenceRequest) Reset()

func (*CreateOccurrenceRequest) String

func (x *CreateOccurrenceRequest) String() string

type DSSEAttestationNote

type DSSEAttestationNote struct {

	// DSSEHint hints at the purpose of the attestation authority.
	Hint *DSSEAttestationNote_DSSEHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
	// contains filtered or unexported fields
}

func (*DSSEAttestationNote) Descriptor deprecated

func (*DSSEAttestationNote) Descriptor() ([]byte, []int)

Deprecated: Use DSSEAttestationNote.ProtoReflect.Descriptor instead.

func (*DSSEAttestationNote) GetHint

func (*DSSEAttestationNote) ProtoMessage

func (*DSSEAttestationNote) ProtoMessage()

func (*DSSEAttestationNote) ProtoReflect

func (x *DSSEAttestationNote) ProtoReflect() protoreflect.Message

func (*DSSEAttestationNote) Reset

func (x *DSSEAttestationNote) Reset()

func (*DSSEAttestationNote) String

func (x *DSSEAttestationNote) String() string

type DSSEAttestationNote_DSSEHint

type DSSEAttestationNote_DSSEHint struct {

	// Required. The human readable name of this attestation authority, for
	// example "cloudbuild-prod".
	HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
	// contains filtered or unexported fields
}

This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.

func (*DSSEAttestationNote_DSSEHint) Descriptor deprecated

func (*DSSEAttestationNote_DSSEHint) Descriptor() ([]byte, []int)

Deprecated: Use DSSEAttestationNote_DSSEHint.ProtoReflect.Descriptor instead.

func (*DSSEAttestationNote_DSSEHint) GetHumanReadableName

func (x *DSSEAttestationNote_DSSEHint) GetHumanReadableName() string

func (*DSSEAttestationNote_DSSEHint) ProtoMessage

func (*DSSEAttestationNote_DSSEHint) ProtoMessage()

func (*DSSEAttestationNote_DSSEHint) ProtoReflect

func (*DSSEAttestationNote_DSSEHint) Reset

func (x *DSSEAttestationNote_DSSEHint) Reset()

func (*DSSEAttestationNote_DSSEHint) String

type DSSEAttestationOccurrence

type DSSEAttestationOccurrence struct {

	// If doing something security critical, make sure to verify the signatures in
	// this metadata.
	Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
	// Types that are assignable to DecodedPayload:
	//	*DSSEAttestationOccurrence_Statement
	DecodedPayload isDSSEAttestationOccurrence_DecodedPayload `protobuf_oneof:"decoded_payload"`
	// contains filtered or unexported fields
}

Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.

func (*DSSEAttestationOccurrence) Descriptor deprecated

func (*DSSEAttestationOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use DSSEAttestationOccurrence.ProtoReflect.Descriptor instead.

func (*DSSEAttestationOccurrence) GetDecodedPayload

func (m *DSSEAttestationOccurrence) GetDecodedPayload() isDSSEAttestationOccurrence_DecodedPayload

func (*DSSEAttestationOccurrence) GetEnvelope

func (x *DSSEAttestationOccurrence) GetEnvelope() *Envelope

func (*DSSEAttestationOccurrence) GetStatement

func (x *DSSEAttestationOccurrence) GetStatement() *InTotoStatement

func (*DSSEAttestationOccurrence) ProtoMessage

func (*DSSEAttestationOccurrence) ProtoMessage()

func (*DSSEAttestationOccurrence) ProtoReflect

func (*DSSEAttestationOccurrence) Reset

func (x *DSSEAttestationOccurrence) Reset()

func (*DSSEAttestationOccurrence) String

func (x *DSSEAttestationOccurrence) String() string

type DSSEAttestationOccurrence_Statement

type DSSEAttestationOccurrence_Statement struct {
	Statement *InTotoStatement `protobuf:"bytes,2,opt,name=statement,proto3,oneof"`
}

type DeleteNoteRequest

type DeleteNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a note.

func (*DeleteNoteRequest) Descriptor deprecated

func (*DeleteNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNoteRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoteRequest) GetName

func (x *DeleteNoteRequest) GetName() string

func (*DeleteNoteRequest) ProtoMessage

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) ProtoReflect

func (x *DeleteNoteRequest) ProtoReflect() protoreflect.Message

func (*DeleteNoteRequest) Reset

func (x *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String

func (x *DeleteNoteRequest) String() string

type DeleteOccurrenceRequest

type DeleteOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to delete an occurrence.

func (*DeleteOccurrenceRequest) Descriptor deprecated

func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*DeleteOccurrenceRequest) GetName

func (x *DeleteOccurrenceRequest) GetName() string

func (*DeleteOccurrenceRequest) ProtoMessage

func (*DeleteOccurrenceRequest) ProtoMessage()

func (*DeleteOccurrenceRequest) ProtoReflect

func (x *DeleteOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*DeleteOccurrenceRequest) Reset

func (x *DeleteOccurrenceRequest) Reset()

func (*DeleteOccurrenceRequest) String

func (x *DeleteOccurrenceRequest) String() string

type DeploymentNote

type DeploymentNote struct {

	// Required. Resource URI for the artifact being deployed.
	ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// contains filtered or unexported fields
}

An artifact that can be deployed in some runtime.

func (*DeploymentNote) Descriptor deprecated

func (*DeploymentNote) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentNote.ProtoReflect.Descriptor instead.

func (*DeploymentNote) GetResourceUri

func (x *DeploymentNote) GetResourceUri() []string

func (*DeploymentNote) ProtoMessage

func (*DeploymentNote) ProtoMessage()

func (*DeploymentNote) ProtoReflect

func (x *DeploymentNote) ProtoReflect() protoreflect.Message

func (*DeploymentNote) Reset

func (x *DeploymentNote) Reset()

func (*DeploymentNote) String

func (x *DeploymentNote) String() string

type DeploymentOccurrence

type DeploymentOccurrence struct {

	// Identity of the user that triggered this deployment.
	UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	// Required. Beginning of the lifetime of this deployment.
	DeployTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
	// End of the lifetime of this deployment.
	UndeployTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"`
	// Configuration used to create this deployment.
	Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// Address of the runtime element hosting this deployment.
	Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// Output only. Resource URI for the artifact being deployed taken from
	// the deployable field with the same name.
	ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// Platform hosting this deployment.
	Platform DeploymentOccurrence_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1.DeploymentOccurrence_Platform" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

The period during which some deployable was active in a runtime.

func (*DeploymentOccurrence) Descriptor deprecated

func (*DeploymentOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentOccurrence.ProtoReflect.Descriptor instead.

func (*DeploymentOccurrence) GetAddress

func (x *DeploymentOccurrence) GetAddress() string

func (*DeploymentOccurrence) GetConfig

func (x *DeploymentOccurrence) GetConfig() string

func (*DeploymentOccurrence) GetDeployTime

func (x *DeploymentOccurrence) GetDeployTime() *timestamppb.Timestamp

func (*DeploymentOccurrence) GetPlatform

func (*DeploymentOccurrence) GetResourceUri

func (x *DeploymentOccurrence) GetResourceUri() []string

func (*DeploymentOccurrence) GetUndeployTime

func (x *DeploymentOccurrence) GetUndeployTime() *timestamppb.Timestamp

func (*DeploymentOccurrence) GetUserEmail

func (x *DeploymentOccurrence) GetUserEmail() string

func (*DeploymentOccurrence) ProtoMessage

func (*DeploymentOccurrence) ProtoMessage()

func (*DeploymentOccurrence) ProtoReflect

func (x *DeploymentOccurrence) ProtoReflect() protoreflect.Message

func (*DeploymentOccurrence) Reset

func (x *DeploymentOccurrence) Reset()

func (*DeploymentOccurrence) String

func (x *DeploymentOccurrence) String() string

type DeploymentOccurrence_Platform

type DeploymentOccurrence_Platform int32

Types of platforms.

const (
	// Unknown.
	DeploymentOccurrence_PLATFORM_UNSPECIFIED DeploymentOccurrence_Platform = 0
	// Google Container Engine.
	DeploymentOccurrence_GKE DeploymentOccurrence_Platform = 1
	// Google App Engine: Flexible Environment.
	DeploymentOccurrence_FLEX DeploymentOccurrence_Platform = 2
	// Custom user-defined platform.
	DeploymentOccurrence_CUSTOM DeploymentOccurrence_Platform = 3
)

func (DeploymentOccurrence_Platform) Descriptor

func (DeploymentOccurrence_Platform) Enum

func (DeploymentOccurrence_Platform) EnumDescriptor deprecated

func (DeploymentOccurrence_Platform) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeploymentOccurrence_Platform.Descriptor instead.

func (DeploymentOccurrence_Platform) Number

func (DeploymentOccurrence_Platform) String

func (DeploymentOccurrence_Platform) Type

type Digest

type Digest struct {

	// `SHA1`, `SHA512` etc.
	Algo string `protobuf:"bytes,1,opt,name=algo,proto3" json:"algo,omitempty"`
	// Value of the digest.
	DigestBytes []byte `protobuf:"bytes,2,opt,name=digest_bytes,json=digestBytes,proto3" json:"digest_bytes,omitempty"`
	// contains filtered or unexported fields
}

Digest information.

func (*Digest) Descriptor deprecated

func (*Digest) Descriptor() ([]byte, []int)

Deprecated: Use Digest.ProtoReflect.Descriptor instead.

func (*Digest) GetAlgo

func (x *Digest) GetAlgo() string

func (*Digest) GetDigestBytes

func (x *Digest) GetDigestBytes() []byte

func (*Digest) ProtoMessage

func (*Digest) ProtoMessage()

func (*Digest) ProtoReflect

func (x *Digest) ProtoReflect() protoreflect.Message

func (*Digest) Reset

func (x *Digest) Reset()

func (*Digest) String

func (x *Digest) String() string

type DiscoveryNote

type DiscoveryNote struct {

	// Required. Immutable. The kind of analysis that is handled by this
	// discovery.
	AnalysisKind NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1.NoteKind" json:"analysis_kind,omitempty"`
	// contains filtered or unexported fields
}

A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.

func (*DiscoveryNote) Descriptor deprecated

func (*DiscoveryNote) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryNote.ProtoReflect.Descriptor instead.

func (*DiscoveryNote) GetAnalysisKind

func (x *DiscoveryNote) GetAnalysisKind() NoteKind

func (*DiscoveryNote) ProtoMessage

func (*DiscoveryNote) ProtoMessage()

func (*DiscoveryNote) ProtoReflect

func (x *DiscoveryNote) ProtoReflect() protoreflect.Message

func (*DiscoveryNote) Reset

func (x *DiscoveryNote) Reset()

func (*DiscoveryNote) String

func (x *DiscoveryNote) String() string

type DiscoveryOccurrence

type DiscoveryOccurrence struct {

	// Whether the resource is continuously analyzed.
	ContinuousAnalysis DiscoveryOccurrence_ContinuousAnalysis `` /* 171-byte string literal not displayed */
	// The status of discovery for the resource.
	AnalysisStatus    DiscoveryOccurrence_AnalysisStatus     `` /* 155-byte string literal not displayed */
	AnalysisCompleted *DiscoveryOccurrence_AnalysisCompleted `protobuf:"bytes,7,opt,name=analysis_completed,json=analysisCompleted,proto3" json:"analysis_completed,omitempty"`
	// Indicates any errors encountered during analysis of a resource. There
	// could be 0 or more of these errors.
	AnalysisError []*status.Status `protobuf:"bytes,8,rep,name=analysis_error,json=analysisError,proto3" json:"analysis_error,omitempty"`
	// When an error is encountered this will contain a LocalizedMessage under
	// details to show to the user. The LocalizedMessage is output only and
	// populated by the API.
	AnalysisStatusError *status.Status `protobuf:"bytes,3,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
	// The CPE of the resource being scanned.
	Cpe string `protobuf:"bytes,4,opt,name=cpe,proto3" json:"cpe,omitempty"`
	// The last time this resource was scanned.
	LastScanTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_scan_time,json=lastScanTime,proto3" json:"last_scan_time,omitempty"`
	// The time occurrences related to this discovery occurrence were archived.
	ArchiveTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=archive_time,json=archiveTime,proto3" json:"archive_time,omitempty"`
	// The status of an SBOM generation.
	SbomStatus *DiscoveryOccurrence_SBOMStatus `protobuf:"bytes,9,opt,name=sbom_status,json=sbomStatus,proto3" json:"sbom_status,omitempty"`
	// contains filtered or unexported fields
}

Provides information about the analysis status of a discovered resource.

func (*DiscoveryOccurrence) Descriptor deprecated

func (*DiscoveryOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence.ProtoReflect.Descriptor instead.

func (*DiscoveryOccurrence) GetAnalysisCompleted

func (*DiscoveryOccurrence) GetAnalysisError

func (x *DiscoveryOccurrence) GetAnalysisError() []*status.Status

func (*DiscoveryOccurrence) GetAnalysisStatus

func (*DiscoveryOccurrence) GetAnalysisStatusError

func (x *DiscoveryOccurrence) GetAnalysisStatusError() *status.Status

func (*DiscoveryOccurrence) GetArchiveTime

func (x *DiscoveryOccurrence) GetArchiveTime() *timestamppb.Timestamp

func (*DiscoveryOccurrence) GetContinuousAnalysis

func (*DiscoveryOccurrence) GetCpe

func (x *DiscoveryOccurrence) GetCpe() string

func (*DiscoveryOccurrence) GetLastScanTime

func (x *DiscoveryOccurrence) GetLastScanTime() *timestamppb.Timestamp

func (*DiscoveryOccurrence) GetSbomStatus

func (*DiscoveryOccurrence) ProtoMessage

func (*DiscoveryOccurrence) ProtoMessage()

func (*DiscoveryOccurrence) ProtoReflect

func (x *DiscoveryOccurrence) ProtoReflect() protoreflect.Message

func (*DiscoveryOccurrence) Reset

func (x *DiscoveryOccurrence) Reset()

func (*DiscoveryOccurrence) String

func (x *DiscoveryOccurrence) String() string

type DiscoveryOccurrence_AnalysisCompleted

type DiscoveryOccurrence_AnalysisCompleted struct {
	AnalysisType []string `protobuf:"bytes,1,rep,name=analysis_type,json=analysisType,proto3" json:"analysis_type,omitempty"`
	// contains filtered or unexported fields
}

Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.

func (*DiscoveryOccurrence_AnalysisCompleted) Descriptor deprecated

func (*DiscoveryOccurrence_AnalysisCompleted) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence_AnalysisCompleted.ProtoReflect.Descriptor instead.

func (*DiscoveryOccurrence_AnalysisCompleted) GetAnalysisType

func (x *DiscoveryOccurrence_AnalysisCompleted) GetAnalysisType() []string

func (*DiscoveryOccurrence_AnalysisCompleted) ProtoMessage

func (*DiscoveryOccurrence_AnalysisCompleted) ProtoMessage()

func (*DiscoveryOccurrence_AnalysisCompleted) ProtoReflect

func (*DiscoveryOccurrence_AnalysisCompleted) Reset

func (*DiscoveryOccurrence_AnalysisCompleted) String

type DiscoveryOccurrence_AnalysisStatus

type DiscoveryOccurrence_AnalysisStatus int32

Analysis status for a resource. Currently for initial analysis only (not updated in continuous analysis).

const (
	// Unknown.
	DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED DiscoveryOccurrence_AnalysisStatus = 0
	// Resource is known but no action has been taken yet.
	DiscoveryOccurrence_PENDING DiscoveryOccurrence_AnalysisStatus = 1
	// Resource is being analyzed.
	DiscoveryOccurrence_SCANNING DiscoveryOccurrence_AnalysisStatus = 2
	// Analysis has finished successfully.
	DiscoveryOccurrence_FINISHED_SUCCESS DiscoveryOccurrence_AnalysisStatus = 3
	// Analysis has completed.
	DiscoveryOccurrence_COMPLETE DiscoveryOccurrence_AnalysisStatus = 3
	// Analysis has finished unsuccessfully, the analysis itself is in a bad
	// state.
	DiscoveryOccurrence_FINISHED_FAILED DiscoveryOccurrence_AnalysisStatus = 4
	// The resource is known not to be supported.
	DiscoveryOccurrence_FINISHED_UNSUPPORTED DiscoveryOccurrence_AnalysisStatus = 5
)

func (DiscoveryOccurrence_AnalysisStatus) Descriptor

func (DiscoveryOccurrence_AnalysisStatus) Enum

func (DiscoveryOccurrence_AnalysisStatus) EnumDescriptor deprecated

func (DiscoveryOccurrence_AnalysisStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence_AnalysisStatus.Descriptor instead.

func (DiscoveryOccurrence_AnalysisStatus) Number

func (DiscoveryOccurrence_AnalysisStatus) String

func (DiscoveryOccurrence_AnalysisStatus) Type

type DiscoveryOccurrence_ContinuousAnalysis

type DiscoveryOccurrence_ContinuousAnalysis int32

Whether the resource is continuously analyzed.

const (
	// Unknown.
	DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED DiscoveryOccurrence_ContinuousAnalysis = 0
	// The resource is continuously analyzed.
	DiscoveryOccurrence_ACTIVE DiscoveryOccurrence_ContinuousAnalysis = 1
	// The resource is ignored for continuous analysis.
	DiscoveryOccurrence_INACTIVE DiscoveryOccurrence_ContinuousAnalysis = 2
)

func (DiscoveryOccurrence_ContinuousAnalysis) Descriptor

func (DiscoveryOccurrence_ContinuousAnalysis) Enum

func (DiscoveryOccurrence_ContinuousAnalysis) EnumDescriptor deprecated

func (DiscoveryOccurrence_ContinuousAnalysis) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence_ContinuousAnalysis.Descriptor instead.

func (DiscoveryOccurrence_ContinuousAnalysis) Number

func (DiscoveryOccurrence_ContinuousAnalysis) String

func (DiscoveryOccurrence_ContinuousAnalysis) Type

type DiscoveryOccurrence_SBOMStatus

type DiscoveryOccurrence_SBOMStatus struct {

	// The progress of the SBOM generation.
	SbomState DiscoveryOccurrence_SBOMStatus_SBOMState `` /* 146-byte string literal not displayed */
	// If there was an error generating an SBOM, this will indicate what that
	// error was.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

The status of an SBOM generation.

func (*DiscoveryOccurrence_SBOMStatus) Descriptor deprecated

func (*DiscoveryOccurrence_SBOMStatus) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence_SBOMStatus.ProtoReflect.Descriptor instead.

func (*DiscoveryOccurrence_SBOMStatus) GetError

func (x *DiscoveryOccurrence_SBOMStatus) GetError() string

func (*DiscoveryOccurrence_SBOMStatus) GetSbomState

func (*DiscoveryOccurrence_SBOMStatus) ProtoMessage

func (*DiscoveryOccurrence_SBOMStatus) ProtoMessage()

func (*DiscoveryOccurrence_SBOMStatus) ProtoReflect

func (*DiscoveryOccurrence_SBOMStatus) Reset

func (x *DiscoveryOccurrence_SBOMStatus) Reset()

func (*DiscoveryOccurrence_SBOMStatus) String

type DiscoveryOccurrence_SBOMStatus_SBOMState

type DiscoveryOccurrence_SBOMStatus_SBOMState int32

An enum indicating the progress of the SBOM generation.

const (
	// Default unknown state.
	DiscoveryOccurrence_SBOMStatus_SBOM_STATE_UNSPECIFIED DiscoveryOccurrence_SBOMStatus_SBOMState = 0
	// SBOM scanning is pending.
	DiscoveryOccurrence_SBOMStatus_PENDING DiscoveryOccurrence_SBOMStatus_SBOMState = 1
	// SBOM scanning has completed.
	DiscoveryOccurrence_SBOMStatus_COMPLETE DiscoveryOccurrence_SBOMStatus_SBOMState = 2
)

func (DiscoveryOccurrence_SBOMStatus_SBOMState) Descriptor

func (DiscoveryOccurrence_SBOMStatus_SBOMState) Enum

func (DiscoveryOccurrence_SBOMStatus_SBOMState) EnumDescriptor deprecated

func (DiscoveryOccurrence_SBOMStatus_SBOMState) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveryOccurrence_SBOMStatus_SBOMState.Descriptor instead.

func (DiscoveryOccurrence_SBOMStatus_SBOMState) Number

func (DiscoveryOccurrence_SBOMStatus_SBOMState) String

func (DiscoveryOccurrence_SBOMStatus_SBOMState) Type

type Distribution

type Distribution struct {

	// The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
	// denoting the package manager version distributing a package.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The CPU architecture for which packages in this distribution channel were
	// built.
	Architecture Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
	// The latest available version of this package in this distribution channel.
	LatestVersion *Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
	// A freeform string denoting the maintainer of this package.
	Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
	// The distribution channel-specific homepage for this package.
	Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// The distribution channel-specific description of this package.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.

func (*Distribution) Descriptor deprecated

func (*Distribution) Descriptor() ([]byte, []int)

Deprecated: Use Distribution.ProtoReflect.Descriptor instead.

func (*Distribution) GetArchitecture

func (x *Distribution) GetArchitecture() Architecture

func (*Distribution) GetCpeUri

func (x *Distribution) GetCpeUri() string

func (*Distribution) GetDescription

func (x *Distribution) GetDescription() string

func (*Distribution) GetLatestVersion

func (x *Distribution) GetLatestVersion() *Version

func (*Distribution) GetMaintainer

func (x *Distribution) GetMaintainer() string

func (*Distribution) GetUrl

func (x *Distribution) GetUrl() string

func (*Distribution) ProtoMessage

func (*Distribution) ProtoMessage()

func (*Distribution) ProtoReflect

func (x *Distribution) ProtoReflect() protoreflect.Message

func (*Distribution) Reset

func (x *Distribution) Reset()

func (*Distribution) String

func (x *Distribution) String() string

type Envelope

type Envelope struct {
	Payload     []byte               `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	PayloadType string               `protobuf:"bytes,2,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
	Signatures  []*EnvelopeSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.

func (*Envelope) Descriptor deprecated

func (*Envelope) Descriptor() ([]byte, []int)

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetPayload

func (x *Envelope) GetPayload() []byte

func (*Envelope) GetPayloadType

func (x *Envelope) GetPayloadType() string

func (*Envelope) GetSignatures

func (x *Envelope) GetSignatures() []*EnvelopeSignature

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

func (x *Envelope) ProtoReflect() protoreflect.Message

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type EnvelopeSignature

type EnvelopeSignature struct {
	Sig   []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
	Keyid string `protobuf:"bytes,2,opt,name=keyid,proto3" json:"keyid,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvelopeSignature) Descriptor deprecated

func (*EnvelopeSignature) Descriptor() ([]byte, []int)

Deprecated: Use EnvelopeSignature.ProtoReflect.Descriptor instead.

func (*EnvelopeSignature) GetKeyid

func (x *EnvelopeSignature) GetKeyid() string

func (*EnvelopeSignature) GetSig

func (x *EnvelopeSignature) GetSig() []byte

func (*EnvelopeSignature) ProtoMessage

func (*EnvelopeSignature) ProtoMessage()

func (*EnvelopeSignature) ProtoReflect

func (x *EnvelopeSignature) ProtoReflect() protoreflect.Message

func (*EnvelopeSignature) Reset

func (x *EnvelopeSignature) Reset()

func (*EnvelopeSignature) String

func (x *EnvelopeSignature) String() string

type FileHashes

type FileHashes struct {

	// Required. Collection of file hashes.
	FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
	// contains filtered or unexported fields
}

Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.

func (*FileHashes) Descriptor deprecated

func (*FileHashes) Descriptor() ([]byte, []int)

Deprecated: Use FileHashes.ProtoReflect.Descriptor instead.

func (*FileHashes) GetFileHash

func (x *FileHashes) GetFileHash() []*Hash

func (*FileHashes) ProtoMessage

func (*FileHashes) ProtoMessage()

func (*FileHashes) ProtoReflect

func (x *FileHashes) ProtoReflect() protoreflect.Message

func (*FileHashes) Reset

func (x *FileHashes) Reset()

func (*FileHashes) String

func (x *FileHashes) String() string

type FileLocation

type FileLocation struct {

	// For jars that are contained inside .war files, this filepath
	// can indicate the path to war file combined with the path to jar file.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// contains filtered or unexported fields
}

Indicates the location at which a package was found.

func (*FileLocation) Descriptor deprecated

func (*FileLocation) Descriptor() ([]byte, []int)

Deprecated: Use FileLocation.ProtoReflect.Descriptor instead.

func (*FileLocation) GetFilePath

func (x *FileLocation) GetFilePath() string

func (*FileLocation) ProtoMessage

func (*FileLocation) ProtoMessage()

func (*FileLocation) ProtoReflect

func (x *FileLocation) ProtoReflect() protoreflect.Message

func (*FileLocation) Reset

func (x *FileLocation) Reset()

func (*FileLocation) String

func (x *FileLocation) String() string

type Fingerprint

type Fingerprint struct {

	// Required. The layer ID of the final layer in the Docker image's v1
	// representation.
	V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"`
	// Required. The ordered list of v2 blobs that represent a given image.
	V2Blob []string `protobuf:"bytes,2,rep,name=v2_blob,json=v2Blob,proto3" json:"v2_blob,omitempty"`
	// Output only. The name of the image's v2 blobs computed via:
	//   [bottom] := v2_blob[bottom]
	//   [N] := sha256(v2_blob[N] + " " + v2_name[N+1])
	// Only the name of the final blob is kept.
	V2Name string `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"`
	// contains filtered or unexported fields
}

A set of properties that uniquely identify a given Docker image.

func (*Fingerprint) Descriptor deprecated

func (*Fingerprint) Descriptor() ([]byte, []int)

Deprecated: Use Fingerprint.ProtoReflect.Descriptor instead.

func (*Fingerprint) GetV1Name

func (x *Fingerprint) GetV1Name() string

func (*Fingerprint) GetV2Blob

func (x *Fingerprint) GetV2Blob() []string

func (*Fingerprint) GetV2Name

func (x *Fingerprint) GetV2Name() string

func (*Fingerprint) ProtoMessage

func (*Fingerprint) ProtoMessage()

func (*Fingerprint) ProtoReflect

func (x *Fingerprint) ProtoReflect() protoreflect.Message

func (*Fingerprint) Reset

func (x *Fingerprint) Reset()

func (*Fingerprint) String

func (x *Fingerprint) String() string

type GerritSourceContext

type GerritSourceContext struct {

	// The URI of a running Gerrit instance.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// The full project name within the host. Projects may be nested, so
	// "project/subproject" is a valid project name. The "repo name" is the
	// hostURI/project.
	GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"`
	// A revision in a Gerrit project can be identified by either its revision ID
	// or its alias.
	//
	// Types that are assignable to Revision:
	//	*GerritSourceContext_RevisionId
	//	*GerritSourceContext_AliasContext
	Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"`
	// contains filtered or unexported fields
}

A SourceContext referring to a Gerrit project.

func (*GerritSourceContext) Descriptor deprecated

func (*GerritSourceContext) Descriptor() ([]byte, []int)

Deprecated: Use GerritSourceContext.ProtoReflect.Descriptor instead.

func (*GerritSourceContext) GetAliasContext

func (x *GerritSourceContext) GetAliasContext() *AliasContext

func (*GerritSourceContext) GetGerritProject

func (x *GerritSourceContext) GetGerritProject() string

func (*GerritSourceContext) GetHostUri

func (x *GerritSourceContext) GetHostUri() string

func (*GerritSourceContext) GetRevision

func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision

func (*GerritSourceContext) GetRevisionId

func (x *GerritSourceContext) GetRevisionId() string

func (*GerritSourceContext) ProtoMessage

func (*GerritSourceContext) ProtoMessage()

func (*GerritSourceContext) ProtoReflect

func (x *GerritSourceContext) ProtoReflect() protoreflect.Message

func (*GerritSourceContext) Reset

func (x *GerritSourceContext) Reset()

func (*GerritSourceContext) String

func (x *GerritSourceContext) String() string

type GerritSourceContext_AliasContext

type GerritSourceContext_AliasContext struct {
	// An alias, which may be a branch or tag.
	AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}

type GerritSourceContext_RevisionId

type GerritSourceContext_RevisionId struct {
	// A revision (commit) ID.
	RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"`
}

type GetNoteRequest

type GetNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get a note.

func (*GetNoteRequest) Descriptor deprecated

func (*GetNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNoteRequest.ProtoReflect.Descriptor instead.

func (*GetNoteRequest) GetName

func (x *GetNoteRequest) GetName() string

func (*GetNoteRequest) ProtoMessage

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) ProtoReflect

func (x *GetNoteRequest) ProtoReflect() protoreflect.Message

func (*GetNoteRequest) Reset

func (x *GetNoteRequest) Reset()

func (*GetNoteRequest) String

func (x *GetNoteRequest) String() string

type GetOccurrenceNoteRequest

type GetOccurrenceNoteRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get the note to which the specified occurrence is attached.

func (*GetOccurrenceNoteRequest) Descriptor deprecated

func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOccurrenceNoteRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceNoteRequest) GetName

func (x *GetOccurrenceNoteRequest) GetName() string

func (*GetOccurrenceNoteRequest) ProtoMessage

func (*GetOccurrenceNoteRequest) ProtoMessage()

func (*GetOccurrenceNoteRequest) ProtoReflect

func (x *GetOccurrenceNoteRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceNoteRequest) Reset

func (x *GetOccurrenceNoteRequest) Reset()

func (*GetOccurrenceNoteRequest) String

func (x *GetOccurrenceNoteRequest) String() string

type GetOccurrenceRequest

type GetOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get an occurrence.

func (*GetOccurrenceRequest) Descriptor deprecated

func (*GetOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceRequest) GetName

func (x *GetOccurrenceRequest) GetName() string

func (*GetOccurrenceRequest) ProtoMessage

func (*GetOccurrenceRequest) ProtoMessage()

func (*GetOccurrenceRequest) ProtoReflect

func (x *GetOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceRequest) Reset

func (x *GetOccurrenceRequest) Reset()

func (*GetOccurrenceRequest) String

func (x *GetOccurrenceRequest) String() string

type GitSourceContext

type GitSourceContext struct {

	// Git repository URL.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Git commit hash.
	RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).

func (*GitSourceContext) Descriptor deprecated

func (*GitSourceContext) Descriptor() ([]byte, []int)

Deprecated: Use GitSourceContext.ProtoReflect.Descriptor instead.

func (*GitSourceContext) GetRevisionId

func (x *GitSourceContext) GetRevisionId() string

func (*GitSourceContext) GetUrl

func (x *GitSourceContext) GetUrl() string

func (*GitSourceContext) ProtoMessage

func (*GitSourceContext) ProtoMessage()

func (*GitSourceContext) ProtoReflect

func (x *GitSourceContext) ProtoReflect() protoreflect.Message

func (*GitSourceContext) Reset

func (x *GitSourceContext) Reset()

func (*GitSourceContext) String

func (x *GitSourceContext) String() string

type GrafeasClient

type GrafeasClient interface {
	// Gets the specified occurrence.
	GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Lists occurrences for the specified project.
	ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
	// Deletes the specified occurrence. For example, use this method to delete an
	// occurrence when the occurrence is no longer applicable for the given
	// resource.
	DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new occurrence.
	CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Creates new occurrences in batch.
	BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error)
	// Updates the specified occurrence.
	UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Gets the note attached to the specified occurrence. Consumer projects can
	// use this method to get a note that belongs to a provider project.
	GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Gets the specified note.
	GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists notes for the specified project.
	ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
	// Deletes the specified note.
	DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new note.
	CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Creates new notes in batch.
	BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error)
	// Updates the specified note.
	UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists occurrences referencing the specified note. Provider projects can use
	// this method to get all occurrences across consumer projects referencing the
	// specified note.
	ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
}

GrafeasClient is the client API for Grafeas service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGrafeasClient

func NewGrafeasClient(cc grpc.ClientConnInterface) GrafeasClient

type GrafeasServer

type GrafeasServer interface {
	// Gets the specified occurrence.
	GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
	// Lists occurrences for the specified project.
	ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
	// Deletes the specified occurrence. For example, use this method to delete an
	// occurrence when the occurrence is no longer applicable for the given
	// resource.
	DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error)
	// Creates a new occurrence.
	CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
	// Creates new occurrences in batch.
	BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)
	// Updates the specified occurrence.
	UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
	// Gets the note attached to the specified occurrence. Consumer projects can
	// use this method to get a note that belongs to a provider project.
	GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
	// Gets the specified note.
	GetNote(context.Context, *GetNoteRequest) (*Note, error)
	// Lists notes for the specified project.
	ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
	// Deletes the specified note.
	DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error)
	// Creates a new note.
	CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
	// Creates new notes in batch.
	BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)
	// Updates the specified note.
	UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
	// Lists occurrences referencing the specified note. Provider projects can use
	// this method to get all occurrences across consumer projects referencing the
	// specified note.
	ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
}

GrafeasServer is the server API for Grafeas service.

type Hash

type Hash struct {

	// Required. The type of hash that was performed, e.g. "SHA-256".
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Required. The hash value.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Container message for hash values.

func (*Hash) Descriptor deprecated

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetType

func (x *Hash) GetType() string

func (*Hash) GetValue

func (x *Hash) GetValue() []byte

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

func (x *Hash) ProtoReflect() protoreflect.Message

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type ImageNote

type ImageNote struct {

	// Required. Immutable. The resource_url for the resource representing the
	// basis of associated occurrence images.
	ResourceUrl string `protobuf:"bytes,1,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
	// Required. Immutable. The fingerprint of the base image.
	Fingerprint *Fingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via:

FROM <Basis.resource_url>

Or an equivalent reference, e.g., a tag of the resource_url.

func (*ImageNote) Descriptor deprecated

func (*ImageNote) Descriptor() ([]byte, []int)

Deprecated: Use ImageNote.ProtoReflect.Descriptor instead.

func (*ImageNote) GetFingerprint

func (x *ImageNote) GetFingerprint() *Fingerprint

func (*ImageNote) GetResourceUrl

func (x *ImageNote) GetResourceUrl() string

func (*ImageNote) ProtoMessage

func (*ImageNote) ProtoMessage()

func (*ImageNote) ProtoReflect

func (x *ImageNote) ProtoReflect() protoreflect.Message

func (*ImageNote) Reset

func (x *ImageNote) Reset()

func (*ImageNote) String

func (x *ImageNote) String() string

type ImageOccurrence

type ImageOccurrence struct {

	// Required. The fingerprint of the derived image.
	Fingerprint *Fingerprint `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// Output only. The number of layers by which this image differs from the
	// associated image basis.
	Distance int32 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"`
	// This contains layer-specific metadata, if populated it has length
	// "distance" and is ordered with [distance] being the layer immediately
	// following the base image and [1] being the final layer.
	LayerInfo []*Layer `protobuf:"bytes,3,rep,name=layer_info,json=layerInfo,proto3" json:"layer_info,omitempty"`
	// Output only. This contains the base image URL for the derived image
	// occurrence.
	BaseResourceUrl string `protobuf:"bytes,4,opt,name=base_resource_url,json=baseResourceUrl,proto3" json:"base_resource_url,omitempty"`
	// contains filtered or unexported fields
}

Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

func (*ImageOccurrence) Descriptor deprecated

func (*ImageOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use ImageOccurrence.ProtoReflect.Descriptor instead.

func (*ImageOccurrence) GetBaseResourceUrl

func (x *ImageOccurrence) GetBaseResourceUrl() string

func (*ImageOccurrence) GetDistance

func (x *ImageOccurrence) GetDistance() int32

func (*ImageOccurrence) GetFingerprint

func (x *ImageOccurrence) GetFingerprint() *Fingerprint

func (*ImageOccurrence) GetLayerInfo

func (x *ImageOccurrence) GetLayerInfo() []*Layer

func (*ImageOccurrence) ProtoMessage

func (*ImageOccurrence) ProtoMessage()

func (*ImageOccurrence) ProtoReflect

func (x *ImageOccurrence) ProtoReflect() protoreflect.Message

func (*ImageOccurrence) Reset

func (x *ImageOccurrence) Reset()

func (*ImageOccurrence) String

func (x *ImageOccurrence) String() string

type InTotoProvenance

type InTotoProvenance struct {
	BuilderConfig *BuilderConfig `protobuf:"bytes,1,opt,name=builder_config,json=builderConfig,proto3" json:"builder_config,omitempty"` // required
	// Identifies the configuration used for the build.
	// When combined with materials, this SHOULD fully describe the build,
	// such that re-running this recipe results in bit-for-bit identical output
	// (if the build is reproducible).
	Recipe   *Recipe   `protobuf:"bytes,2,opt,name=recipe,proto3" json:"recipe,omitempty"` // required
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The collection of artifacts that influenced the build including sources,
	// dependencies, build tools, base images, and so on. This is considered to be
	// incomplete unless metadata.completeness.materials is true. Unset or null is
	// equivalent to empty.
	Materials []string `protobuf:"bytes,4,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoProvenance) Descriptor deprecated

func (*InTotoProvenance) Descriptor() ([]byte, []int)

Deprecated: Use InTotoProvenance.ProtoReflect.Descriptor instead.

func (*InTotoProvenance) GetBuilderConfig

func (x *InTotoProvenance) GetBuilderConfig() *BuilderConfig

func (*InTotoProvenance) GetMaterials

func (x *InTotoProvenance) GetMaterials() []string

func (*InTotoProvenance) GetMetadata

func (x *InTotoProvenance) GetMetadata() *Metadata

func (*InTotoProvenance) GetRecipe

func (x *InTotoProvenance) GetRecipe() *Recipe

func (*InTotoProvenance) ProtoMessage

func (*InTotoProvenance) ProtoMessage()

func (*InTotoProvenance) ProtoReflect

func (x *InTotoProvenance) ProtoReflect() protoreflect.Message

func (*InTotoProvenance) Reset

func (x *InTotoProvenance) Reset()

func (*InTotoProvenance) String

func (x *InTotoProvenance) String() string

type InTotoSlsaProvenanceV1

type InTotoSlsaProvenanceV1 struct {

	// InToto spec defined at
	// https://github.com/in-toto/attestation/tree/main/spec#statement
	Type          string                                   `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
	Subject       []*Subject                               `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"`
	PredicateType string                                   `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
	Predicate     *InTotoSlsaProvenanceV1_SlsaProvenanceV1 `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1) Descriptor deprecated

func (*InTotoSlsaProvenanceV1) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1) GetPredicate

func (*InTotoSlsaProvenanceV1) GetPredicateType

func (x *InTotoSlsaProvenanceV1) GetPredicateType() string

func (*InTotoSlsaProvenanceV1) GetSubject

func (x *InTotoSlsaProvenanceV1) GetSubject() []*Subject

func (*InTotoSlsaProvenanceV1) GetType

func (x *InTotoSlsaProvenanceV1) GetType() string

func (*InTotoSlsaProvenanceV1) ProtoMessage

func (*InTotoSlsaProvenanceV1) ProtoMessage()

func (*InTotoSlsaProvenanceV1) ProtoReflect

func (x *InTotoSlsaProvenanceV1) ProtoReflect() protoreflect.Message

func (*InTotoSlsaProvenanceV1) Reset

func (x *InTotoSlsaProvenanceV1) Reset()

func (*InTotoSlsaProvenanceV1) String

func (x *InTotoSlsaProvenanceV1) String() string

type InTotoSlsaProvenanceV1_BuildDefinition

type InTotoSlsaProvenanceV1_BuildDefinition struct {
	BuildType            string                                       `protobuf:"bytes,1,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"`
	ExternalParameters   *structpb.Struct                             `protobuf:"bytes,2,opt,name=external_parameters,json=externalParameters,proto3" json:"external_parameters,omitempty"`
	InternalParameters   *structpb.Struct                             `protobuf:"bytes,3,opt,name=internal_parameters,json=internalParameters,proto3" json:"internal_parameters,omitempty"`
	ResolvedDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,4,rep,name=resolved_dependencies,json=resolvedDependencies,proto3" json:"resolved_dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_BuildDefinition.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_BuildDefinition) GetBuildType

func (*InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters

func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters() *structpb.Struct

func (*InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters

func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters() *structpb.Struct

func (*InTotoSlsaProvenanceV1_BuildDefinition) GetResolvedDependencies

func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoMessage

func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoReflect

func (*InTotoSlsaProvenanceV1_BuildDefinition) Reset

func (*InTotoSlsaProvenanceV1_BuildDefinition) String

type InTotoSlsaProvenanceV1_BuildMetadata

type InTotoSlsaProvenanceV1_BuildMetadata struct {
	InvocationId string                 `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
	StartedOn    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"`
	FinishedOn   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finished_on,json=finishedOn,proto3" json:"finished_on,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_BuildMetadata.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_BuildMetadata) GetFinishedOn

func (*InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId

func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId() string

func (*InTotoSlsaProvenanceV1_BuildMetadata) GetStartedOn

func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage

func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage()

func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoReflect

func (*InTotoSlsaProvenanceV1_BuildMetadata) Reset

func (*InTotoSlsaProvenanceV1_BuildMetadata) String

type InTotoSlsaProvenanceV1_ProvenanceBuilder

type InTotoSlsaProvenanceV1_ProvenanceBuilder struct {
	Id                  string                                       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version             map[string]string                            `` /* 155-byte string literal not displayed */
	BuilderDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=builder_dependencies,json=builderDependencies,proto3" json:"builder_dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_ProvenanceBuilder.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetBuilderDependencies

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetId

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetVersion

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoMessage

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoReflect

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Reset

func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) String

type InTotoSlsaProvenanceV1_ResourceDescriptor

type InTotoSlsaProvenanceV1_ResourceDescriptor struct {
	Name             string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uri              string                     `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest           map[string]string          `` /* 153-byte string literal not displayed */
	Content          []byte                     `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	DownloadLocation string                     `protobuf:"bytes,5,opt,name=download_location,json=downloadLocation,proto3" json:"download_location,omitempty"`
	MediaType        string                     `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	Annotations      map[string]*structpb.Value `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_ResourceDescriptor.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetAnnotations

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetContent

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetDigest

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation

func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation() string

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetMediaType

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetName

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetUri

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoMessage

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoReflect

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Reset

func (*InTotoSlsaProvenanceV1_ResourceDescriptor) String

type InTotoSlsaProvenanceV1_RunDetails

type InTotoSlsaProvenanceV1_RunDetails struct {
	Builder    *InTotoSlsaProvenanceV1_ProvenanceBuilder    `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"`
	Metadata   *InTotoSlsaProvenanceV1_BuildMetadata        `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Byproducts []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=byproducts,proto3" json:"byproducts,omitempty"`
	// contains filtered or unexported fields
}

func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_RunDetails.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_RunDetails) GetBuilder

func (*InTotoSlsaProvenanceV1_RunDetails) GetByproducts

func (*InTotoSlsaProvenanceV1_RunDetails) GetMetadata

func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage

func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage()

func (*InTotoSlsaProvenanceV1_RunDetails) ProtoReflect

func (*InTotoSlsaProvenanceV1_RunDetails) Reset

func (*InTotoSlsaProvenanceV1_RunDetails) String

type InTotoSlsaProvenanceV1_SlsaProvenanceV1

type InTotoSlsaProvenanceV1_SlsaProvenanceV1 struct {
	BuildDefinition *InTotoSlsaProvenanceV1_BuildDefinition `protobuf:"bytes,1,opt,name=build_definition,json=buildDefinition,proto3" json:"build_definition,omitempty"`
	RunDetails      *InTotoSlsaProvenanceV1_RunDetails      `protobuf:"bytes,2,opt,name=run_details,json=runDetails,proto3" json:"run_details,omitempty"`
	// contains filtered or unexported fields
}

Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor deprecated

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor() ([]byte, []int)

Deprecated: Use InTotoSlsaProvenanceV1_SlsaProvenanceV1.ProtoReflect.Descriptor instead.

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetBuildDefinition

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetRunDetails

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoMessage

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoReflect

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Reset

func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) String

type InTotoStatement

type InTotoStatement struct {

	// Always `https://in-toto.io/Statement/v0.1`.
	Type    string     `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
	Subject []*Subject `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"`
	// `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
	PredicateType string `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
	// Types that are assignable to Predicate:
	//
	//	*InTotoStatement_Provenance
	//	*InTotoStatement_SlsaProvenance
	//	*InTotoStatement_SlsaProvenanceZeroTwo
	Predicate isInTotoStatement_Predicate `protobuf_oneof:"predicate"`
	// contains filtered or unexported fields
}

Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json".

func (*InTotoStatement) Descriptor deprecated

func (*InTotoStatement) Descriptor() ([]byte, []int)

Deprecated: Use InTotoStatement.ProtoReflect.Descriptor instead.

func (*InTotoStatement) GetPredicate

func (m *InTotoStatement) GetPredicate() isInTotoStatement_Predicate

func (*InTotoStatement) GetPredicateType

func (x *InTotoStatement) GetPredicateType() string

func (*InTotoStatement) GetProvenance

func (x *InTotoStatement) GetProvenance() *InTotoProvenance

func (*InTotoStatement) GetSlsaProvenance

func (x *InTotoStatement) GetSlsaProvenance() *SlsaProvenance

func (*InTotoStatement) GetSlsaProvenanceZeroTwo

func (x *InTotoStatement) GetSlsaProvenanceZeroTwo() *SlsaProvenanceZeroTwo

func (*InTotoStatement) GetSubject

func (x *InTotoStatement) GetSubject() []*Subject

func (*InTotoStatement) GetType

func (x *InTotoStatement) GetType() string

func (*InTotoStatement) ProtoMessage

func (*InTotoStatement) ProtoMessage()

func (*InTotoStatement) ProtoReflect

func (x *InTotoStatement) ProtoReflect() protoreflect.Message

func (*InTotoStatement) Reset

func (x *InTotoStatement) Reset()

func (*InTotoStatement) String

func (x *InTotoStatement) String() string

type InTotoStatement_Provenance

type InTotoStatement_Provenance struct {
	Provenance *InTotoProvenance `protobuf:"bytes,4,opt,name=provenance,proto3,oneof"`
}

type InTotoStatement_SlsaProvenance

type InTotoStatement_SlsaProvenance struct {
	SlsaProvenance *SlsaProvenance `protobuf:"bytes,5,opt,name=slsa_provenance,json=slsaProvenance,proto3,oneof"`
}

type InTotoStatement_SlsaProvenanceZeroTwo

type InTotoStatement_SlsaProvenanceZeroTwo struct {
	SlsaProvenanceZeroTwo *SlsaProvenanceZeroTwo `protobuf:"bytes,6,opt,name=slsa_provenance_zero_two,json=slsaProvenanceZeroTwo,proto3,oneof"`
}

type Jwt

type Jwt struct {

	// The compact encoding of a JWS, which is always three base64 encoded strings
	// joined by periods. For details, see:
	// https://tools.ietf.org/html/rfc7515.html#section-3.1
	CompactJwt string `protobuf:"bytes,1,opt,name=compact_jwt,json=compactJwt,proto3" json:"compact_jwt,omitempty"`
	// contains filtered or unexported fields
}

func (*Jwt) Descriptor deprecated

func (*Jwt) Descriptor() ([]byte, []int)

Deprecated: Use Jwt.ProtoReflect.Descriptor instead.

func (*Jwt) GetCompactJwt

func (x *Jwt) GetCompactJwt() string

func (*Jwt) ProtoMessage

func (*Jwt) ProtoMessage()

func (*Jwt) ProtoReflect

func (x *Jwt) ProtoReflect() protoreflect.Message

func (*Jwt) Reset

func (x *Jwt) Reset()

func (*Jwt) String

func (x *Jwt) String() string

type Layer

type Layer struct {

	// Required. The recovered Dockerfile directive used to construct this layer.
	// See https://docs.docker.com/engine/reference/builder/ for more information.
	Directive string `protobuf:"bytes,1,opt,name=directive,proto3" json:"directive,omitempty"`
	// The recovered arguments to the Dockerfile directive.
	Arguments string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

Layer holds metadata specific to a layer of a Docker image.

func (*Layer) Descriptor deprecated

func (*Layer) Descriptor() ([]byte, []int)

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetArguments

func (x *Layer) GetArguments() string

func (*Layer) GetDirective

func (x *Layer) GetDirective() string

func (*Layer) ProtoMessage

func (*Layer) ProtoMessage()

func (*Layer) ProtoReflect

func (x *Layer) ProtoReflect() protoreflect.Message

func (*Layer) Reset

func (x *Layer) Reset()

func (*Layer) String

func (x *Layer) String() string

type License

type License struct {

	// Often a single license can be used to represent the licensing terms.
	// Sometimes it is necessary to include a choice of one or more licenses
	// or some combination of license identifiers.
	// Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
	// "GPL-2.0-or-later WITH Bison-exception-2.2".
	Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
	// Comments
	Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"`
	// contains filtered or unexported fields
}

License information.

func (*License) Descriptor deprecated

func (*License) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetComments

func (x *License) GetComments() string

func (*License) GetExpression

func (x *License) GetExpression() string

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

func (x *License) ProtoReflect() protoreflect.Message

func (*License) Reset

func (x *License) Reset()

func (*License) String

func (x *License) String() string

type ListNoteOccurrencesRequest

type ListNoteOccurrencesRequest struct {

	// The name of the note to list occurrences for in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of occurrences to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list occurrences for a note.

func (*ListNoteOccurrencesRequest) Descriptor deprecated

func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNoteOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesRequest) GetFilter

func (x *ListNoteOccurrencesRequest) GetFilter() string

func (*ListNoteOccurrencesRequest) GetName

func (x *ListNoteOccurrencesRequest) GetName() string

func (*ListNoteOccurrencesRequest) GetPageSize

func (x *ListNoteOccurrencesRequest) GetPageSize() int32

func (*ListNoteOccurrencesRequest) GetPageToken

func (x *ListNoteOccurrencesRequest) GetPageToken() string

func (*ListNoteOccurrencesRequest) ProtoMessage

func (*ListNoteOccurrencesRequest) ProtoMessage()

func (*ListNoteOccurrencesRequest) ProtoReflect

func (*ListNoteOccurrencesRequest) Reset

func (x *ListNoteOccurrencesRequest) Reset()

func (*ListNoteOccurrencesRequest) String

func (x *ListNoteOccurrencesRequest) String() string

type ListNoteOccurrencesResponse

type ListNoteOccurrencesResponse struct {

	// The occurrences attached to the specified note.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing occurrences for a note.

func (*ListNoteOccurrencesResponse) Descriptor deprecated

func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNoteOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesResponse) GetNextPageToken

func (x *ListNoteOccurrencesResponse) GetNextPageToken() string

func (*ListNoteOccurrencesResponse) GetOccurrences

func (x *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence

func (*ListNoteOccurrencesResponse) ProtoMessage

func (*ListNoteOccurrencesResponse) ProtoMessage()

func (*ListNoteOccurrencesResponse) ProtoReflect

func (*ListNoteOccurrencesResponse) Reset

func (x *ListNoteOccurrencesResponse) Reset()

func (*ListNoteOccurrencesResponse) String

func (x *ListNoteOccurrencesResponse) String() string

type ListNotesRequest

type ListNotesRequest struct {

	// The name of the project to list notes for in the form of
	// `projects/[PROJECT_ID]`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of notes to return in the list. Must be positive. Max allowed page
	// size is 1000. If not specified, page size defaults to 20.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list notes.

func (*ListNotesRequest) Descriptor deprecated

func (*ListNotesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.

func (*ListNotesRequest) GetFilter

func (x *ListNotesRequest) GetFilter() string

func (*ListNotesRequest) GetPageSize

func (x *ListNotesRequest) GetPageSize() int32

func (*ListNotesRequest) GetPageToken

func (x *ListNotesRequest) GetPageToken() string

func (*ListNotesRequest) GetParent

func (x *ListNotesRequest) GetParent() string

func (*ListNotesRequest) ProtoMessage

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) ProtoReflect

func (x *ListNotesRequest) ProtoReflect() protoreflect.Message

func (*ListNotesRequest) Reset

func (x *ListNotesRequest) Reset()

func (*ListNotesRequest) String

func (x *ListNotesRequest) String() string

type ListNotesResponse

type ListNotesResponse struct {

	// The notes requested.
	Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
	// The next pagination token in the list response. It should be used as
	// `page_token` for the following request. An empty value means no more
	// results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing notes.

func (*ListNotesResponse) Descriptor deprecated

func (*ListNotesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.

func (*ListNotesResponse) GetNextPageToken

func (x *ListNotesResponse) GetNextPageToken() string

func (*ListNotesResponse) GetNotes

func (x *ListNotesResponse) GetNotes() []*Note

func (*ListNotesResponse) ProtoMessage

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) ProtoReflect

func (x *ListNotesResponse) ProtoReflect() protoreflect.Message

func (*ListNotesResponse) Reset

func (x *ListNotesResponse) Reset()

func (*ListNotesResponse) String

func (x *ListNotesResponse) String() string

type ListOccurrencesRequest

type ListOccurrencesRequest struct {

	// The name of the project to list occurrences for in the form of
	// `projects/[PROJECT_ID]`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of occurrences to return in the list. Must be positive. Max allowed
	// page size is 1000. If not specified, page size defaults to 20.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list occurrences.

func (*ListOccurrencesRequest) Descriptor deprecated

func (*ListOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListOccurrencesRequest) GetFilter

func (x *ListOccurrencesRequest) GetFilter() string

func (*ListOccurrencesRequest) GetPageSize

func (x *ListOccurrencesRequest) GetPageSize() int32

func (*ListOccurrencesRequest) GetPageToken

func (x *ListOccurrencesRequest) GetPageToken() string

func (*ListOccurrencesRequest) GetParent

func (x *ListOccurrencesRequest) GetParent() string

func (*ListOccurrencesRequest) ProtoMessage

func (*ListOccurrencesRequest) ProtoMessage()

func (*ListOccurrencesRequest) ProtoReflect

func (x *ListOccurrencesRequest) ProtoReflect() protoreflect.Message

func (*ListOccurrencesRequest) Reset

func (x *ListOccurrencesRequest) Reset()

func (*ListOccurrencesRequest) String

func (x *ListOccurrencesRequest) String() string

type ListOccurrencesResponse

type ListOccurrencesResponse struct {

	// The occurrences requested.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// The next pagination token in the list response. It should be used as
	// `page_token` for the following request. An empty value means no more
	// results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing occurrences.

func (*ListOccurrencesResponse) Descriptor deprecated

func (*ListOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListOccurrencesResponse) GetNextPageToken

func (x *ListOccurrencesResponse) GetNextPageToken() string

func (*ListOccurrencesResponse) GetOccurrences

func (x *ListOccurrencesResponse) GetOccurrences() []*Occurrence

func (*ListOccurrencesResponse) ProtoMessage

func (*ListOccurrencesResponse) ProtoMessage()

func (*ListOccurrencesResponse) ProtoReflect

func (x *ListOccurrencesResponse) ProtoReflect() protoreflect.Message

func (*ListOccurrencesResponse) Reset

func (x *ListOccurrencesResponse) Reset()

func (*ListOccurrencesResponse) String

func (x *ListOccurrencesResponse) String() string

type Location

type Location struct {

	// Deprecated.
	// The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// Deprecated.
	// The version installed at this location.
	Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The path from which we gathered that this package/version is installed.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetCpeUri

func (x *Location) GetCpeUri() string

func (*Location) GetPath

func (x *Location) GetPath() string

func (*Location) GetVersion

func (x *Location) GetVersion() *Version

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type Metadata

type Metadata struct {

	// Identifies the particular build invocation, which can be useful for finding
	// associated logs or other ad-hoc analysis. The value SHOULD be globally
	// unique, per in-toto Provenance spec.
	BuildInvocationId string `protobuf:"bytes,1,opt,name=build_invocation_id,json=buildInvocationId,proto3" json:"build_invocation_id,omitempty"`
	// The timestamp of when the build started.
	BuildStartedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_started_on,json=buildStartedOn,proto3" json:"build_started_on,omitempty"`
	// The timestamp of when the build completed.
	BuildFinishedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=build_finished_on,json=buildFinishedOn,proto3" json:"build_finished_on,omitempty"`
	// Indicates that the builder claims certain fields in this message to be
	// complete.
	Completeness *Completeness `protobuf:"bytes,4,opt,name=completeness,proto3" json:"completeness,omitempty"`
	// If true, the builder claims that running the recipe on materials will
	// produce bit-for-bit identical output.
	Reproducible bool `protobuf:"varint,5,opt,name=reproducible,proto3" json:"reproducible,omitempty"`
	// contains filtered or unexported fields
}

Other properties of the build.

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBuildFinishedOn

func (x *Metadata) GetBuildFinishedOn() *timestamppb.Timestamp

func (*Metadata) GetBuildInvocationId

func (x *Metadata) GetBuildInvocationId() string

func (*Metadata) GetBuildStartedOn

func (x *Metadata) GetBuildStartedOn() *timestamppb.Timestamp

func (*Metadata) GetCompleteness

func (x *Metadata) GetCompleteness() *Completeness

func (*Metadata) GetReproducible

func (x *Metadata) GetReproducible() bool

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type NonCompliantFile

type NonCompliantFile struct {

	// Empty if `display_command` is set.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Command to display the non-compliant files.
	DisplayCommand string `protobuf:"bytes,2,opt,name=display_command,json=displayCommand,proto3" json:"display_command,omitempty"`
	// Explains why a file is non compliant for a CIS check.
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

Details about files that caused a compliance check to fail.

func (*NonCompliantFile) Descriptor deprecated

func (*NonCompliantFile) Descriptor() ([]byte, []int)

Deprecated: Use NonCompliantFile.ProtoReflect.Descriptor instead.

func (*NonCompliantFile) GetDisplayCommand

func (x *NonCompliantFile) GetDisplayCommand() string

func (*NonCompliantFile) GetPath

func (x *NonCompliantFile) GetPath() string

func (*NonCompliantFile) GetReason

func (x *NonCompliantFile) GetReason() string

func (*NonCompliantFile) ProtoMessage

func (*NonCompliantFile) ProtoMessage()

func (*NonCompliantFile) ProtoReflect

func (x *NonCompliantFile) ProtoReflect() protoreflect.Message

func (*NonCompliantFile) Reset

func (x *NonCompliantFile) Reset()

func (*NonCompliantFile) String

func (x *NonCompliantFile) String() string

type Note

type Note struct {

	// Output only. The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A one sentence description of this note.
	ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// A detailed description of this note.
	LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Output only. The type of analysis. This field can be used as a filter in
	// list requests.
	Kind NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.NoteKind" json:"kind,omitempty"`
	// URLs associated with this note.
	RelatedUrl []*RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
	// Time of expiration for this note. Empty if note does not expire.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Output only. The time this note was created. This field can be used as a
	// filter in list requests.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this note was last updated. This field can be used as
	// a filter in list requests.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Other notes related to this note.
	RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"`
	// Required. Immutable. The type of analysis this note represents.
	//
	// Types that are assignable to Type:
	//
	//	*Note_Vulnerability
	//	*Note_Build
	//	*Note_Image
	//	*Note_Package
	//	*Note_Deployment
	//	*Note_Discovery
	//	*Note_Attestation
	//	*Note_Upgrade
	//	*Note_Compliance
	//	*Note_DsseAttestation
	//	*Note_VulnerabilityAssessment
	//	*Note_SbomReference
	Type isNote_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

A type of analysis that can be done for a resource.

func (*Note) Descriptor deprecated

func (*Note) Descriptor() ([]byte, []int)

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetAttestation

func (x *Note) GetAttestation() *AttestationNote

func (*Note) GetBuild

func (x *Note) GetBuild() *BuildNote

func (*Note) GetCompliance

func (x *Note) GetCompliance() *ComplianceNote

func (*Note) GetCreateTime

func (x *Note) GetCreateTime() *timestamppb.Timestamp

func (*Note) GetDeployment

func (x *Note) GetDeployment() *DeploymentNote

func (*Note) GetDiscovery

func (x *Note) GetDiscovery() *DiscoveryNote

func (*Note) GetDsseAttestation

func (x *Note) GetDsseAttestation() *DSSEAttestationNote

func (*Note) GetExpirationTime

func (x *Note) GetExpirationTime() *timestamppb.Timestamp

func (*Note) GetImage

func (x *Note) GetImage() *ImageNote

func (*Note) GetKind

func (x *Note) GetKind() NoteKind

func (*Note) GetLongDescription

func (x *Note) GetLongDescription() string

func (*Note) GetName

func (x *Note) GetName() string

func (*Note) GetPackage

func (x *Note) GetPackage() *PackageNote

func (*Note) GetRelatedNoteNames

func (x *Note) GetRelatedNoteNames() []string

func (*Note) GetRelatedUrl

func (x *Note) GetRelatedUrl() []*RelatedUrl

func (*Note) GetSbomReference

func (x *Note) GetSbomReference() *SBOMReferenceNote

func (*Note) GetShortDescription

func (x *Note) GetShortDescription() string

func (*Note) GetType

func (m *Note) GetType() isNote_Type

func (*Note) GetUpdateTime

func (x *Note) GetUpdateTime() *timestamppb.Timestamp

func (*Note) GetUpgrade

func (x *Note) GetUpgrade() *UpgradeNote

func (*Note) GetVulnerability

func (x *Note) GetVulnerability() *VulnerabilityNote

func (*Note) GetVulnerabilityAssessment

func (x *Note) GetVulnerabilityAssessment() *VulnerabilityAssessmentNote

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

func (x *Note) ProtoReflect() protoreflect.Message

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

type NoteKind

type NoteKind int32

Kind represents the kinds of notes supported.

const (
	// Default value. This value is unused.
	NoteKind_NOTE_KIND_UNSPECIFIED NoteKind = 0
	// The note and occurrence represent a package vulnerability.
	NoteKind_VULNERABILITY NoteKind = 1
	// The note and occurrence assert build provenance.
	NoteKind_BUILD NoteKind = 2
	// This represents an image basis relationship.
	NoteKind_IMAGE NoteKind = 3
	// This represents a package installed via a package manager.
	NoteKind_PACKAGE NoteKind = 4
	// The note and occurrence track deployment events.
	NoteKind_DEPLOYMENT NoteKind = 5
	// The note and occurrence track the initial discovery status of a resource.
	NoteKind_DISCOVERY NoteKind = 6
	// This represents a logical "role" that can attest to artifacts.
	NoteKind_ATTESTATION NoteKind = 7
	// This represents an available package upgrade.
	NoteKind_UPGRADE NoteKind = 8
	// This represents a Compliance Note
	NoteKind_COMPLIANCE NoteKind = 9
	// This represents a DSSE attestation Note
	NoteKind_DSSE_ATTESTATION NoteKind = 10
	// This represents a Vulnerability Assessment.
	NoteKind_VULNERABILITY_ASSESSMENT NoteKind = 11
	// This represents an SBOM Reference.
	NoteKind_SBOM_REFERENCE NoteKind = 12
)

func (NoteKind) Descriptor

func (NoteKind) Descriptor() protoreflect.EnumDescriptor

func (NoteKind) Enum

func (x NoteKind) Enum() *NoteKind

func (NoteKind) EnumDescriptor deprecated

func (NoteKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use NoteKind.Descriptor instead.

func (NoteKind) Number

func (x NoteKind) Number() protoreflect.EnumNumber

func (NoteKind) String

func (x NoteKind) String() string

func (NoteKind) Type

type Note_Attestation

type Note_Attestation struct {
	// A note describing an attestation role.
	Attestation *AttestationNote `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"`
}

type Note_Build

type Note_Build struct {
	// A note describing build provenance for a verifiable build.
	Build *BuildNote `protobuf:"bytes,11,opt,name=build,proto3,oneof"`
}

type Note_Compliance

type Note_Compliance struct {
	// A note describing a compliance check.
	Compliance *ComplianceNote `protobuf:"bytes,18,opt,name=compliance,proto3,oneof"`
}

type Note_Deployment

type Note_Deployment struct {
	// A note describing something that can be deployed.
	Deployment *DeploymentNote `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"`
}

type Note_Discovery

type Note_Discovery struct {
	// A note describing the initial analysis of a resource.
	Discovery *DiscoveryNote `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"`
}

type Note_DsseAttestation

type Note_DsseAttestation struct {
	// A note describing a dsse attestation note.
	DsseAttestation *DSSEAttestationNote `protobuf:"bytes,19,opt,name=dsse_attestation,json=dsseAttestation,proto3,oneof"`
}

type Note_Image

type Note_Image struct {
	// A note describing a base image.
	Image *ImageNote `protobuf:"bytes,12,opt,name=image,proto3,oneof"`
}

type Note_Package

type Note_Package struct {
	// A note describing a package hosted by various package managers.
	Package *PackageNote `protobuf:"bytes,13,opt,name=package,proto3,oneof"`
}

type Note_SbomReference

type Note_SbomReference struct {
	// A note describing an SBOM reference.
	SbomReference *SBOMReferenceNote `protobuf:"bytes,21,opt,name=sbom_reference,json=sbomReference,proto3,oneof"`
}

type Note_Upgrade

type Note_Upgrade struct {
	// A note describing available package upgrades.
	Upgrade *UpgradeNote `protobuf:"bytes,17,opt,name=upgrade,proto3,oneof"`
}

type Note_Vulnerability

type Note_Vulnerability struct {
	// A note describing a package vulnerability.
	Vulnerability *VulnerabilityNote `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"`
}

type Note_VulnerabilityAssessment

type Note_VulnerabilityAssessment struct {
	// A note describing a vulnerability assessment.
	VulnerabilityAssessment *VulnerabilityAssessmentNote `protobuf:"bytes,20,opt,name=vulnerability_assessment,json=vulnerabilityAssessment,proto3,oneof"`
}

type Occurrence

type Occurrence struct {

	// Output only. The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. A URI that represents the resource for which the
	// occurrence applies. For example,
	// `https://gcr.io/project/image@sha256:123abc` for a Docker image.
	ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// Required. Immutable. The analysis note associated with this occurrence, in
	// the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
	// used as a filter in list requests.
	NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"`
	// Output only. This explicitly denotes which of the occurrence details are
	// specified. This field can be used as a filter in list requests.
	Kind NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.NoteKind" json:"kind,omitempty"`
	// A description of actions that can be taken to remedy the note.
	Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
	// Output only. The time this occurrence was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this occurrence was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. Immutable. Describes the details of the note kind found on this
	// resource.
	//
	// Types that are assignable to Details:
	//
	//	*Occurrence_Vulnerability
	//	*Occurrence_Build
	//	*Occurrence_Image
	//	*Occurrence_Package
	//	*Occurrence_Deployment
	//	*Occurrence_Discovery
	//	*Occurrence_Attestation
	//	*Occurrence_Upgrade
	//	*Occurrence_Compliance
	//	*Occurrence_DsseAttestation
	//	*Occurrence_SbomReference
	Details isOccurrence_Details `protobuf_oneof:"details"`
	// https://github.com/secure-systems-lab/dsse
	Envelope *Envelope `protobuf:"bytes,18,opt,name=envelope,proto3" json:"envelope,omitempty"`
	// contains filtered or unexported fields
}

An instance of an analysis type that has been found on a resource.

func (*Occurrence) Descriptor deprecated

func (*Occurrence) Descriptor() ([]byte, []int)

Deprecated: Use Occurrence.ProtoReflect.Descriptor instead.

func (*Occurrence) GetAttestation

func (x *Occurrence) GetAttestation() *AttestationOccurrence

func (*Occurrence) GetBuild

func (x *Occurrence) GetBuild() *BuildOccurrence

func (*Occurrence) GetCompliance

func (x *Occurrence) GetCompliance() *ComplianceOccurrence

func (*Occurrence) GetCreateTime

func (x *Occurrence) GetCreateTime() *timestamppb.Timestamp

func (*Occurrence) GetDeployment

func (x *Occurrence) GetDeployment() *DeploymentOccurrence

func (*Occurrence) GetDetails

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovery

func (x *Occurrence) GetDiscovery() *DiscoveryOccurrence

func (*Occurrence) GetDsseAttestation

func (x *Occurrence) GetDsseAttestation() *DSSEAttestationOccurrence

func (*Occurrence) GetEnvelope

func (x *Occurrence) GetEnvelope() *Envelope

func (*Occurrence) GetImage

func (x *Occurrence) GetImage() *ImageOccurrence

func (*Occurrence) GetKind

func (x *Occurrence) GetKind() NoteKind

func (*Occurrence) GetName

func (x *Occurrence) GetName() string

func (*Occurrence) GetNoteName

func (x *Occurrence) GetNoteName() string

func (*Occurrence) GetPackage

func (x *Occurrence) GetPackage() *PackageOccurrence

func (*Occurrence) GetRemediation

func (x *Occurrence) GetRemediation() string

func (*Occurrence) GetResourceUri

func (x *Occurrence) GetResourceUri() string

func (*Occurrence) GetSbomReference

func (x *Occurrence) GetSbomReference() *SBOMReferenceOccurrence

func (*Occurrence) GetUpdateTime

func (x *Occurrence) GetUpdateTime() *timestamppb.Timestamp

func (*Occurrence) GetUpgrade

func (x *Occurrence) GetUpgrade() *UpgradeOccurrence

func (*Occurrence) GetVulnerability

func (x *Occurrence) GetVulnerability() *VulnerabilityOccurrence

func (*Occurrence) ProtoMessage

func (*Occurrence) ProtoMessage()

func (*Occurrence) ProtoReflect

func (x *Occurrence) ProtoReflect() protoreflect.Message

func (*Occurrence) Reset

func (x *Occurrence) Reset()

func (*Occurrence) String

func (x *Occurrence) String() string

type Occurrence_Attestation

type Occurrence_Attestation struct {
	// Describes an attestation of an artifact.
	Attestation *AttestationOccurrence `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"`
}

type Occurrence_Build

type Occurrence_Build struct {
	// Describes a verifiable build.
	Build *BuildOccurrence `protobuf:"bytes,9,opt,name=build,proto3,oneof"`
}

type Occurrence_Compliance

type Occurrence_Compliance struct {
	// Describes a compliance violation on a linked resource.
	Compliance *ComplianceOccurrence `protobuf:"bytes,16,opt,name=compliance,proto3,oneof"`
}

type Occurrence_Deployment

type Occurrence_Deployment struct {
	// Describes the deployment of an artifact on a runtime.
	Deployment *DeploymentOccurrence `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"`
}

type Occurrence_Discovery

type Occurrence_Discovery struct {
	// Describes when a resource was discovered.
	Discovery *DiscoveryOccurrence `protobuf:"bytes,13,opt,name=discovery,proto3,oneof"`
}

type Occurrence_DsseAttestation

type Occurrence_DsseAttestation struct {
	// Describes an attestation of an artifact using dsse.
	DsseAttestation *DSSEAttestationOccurrence `protobuf:"bytes,17,opt,name=dsse_attestation,json=dsseAttestation,proto3,oneof"`
}

type Occurrence_Image

type Occurrence_Image struct {
	// Describes how this resource derives from the basis in the associated
	// note.
	Image *ImageOccurrence `protobuf:"bytes,10,opt,name=image,proto3,oneof"`
}

type Occurrence_Package

type Occurrence_Package struct {
	// Describes the installation of a package on the linked resource.
	Package *PackageOccurrence `protobuf:"bytes,11,opt,name=package,proto3,oneof"`
}

type Occurrence_SbomReference

type Occurrence_SbomReference struct {
	// Describes a specific SBOM reference occurrences.
	SbomReference *SBOMReferenceOccurrence `protobuf:"bytes,19,opt,name=sbom_reference,json=sbomReference,proto3,oneof"`
}

type Occurrence_Upgrade

type Occurrence_Upgrade struct {
	// Describes an available package upgrade on the linked resource.
	Upgrade *UpgradeOccurrence `protobuf:"bytes,15,opt,name=upgrade,proto3,oneof"`
}

type Occurrence_Vulnerability

type Occurrence_Vulnerability struct {
	// Describes a security vulnerability.
	Vulnerability *VulnerabilityOccurrence `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"`
}

type PackageNote

type PackageNote struct {

	// The name of the package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated.
	// The various channels by which a package is distributed.
	Distribution []*Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"`
	// The type of package; whether native or non native (e.g., ruby gems,
	// node.js packages, etc.).
	PackageType string `protobuf:"bytes,11,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
	// The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
	// denoting the package manager version distributing a package.
	// The cpe_uri will be blank for language packages.
	CpeUri string `protobuf:"bytes,12,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The CPU architecture for which packages in this distribution channel were
	// built. Architecture will be blank for language packages.
	Architecture Architecture `protobuf:"varint,13,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
	// The version of the package.
	Version *Version `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
	// A freeform text denoting the maintainer of this package.
	Maintainer string `protobuf:"bytes,15,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
	// The homepage for this package.
	Url string `protobuf:"bytes,16,opt,name=url,proto3" json:"url,omitempty"`
	// The description of this package.
	Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
	// Licenses that have been declared by the authors of the package.
	License *License `protobuf:"bytes,18,opt,name=license,proto3" json:"license,omitempty"`
	// Hash value, typically a file digest, that allows unique
	// identification a specific package.
	Digest []*Digest `protobuf:"bytes,19,rep,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

PackageNote represents a particular package version.

func (*PackageNote) Descriptor deprecated

func (*PackageNote) Descriptor() ([]byte, []int)

Deprecated: Use PackageNote.ProtoReflect.Descriptor instead.

func (*PackageNote) GetArchitecture

func (x *PackageNote) GetArchitecture() Architecture

func (*PackageNote) GetCpeUri

func (x *PackageNote) GetCpeUri() string

func (*PackageNote) GetDescription

func (x *PackageNote) GetDescription() string

func (*PackageNote) GetDigest

func (x *PackageNote) GetDigest() []*Digest

func (*PackageNote) GetDistribution

func (x *PackageNote) GetDistribution() []*Distribution

func (*PackageNote) GetLicense

func (x *PackageNote) GetLicense() *License

func (*PackageNote) GetMaintainer

func (x *PackageNote) GetMaintainer() string

func (*PackageNote) GetName

func (x *PackageNote) GetName() string

func (*PackageNote) GetPackageType

func (x *PackageNote) GetPackageType() string

func (*PackageNote) GetUrl

func (x *PackageNote) GetUrl() string

func (*PackageNote) GetVersion

func (x *PackageNote) GetVersion() *Version

func (*PackageNote) ProtoMessage

func (*PackageNote) ProtoMessage()

func (*PackageNote) ProtoReflect

func (x *PackageNote) ProtoReflect() protoreflect.Message

func (*PackageNote) Reset

func (x *PackageNote) Reset()

func (*PackageNote) String

func (x *PackageNote) String() string

type PackageOccurrence

type PackageOccurrence struct {

	// The name of the installed package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// All of the places within the filesystem versions of this package
	// have been found.
	Location []*Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
	// The type of package; whether native or non native (e.g., ruby gems,
	// node.js packages, etc.).
	PackageType string `protobuf:"bytes,3,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
	// The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
	// denoting the package manager version distributing a package.
	// The cpe_uri will be blank for language packages.
	CpeUri string `protobuf:"bytes,4,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The CPU architecture for which packages in this distribution channel were
	// built. Architecture will be blank for language packages.
	Architecture Architecture `protobuf:"varint,5,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
	// Licenses that have been declared by the authors of the package.
	License *License `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	// The version of the package.
	Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Details on how a particular software package was installed on a system.

func (*PackageOccurrence) Descriptor deprecated

func (*PackageOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use PackageOccurrence.ProtoReflect.Descriptor instead.

func (*PackageOccurrence) GetArchitecture

func (x *PackageOccurrence) GetArchitecture() Architecture

func (*PackageOccurrence) GetCpeUri

func (x *PackageOccurrence) GetCpeUri() string

func (*PackageOccurrence) GetLicense

func (x *PackageOccurrence) GetLicense() *License

func (*PackageOccurrence) GetLocation

func (x *PackageOccurrence) GetLocation() []*Location

func (*PackageOccurrence) GetName

func (x *PackageOccurrence) GetName() string

func (*PackageOccurrence) GetPackageType

func (x *PackageOccurrence) GetPackageType() string

func (*PackageOccurrence) GetVersion

func (x *PackageOccurrence) GetVersion() *Version

func (*PackageOccurrence) ProtoMessage

func (*PackageOccurrence) ProtoMessage()

func (*PackageOccurrence) ProtoReflect

func (x *PackageOccurrence) ProtoReflect() protoreflect.Message

func (*PackageOccurrence) Reset

func (x *PackageOccurrence) Reset()

func (*PackageOccurrence) String

func (x *PackageOccurrence) String() string

type ProjectRepoId

type ProjectRepoId struct {

	// The ID of the project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the repo. Leave empty for the default repo.
	RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// contains filtered or unexported fields
}

Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.

func (*ProjectRepoId) Descriptor deprecated

func (*ProjectRepoId) Descriptor() ([]byte, []int)

Deprecated: Use ProjectRepoId.ProtoReflect.Descriptor instead.

func (*ProjectRepoId) GetProjectId

func (x *ProjectRepoId) GetProjectId() string

func (*ProjectRepoId) GetRepoName

func (x *ProjectRepoId) GetRepoName() string

func (*ProjectRepoId) ProtoMessage

func (*ProjectRepoId) ProtoMessage()

func (*ProjectRepoId) ProtoReflect

func (x *ProjectRepoId) ProtoReflect() protoreflect.Message

func (*ProjectRepoId) Reset

func (x *ProjectRepoId) Reset()

func (*ProjectRepoId) String

func (x *ProjectRepoId) String() string

type Recipe

type Recipe struct {

	// URI indicating what type of recipe was performed. It determines the meaning
	// of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Index in materials containing the recipe steps that are not implied by
	// recipe.type. For example, if the recipe type were "make", then this would
	// point to the source containing the Makefile, not the make program itself.
	// Set to -1 if the recipe doesn't come from a material, as zero is default
	// unset value for int64.
	DefinedInMaterial int64 `protobuf:"varint,2,opt,name=defined_in_material,json=definedInMaterial,proto3" json:"defined_in_material,omitempty"`
	// String identifying the entry point into the build.
	// This is often a path to a configuration file and/or a target label within
	// that file. The syntax and meaning are defined by recipe.type. For example,
	// if the recipe type were "make", then this would reference the directory in
	// which to run make as well as which target to use.
	EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// Collection of all external inputs that influenced the build on top of
	// recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
	// type were "make", then this might be the flags passed to make aside from
	// the target, which is captured in recipe.entryPoint. Since the arguments
	// field can greatly vary in structure, depending on the builder and recipe
	// type, this is of form "Any".
	Arguments []*anypb.Any `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// Any other builder-controlled inputs necessary for correctly evaluating the
	// recipe. Usually only needed for reproducing the build but not evaluated as
	// part of policy. Since the environment field can greatly vary in structure,
	// depending on the builder and recipe type, this is of form "Any".
	Environment []*anypb.Any `protobuf:"bytes,5,rep,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

func (*Recipe) Descriptor deprecated

func (*Recipe) Descriptor() ([]byte, []int)

Deprecated: Use Recipe.ProtoReflect.Descriptor instead.

func (*Recipe) GetArguments

func (x *Recipe) GetArguments() []*anypb.Any

func (*Recipe) GetDefinedInMaterial

func (x *Recipe) GetDefinedInMaterial() int64

func (*Recipe) GetEntryPoint

func (x *Recipe) GetEntryPoint() string

func (*Recipe) GetEnvironment

func (x *Recipe) GetEnvironment() []*anypb.Any

func (*Recipe) GetType

func (x *Recipe) GetType() string

func (*Recipe) ProtoMessage

func (*Recipe) ProtoMessage()

func (*Recipe) ProtoReflect

func (x *Recipe) ProtoReflect() protoreflect.Message

func (*Recipe) Reset

func (x *Recipe) Reset()

func (*Recipe) String

func (x *Recipe) String() string

type RelatedUrl

type RelatedUrl struct {

	// Specific URL associated with the resource.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Label to describe usage of the URL.
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

Metadata for any related URL information.

func (*RelatedUrl) Descriptor deprecated

func (*RelatedUrl) Descriptor() ([]byte, []int)

Deprecated: Use RelatedUrl.ProtoReflect.Descriptor instead.

func (*RelatedUrl) GetLabel

func (x *RelatedUrl) GetLabel() string

func (*RelatedUrl) GetUrl

func (x *RelatedUrl) GetUrl() string

func (*RelatedUrl) ProtoMessage

func (*RelatedUrl) ProtoMessage()

func (*RelatedUrl) ProtoReflect

func (x *RelatedUrl) ProtoReflect() protoreflect.Message

func (*RelatedUrl) Reset

func (x *RelatedUrl) Reset()

func (*RelatedUrl) String

func (x *RelatedUrl) String() string

type RepoId

type RepoId struct {

	// A cloud repo can be identified by either its project ID and repository name
	// combination, or its globally unique identifier.
	//
	// Types that are assignable to Id:
	//	*RepoId_ProjectRepoId
	//	*RepoId_Uid
	Id isRepoId_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

A unique identifier for a Cloud Repo.

func (*RepoId) Descriptor deprecated

func (*RepoId) Descriptor() ([]byte, []int)

Deprecated: Use RepoId.ProtoReflect.Descriptor instead.

func (*RepoId) GetId

func (m *RepoId) GetId() isRepoId_Id

func (*RepoId) GetProjectRepoId

func (x *RepoId) GetProjectRepoId() *ProjectRepoId

func (*RepoId) GetUid

func (x *RepoId) GetUid() string

func (*RepoId) ProtoMessage

func (*RepoId) ProtoMessage()

func (*RepoId) ProtoReflect

func (x *RepoId) ProtoReflect() protoreflect.Message

func (*RepoId) Reset

func (x *RepoId) Reset()

func (*RepoId) String

func (x *RepoId) String() string

type RepoId_ProjectRepoId

type RepoId_ProjectRepoId struct {
	// A combination of a project ID and a repo name.
	ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
}

type RepoId_Uid

type RepoId_Uid struct {
	// A server-assigned, globally unique identifier.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
}

type SBOMReferenceNote

type SBOMReferenceNote struct {

	// The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
	Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	// The version of the format that the SBOM takes. E.g. if the format
	// is spdx, the version may be 2.3.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

The note representing an SBOM reference.

func (*SBOMReferenceNote) Descriptor deprecated

func (*SBOMReferenceNote) Descriptor() ([]byte, []int)

Deprecated: Use SBOMReferenceNote.ProtoReflect.Descriptor instead.

func (*SBOMReferenceNote) GetFormat

func (x *SBOMReferenceNote) GetFormat() string

func (*SBOMReferenceNote) GetVersion

func (x *SBOMReferenceNote) GetVersion() string

func (*SBOMReferenceNote) ProtoMessage

func (*SBOMReferenceNote) ProtoMessage()

func (*SBOMReferenceNote) ProtoReflect

func (x *SBOMReferenceNote) ProtoReflect() protoreflect.Message

func (*SBOMReferenceNote) Reset

func (x *SBOMReferenceNote) Reset()

func (*SBOMReferenceNote) String

func (x *SBOMReferenceNote) String() string

type SBOMReferenceOccurrence

type SBOMReferenceOccurrence struct {

	// The actual payload that contains the SBOM reference data.
	Payload *SbomReferenceIntotoPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// The kind of payload that SbomReferenceIntotoPayload takes. Since it's in
	// the intoto format, this value is expected to be
	// 'application/vnd.in-toto+json'.
	PayloadType string `protobuf:"bytes,2,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
	// The signatures over the payload.
	Signatures []*EnvelopeSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.

func (*SBOMReferenceOccurrence) Descriptor deprecated

func (*SBOMReferenceOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use SBOMReferenceOccurrence.ProtoReflect.Descriptor instead.

func (*SBOMReferenceOccurrence) GetPayload

func (*SBOMReferenceOccurrence) GetPayloadType

func (x *SBOMReferenceOccurrence) GetPayloadType() string

func (*SBOMReferenceOccurrence) GetSignatures

func (x *SBOMReferenceOccurrence) GetSignatures() []*EnvelopeSignature

func (*SBOMReferenceOccurrence) ProtoMessage

func (*SBOMReferenceOccurrence) ProtoMessage()

func (*SBOMReferenceOccurrence) ProtoReflect

func (x *SBOMReferenceOccurrence) ProtoReflect() protoreflect.Message

func (*SBOMReferenceOccurrence) Reset

func (x *SBOMReferenceOccurrence) Reset()

func (*SBOMReferenceOccurrence) String

func (x *SBOMReferenceOccurrence) String() string

type SbomReferenceIntotoPayload

type SbomReferenceIntotoPayload struct {

	// Identifier for the schema of the Statement.
	Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
	// URI identifying the type of the Predicate.
	PredicateType string `protobuf:"bytes,2,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
	// Set of software artifacts that the attestation applies to. Each element
	// represents a single software artifact.
	Subject []*Subject `protobuf:"bytes,3,rep,name=subject,proto3" json:"subject,omitempty"`
	// Additional parameters of the Predicate. Includes the actual data about the
	// SBOM.
	Predicate *SbomReferenceIntotoPredicate `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.

func (*SbomReferenceIntotoPayload) Descriptor deprecated

func (*SbomReferenceIntotoPayload) Descriptor() ([]byte, []int)

Deprecated: Use SbomReferenceIntotoPayload.ProtoReflect.Descriptor instead.

func (*SbomReferenceIntotoPayload) GetPredicate

func (*SbomReferenceIntotoPayload) GetPredicateType

func (x *SbomReferenceIntotoPayload) GetPredicateType() string

func (*SbomReferenceIntotoPayload) GetSubject

func (x *SbomReferenceIntotoPayload) GetSubject() []*Subject

func (*SbomReferenceIntotoPayload) GetType

func (x *SbomReferenceIntotoPayload) GetType() string

func (*SbomReferenceIntotoPayload) ProtoMessage

func (*SbomReferenceIntotoPayload) ProtoMessage()

func (*SbomReferenceIntotoPayload) ProtoReflect

func (*SbomReferenceIntotoPayload) Reset

func (x *SbomReferenceIntotoPayload) Reset()

func (*SbomReferenceIntotoPayload) String

func (x *SbomReferenceIntotoPayload) String() string

type SbomReferenceIntotoPredicate

type SbomReferenceIntotoPredicate struct {

	// The person or system referring this predicate to the consumer.
	ReferrerId string `protobuf:"bytes,1,opt,name=referrer_id,json=referrerId,proto3" json:"referrer_id,omitempty"`
	// The location of the SBOM.
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// The mime type of the SBOM.
	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// A map of algorithm to digest of the contents of the SBOM.
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A predicate which describes the SBOM being referenced.

func (*SbomReferenceIntotoPredicate) Descriptor deprecated

func (*SbomReferenceIntotoPredicate) Descriptor() ([]byte, []int)

Deprecated: Use SbomReferenceIntotoPredicate.ProtoReflect.Descriptor instead.

func (*SbomReferenceIntotoPredicate) GetDigest

func (x *SbomReferenceIntotoPredicate) GetDigest() map[string]string

func (*SbomReferenceIntotoPredicate) GetLocation

func (x *SbomReferenceIntotoPredicate) GetLocation() string

func (*SbomReferenceIntotoPredicate) GetMimeType

func (x *SbomReferenceIntotoPredicate) GetMimeType() string

func (*SbomReferenceIntotoPredicate) GetReferrerId

func (x *SbomReferenceIntotoPredicate) GetReferrerId() string

func (*SbomReferenceIntotoPredicate) ProtoMessage

func (*SbomReferenceIntotoPredicate) ProtoMessage()

func (*SbomReferenceIntotoPredicate) ProtoReflect

func (*SbomReferenceIntotoPredicate) Reset

func (x *SbomReferenceIntotoPredicate) Reset()

func (*SbomReferenceIntotoPredicate) String

type Severity

type Severity int32

Note provider assigned severity/impact ranking.

const (
	// Unknown.
	Severity_SEVERITY_UNSPECIFIED Severity = 0
	// Minimal severity.
	Severity_MINIMAL Severity = 1
	// Low severity.
	Severity_LOW Severity = 2
	// Medium severity.
	Severity_MEDIUM Severity = 3
	// High severity.
	Severity_HIGH Severity = 4
	// Critical severity.
	Severity_CRITICAL Severity = 5
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

func (Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type Signature

type Signature struct {

	// The content of the signature, an opaque bytestring.
	// The payload that this signature verifies MUST be unambiguously provided
	// with the Signature during verification. A wrapper message might provide
	// the payload explicitly. Alternatively, a message might have a canonical
	// serialization that can always be unambiguously computed to derive the
	// payload.
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// The identifier for the public key that verifies this signature.
	//   - The `public_key_id` is required.
	//   - The `public_key_id` SHOULD be an RFC3986 conformant URI.
	//   - When possible, the `public_key_id` SHOULD be an immutable reference,
	//     such as a cryptographic digest.
	//
	// Examples of valid `public_key_id`s:
	//
	// OpenPGP V4 public key fingerprint:
	//   - "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA"
	//
	// See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more
	// details on this scheme.
	//
	// RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER
	// serialization):
	//   - "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
	//   - "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
	PublicKeyId string `protobuf:"bytes,2,opt,name=public_key_id,json=publicKeyId,proto3" json:"public_key_id,omitempty"`
	// contains filtered or unexported fields
}

Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm).

In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances:

  • The `public_key_id` is not recognized by the verifier.
  • The public key that `public_key_id` refers to does not verify the signature with respect to the payload.

The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).

func (*Signature) Descriptor deprecated

func (*Signature) Descriptor() ([]byte, []int)

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetPublicKeyId

func (x *Signature) GetPublicKeyId() string

func (*Signature) GetSignature

func (x *Signature) GetSignature() []byte

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

func (x *Signature) ProtoReflect() protoreflect.Message

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type SlsaProvenance

type SlsaProvenance struct {
	Builder *SlsaProvenance_SlsaBuilder `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` // required
	// Identifies the configuration used for the build.
	// When combined with materials, this SHOULD fully describe the build,
	// such that re-running this recipe results in bit-for-bit identical output
	// (if the build is reproducible).
	Recipe   *SlsaProvenance_SlsaRecipe   `protobuf:"bytes,2,opt,name=recipe,proto3" json:"recipe,omitempty"` // required
	Metadata *SlsaProvenance_SlsaMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The collection of artifacts that influenced the build including sources,
	// dependencies, build tools, base images, and so on. This is considered to be
	// incomplete unless metadata.completeness.materials is true. Unset or null is
	// equivalent to empty.
	Materials []*SlsaProvenance_Material `protobuf:"bytes,4,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*SlsaProvenance) Descriptor deprecated

func (*SlsaProvenance) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance.ProtoReflect.Descriptor instead.

func (*SlsaProvenance) GetBuilder

func (x *SlsaProvenance) GetBuilder() *SlsaProvenance_SlsaBuilder

func (*SlsaProvenance) GetMaterials

func (x *SlsaProvenance) GetMaterials() []*SlsaProvenance_Material

func (*SlsaProvenance) GetMetadata

func (x *SlsaProvenance) GetMetadata() *SlsaProvenance_SlsaMetadata

func (*SlsaProvenance) GetRecipe

func (x *SlsaProvenance) GetRecipe() *SlsaProvenance_SlsaRecipe

func (*SlsaProvenance) ProtoMessage

func (*SlsaProvenance) ProtoMessage()

func (*SlsaProvenance) ProtoReflect

func (x *SlsaProvenance) ProtoReflect() protoreflect.Message

func (*SlsaProvenance) Reset

func (x *SlsaProvenance) Reset()

func (*SlsaProvenance) String

func (x *SlsaProvenance) String() string

type SlsaProvenanceZeroTwo

type SlsaProvenanceZeroTwo struct {
	Builder     *SlsaProvenanceZeroTwo_SlsaBuilder    `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"`
	BuildType   string                                `protobuf:"bytes,2,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"`
	Invocation  *SlsaProvenanceZeroTwo_SlsaInvocation `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"`
	BuildConfig *structpb.Struct                      `protobuf:"bytes,4,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"`
	Metadata    *SlsaProvenanceZeroTwo_SlsaMetadata   `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Materials   []*SlsaProvenanceZeroTwo_SlsaMaterial `protobuf:"bytes,6,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*SlsaProvenanceZeroTwo) Descriptor deprecated

func (*SlsaProvenanceZeroTwo) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo) GetBuildConfig

func (x *SlsaProvenanceZeroTwo) GetBuildConfig() *structpb.Struct

func (*SlsaProvenanceZeroTwo) GetBuildType

func (x *SlsaProvenanceZeroTwo) GetBuildType() string

func (*SlsaProvenanceZeroTwo) GetBuilder

func (*SlsaProvenanceZeroTwo) GetInvocation

func (*SlsaProvenanceZeroTwo) GetMaterials

func (*SlsaProvenanceZeroTwo) GetMetadata

func (*SlsaProvenanceZeroTwo) ProtoMessage

func (*SlsaProvenanceZeroTwo) ProtoMessage()

func (*SlsaProvenanceZeroTwo) ProtoReflect

func (x *SlsaProvenanceZeroTwo) ProtoReflect() protoreflect.Message

func (*SlsaProvenanceZeroTwo) Reset

func (x *SlsaProvenanceZeroTwo) Reset()

func (*SlsaProvenanceZeroTwo) String

func (x *SlsaProvenanceZeroTwo) String() string

type SlsaProvenanceZeroTwo_SlsaBuilder

type SlsaProvenanceZeroTwo_SlsaBuilder struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.

func (*SlsaProvenanceZeroTwo_SlsaBuilder) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaBuilder) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaBuilder.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaBuilder) GetId

func (*SlsaProvenanceZeroTwo_SlsaBuilder) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaBuilder) ProtoMessage()

func (*SlsaProvenanceZeroTwo_SlsaBuilder) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaBuilder) Reset

func (*SlsaProvenanceZeroTwo_SlsaBuilder) String

type SlsaProvenanceZeroTwo_SlsaCompleteness

type SlsaProvenanceZeroTwo_SlsaCompleteness struct {
	Parameters  bool `protobuf:"varint,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
	Materials   bool `protobuf:"varint,3,opt,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the builder claims certain fields in this message to be complete.

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaCompleteness.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) GetEnvironment

func (x *SlsaProvenanceZeroTwo_SlsaCompleteness) GetEnvironment() bool

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) GetMaterials

func (x *SlsaProvenanceZeroTwo_SlsaCompleteness) GetMaterials() bool

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) GetParameters

func (x *SlsaProvenanceZeroTwo_SlsaCompleteness) GetParameters() bool

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) Reset

func (*SlsaProvenanceZeroTwo_SlsaCompleteness) String

type SlsaProvenanceZeroTwo_SlsaConfigSource

type SlsaProvenanceZeroTwo_SlsaConfigSource struct {
	Uri        string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest     map[string]string `` /* 153-byte string literal not displayed */
	EntryPoint string            `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// contains filtered or unexported fields
}

Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaConfigSource.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) GetDigest

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) GetEntryPoint

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) GetUri

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) Reset

func (*SlsaProvenanceZeroTwo_SlsaConfigSource) String

type SlsaProvenanceZeroTwo_SlsaInvocation

type SlsaProvenanceZeroTwo_SlsaInvocation struct {
	ConfigSource *SlsaProvenanceZeroTwo_SlsaConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	Parameters   *structpb.Struct                        `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Environment  *structpb.Struct                        `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

Identifies the event that kicked off the build.

func (*SlsaProvenanceZeroTwo_SlsaInvocation) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaInvocation) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaInvocation.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaInvocation) GetConfigSource

func (*SlsaProvenanceZeroTwo_SlsaInvocation) GetEnvironment

func (*SlsaProvenanceZeroTwo_SlsaInvocation) GetParameters

func (*SlsaProvenanceZeroTwo_SlsaInvocation) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaInvocation) ProtoMessage()

func (*SlsaProvenanceZeroTwo_SlsaInvocation) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaInvocation) Reset

func (*SlsaProvenanceZeroTwo_SlsaInvocation) String

type SlsaProvenanceZeroTwo_SlsaMaterial

type SlsaProvenanceZeroTwo_SlsaMaterial struct {
	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.

func (*SlsaProvenanceZeroTwo_SlsaMaterial) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaMaterial) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaMaterial.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaMaterial) GetDigest

func (*SlsaProvenanceZeroTwo_SlsaMaterial) GetUri

func (*SlsaProvenanceZeroTwo_SlsaMaterial) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaMaterial) ProtoMessage()

func (*SlsaProvenanceZeroTwo_SlsaMaterial) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaMaterial) Reset

func (*SlsaProvenanceZeroTwo_SlsaMaterial) String

type SlsaProvenanceZeroTwo_SlsaMetadata

type SlsaProvenanceZeroTwo_SlsaMetadata struct {
	BuildInvocationId string                                  `protobuf:"bytes,1,opt,name=build_invocation_id,json=buildInvocationId,proto3" json:"build_invocation_id,omitempty"`
	BuildStartedOn    *timestamppb.Timestamp                  `protobuf:"bytes,2,opt,name=build_started_on,json=buildStartedOn,proto3" json:"build_started_on,omitempty"`
	BuildFinishedOn   *timestamppb.Timestamp                  `protobuf:"bytes,3,opt,name=build_finished_on,json=buildFinishedOn,proto3" json:"build_finished_on,omitempty"`
	Completeness      *SlsaProvenanceZeroTwo_SlsaCompleteness `protobuf:"bytes,4,opt,name=completeness,proto3" json:"completeness,omitempty"`
	Reproducible      bool                                    `protobuf:"varint,5,opt,name=reproducible,proto3" json:"reproducible,omitempty"`
	// contains filtered or unexported fields
}

Other properties of the build.

func (*SlsaProvenanceZeroTwo_SlsaMetadata) Descriptor deprecated

func (*SlsaProvenanceZeroTwo_SlsaMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenanceZeroTwo_SlsaMetadata.ProtoReflect.Descriptor instead.

func (*SlsaProvenanceZeroTwo_SlsaMetadata) GetBuildFinishedOn

func (x *SlsaProvenanceZeroTwo_SlsaMetadata) GetBuildFinishedOn() *timestamppb.Timestamp

func (*SlsaProvenanceZeroTwo_SlsaMetadata) GetBuildInvocationId

func (x *SlsaProvenanceZeroTwo_SlsaMetadata) GetBuildInvocationId() string

func (*SlsaProvenanceZeroTwo_SlsaMetadata) GetBuildStartedOn

func (*SlsaProvenanceZeroTwo_SlsaMetadata) GetCompleteness

func (*SlsaProvenanceZeroTwo_SlsaMetadata) GetReproducible

func (x *SlsaProvenanceZeroTwo_SlsaMetadata) GetReproducible() bool

func (*SlsaProvenanceZeroTwo_SlsaMetadata) ProtoMessage

func (*SlsaProvenanceZeroTwo_SlsaMetadata) ProtoMessage()

func (*SlsaProvenanceZeroTwo_SlsaMetadata) ProtoReflect

func (*SlsaProvenanceZeroTwo_SlsaMetadata) Reset

func (*SlsaProvenanceZeroTwo_SlsaMetadata) String

type SlsaProvenance_Material

type SlsaProvenance_Material struct {
	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SlsaProvenance_Material) Descriptor deprecated

func (*SlsaProvenance_Material) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance_Material.ProtoReflect.Descriptor instead.

func (*SlsaProvenance_Material) GetDigest

func (x *SlsaProvenance_Material) GetDigest() map[string]string

func (*SlsaProvenance_Material) GetUri

func (x *SlsaProvenance_Material) GetUri() string

func (*SlsaProvenance_Material) ProtoMessage

func (*SlsaProvenance_Material) ProtoMessage()

func (*SlsaProvenance_Material) ProtoReflect

func (x *SlsaProvenance_Material) ProtoReflect() protoreflect.Message

func (*SlsaProvenance_Material) Reset

func (x *SlsaProvenance_Material) Reset()

func (*SlsaProvenance_Material) String

func (x *SlsaProvenance_Material) String() string

type SlsaProvenance_SlsaBuilder

type SlsaProvenance_SlsaBuilder struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SlsaProvenance_SlsaBuilder) Descriptor deprecated

func (*SlsaProvenance_SlsaBuilder) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance_SlsaBuilder.ProtoReflect.Descriptor instead.

func (*SlsaProvenance_SlsaBuilder) GetId

func (*SlsaProvenance_SlsaBuilder) ProtoMessage

func (*SlsaProvenance_SlsaBuilder) ProtoMessage()

func (*SlsaProvenance_SlsaBuilder) ProtoReflect

func (*SlsaProvenance_SlsaBuilder) Reset

func (x *SlsaProvenance_SlsaBuilder) Reset()

func (*SlsaProvenance_SlsaBuilder) String

func (x *SlsaProvenance_SlsaBuilder) String() string

type SlsaProvenance_SlsaCompleteness

type SlsaProvenance_SlsaCompleteness struct {

	// If true, the builder claims that recipe.arguments is complete, meaning
	// that all external inputs are properly captured in the recipe.
	Arguments bool `protobuf:"varint,1,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// If true, the builder claims that recipe.environment is claimed to be
	// complete.
	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// If true, the builder claims that materials are complete, usually through
	// some controls to prevent network access. Sometimes called "hermetic".
	Materials bool `protobuf:"varint,3,opt,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the builder claims certain fields in this message to be complete.

func (*SlsaProvenance_SlsaCompleteness) Descriptor deprecated

func (*SlsaProvenance_SlsaCompleteness) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance_SlsaCompleteness.ProtoReflect.Descriptor instead.

func (*SlsaProvenance_SlsaCompleteness) GetArguments

func (x *SlsaProvenance_SlsaCompleteness) GetArguments() bool

func (*SlsaProvenance_SlsaCompleteness) GetEnvironment

func (x *SlsaProvenance_SlsaCompleteness) GetEnvironment() bool

func (*SlsaProvenance_SlsaCompleteness) GetMaterials

func (x *SlsaProvenance_SlsaCompleteness) GetMaterials() bool

func (*SlsaProvenance_SlsaCompleteness) ProtoMessage

func (*SlsaProvenance_SlsaCompleteness) ProtoMessage()

func (*SlsaProvenance_SlsaCompleteness) ProtoReflect

func (*SlsaProvenance_SlsaCompleteness) Reset

func (*SlsaProvenance_SlsaCompleteness) String

type SlsaProvenance_SlsaMetadata

type SlsaProvenance_SlsaMetadata struct {

	// Identifies the particular build invocation, which can be useful for
	// finding associated logs or other ad-hoc analysis. The value SHOULD be
	// globally unique, per in-toto Provenance spec.
	BuildInvocationId string `protobuf:"bytes,1,opt,name=build_invocation_id,json=buildInvocationId,proto3" json:"build_invocation_id,omitempty"`
	// The timestamp of when the build started.
	BuildStartedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_started_on,json=buildStartedOn,proto3" json:"build_started_on,omitempty"`
	// The timestamp of when the build completed.
	BuildFinishedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=build_finished_on,json=buildFinishedOn,proto3" json:"build_finished_on,omitempty"`
	// Indicates that the builder claims certain fields in this message to be
	// complete.
	Completeness *SlsaProvenance_SlsaCompleteness `protobuf:"bytes,4,opt,name=completeness,proto3" json:"completeness,omitempty"`
	// If true, the builder claims that running the recipe on materials will
	// produce bit-for-bit identical output.
	Reproducible bool `protobuf:"varint,5,opt,name=reproducible,proto3" json:"reproducible,omitempty"`
	// contains filtered or unexported fields
}

Other properties of the build.

func (*SlsaProvenance_SlsaMetadata) Descriptor deprecated

func (*SlsaProvenance_SlsaMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance_SlsaMetadata.ProtoReflect.Descriptor instead.

func (*SlsaProvenance_SlsaMetadata) GetBuildFinishedOn

func (x *SlsaProvenance_SlsaMetadata) GetBuildFinishedOn() *timestamppb.Timestamp

func (*SlsaProvenance_SlsaMetadata) GetBuildInvocationId

func (x *SlsaProvenance_SlsaMetadata) GetBuildInvocationId() string

func (*SlsaProvenance_SlsaMetadata) GetBuildStartedOn

func (x *SlsaProvenance_SlsaMetadata) GetBuildStartedOn() *timestamppb.Timestamp

func (*SlsaProvenance_SlsaMetadata) GetCompleteness

func (*SlsaProvenance_SlsaMetadata) GetReproducible

func (x *SlsaProvenance_SlsaMetadata) GetReproducible() bool

func (*SlsaProvenance_SlsaMetadata) ProtoMessage

func (*SlsaProvenance_SlsaMetadata) ProtoMessage()

func (*SlsaProvenance_SlsaMetadata) ProtoReflect

func (*SlsaProvenance_SlsaMetadata) Reset

func (x *SlsaProvenance_SlsaMetadata) Reset()

func (*SlsaProvenance_SlsaMetadata) String

func (x *SlsaProvenance_SlsaMetadata) String() string

type SlsaProvenance_SlsaRecipe

type SlsaProvenance_SlsaRecipe struct {

	// URI indicating what type of recipe was performed. It determines the
	// meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and
	// materials.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Index in materials containing the recipe steps that are not implied by
	// recipe.type. For example, if the recipe type were "make", then this would
	// point to the source containing the Makefile, not the make program itself.
	// Set to -1 if the recipe doesn't come from a material, as zero is default
	// unset value for int64.
	DefinedInMaterial int64 `protobuf:"varint,2,opt,name=defined_in_material,json=definedInMaterial,proto3" json:"defined_in_material,omitempty"`
	// String identifying the entry point into the build.
	// This is often a path to a configuration file and/or a target label within
	// that file. The syntax and meaning are defined by recipe.type. For
	// example, if the recipe type were "make", then this would reference the
	// directory in which to run make as well as which target to use.
	EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// Collection of all external inputs that influenced the build on top of
	// recipe.definedInMaterial and recipe.entryPoint. For example, if the
	// recipe type were "make", then this might be the flags passed to make
	// aside from the target, which is captured in recipe.entryPoint. Depending
	// on the recipe Type, the structure may be different.
	Arguments *anypb.Any `protobuf:"bytes,4,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// Any other builder-controlled inputs necessary for correctly evaluating
	// the recipe. Usually only needed for reproducing the build but not
	// evaluated as part of policy. Depending on the recipe Type, the structure
	// may be different.
	Environment *anypb.Any `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

func (*SlsaProvenance_SlsaRecipe) Descriptor deprecated

func (*SlsaProvenance_SlsaRecipe) Descriptor() ([]byte, []int)

Deprecated: Use SlsaProvenance_SlsaRecipe.ProtoReflect.Descriptor instead.

func (*SlsaProvenance_SlsaRecipe) GetArguments

func (x *SlsaProvenance_SlsaRecipe) GetArguments() *anypb.Any

func (*SlsaProvenance_SlsaRecipe) GetDefinedInMaterial

func (x *SlsaProvenance_SlsaRecipe) GetDefinedInMaterial() int64

func (*SlsaProvenance_SlsaRecipe) GetEntryPoint

func (x *SlsaProvenance_SlsaRecipe) GetEntryPoint() string

func (*SlsaProvenance_SlsaRecipe) GetEnvironment

func (x *SlsaProvenance_SlsaRecipe) GetEnvironment() *anypb.Any

func (*SlsaProvenance_SlsaRecipe) GetType

func (x *SlsaProvenance_SlsaRecipe) GetType() string

func (*SlsaProvenance_SlsaRecipe) ProtoMessage

func (*SlsaProvenance_SlsaRecipe) ProtoMessage()

func (*SlsaProvenance_SlsaRecipe) ProtoReflect

func (*SlsaProvenance_SlsaRecipe) Reset

func (x *SlsaProvenance_SlsaRecipe) Reset()

func (*SlsaProvenance_SlsaRecipe) String

func (x *SlsaProvenance_SlsaRecipe) String() string

type Source

type Source struct {

	// If provided, the input binary artifacts for the build came from this
	// location.
	ArtifactStorageSourceUri string `` /* 137-byte string literal not displayed */
	// Hash(es) of the build source, which can be used to verify that the original
	// source integrity was maintained in the build.
	//
	// The keys to this map are file paths used as build source and the values
	// contain the hash values for those files.
	//
	// If the build source came in a single package such as a gzipped tarfile
	// (.tar.gz), the FileHash will be for the single path to that file.
	FileHashes map[string]*FileHashes `` /* 179-byte string literal not displayed */
	// If provided, the source code used for the build came from this location.
	Context *SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// If provided, some of the source code used for the build may be found in
	// these locations, in the case where the source repository had multiple
	// remotes or submodules. This list will not include the context specified in
	// the context field.
	AdditionalContexts []*SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"`
	// contains filtered or unexported fields
}

Source describes the location of the source used for the build.

func (*Source) Descriptor deprecated

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetAdditionalContexts

func (x *Source) GetAdditionalContexts() []*SourceContext

func (*Source) GetArtifactStorageSourceUri

func (x *Source) GetArtifactStorageSourceUri() string

func (*Source) GetContext

func (x *Source) GetContext() *SourceContext

func (*Source) GetFileHashes

func (x *Source) GetFileHashes() map[string]*FileHashes

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type SourceContext

type SourceContext struct {

	// A SourceContext can refer any one of the following types of repositories.
	//
	// Types that are assignable to Context:
	//	*SourceContext_CloudRepo
	//	*SourceContext_Gerrit
	//	*SourceContext_Git
	Context isSourceContext_Context `protobuf_oneof:"context"`
	// Labels with user defined metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.

func (*SourceContext) Descriptor deprecated

func (*SourceContext) Descriptor() ([]byte, []int)

Deprecated: Use SourceContext.ProtoReflect.Descriptor instead.

func (*SourceContext) GetCloudRepo

func (x *SourceContext) GetCloudRepo() *CloudRepoSourceContext

func (*SourceContext) GetContext

func (m *SourceContext) GetContext() isSourceContext_Context

func (*SourceContext) GetGerrit

func (x *SourceContext) GetGerrit() *GerritSourceContext

func (*SourceContext) GetGit

func (x *SourceContext) GetGit() *GitSourceContext

func (*SourceContext) GetLabels

func (x *SourceContext) GetLabels() map[string]string

func (*SourceContext) ProtoMessage

func (*SourceContext) ProtoMessage()

func (*SourceContext) ProtoReflect

func (x *SourceContext) ProtoReflect() protoreflect.Message

func (*SourceContext) Reset

func (x *SourceContext) Reset()

func (*SourceContext) String

func (x *SourceContext) String() string

type SourceContext_CloudRepo

type SourceContext_CloudRepo struct {
	// A SourceContext referring to a revision in a Google Cloud Source Repo.
	CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
}

type SourceContext_Gerrit

type SourceContext_Gerrit struct {
	// A SourceContext referring to a Gerrit project.
	Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"`
}

type SourceContext_Git

type SourceContext_Git struct {
	// A SourceContext referring to any third party Git repo (e.g., GitHub).
	Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"`
}

type Subject

type Subject struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// `"<ALGORITHM>": "<HEX_VALUE>"`
	// Algorithms can be e.g. sha256, sha512
	// See
	// https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
	Digest map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Subject) Descriptor deprecated

func (*Subject) Descriptor() ([]byte, []int)

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetDigest

func (x *Subject) GetDigest() map[string]string

func (*Subject) GetName

func (x *Subject) GetName() string

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

func (x *Subject) ProtoReflect() protoreflect.Message

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

type UnimplementedGrafeasServer

type UnimplementedGrafeasServer struct {
}

UnimplementedGrafeasServer can be embedded to have forward compatible implementations.

func (*UnimplementedGrafeasServer) BatchCreateNotes

func (*UnimplementedGrafeasServer) CreateNote

func (*UnimplementedGrafeasServer) CreateOccurrence

func (*UnimplementedGrafeasServer) DeleteNote

func (*UnimplementedGrafeasServer) DeleteOccurrence

func (*UnimplementedGrafeasServer) GetNote

func (*UnimplementedGrafeasServer) GetOccurrence

func (*UnimplementedGrafeasServer) GetOccurrenceNote

func (*UnimplementedGrafeasServer) ListNotes

func (*UnimplementedGrafeasServer) ListOccurrences

func (*UnimplementedGrafeasServer) UpdateNote

func (*UnimplementedGrafeasServer) UpdateOccurrence

type UpdateNoteRequest

type UpdateNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated note.
	Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	// The fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update a note.

func (*UpdateNoteRequest) Descriptor deprecated

func (*UpdateNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNoteRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoteRequest) GetName

func (x *UpdateNoteRequest) GetName() string

func (*UpdateNoteRequest) GetNote

func (x *UpdateNoteRequest) GetNote() *Note

func (*UpdateNoteRequest) GetUpdateMask

func (x *UpdateNoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNoteRequest) ProtoMessage

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) ProtoReflect

func (x *UpdateNoteRequest) ProtoReflect() protoreflect.Message

func (*UpdateNoteRequest) Reset

func (x *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String

func (x *UpdateNoteRequest) String() string

type UpdateOccurrenceRequest

type UpdateOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated occurrence.
	Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	// The fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update an occurrence.

func (*UpdateOccurrenceRequest) Descriptor deprecated

func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*UpdateOccurrenceRequest) GetName

func (x *UpdateOccurrenceRequest) GetName() string

func (*UpdateOccurrenceRequest) GetOccurrence

func (x *UpdateOccurrenceRequest) GetOccurrence() *Occurrence

func (*UpdateOccurrenceRequest) GetUpdateMask

func (x *UpdateOccurrenceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateOccurrenceRequest) ProtoMessage

func (*UpdateOccurrenceRequest) ProtoMessage()

func (*UpdateOccurrenceRequest) ProtoReflect

func (x *UpdateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*UpdateOccurrenceRequest) Reset

func (x *UpdateOccurrenceRequest) Reset()

func (*UpdateOccurrenceRequest) String

func (x *UpdateOccurrenceRequest) String() string

type UpgradeDistribution

type UpgradeDistribution struct {

	// Required - The specific operating system this metadata applies to. See
	// https://cpe.mitre.org/specification/.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The operating system classification of this Upgrade, as specified by the
	// upstream operating system upgrade feed. For Windows the classification is
	// one of the category_ids listed at
	// https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
	Classification string `protobuf:"bytes,2,opt,name=classification,proto3" json:"classification,omitempty"`
	// The severity as specified by the upstream operating system.
	Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	// The cve tied to this Upgrade.
	Cve []string `protobuf:"bytes,4,rep,name=cve,proto3" json:"cve,omitempty"`
	// contains filtered or unexported fields
}

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

func (*UpgradeDistribution) Descriptor deprecated

func (*UpgradeDistribution) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeDistribution.ProtoReflect.Descriptor instead.

func (*UpgradeDistribution) GetClassification

func (x *UpgradeDistribution) GetClassification() string

func (*UpgradeDistribution) GetCpeUri

func (x *UpgradeDistribution) GetCpeUri() string

func (*UpgradeDistribution) GetCve

func (x *UpgradeDistribution) GetCve() []string

func (*UpgradeDistribution) GetSeverity

func (x *UpgradeDistribution) GetSeverity() string

func (*UpgradeDistribution) ProtoMessage

func (*UpgradeDistribution) ProtoMessage()

func (*UpgradeDistribution) ProtoReflect

func (x *UpgradeDistribution) ProtoReflect() protoreflect.Message

func (*UpgradeDistribution) Reset

func (x *UpgradeDistribution) Reset()

func (*UpgradeDistribution) String

func (x *UpgradeDistribution) String() string

type UpgradeNote

type UpgradeNote struct {

	// Required for non-Windows OS. The package this Upgrade is for.
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// Required for non-Windows OS. The version of the package in machine + human
	// readable form.
	Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Metadata about the upgrade for each specific operating system.
	Distributions []*UpgradeDistribution `protobuf:"bytes,3,rep,name=distributions,proto3" json:"distributions,omitempty"`
	// Required for Windows OS. Represents the metadata about the Windows update.
	WindowsUpdate *WindowsUpdate `protobuf:"bytes,4,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`
	// contains filtered or unexported fields
}

An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update.

func (*UpgradeNote) Descriptor deprecated

func (*UpgradeNote) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeNote.ProtoReflect.Descriptor instead.

func (*UpgradeNote) GetDistributions

func (x *UpgradeNote) GetDistributions() []*UpgradeDistribution

func (*UpgradeNote) GetPackage

func (x *UpgradeNote) GetPackage() string

func (*UpgradeNote) GetVersion

func (x *UpgradeNote) GetVersion() *Version

func (*UpgradeNote) GetWindowsUpdate

func (x *UpgradeNote) GetWindowsUpdate() *WindowsUpdate

func (*UpgradeNote) ProtoMessage

func (*UpgradeNote) ProtoMessage()

func (*UpgradeNote) ProtoReflect

func (x *UpgradeNote) ProtoReflect() protoreflect.Message

func (*UpgradeNote) Reset

func (x *UpgradeNote) Reset()

func (*UpgradeNote) String

func (x *UpgradeNote) String() string

type UpgradeOccurrence

type UpgradeOccurrence struct {

	// Required for non-Windows OS. The package this Upgrade is for.
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// Required for non-Windows OS. The version of the package in a machine +
	// human readable form.
	ParsedVersion *Version `protobuf:"bytes,3,opt,name=parsed_version,json=parsedVersion,proto3" json:"parsed_version,omitempty"`
	// Metadata about the upgrade for available for the specific operating system
	// for the resource_url. This allows efficient filtering, as well as
	// making it easier to use the occurrence.
	Distribution *UpgradeDistribution `protobuf:"bytes,4,opt,name=distribution,proto3" json:"distribution,omitempty"`
	// Required for Windows OS. Represents the metadata about the Windows update.
	WindowsUpdate *WindowsUpdate `protobuf:"bytes,5,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`
	// contains filtered or unexported fields
}

An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.

func (*UpgradeOccurrence) Descriptor deprecated

func (*UpgradeOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeOccurrence.ProtoReflect.Descriptor instead.

func (*UpgradeOccurrence) GetDistribution

func (x *UpgradeOccurrence) GetDistribution() *UpgradeDistribution

func (*UpgradeOccurrence) GetPackage

func (x *UpgradeOccurrence) GetPackage() string

func (*UpgradeOccurrence) GetParsedVersion

func (x *UpgradeOccurrence) GetParsedVersion() *Version

func (*UpgradeOccurrence) GetWindowsUpdate

func (x *UpgradeOccurrence) GetWindowsUpdate() *WindowsUpdate

func (*UpgradeOccurrence) ProtoMessage

func (*UpgradeOccurrence) ProtoMessage()

func (*UpgradeOccurrence) ProtoReflect

func (x *UpgradeOccurrence) ProtoReflect() protoreflect.Message

func (*UpgradeOccurrence) Reset

func (x *UpgradeOccurrence) Reset()

func (*UpgradeOccurrence) String

func (x *UpgradeOccurrence) String() string

type Version

type Version struct {

	// Used to correct mistakes in the version numbering scheme.
	Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	// Required only when version kind is NORMAL. The main part of the version
	// name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The iteration of the package build from the above version.
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// Whether this version is specifying part of an inclusive range. Grafeas
	// does not have the capability to specify version ranges; instead we have
	// fields that specify start version and end versions. At times this is
	// insufficient - we also need to specify whether the version is included in
	// the range or is excluded from the range. This boolean is expected to be set
	// to true when the version is included in a range.
	Inclusive bool `protobuf:"varint,6,opt,name=inclusive,proto3" json:"inclusive,omitempty"`
	// Required. Distinguishes between sentinel MIN/MAX versions and normal
	// versions.
	Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.Version_VersionKind" json:"kind,omitempty"`
	// Human readable version string. This string is of the form
	// <epoch>:<name>-<revision> and is only set when kind is NORMAL.
	FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// contains filtered or unexported fields
}

Version contains structured information about the version of a package.

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetEpoch

func (x *Version) GetEpoch() int32

func (*Version) GetFullName

func (x *Version) GetFullName() string

func (*Version) GetInclusive

func (x *Version) GetInclusive() bool

func (*Version) GetKind

func (x *Version) GetKind() Version_VersionKind

func (*Version) GetName

func (x *Version) GetName() string

func (*Version) GetRevision

func (x *Version) GetRevision() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type Version_VersionKind

type Version_VersionKind int32

Whether this is an ordinary package version or a sentinel MIN/MAX version.

const (
	// Unknown.
	Version_VERSION_KIND_UNSPECIFIED Version_VersionKind = 0
	// A standard package version.
	Version_NORMAL Version_VersionKind = 1
	// A special version representing negative infinity.
	Version_MINIMUM Version_VersionKind = 2
	// A special version representing positive infinity.
	Version_MAXIMUM Version_VersionKind = 3
)

func (Version_VersionKind) Descriptor

func (Version_VersionKind) Enum

func (Version_VersionKind) EnumDescriptor deprecated

func (Version_VersionKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use Version_VersionKind.Descriptor instead.

func (Version_VersionKind) Number

func (Version_VersionKind) String

func (x Version_VersionKind) String() string

func (Version_VersionKind) Type

type VulnerabilityAssessmentNote

type VulnerabilityAssessmentNote struct {

	// The title of the note. E.g. `Vex-Debian-11.4`
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// A one sentence description of this Vex.
	ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// A detailed description of this Vex.
	LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Identifies the language used by this document,
	// corresponding to IETF BCP 47 / RFC 5646.
	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Publisher details of this Note.
	Publisher *VulnerabilityAssessmentNote_Publisher `protobuf:"bytes,5,opt,name=publisher,proto3" json:"publisher,omitempty"`
	// The product affected by this vex.
	Product *VulnerabilityAssessmentNote_Product `protobuf:"bytes,6,opt,name=product,proto3" json:"product,omitempty"`
	// Represents a vulnerability assessment for the product.
	Assessment *VulnerabilityAssessmentNote_Assessment `protobuf:"bytes,7,opt,name=assessment,proto3" json:"assessment,omitempty"`
	// contains filtered or unexported fields
}

A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.

func (*VulnerabilityAssessmentNote) Descriptor deprecated

func (*VulnerabilityAssessmentNote) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAssessmentNote.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote) GetAssessment

func (*VulnerabilityAssessmentNote) GetLanguageCode

func (x *VulnerabilityAssessmentNote) GetLanguageCode() string

func (*VulnerabilityAssessmentNote) GetLongDescription

func (x *VulnerabilityAssessmentNote) GetLongDescription() string

func (*VulnerabilityAssessmentNote) GetProduct

func (*VulnerabilityAssessmentNote) GetPublisher

func (*VulnerabilityAssessmentNote) GetShortDescription

func (x *VulnerabilityAssessmentNote) GetShortDescription() string

func (*VulnerabilityAssessmentNote) GetTitle

func (x *VulnerabilityAssessmentNote) GetTitle() string

func (*VulnerabilityAssessmentNote) ProtoMessage

func (*VulnerabilityAssessmentNote) ProtoMessage()

func (*VulnerabilityAssessmentNote) ProtoReflect

func (*VulnerabilityAssessmentNote) Reset

func (x *VulnerabilityAssessmentNote) Reset()

func (*VulnerabilityAssessmentNote) String

func (x *VulnerabilityAssessmentNote) String() string

type VulnerabilityAssessmentNote_Assessment

type VulnerabilityAssessmentNote_Assessment struct {

	// Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)
	// tracking number for the vulnerability.
	// Deprecated: Use vulnerability_id instead to denote CVEs.
	//
	// Deprecated: Do not use.
	Cve string `protobuf:"bytes,1,opt,name=cve,proto3" json:"cve,omitempty"`
	// The vulnerability identifier for this Assessment. Will hold one of
	// common identifiers e.g. CVE, GHSA etc.
	VulnerabilityId string `protobuf:"bytes,9,opt,name=vulnerability_id,json=vulnerabilityId,proto3" json:"vulnerability_id,omitempty"`
	// A one sentence description of this Vex.
	ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// A detailed description of this Vex.
	LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Holds a list of references associated with this vulnerability item and
	// assessment. These uris have additional information about the
	// vulnerability and the assessment itself. E.g. Link to a document which
	// details how this assessment concluded the state of this vulnerability.
	RelatedUris []*RelatedUrl `protobuf:"bytes,4,rep,name=related_uris,json=relatedUris,proto3" json:"related_uris,omitempty"`
	// Provides the state of this Vulnerability assessment.
	State VulnerabilityAssessmentNote_Assessment_State `protobuf:"varint,5,opt,name=state,proto3,enum=grafeas.v1.VulnerabilityAssessmentNote_Assessment_State" json:"state,omitempty"`
	// Contains information about the impact of this vulnerability,
	// this will change with time.
	Impacts []string `protobuf:"bytes,6,rep,name=impacts,proto3" json:"impacts,omitempty"`
	// Justification provides the justification when the state of the
	// assessment if NOT_AFFECTED.
	Justification *VulnerabilityAssessmentNote_Assessment_Justification `protobuf:"bytes,7,opt,name=justification,proto3" json:"justification,omitempty"`
	// Specifies details on how to handle (and presumably, fix) a vulnerability.
	Remediations []*VulnerabilityAssessmentNote_Assessment_Remediation `protobuf:"bytes,8,rep,name=remediations,proto3" json:"remediations,omitempty"`
	// contains filtered or unexported fields
}

Assessment provides all information that is related to a single vulnerability for this product.

func (*VulnerabilityAssessmentNote_Assessment) Descriptor deprecated

func (*VulnerabilityAssessmentNote_Assessment) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAssessmentNote_Assessment.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote_Assessment) GetCve deprecated

Deprecated: Do not use.

func (*VulnerabilityAssessmentNote_Assessment) GetImpacts

func (*VulnerabilityAssessmentNote_Assessment) GetJustification

func (*VulnerabilityAssessmentNote_Assessment) GetLongDescription

func (x *VulnerabilityAssessmentNote_Assessment) GetLongDescription() string

func (*VulnerabilityAssessmentNote_Assessment) GetRelatedUris

func (x *VulnerabilityAssessmentNote_Assessment) GetRelatedUris() []*RelatedUrl

func (*VulnerabilityAssessmentNote_Assessment) GetRemediations

func (*VulnerabilityAssessmentNote_Assessment) GetShortDescription

func (x *VulnerabilityAssessmentNote_Assessment) GetShortDescription() string

func (*VulnerabilityAssessmentNote_Assessment) GetState

func (*VulnerabilityAssessmentNote_Assessment) GetVulnerabilityId

func (x *VulnerabilityAssessmentNote_Assessment) GetVulnerabilityId() string

func (*VulnerabilityAssessmentNote_Assessment) ProtoMessage

func (*VulnerabilityAssessmentNote_Assessment) ProtoReflect

func (*VulnerabilityAssessmentNote_Assessment) Reset

func (*VulnerabilityAssessmentNote_Assessment) String

type VulnerabilityAssessmentNote_Assessment_Justification

type VulnerabilityAssessmentNote_Assessment_Justification struct {

	// The justification type for this vulnerability.
	JustificationType VulnerabilityAssessmentNote_Assessment_Justification_JustificationType `` /* 200-byte string literal not displayed */
	// Additional details on why this justification was chosen.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

func (*VulnerabilityAssessmentNote_Assessment_Justification) Descriptor deprecated

Deprecated: Use VulnerabilityAssessmentNote_Assessment_Justification.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote_Assessment_Justification) GetDetails

func (*VulnerabilityAssessmentNote_Assessment_Justification) GetJustificationType

func (*VulnerabilityAssessmentNote_Assessment_Justification) ProtoMessage

func (*VulnerabilityAssessmentNote_Assessment_Justification) ProtoReflect

func (*VulnerabilityAssessmentNote_Assessment_Justification) Reset

func (*VulnerabilityAssessmentNote_Assessment_Justification) String

type VulnerabilityAssessmentNote_Assessment_Justification_JustificationType

type VulnerabilityAssessmentNote_Assessment_Justification_JustificationType int32

Provides the type of justification.

const (
	// JUSTIFICATION_TYPE_UNSPECIFIED.
	VulnerabilityAssessmentNote_Assessment_Justification_JUSTIFICATION_TYPE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 0
	// The vulnerable component is not present in the product.
	VulnerabilityAssessmentNote_Assessment_Justification_COMPONENT_NOT_PRESENT VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 1
	// The vulnerable code is not present. Typically this case
	// occurs when source code is configured or built in a way that excludes
	// the vulnerable code.
	VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_NOT_PRESENT VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 2
	// The vulnerable code can not be executed.
	// Typically this case occurs when the product includes the vulnerable
	// code but does not call or use the vulnerable code.
	VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_NOT_IN_EXECUTE_PATH VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 3
	// The vulnerable code cannot be controlled by an attacker to exploit
	// the vulnerability.
	VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 4
	// The product includes built-in protections or features that prevent
	// exploitation of the vulnerability. These built-in protections cannot
	// be subverted by the attacker and cannot be configured or disabled by
	// the user. These mitigations completely prevent exploitation based on
	// known attack vectors.
	VulnerabilityAssessmentNote_Assessment_Justification_INLINE_MITIGATIONS_ALREADY_EXIST VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 5
)

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Descriptor

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Enum

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) EnumDescriptor deprecated

Deprecated: Use VulnerabilityAssessmentNote_Assessment_Justification_JustificationType.Descriptor instead.

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Number

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) String

func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Type

type VulnerabilityAssessmentNote_Assessment_Remediation

type VulnerabilityAssessmentNote_Assessment_Remediation struct {

	// The type of remediation that can be applied.
	RemediationType VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType `` /* 190-byte string literal not displayed */
	// Contains a comprehensive human-readable discussion of the remediation.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// Contains the URL where to obtain the remediation.
	RemediationUri *RelatedUrl `protobuf:"bytes,3,opt,name=remediation_uri,json=remediationUri,proto3" json:"remediation_uri,omitempty"`
	// contains filtered or unexported fields
}

Specifies details on how to handle (and presumably, fix) a vulnerability.

func (*VulnerabilityAssessmentNote_Assessment_Remediation) Descriptor deprecated

Deprecated: Use VulnerabilityAssessmentNote_Assessment_Remediation.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote_Assessment_Remediation) GetDetails

func (*VulnerabilityAssessmentNote_Assessment_Remediation) GetRemediationType

func (*VulnerabilityAssessmentNote_Assessment_Remediation) GetRemediationUri

func (*VulnerabilityAssessmentNote_Assessment_Remediation) ProtoMessage

func (*VulnerabilityAssessmentNote_Assessment_Remediation) ProtoReflect

func (*VulnerabilityAssessmentNote_Assessment_Remediation) Reset

func (*VulnerabilityAssessmentNote_Assessment_Remediation) String

type VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType

type VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType int32

The type of remediation that can be applied.

const (
	// No remediation type specified.
	VulnerabilityAssessmentNote_Assessment_Remediation_REMEDIATION_TYPE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 0
	// A MITIGATION is available.
	VulnerabilityAssessmentNote_Assessment_Remediation_MITIGATION VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 1
	// No fix is planned.
	VulnerabilityAssessmentNote_Assessment_Remediation_NO_FIX_PLANNED VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 2
	// Not available.
	VulnerabilityAssessmentNote_Assessment_Remediation_NONE_AVAILABLE VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 3
	// A vendor fix is available.
	VulnerabilityAssessmentNote_Assessment_Remediation_VENDOR_FIX VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 4
	// A workaround is available.
	VulnerabilityAssessmentNote_Assessment_Remediation_WORKAROUND VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 5
)

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Descriptor

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Enum

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) EnumDescriptor deprecated

Deprecated: Use VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType.Descriptor instead.

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Number

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) String

func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Type

type VulnerabilityAssessmentNote_Assessment_State

type VulnerabilityAssessmentNote_Assessment_State int32

Provides the state of this Vulnerability assessment.

const (
	// No state is specified.
	VulnerabilityAssessmentNote_Assessment_STATE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_State = 0
	// This product is known to be affected by this vulnerability.
	VulnerabilityAssessmentNote_Assessment_AFFECTED VulnerabilityAssessmentNote_Assessment_State = 1
	// This product is known to be not affected by this vulnerability.
	VulnerabilityAssessmentNote_Assessment_NOT_AFFECTED VulnerabilityAssessmentNote_Assessment_State = 2
	// This product contains a fix for this vulnerability.
	VulnerabilityAssessmentNote_Assessment_FIXED VulnerabilityAssessmentNote_Assessment_State = 3
	// It is not known yet whether these versions are or are not affected
	// by the vulnerability. However, it is still under investigation.
	VulnerabilityAssessmentNote_Assessment_UNDER_INVESTIGATION VulnerabilityAssessmentNote_Assessment_State = 4
)

func (VulnerabilityAssessmentNote_Assessment_State) Descriptor

func (VulnerabilityAssessmentNote_Assessment_State) Enum

func (VulnerabilityAssessmentNote_Assessment_State) EnumDescriptor deprecated

func (VulnerabilityAssessmentNote_Assessment_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAssessmentNote_Assessment_State.Descriptor instead.

func (VulnerabilityAssessmentNote_Assessment_State) Number

func (VulnerabilityAssessmentNote_Assessment_State) String

func (VulnerabilityAssessmentNote_Assessment_State) Type

type VulnerabilityAssessmentNote_Product

type VulnerabilityAssessmentNote_Product struct {

	// Name of the product.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Token that identifies a product so that it can be referred to from other
	// parts in the document. There is no predefined format as long as it
	// uniquely identifies a group in the context of the current document.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Identifier:
	//
	//	*VulnerabilityAssessmentNote_Product_GenericUri
	Identifier isVulnerabilityAssessmentNote_Product_Identifier `protobuf_oneof:"identifier"`
	// contains filtered or unexported fields
}

Product contains information about a product and how to uniquely identify it. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: Product is not a separate resource. --)

func (*VulnerabilityAssessmentNote_Product) Descriptor deprecated

func (*VulnerabilityAssessmentNote_Product) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAssessmentNote_Product.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote_Product) GetGenericUri

func (x *VulnerabilityAssessmentNote_Product) GetGenericUri() string

func (*VulnerabilityAssessmentNote_Product) GetId

func (*VulnerabilityAssessmentNote_Product) GetIdentifier

func (m *VulnerabilityAssessmentNote_Product) GetIdentifier() isVulnerabilityAssessmentNote_Product_Identifier

func (*VulnerabilityAssessmentNote_Product) GetName

func (*VulnerabilityAssessmentNote_Product) ProtoMessage

func (*VulnerabilityAssessmentNote_Product) ProtoMessage()

func (*VulnerabilityAssessmentNote_Product) ProtoReflect

func (*VulnerabilityAssessmentNote_Product) Reset

func (*VulnerabilityAssessmentNote_Product) String

type VulnerabilityAssessmentNote_Product_GenericUri

type VulnerabilityAssessmentNote_Product_GenericUri struct {
	// Contains a URI which is vendor-specific.
	// Example: The artifact repository URL of an image.
	GenericUri string `protobuf:"bytes,3,opt,name=generic_uri,json=genericUri,proto3,oneof"`
}

type VulnerabilityAssessmentNote_Publisher

type VulnerabilityAssessmentNote_Publisher struct {

	// Name of the publisher.
	// Examples: 'Google', 'Google Cloud Platform'.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Provides information about the authority of the issuing party to
	// release the document, in particular, the party's constituency and
	// responsibilities or other obligations.
	IssuingAuthority string `protobuf:"bytes,2,opt,name=issuing_authority,json=issuingAuthority,proto3" json:"issuing_authority,omitempty"`
	// The context or namespace.
	// Contains a URL which is under control of the issuing party and can
	// be used as a globally unique identifier for that issuing party.
	// Example: https://csaf.io
	PublisherNamespace string `protobuf:"bytes,3,opt,name=publisher_namespace,json=publisherNamespace,proto3" json:"publisher_namespace,omitempty"`
	// contains filtered or unexported fields
}

Publisher contains information about the publisher of this Note. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: Publisher is not a separate resource. --)

func (*VulnerabilityAssessmentNote_Publisher) Descriptor deprecated

func (*VulnerabilityAssessmentNote_Publisher) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityAssessmentNote_Publisher.ProtoReflect.Descriptor instead.

func (*VulnerabilityAssessmentNote_Publisher) GetIssuingAuthority

func (x *VulnerabilityAssessmentNote_Publisher) GetIssuingAuthority() string

func (*VulnerabilityAssessmentNote_Publisher) GetName

func (*VulnerabilityAssessmentNote_Publisher) GetPublisherNamespace

func (x *VulnerabilityAssessmentNote_Publisher) GetPublisherNamespace() string

func (*VulnerabilityAssessmentNote_Publisher) ProtoMessage

func (*VulnerabilityAssessmentNote_Publisher) ProtoMessage()

func (*VulnerabilityAssessmentNote_Publisher) ProtoReflect

func (*VulnerabilityAssessmentNote_Publisher) Reset

func (*VulnerabilityAssessmentNote_Publisher) String

type VulnerabilityNote

type VulnerabilityNote struct {

	// The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
	// where 0 indicates low severity and 10 indicates high severity.
	CvssScore float32 `protobuf:"fixed32,1,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
	// The note provider assigned severity of this vulnerability.
	Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"`
	// Details of all known distros and packages affected by this vulnerability.
	Details []*VulnerabilityNote_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// The full description of the CVSSv3 for this vulnerability.
	CvssV3 *CVSSv3 `protobuf:"bytes,4,opt,name=cvss_v3,json=cvssV3,proto3" json:"cvss_v3,omitempty"`
	// Windows details get their own format because the information format and
	// model don't match a normal detail. Specifically Windows updates are done as
	// patches, thus Windows vulnerabilities really are a missing package, rather
	// than a package being at an incorrect version.
	WindowsDetails []*VulnerabilityNote_WindowsDetail `protobuf:"bytes,5,rep,name=windows_details,json=windowsDetails,proto3" json:"windows_details,omitempty"`
	// The time this information was last changed at the source. This is an
	// upstream timestamp from the underlying information source - e.g. Ubuntu
	// security tracker.
	SourceUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=source_update_time,json=sourceUpdateTime,proto3" json:"source_update_time,omitempty"`
	// CVSS version used to populate cvss_score and severity.
	CvssVersion CVSSVersion `protobuf:"varint,7,opt,name=cvss_version,json=cvssVersion,proto3,enum=grafeas.v1.CVSSVersion" json:"cvss_version,omitempty"`
	// The full description of the v2 CVSS for this vulnerability.
	CvssV2 *CVSS `protobuf:"bytes,8,opt,name=cvss_v2,json=cvssV2,proto3" json:"cvss_v2,omitempty"`
	// contains filtered or unexported fields
}

A security vulnerability that can be found in resources.

func (*VulnerabilityNote) Descriptor deprecated

func (*VulnerabilityNote) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityNote.ProtoReflect.Descriptor instead.

func (*VulnerabilityNote) GetCvssScore

func (x *VulnerabilityNote) GetCvssScore() float32

func (*VulnerabilityNote) GetCvssV2

func (x *VulnerabilityNote) GetCvssV2() *CVSS

func (*VulnerabilityNote) GetCvssV3

func (x *VulnerabilityNote) GetCvssV3() *CVSSv3

func (*VulnerabilityNote) GetCvssVersion

func (x *VulnerabilityNote) GetCvssVersion() CVSSVersion

func (*VulnerabilityNote) GetDetails

func (x *VulnerabilityNote) GetDetails() []*VulnerabilityNote_Detail

func (*VulnerabilityNote) GetSeverity

func (x *VulnerabilityNote) GetSeverity() Severity

func (*VulnerabilityNote) GetSourceUpdateTime

func (x *VulnerabilityNote) GetSourceUpdateTime() *timestamppb.Timestamp

func (*VulnerabilityNote) GetWindowsDetails

func (x *VulnerabilityNote) GetWindowsDetails() []*VulnerabilityNote_WindowsDetail

func (*VulnerabilityNote) ProtoMessage

func (*VulnerabilityNote) ProtoMessage()

func (*VulnerabilityNote) ProtoReflect

func (x *VulnerabilityNote) ProtoReflect() protoreflect.Message

func (*VulnerabilityNote) Reset

func (x *VulnerabilityNote) Reset()

func (*VulnerabilityNote) String

func (x *VulnerabilityNote) String() string

type VulnerabilityNote_Detail

type VulnerabilityNote_Detail struct {

	// The distro assigned severity of this vulnerability.
	SeverityName string `protobuf:"bytes,1,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"`
	// A vendor-specific description of this vulnerability.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The type of package; whether native or non native (e.g., ruby gems,
	// node.js packages, etc.).
	PackageType string `protobuf:"bytes,3,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
	// Required. The [CPE URI](https://cpe.mitre.org/specification/) this
	// vulnerability affects.
	AffectedCpeUri string `protobuf:"bytes,4,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"`
	// Required. The package this vulnerability affects.
	AffectedPackage string `protobuf:"bytes,5,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"`
	// The version number at the start of an interval in which this
	// vulnerability exists. A vulnerability can affect a package between
	// version numbers that are disjoint sets of intervals (example:
	// [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be
	// represented in its own Detail. If a specific affected version is provided
	// by a vulnerability database, affected_version_start and
	// affected_version_end will be the same in that Detail.
	AffectedVersionStart *Version `protobuf:"bytes,6,opt,name=affected_version_start,json=affectedVersionStart,proto3" json:"affected_version_start,omitempty"`
	// The version number at the end of an interval in which this vulnerability
	// exists. A vulnerability can affect a package between version numbers
	// that are disjoint sets of intervals (example: [1.0.0-1.1.0],
	// [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its
	// own Detail. If a specific affected version is provided by a vulnerability
	// database, affected_version_start and affected_version_end will be the
	// same in that Detail.
	AffectedVersionEnd *Version `protobuf:"bytes,7,opt,name=affected_version_end,json=affectedVersionEnd,proto3" json:"affected_version_end,omitempty"`
	// The distro recommended [CPE URI](https://cpe.mitre.org/specification/)
	// to update to that contains a fix for this vulnerability. It is possible
	// for this to be different from the affected_cpe_uri.
	FixedCpeUri string `protobuf:"bytes,8,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`
	// The distro recommended package to update to that contains a fix for this
	// vulnerability. It is possible for this to be different from the
	// affected_package.
	FixedPackage string `protobuf:"bytes,9,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"`
	// The distro recommended version to update to that contains a
	// fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no
	// such version is yet available.
	FixedVersion *Version `protobuf:"bytes,10,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"`
	// Whether this detail is obsolete. Occurrences are expected not to point to
	// obsolete details.
	IsObsolete bool `protobuf:"varint,11,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"`
	// The time this information was last changed at the source. This is an
	// upstream timestamp from the underlying information source - e.g. Ubuntu
	// security tracker.
	SourceUpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=source_update_time,json=sourceUpdateTime,proto3" json:"source_update_time,omitempty"`
	// The source from which the information in this Detail was obtained.
	Source string `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"`
	// The name of the vendor of the product.
	Vendor string `protobuf:"bytes,14,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).

func (*VulnerabilityNote_Detail) Descriptor deprecated

func (*VulnerabilityNote_Detail) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityNote_Detail.ProtoReflect.Descriptor instead.

func (*VulnerabilityNote_Detail) GetAffectedCpeUri

func (x *VulnerabilityNote_Detail) GetAffectedCpeUri() string

func (*VulnerabilityNote_Detail) GetAffectedPackage

func (x *VulnerabilityNote_Detail) GetAffectedPackage() string

func (*VulnerabilityNote_Detail) GetAffectedVersionEnd

func (x *VulnerabilityNote_Detail) GetAffectedVersionEnd() *Version

func (*VulnerabilityNote_Detail) GetAffectedVersionStart

func (x *VulnerabilityNote_Detail) GetAffectedVersionStart() *Version

func (*VulnerabilityNote_Detail) GetDescription

func (x *VulnerabilityNote_Detail) GetDescription() string

func (*VulnerabilityNote_Detail) GetFixedCpeUri

func (x *VulnerabilityNote_Detail) GetFixedCpeUri() string

func (*VulnerabilityNote_Detail) GetFixedPackage

func (x *VulnerabilityNote_Detail) GetFixedPackage() string

func (*VulnerabilityNote_Detail) GetFixedVersion

func (x *VulnerabilityNote_Detail) GetFixedVersion() *Version

func (*VulnerabilityNote_Detail) GetIsObsolete

func (x *VulnerabilityNote_Detail) GetIsObsolete() bool

func (*VulnerabilityNote_Detail) GetPackageType

func (x *VulnerabilityNote_Detail) GetPackageType() string

func (*VulnerabilityNote_Detail) GetSeverityName

func (x *VulnerabilityNote_Detail) GetSeverityName() string

func (*VulnerabilityNote_Detail) GetSource

func (x *VulnerabilityNote_Detail) GetSource() string

func (*VulnerabilityNote_Detail) GetSourceUpdateTime

func (x *VulnerabilityNote_Detail) GetSourceUpdateTime() *timestamppb.Timestamp

func (*VulnerabilityNote_Detail) GetVendor

func (x *VulnerabilityNote_Detail) GetVendor() string

func (*VulnerabilityNote_Detail) ProtoMessage

func (*VulnerabilityNote_Detail) ProtoMessage()

func (*VulnerabilityNote_Detail) ProtoReflect

func (x *VulnerabilityNote_Detail) ProtoReflect() protoreflect.Message

func (*VulnerabilityNote_Detail) Reset

func (x *VulnerabilityNote_Detail) Reset()

func (*VulnerabilityNote_Detail) String

func (x *VulnerabilityNote_Detail) String() string

type VulnerabilityNote_WindowsDetail

type VulnerabilityNote_WindowsDetail struct {

	// Required. The [CPE URI](https://cpe.mitre.org/specification/) this
	// vulnerability affects.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// Required. The name of this vulnerability.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of this vulnerability.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Required. The names of the KBs which have hotfixes to mitigate this
	// vulnerability. Note that there may be multiple hotfixes (and thus
	// multiple KBs) that mitigate a given vulnerability. Currently any listed
	// KBs presence is considered a fix.
	FixingKbs []*VulnerabilityNote_WindowsDetail_KnowledgeBase `protobuf:"bytes,4,rep,name=fixing_kbs,json=fixingKbs,proto3" json:"fixing_kbs,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityNote_WindowsDetail) Descriptor deprecated

func (*VulnerabilityNote_WindowsDetail) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityNote_WindowsDetail.ProtoReflect.Descriptor instead.

func (*VulnerabilityNote_WindowsDetail) GetCpeUri

func (x *VulnerabilityNote_WindowsDetail) GetCpeUri() string

func (*VulnerabilityNote_WindowsDetail) GetDescription

func (x *VulnerabilityNote_WindowsDetail) GetDescription() string

func (*VulnerabilityNote_WindowsDetail) GetFixingKbs

func (*VulnerabilityNote_WindowsDetail) GetName

func (*VulnerabilityNote_WindowsDetail) ProtoMessage

func (*VulnerabilityNote_WindowsDetail) ProtoMessage()

func (*VulnerabilityNote_WindowsDetail) ProtoReflect

func (*VulnerabilityNote_WindowsDetail) Reset

func (*VulnerabilityNote_WindowsDetail) String

type VulnerabilityNote_WindowsDetail_KnowledgeBase

type VulnerabilityNote_WindowsDetail_KnowledgeBase struct {

	// The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A link to the KB in the [Windows update catalog]
	// (https://www.catalog.update.microsoft.com/).
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) Descriptor deprecated

Deprecated: Use VulnerabilityNote_WindowsDetail_KnowledgeBase.ProtoReflect.Descriptor instead.

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) GetName

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) GetUrl

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) ProtoMessage

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) ProtoReflect

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) Reset

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) String

type VulnerabilityOccurrence

type VulnerabilityOccurrence struct {

	// The type of package; whether native or non native (e.g., ruby gems, node.js
	// packages, etc.).
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The note provider assigned severity of this vulnerability.
	Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"`
	// Output only. The CVSS score of this vulnerability. CVSS score is on a
	// scale of 0 - 10 where 0 indicates low severity and 10 indicates high
	// severity.
	CvssScore float32 `protobuf:"fixed32,3,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
	// The cvss v3 score for the vulnerability.
	Cvssv3 *CVSS `protobuf:"bytes,10,opt,name=cvssv3,proto3" json:"cvssv3,omitempty"`
	// Required. The set of affected locations and their fixes (if available)
	// within the associated resource.
	PackageIssue []*VulnerabilityOccurrence_PackageIssue `protobuf:"bytes,4,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"`
	// Output only. A one sentence description of this vulnerability.
	ShortDescription string `protobuf:"bytes,5,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// Output only. A detailed description of this vulnerability.
	LongDescription string `protobuf:"bytes,6,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Output only. URLs related to this vulnerability.
	RelatedUrls []*RelatedUrl `protobuf:"bytes,7,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
	// The distro assigned severity for this vulnerability when it is available,
	// otherwise this is the note provider assigned severity.
	//
	// When there are multiple PackageIssues for this vulnerability, they can have
	// different effective severities because some might be provided by the distro
	// while others are provided by the language ecosystem for a language pack.
	// For this reason, it is advised to use the effective severity on the
	// PackageIssue level. In the case where multiple PackageIssues have differing
	// effective severities, this field should be the highest severity for any of
	// the PackageIssues.
	EffectiveSeverity Severity `` /* 138-byte string literal not displayed */
	// Output only. Whether at least one of the affected packages has a fix
	// available.
	FixAvailable bool `protobuf:"varint,9,opt,name=fix_available,json=fixAvailable,proto3" json:"fix_available,omitempty"`
	// Output only. CVSS version used to populate cvss_score and severity.
	CvssVersion CVSSVersion `protobuf:"varint,11,opt,name=cvss_version,json=cvssVersion,proto3,enum=grafeas.v1.CVSSVersion" json:"cvss_version,omitempty"`
	// The cvss v2 score for the vulnerability.
	CvssV2        *CVSS                                  `protobuf:"bytes,12,opt,name=cvss_v2,json=cvssV2,proto3" json:"cvss_v2,omitempty"`
	VexAssessment *VulnerabilityOccurrence_VexAssessment `protobuf:"bytes,13,opt,name=vex_assessment,json=vexAssessment,proto3" json:"vex_assessment,omitempty"`
	// Occurrence-specific extra details about the vulnerability.
	ExtraDetails string `protobuf:"bytes,14,opt,name=extra_details,json=extraDetails,proto3" json:"extra_details,omitempty"`
	// contains filtered or unexported fields
}

An occurrence of a severity vulnerability on a resource.

func (*VulnerabilityOccurrence) Descriptor deprecated

func (*VulnerabilityOccurrence) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityOccurrence.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrence) GetCvssScore

func (x *VulnerabilityOccurrence) GetCvssScore() float32

func (*VulnerabilityOccurrence) GetCvssV2

func (x *VulnerabilityOccurrence) GetCvssV2() *CVSS

func (*VulnerabilityOccurrence) GetCvssVersion

func (x *VulnerabilityOccurrence) GetCvssVersion() CVSSVersion

func (*VulnerabilityOccurrence) GetCvssv3

func (x *VulnerabilityOccurrence) GetCvssv3() *CVSS

func (*VulnerabilityOccurrence) GetEffectiveSeverity

func (x *VulnerabilityOccurrence) GetEffectiveSeverity() Severity

func (*VulnerabilityOccurrence) GetExtraDetails

func (x *VulnerabilityOccurrence) GetExtraDetails() string

func (*VulnerabilityOccurrence) GetFixAvailable

func (x *VulnerabilityOccurrence) GetFixAvailable() bool

func (*VulnerabilityOccurrence) GetLongDescription

func (x *VulnerabilityOccurrence) GetLongDescription() string

func (*VulnerabilityOccurrence) GetPackageIssue

func (*VulnerabilityOccurrence) GetRelatedUrls

func (x *VulnerabilityOccurrence) GetRelatedUrls() []*RelatedUrl

func (*VulnerabilityOccurrence) GetSeverity

func (x *VulnerabilityOccurrence) GetSeverity() Severity

func (*VulnerabilityOccurrence) GetShortDescription

func (x *VulnerabilityOccurrence) GetShortDescription() string

func (*VulnerabilityOccurrence) GetType

func (x *VulnerabilityOccurrence) GetType() string

func (*VulnerabilityOccurrence) GetVexAssessment

func (*VulnerabilityOccurrence) ProtoMessage

func (*VulnerabilityOccurrence) ProtoMessage()

func (*VulnerabilityOccurrence) ProtoReflect

func (x *VulnerabilityOccurrence) ProtoReflect() protoreflect.Message

func (*VulnerabilityOccurrence) Reset

func (x *VulnerabilityOccurrence) Reset()

func (*VulnerabilityOccurrence) String

func (x *VulnerabilityOccurrence) String() string

type VulnerabilityOccurrence_PackageIssue

type VulnerabilityOccurrence_PackageIssue struct {

	// Required. The [CPE URI](https://cpe.mitre.org/specification/) this
	// vulnerability was found in.
	AffectedCpeUri string `protobuf:"bytes,1,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"`
	// Required. The package this vulnerability was found in.
	AffectedPackage string `protobuf:"bytes,2,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"`
	// Required. The version of the package that is installed on the resource
	// affected by this vulnerability.
	AffectedVersion *Version `protobuf:"bytes,3,opt,name=affected_version,json=affectedVersion,proto3" json:"affected_version,omitempty"`
	// The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability
	// was fixed in. It is possible for this to be different from the
	// affected_cpe_uri.
	FixedCpeUri string `protobuf:"bytes,4,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`
	// The package this vulnerability was fixed in. It is possible for this to
	// be different from the affected_package.
	FixedPackage string `protobuf:"bytes,5,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"`
	// Required. The version of the package this vulnerability was fixed in.
	// Setting this to VersionKind.MAXIMUM means no fix is yet available.
	FixedVersion *Version `protobuf:"bytes,6,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"`
	// Output only. Whether a fix is available for this package.
	FixAvailable bool `protobuf:"varint,7,opt,name=fix_available,json=fixAvailable,proto3" json:"fix_available,omitempty"`
	// The type of package (e.g. OS, MAVEN, GO).
	PackageType string `protobuf:"bytes,8,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
	// The distro or language system assigned severity for this vulnerability
	// when that is available and note provider assigned severity when it is not
	// available.
	EffectiveSeverity Severity `` /* 138-byte string literal not displayed */
	// The location at which this package was found.
	FileLocation []*FileLocation `protobuf:"bytes,10,rep,name=file_location,json=fileLocation,proto3" json:"file_location,omitempty"`
	// contains filtered or unexported fields
}

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

func (*VulnerabilityOccurrence_PackageIssue) Descriptor deprecated

func (*VulnerabilityOccurrence_PackageIssue) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityOccurrence_PackageIssue.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrence_PackageIssue) GetAffectedCpeUri

func (x *VulnerabilityOccurrence_PackageIssue) GetAffectedCpeUri() string

func (*VulnerabilityOccurrence_PackageIssue) GetAffectedPackage

func (x *VulnerabilityOccurrence_PackageIssue) GetAffectedPackage() string

func (*VulnerabilityOccurrence_PackageIssue) GetAffectedVersion

func (x *VulnerabilityOccurrence_PackageIssue) GetAffectedVersion() *Version

func (*VulnerabilityOccurrence_PackageIssue) GetEffectiveSeverity

func (x *VulnerabilityOccurrence_PackageIssue) GetEffectiveSeverity() Severity

func (*VulnerabilityOccurrence_PackageIssue) GetFileLocation

func (x *VulnerabilityOccurrence_PackageIssue) GetFileLocation() []*FileLocation

func (*VulnerabilityOccurrence_PackageIssue) GetFixAvailable

func (x *VulnerabilityOccurrence_PackageIssue) GetFixAvailable() bool

func (*VulnerabilityOccurrence_PackageIssue) GetFixedCpeUri

func (x *VulnerabilityOccurrence_PackageIssue) GetFixedCpeUri() string

func (*VulnerabilityOccurrence_PackageIssue) GetFixedPackage

func (x *VulnerabilityOccurrence_PackageIssue) GetFixedPackage() string

func (*VulnerabilityOccurrence_PackageIssue) GetFixedVersion

func (x *VulnerabilityOccurrence_PackageIssue) GetFixedVersion() *Version

func (*VulnerabilityOccurrence_PackageIssue) GetPackageType

func (x *VulnerabilityOccurrence_PackageIssue) GetPackageType() string

func (*VulnerabilityOccurrence_PackageIssue) ProtoMessage

func (*VulnerabilityOccurrence_PackageIssue) ProtoMessage()

func (*VulnerabilityOccurrence_PackageIssue) ProtoReflect

func (*VulnerabilityOccurrence_PackageIssue) Reset

func (*VulnerabilityOccurrence_PackageIssue) String

type VulnerabilityOccurrence_VexAssessment

type VulnerabilityOccurrence_VexAssessment struct {

	// Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)
	// tracking number for the vulnerability.
	// Deprecated: Use vulnerability_id instead to denote CVEs.
	//
	// Deprecated: Do not use.
	Cve string `protobuf:"bytes,1,opt,name=cve,proto3" json:"cve,omitempty"`
	// The vulnerability identifier for this Assessment. Will hold one of
	// common identifiers e.g. CVE, GHSA etc.
	VulnerabilityId string `protobuf:"bytes,8,opt,name=vulnerability_id,json=vulnerabilityId,proto3" json:"vulnerability_id,omitempty"`
	// Holds a list of references associated with this vulnerability item and
	// assessment.
	RelatedUris []*RelatedUrl `protobuf:"bytes,2,rep,name=related_uris,json=relatedUris,proto3" json:"related_uris,omitempty"`
	// The VulnerabilityAssessment note from which this VexAssessment was
	// generated.
	// This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
	// (-- api-linter: core::0122::name-suffix=disabled
	//
	//	aip.dev/not-precedent: The suffix is kept for consistency. --)
	NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"`
	// Provides the state of this Vulnerability assessment.
	State VulnerabilityAssessmentNote_Assessment_State `protobuf:"varint,4,opt,name=state,proto3,enum=grafeas.v1.VulnerabilityAssessmentNote_Assessment_State" json:"state,omitempty"`
	// Contains information about the impact of this vulnerability,
	// this will change with time.
	Impacts []string `protobuf:"bytes,5,rep,name=impacts,proto3" json:"impacts,omitempty"`
	// Specifies details on how to handle (and presumably, fix) a vulnerability.
	Remediations []*VulnerabilityAssessmentNote_Assessment_Remediation `protobuf:"bytes,6,rep,name=remediations,proto3" json:"remediations,omitempty"`
	// Justification provides the justification when the state of the
	// assessment if NOT_AFFECTED.
	Justification *VulnerabilityAssessmentNote_Assessment_Justification `protobuf:"bytes,7,opt,name=justification,proto3" json:"justification,omitempty"`
	// contains filtered or unexported fields
}

VexAssessment provides all publisher provided Vex information that is related to this vulnerability.

func (*VulnerabilityOccurrence_VexAssessment) Descriptor deprecated

func (*VulnerabilityOccurrence_VexAssessment) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityOccurrence_VexAssessment.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrence_VexAssessment) GetCve deprecated

Deprecated: Do not use.

func (*VulnerabilityOccurrence_VexAssessment) GetImpacts

func (*VulnerabilityOccurrence_VexAssessment) GetJustification

func (*VulnerabilityOccurrence_VexAssessment) GetNoteName

func (*VulnerabilityOccurrence_VexAssessment) GetRelatedUris

func (x *VulnerabilityOccurrence_VexAssessment) GetRelatedUris() []*RelatedUrl

func (*VulnerabilityOccurrence_VexAssessment) GetRemediations

func (*VulnerabilityOccurrence_VexAssessment) GetState

func (*VulnerabilityOccurrence_VexAssessment) GetVulnerabilityId

func (x *VulnerabilityOccurrence_VexAssessment) GetVulnerabilityId() string

func (*VulnerabilityOccurrence_VexAssessment) ProtoMessage

func (*VulnerabilityOccurrence_VexAssessment) ProtoMessage()

func (*VulnerabilityOccurrence_VexAssessment) ProtoReflect

func (*VulnerabilityOccurrence_VexAssessment) Reset

func (*VulnerabilityOccurrence_VexAssessment) String

type WindowsUpdate

type WindowsUpdate struct {

	// Required - The unique identifier for the update.
	Identity *WindowsUpdate_Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// The localized title of the update.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The localized description of the update.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The list of categories to which the update belongs.
	Categories []*WindowsUpdate_Category `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty"`
	// The Microsoft Knowledge Base article IDs that are associated with the
	// update.
	KbArticleIds []string `protobuf:"bytes,5,rep,name=kb_article_ids,json=kbArticleIds,proto3" json:"kb_article_ids,omitempty"`
	// The hyperlink to the support information for the update.
	SupportUrl string `protobuf:"bytes,6,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`
	// The last published timestamp of the update.
	LastPublishedTimestamp *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.

func (*WindowsUpdate) Descriptor deprecated

func (*WindowsUpdate) Descriptor() ([]byte, []int)

Deprecated: Use WindowsUpdate.ProtoReflect.Descriptor instead.

func (*WindowsUpdate) GetCategories

func (x *WindowsUpdate) GetCategories() []*WindowsUpdate_Category

func (*WindowsUpdate) GetDescription

func (x *WindowsUpdate) GetDescription() string

func (*WindowsUpdate) GetIdentity

func (x *WindowsUpdate) GetIdentity() *WindowsUpdate_Identity

func (*WindowsUpdate) GetKbArticleIds

func (x *WindowsUpdate) GetKbArticleIds() []string

func (*WindowsUpdate) GetLastPublishedTimestamp

func (x *WindowsUpdate) GetLastPublishedTimestamp() *timestamppb.Timestamp

func (*WindowsUpdate) GetSupportUrl

func (x *WindowsUpdate) GetSupportUrl() string

func (*WindowsUpdate) GetTitle

func (x *WindowsUpdate) GetTitle() string

func (*WindowsUpdate) ProtoMessage

func (*WindowsUpdate) ProtoMessage()

func (*WindowsUpdate) ProtoReflect

func (x *WindowsUpdate) ProtoReflect() protoreflect.Message

func (*WindowsUpdate) Reset

func (x *WindowsUpdate) Reset()

func (*WindowsUpdate) String

func (x *WindowsUpdate) String() string

type WindowsUpdate_Category

type WindowsUpdate_Category struct {

	// The identifier of the category.
	CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	// The localized name of the category.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The category to which the update belongs.

func (*WindowsUpdate_Category) Descriptor deprecated

func (*WindowsUpdate_Category) Descriptor() ([]byte, []int)

Deprecated: Use WindowsUpdate_Category.ProtoReflect.Descriptor instead.

func (*WindowsUpdate_Category) GetCategoryId

func (x *WindowsUpdate_Category) GetCategoryId() string

func (*WindowsUpdate_Category) GetName

func (x *WindowsUpdate_Category) GetName() string

func (*WindowsUpdate_Category) ProtoMessage

func (*WindowsUpdate_Category) ProtoMessage()

func (*WindowsUpdate_Category) ProtoReflect

func (x *WindowsUpdate_Category) ProtoReflect() protoreflect.Message

func (*WindowsUpdate_Category) Reset

func (x *WindowsUpdate_Category) Reset()

func (*WindowsUpdate_Category) String

func (x *WindowsUpdate_Category) String() string

type WindowsUpdate_Identity

type WindowsUpdate_Identity struct {

	// The revision independent identifier of the update.
	UpdateId string `protobuf:"bytes,1,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
	// The revision number of the update.
	Revision int32 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

The unique identifier of the update.

func (*WindowsUpdate_Identity) Descriptor deprecated

func (*WindowsUpdate_Identity) Descriptor() ([]byte, []int)

Deprecated: Use WindowsUpdate_Identity.ProtoReflect.Descriptor instead.

func (*WindowsUpdate_Identity) GetRevision

func (x *WindowsUpdate_Identity) GetRevision() int32

func (*WindowsUpdate_Identity) GetUpdateId

func (x *WindowsUpdate_Identity) GetUpdateId() string

func (*WindowsUpdate_Identity) ProtoMessage

func (*WindowsUpdate_Identity) ProtoMessage()

func (*WindowsUpdate_Identity) ProtoReflect

func (x *WindowsUpdate_Identity) ProtoReflect() protoreflect.Message

func (*WindowsUpdate_Identity) Reset

func (x *WindowsUpdate_Identity) Reset()

func (*WindowsUpdate_Identity) String

func (x *WindowsUpdate_Identity) String() string

Jump to

Keyboard shortcuts

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