grafeas

package
Version: v0.0.0-...-d2e6a12 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 14 Imported by: 22

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",
	}
	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,
	}
)

Enum value maps for NoteKind.

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",
	}
	CVSS_AttackComplexity_value = map[string]int32{
		"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
		"ATTACK_COMPLEXITY_LOW":         1,
		"ATTACK_COMPLEXITY_HIGH":        2,
	}
)

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",
	}
	CVSS_Impact_value = map[string]int32{
		"IMPACT_UNSPECIFIED": 0,
		"IMPACT_HIGH":        1,
		"IMPACT_LOW":         2,
		"IMPACT_NONE":        3,
	}
)

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,
		"FINISHED_FAILED":             4,
		"FINISHED_UNSUPPORTED":        5,
	}
)

Enum value maps for DiscoveryOccurrence_AnalysisStatus.

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 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_severity_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_slsa_provenance_proto protoreflect.FileDescriptor
View Source
var File_grafeas_v1_upgrade_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"`
	// 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) 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 multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.

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 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
)

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
)

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"`
	// 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) 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 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 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) 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 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 */
	// 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"`
	// 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) 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) 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_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 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 Distribution

type Distribution struct {

	// Required. 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 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.

<