grafeas

package
v0.0.0-...-e9438ea Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 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 (
	DiscoveryOccurrence_VulnerabilityAttestation_VulnerabilityAttestationState_name = map[int32]string{
		0: "VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED",
		1: "SUCCESS",
		2: "FAILURE",
	}
	DiscoveryOccurrence_VulnerabilityAttestation_VulnerabilityAttestationState_value = map[string]int32{
		"VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED": 0,
		"SUCCESS": 1,
		"FAILURE": 2,
	}
)

Enum value maps for DiscoveryOccurrence_VulnerabilityAttestation_VulnerabilityAttestationState.

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"`
	// The OS and config version the benchmark was run on.
	Version *ComplianceVersion `protobuf:"bytes,4,opt,name=version,proto3" json:"version,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) GetVersion

func (x *ComplianceOccurrence) GetVersion() *ComplianceVersion

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)