containeranalysis

package
v0.0.0-...-115e99e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AliasContext_Kind_name = map[int32]string{
	0: "KIND_UNSPECIFIED",
	1: "FIXED",
	2: "MOVABLE",
	4: "OTHER",
}
View Source
var AliasContext_Kind_value = map[string]int32{
	"KIND_UNSPECIFIED": 0,
	"FIXED":            1,
	"MOVABLE":          2,
	"OTHER":            4,
}
View Source
var BuildSignature_KeyType_name = map[int32]string{
	0: "KEY_TYPE_UNSPECIFIED",
	1: "PGP_ASCII_ARMORED",
	2: "PKIX_PEM",
}
View Source
var BuildSignature_KeyType_value = map[string]int32{
	"KEY_TYPE_UNSPECIFIED": 0,
	"PGP_ASCII_ARMORED":    1,
	"PKIX_PEM":             2,
}
View Source
var Deployable_Deployment_Platform_name = map[int32]string{
	0: "PLATFORM_UNSPECIFIED",
	1: "GKE",
	2: "FLEX",
	3: "CUSTOM",
}
View Source
var Deployable_Deployment_Platform_value = map[string]int32{
	"PLATFORM_UNSPECIFIED": 0,
	"GKE":                  1,
	"FLEX":                 2,
	"CUSTOM":               3,
}
View Source
var Discovery_Discovered_AnalysisStatus_name = map[int32]string{
	0: "ANALYSIS_STATUS_UNSPECIFIED",
	1: "PENDING",
	2: "SCANNING",
	3: "FINISHED_SUCCESS",
	4: "FINISHED_FAILED",
	5: "UNSUPPORTED_RESOURCE",
}
View Source
var Discovery_Discovered_AnalysisStatus_value = map[string]int32{
	"ANALYSIS_STATUS_UNSPECIFIED": 0,
	"PENDING":                     1,
	"SCANNING":                    2,
	"FINISHED_SUCCESS":            3,
	"FINISHED_FAILED":             4,
	"UNSUPPORTED_RESOURCE":        5,
}
View Source
var DockerImage_Layer_Directive_name = map[int32]string{
	0:  "DIRECTIVE_UNSPECIFIED",
	1:  "MAINTAINER",
	2:  "RUN",
	3:  "CMD",
	4:  "LABEL",
	5:  "EXPOSE",
	6:  "ENV",
	7:  "ADD",
	8:  "COPY",
	9:  "ENTRYPOINT",
	10: "VOLUME",
	11: "USER",
	12: "WORKDIR",
	13: "ARG",
	14: "ONBUILD",
	15: "STOPSIGNAL",
	16: "HEALTHCHECK",
	17: "SHELL",
}
View Source
var DockerImage_Layer_Directive_value = map[string]int32{
	"DIRECTIVE_UNSPECIFIED": 0,
	"MAINTAINER":            1,
	"RUN":                   2,
	"CMD":                   3,
	"LABEL":                 4,
	"EXPOSE":                5,
	"ENV":                   6,
	"ADD":                   7,
	"COPY":                  8,
	"ENTRYPOINT":            9,
	"VOLUME":                10,
	"USER":                  11,
	"WORKDIR":               12,
	"ARG":                   13,
	"ONBUILD":               14,
	"STOPSIGNAL":            15,
	"HEALTHCHECK":           16,
	"SHELL":                 17,
}
View Source
var Hash_HashType_name = map[int32]string{
	0: "NONE",
	1: "SHA256",
}
View Source
var Hash_HashType_value = map[string]int32{
	"NONE":   0,
	"SHA256": 1,
}
View Source
var Note_Kind_name = map[int32]string{
	0: "KIND_UNSPECIFIED",
	2: "PACKAGE_VULNERABILITY",
	3: "BUILD_DETAILS",
	4: "IMAGE_BASIS",
	5: "PACKAGE_MANAGER",
	6: "DEPLOYABLE",
	7: "DISCOVERY",
	8: "ATTESTATION_AUTHORITY",
}
View Source
var Note_Kind_value = map[string]int32{
	"KIND_UNSPECIFIED":      0,
	"PACKAGE_VULNERABILITY": 2,
	"BUILD_DETAILS":         3,
	"IMAGE_BASIS":           4,
	"PACKAGE_MANAGER":       5,
	"DEPLOYABLE":            6,
	"DISCOVERY":             7,
	"ATTESTATION_AUTHORITY": 8,
}
View Source
var PackageManager_Architecture_name = map[int32]string{
	0: "ARCHITECTURE_UNSPECIFIED",
	1: "X86",
	2: "X64",
}
View Source
var PackageManager_Architecture_value = map[string]int32{
	"ARCHITECTURE_UNSPECIFIED": 0,
	"X86":                      1,
	"X64":                      2,
}
View Source
var PgpSignedAttestation_ContentType_name = map[int32]string{
	0: "CONTENT_TYPE_UNSPECIFIED",
	1: "SIMPLE_SIGNING_JSON",
}
View Source
var PgpSignedAttestation_ContentType_value = map[string]int32{
	"CONTENT_TYPE_UNSPECIFIED": 0,
	"SIMPLE_SIGNING_JSON":      1,
}
View Source
var VulnerabilityType_Severity_name = map[int32]string{
	0: "SEVERITY_UNSPECIFIED",
	1: "MINIMAL",
	2: "LOW",
	3: "MEDIUM",
	4: "HIGH",
	5: "CRITICAL",
}
View Source
var VulnerabilityType_Severity_value = map[string]int32{
	"SEVERITY_UNSPECIFIED": 0,
	"MINIMAL":              1,
	"LOW":                  2,
	"MEDIUM":               3,
	"HIGH":                 4,
	"CRITICAL":             5,
}
View Source
var VulnerabilityType_Version_VersionKind_name = map[int32]string{
	0: "NORMAL",
	1: "MINIMUM",
	2: "MAXIMUM",
}
View Source
var VulnerabilityType_Version_VersionKind_value = map[string]int32{
	"NORMAL":  0,
	"MINIMUM": 1,
	"MAXIMUM": 2,
}

Functions

func RegisterContainerAnalysisServer

func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer)

Types

type AliasContext

type AliasContext struct {
	// The alias kind.
	Kind AliasContext_Kind `` /* 128-byte string literal not displayed */
	// The alias name.
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An alias to a repo revision.

func (*AliasContext) Descriptor

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

func (*AliasContext) GetKind

func (m *AliasContext) GetKind() AliasContext_Kind

func (*AliasContext) GetName

func (m *AliasContext) GetName() string

func (*AliasContext) ProtoMessage

func (*AliasContext) ProtoMessage()

func (*AliasContext) Reset

func (m *AliasContext) Reset()

func (*AliasContext) String

func (m *AliasContext) String() string

func (*AliasContext) XXX_DiscardUnknown

func (m *AliasContext) XXX_DiscardUnknown()

func (*AliasContext) XXX_Marshal

func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AliasContext) XXX_Merge

func (m *AliasContext) XXX_Merge(src proto.Message)

func (*AliasContext) XXX_Size

func (m *AliasContext) XXX_Size() int

func (*AliasContext) XXX_Unmarshal

func (m *AliasContext) XXX_Unmarshal(b []byte) error

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

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

func (AliasContext_Kind) String

func (x AliasContext_Kind) String() string

type Artifact

type Artifact struct {
	// Name of the artifact. 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`.
	//
	// This field is deprecated in favor of the plural `names` field; it continues
	// to exist here to allow existing BuildProvenance serialized to json in
	// google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to
	// deserialize back into proto.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
	// container.
	Checksum string `protobuf:"bytes,2,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,3,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,4,rep,name=names,proto3" json:"names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Artifact describes a build product.

func (*Artifact) Descriptor

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

func (*Artifact) GetChecksum

func (m *Artifact) GetChecksum() string

func (*Artifact) GetId

func (m *Artifact) GetId() string

func (*Artifact) GetName

func (m *Artifact) GetName() string

func (*Artifact) GetNames

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

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) Reset

func (m *Artifact) Reset()

func (*Artifact) String

func (m *Artifact) String() string

func (*Artifact) XXX_DiscardUnknown

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal

func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Artifact) XXX_Merge

func (m *Artifact) XXX_Merge(src proto.Message)

func (*Artifact) XXX_Size

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal

func (m *Artifact) XXX_Unmarshal(b []byte) error

type AttestationAuthority

type AttestationAuthority struct {
	Hint                 *AttestationAuthority_AttestationAuthorityHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `AttestationAuthority` 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 (*AttestationAuthority) Descriptor

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

func (*AttestationAuthority) GetHint

func (*AttestationAuthority) ProtoMessage

func (*AttestationAuthority) ProtoMessage()

func (*AttestationAuthority) Reset

func (m *AttestationAuthority) Reset()

func (*AttestationAuthority) String

func (m *AttestationAuthority) String() string

func (*AttestationAuthority) XXX_DiscardUnknown

func (m *AttestationAuthority) XXX_DiscardUnknown()

func (*AttestationAuthority) XXX_Marshal

func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationAuthority) XXX_Merge

func (m *AttestationAuthority) XXX_Merge(src proto.Message)

func (*AttestationAuthority) XXX_Size

func (m *AttestationAuthority) XXX_Size() int

func (*AttestationAuthority) XXX_Unmarshal

func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error

type AttestationAuthority_Attestation

type AttestationAuthority_Attestation struct {
	// The signature, generally over the `resource_url`, that verifies this
	// attestation.  The semantics of the signature veracity are ultimately
	// determined by the verification engine.
	//
	// Types that are valid to be assigned to Signature:
	//	*AttestationAuthority_Attestation_PgpSignedAttestation
	Signature            isAttestationAuthority_Attestation_Signature `protobuf_oneof:"signature"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

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 AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).

func (*AttestationAuthority_Attestation) Descriptor

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

func (*AttestationAuthority_Attestation) GetPgpSignedAttestation

func (m *AttestationAuthority_Attestation) GetPgpSignedAttestation() *PgpSignedAttestation

func (*AttestationAuthority_Attestation) GetSignature

func (m *AttestationAuthority_Attestation) GetSignature() isAttestationAuthority_Attestation_Signature

func (*AttestationAuthority_Attestation) ProtoMessage

func (*AttestationAuthority_Attestation) ProtoMessage()

func (*AttestationAuthority_Attestation) Reset

func (*AttestationAuthority_Attestation) String

func (*AttestationAuthority_Attestation) XXX_DiscardUnknown

func (m *AttestationAuthority_Attestation) XXX_DiscardUnknown()

func (*AttestationAuthority_Attestation) XXX_Marshal

func (m *AttestationAuthority_Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationAuthority_Attestation) XXX_Merge

func (*AttestationAuthority_Attestation) XXX_OneofWrappers

func (*AttestationAuthority_Attestation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AttestationAuthority_Attestation) XXX_Size

func (m *AttestationAuthority_Attestation) XXX_Size() int

func (*AttestationAuthority_Attestation) XXX_Unmarshal

func (m *AttestationAuthority_Attestation) XXX_Unmarshal(b []byte) error

type AttestationAuthority_AttestationAuthorityHint

type AttestationAuthority_AttestationAuthorityHint struct {
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.

func (*AttestationAuthority_AttestationAuthorityHint) Descriptor

func (*AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName

func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string

func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage

func (*AttestationAuthority_AttestationAuthorityHint) Reset

func (*AttestationAuthority_AttestationAuthorityHint) String

func (*AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown

func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown()

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Marshal

func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Merge

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Size

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal

type AttestationAuthority_Attestation_PgpSignedAttestation

type AttestationAuthority_Attestation_PgpSignedAttestation struct {
	PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"`
}

type BuildDetails

type BuildDetails struct {
	// The actual provenance
	Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"`
	// Serialized JSON representation of the provenance, used in generating the
	// `BuildSignature` in the corresponding Result. 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message encapsulating build provenance details.

func (*BuildDetails) Descriptor

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

func (*BuildDetails) GetProvenance

func (m *BuildDetails) GetProvenance() *BuildProvenance

func (*BuildDetails) GetProvenanceBytes

func (m *BuildDetails) GetProvenanceBytes() string

func (*BuildDetails) ProtoMessage

func (*BuildDetails) ProtoMessage()

func (*BuildDetails) Reset

func (m *BuildDetails) Reset()

func (*BuildDetails) String

func (m *BuildDetails) String() string

func (*BuildDetails) XXX_DiscardUnknown

func (m *BuildDetails) XXX_DiscardUnknown()

func (*BuildDetails) XXX_Marshal

func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildDetails) XXX_Merge

func (m *BuildDetails) XXX_Merge(src proto.Message)

func (*BuildDetails) XXX_Size

func (m *BuildDetails) XXX_Size() int

func (*BuildDetails) XXX_Unmarshal

func (m *BuildDetails) XXX_Unmarshal(b []byte) error

type BuildProvenance

type BuildProvenance struct {
	// 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,5,rep,name=commands,proto3" json:"commands,omitempty"`
	// Output of the build.
	BuiltArtifacts []*Artifact `protobuf:"bytes,6,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"`
	// Time at which the build was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time at which execution of the build was started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time at which execution of the build was finished.
	FinishTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=finish_time,json=finishTime,proto3" json:"finish_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,11,opt,name=creator,proto3" json:"creator,omitempty"`
	// Google Cloud Storage bucket where logs were written.
	LogsBucket string `protobuf:"bytes,13,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"`
	// Details of the Source input to the build.
	SourceProvenance *Source `protobuf:"bytes,14,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,15,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,17,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*BuildProvenance) Descriptor

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

func (*BuildProvenance) GetBuildOptions

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

func (*BuildProvenance) GetBuilderVersion

func (m *BuildProvenance) GetBuilderVersion() string

func (*BuildProvenance) GetBuiltArtifacts

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

func (*BuildProvenance) GetCommands

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

func (*BuildProvenance) GetCreateTime

func (m *BuildProvenance) GetCreateTime() *timestamp.Timestamp

func (*BuildProvenance) GetCreator

func (m *BuildProvenance) GetCreator() string

func (*BuildProvenance) GetFinishTime

func (m *BuildProvenance) GetFinishTime() *timestamp.Timestamp

func (*BuildProvenance) GetId

func (m *BuildProvenance) GetId() string

func (*BuildProvenance) GetLogsBucket

func (m *BuildProvenance) GetLogsBucket() string

func (*BuildProvenance) GetProjectId

func (m *BuildProvenance) GetProjectId() string

func (*BuildProvenance) GetSourceProvenance

func (m *BuildProvenance) GetSourceProvenance() *Source

func (*BuildProvenance) GetStartTime

func (m *BuildProvenance) GetStartTime() *timestamp.Timestamp

func (*BuildProvenance) GetTriggerId

func (m *BuildProvenance) GetTriggerId() string

func (*BuildProvenance) ProtoMessage

func (*BuildProvenance) ProtoMessage()

func (*BuildProvenance) Reset

func (m *BuildProvenance) Reset()

func (*BuildProvenance) String

func (m *BuildProvenance) String() string

func (*BuildProvenance) XXX_DiscardUnknown

func (m *BuildProvenance) XXX_DiscardUnknown()

func (*BuildProvenance) XXX_Marshal

func (m *BuildProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildProvenance) XXX_Merge

func (m *BuildProvenance) XXX_Merge(src proto.Message)

func (*BuildProvenance) XXX_Size

func (m *BuildProvenance) XXX_Size() int

func (*BuildProvenance) XXX_Unmarshal

func (m *BuildProvenance) XXX_Unmarshal(b []byte) error

type BuildSignature

type BuildSignature struct {
	// Public key of the builder which can be used to verify that the related
	// findings are valid and unchanged. If `key_type` is empty, this defaults
	// to PEM encoded public keys.
	//
	// This field may be empty if `key_id` references an external key.
	//
	// For Cloud Build based signatures, this is a PEM encoded public
	// key. To verify the Cloud Build signature, place the contents of
	// this field into a file (public.pem). The signature field is base64-decoded
	// into its binary representation in signature.bin, and the provenance bytes
	// from `BuildDetails` are base64-decoded into a binary representation in
	// signed.bin. OpenSSL can then verify the signature:
	// `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Signature of the related `BuildProvenance`, encoded in a base64 string.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// An Id for the key used to sign. This could be either an Id for the key
	// stored in `public_key` (such as the Id or fingerprint for a PGP key, or the
	// CN for a cert), or a reference to an external key (such as a reference to a
	// key in Cloud Key Management Service).
	KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// The type of the key, either stored in `public_key` or referenced in
	// `key_id`
	KeyType              BuildSignature_KeyType `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Message encapsulating the signature of the verified build.

func (*BuildSignature) Descriptor

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

func (*BuildSignature) GetKeyId

func (m *BuildSignature) GetKeyId() string

func (*BuildSignature) GetKeyType

func (m *BuildSignature) GetKeyType() BuildSignature_KeyType

func (*BuildSignature) GetPublicKey

func (m *BuildSignature) GetPublicKey() string

func (*BuildSignature) GetSignature

func (m *BuildSignature) GetSignature() string

func (*BuildSignature) ProtoMessage

func (*BuildSignature) ProtoMessage()

func (*BuildSignature) Reset

func (m *BuildSignature) Reset()

func (*BuildSignature) String

func (m *BuildSignature) String() string

func (*BuildSignature) XXX_DiscardUnknown

func (m *BuildSignature) XXX_DiscardUnknown()

func (*BuildSignature) XXX_Marshal

func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildSignature) XXX_Merge

func (m *BuildSignature) XXX_Merge(src proto.Message)

func (*BuildSignature) XXX_Size

func (m *BuildSignature) XXX_Size() int

func (*BuildSignature) XXX_Unmarshal

func (m *BuildSignature) XXX_Unmarshal(b []byte) error

type BuildSignature_KeyType

type BuildSignature_KeyType int32

Public key formats

const (
	// `KeyType` is not set.
	BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0
	// `PGP ASCII Armored` public key.
	BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1
	// `PKIX PEM` public key.
	BuildSignature_PKIX_PEM BuildSignature_KeyType = 2
)

func (BuildSignature_KeyType) EnumDescriptor

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

func (BuildSignature_KeyType) String

func (x BuildSignature_KeyType) String() string

type BuildType

type BuildType struct {
	// Version of the builder which produced this Note.
	BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
	// Signature of the build in Occurrences pointing to the Note containing this
	// `BuilderDetails`.
	Signature            *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.

func (*BuildType) Descriptor

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

func (*BuildType) GetBuilderVersion

func (m *BuildType) GetBuilderVersion() string

func (*BuildType) GetSignature

func (m *BuildType) GetSignature() *BuildSignature

func (*BuildType) ProtoMessage

func (*BuildType) ProtoMessage()

func (*BuildType) Reset

func (m *BuildType) Reset()

func (*BuildType) String

func (m *BuildType) String() string

func (*BuildType) XXX_DiscardUnknown

func (m *BuildType) XXX_DiscardUnknown()

func (*BuildType) XXX_Marshal

func (m *BuildType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildType) XXX_Merge

func (m *BuildType) XXX_Merge(src proto.Message)

func (*BuildType) XXX_Size

func (m *BuildType) XXX_Size() int

func (*BuildType) XXX_Unmarshal

func (m *BuildType) XXX_Unmarshal(b []byte) error

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 valid to be assigned to Revision:
	//	*CloudRepoSourceContext_RevisionId
	//	*CloudRepoSourceContext_AliasContext
	Revision             isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

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

func (*CloudRepoSourceContext) Descriptor

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

func (*CloudRepoSourceContext) GetAliasContext

func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext

func (*CloudRepoSourceContext) GetRepoId

func (m *CloudRepoSourceContext) GetRepoId() *RepoId

func (*CloudRepoSourceContext) GetRevision

func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision

func (*CloudRepoSourceContext) GetRevisionId

func (m *CloudRepoSourceContext) GetRevisionId() string

func (*CloudRepoSourceContext) ProtoMessage

func (*CloudRepoSourceContext) ProtoMessage()

func (*CloudRepoSourceContext) Reset

func (m *CloudRepoSourceContext) Reset()

func (*CloudRepoSourceContext) String

func (m *CloudRepoSourceContext) String() string

func (*CloudRepoSourceContext) XXX_DiscardUnknown

func (m *CloudRepoSourceContext) XXX_DiscardUnknown()

func (*CloudRepoSourceContext) XXX_Marshal

func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudRepoSourceContext) XXX_Merge

func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message)

func (*CloudRepoSourceContext) XXX_OneofWrappers

func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CloudRepoSourceContext) XXX_Size

func (m *CloudRepoSourceContext) XXX_Size() int

func (*CloudRepoSourceContext) XXX_Unmarshal

func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error

type CloudRepoSourceContext_AliasContext

type CloudRepoSourceContext_AliasContext struct {
	AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}

type CloudRepoSourceContext_RevisionId

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

type Command

type Command struct {
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Command) Descriptor

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

func (*Command) GetArgs

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

func (*Command) GetDir

func (m *Command) GetDir() string

func (*Command) GetEnv

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

func (*Command) GetId

func (m *Command) GetId() string

func (*Command) GetName

func (m *Command) GetName() string

func (*Command) GetWaitFor

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

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type ContainerAnalysisClient

type ContainerAnalysisClient interface {
	// Returns the requested `Occurrence`.
	GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Lists active `Occurrences` for a given project matching the filters.
	ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
	// Deletes the given `Occurrence` from the system. Use this when
	// an `Occurrence` is no longer applicable for the given resource.
	DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a new `Occurrence`. Use this method to create `Occurrences`
	// for a resource.
	CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Updates an existing occurrence.
	UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Gets the `Note` attached to the given `Occurrence`.
	GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Returns the requested `Note`.
	GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists all `Notes` for a given project.
	ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
	// Deletes the given `Note` from the system.
	DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a new `Note`.
	CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Updates an existing `Note`.
	UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists `Occurrences` referencing the specified `Note`. Use this method to
	// get all occurrences referencing your `Note` across all your customer
	// projects.
	ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
	// Gets a summary of the number and severity of occurrences.
	GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error)
	// Sets the access control policy on the specified `Note` or `Occurrence`.
	// Requires `containeranalysis.notes.setIamPolicy` or
	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
	// a `Note` or an `Occurrence`, respectively.
	// Attempting to call this method without these permissions will result in a `
	// `PERMISSION_DENIED` error.
	// Attempting to call this method on a non-existent resource will result in a
	// `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
	// on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or
	// a `PERMISSION_DENIED` error otherwise. The resource takes the following
	// formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
	// and projects/{projectid}/notes/{noteid} for notes
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Gets the access control policy for a note or an `Occurrence` resource.
	// Requires `containeranalysis.notes.setIamPolicy` or
	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
	// a note or occurrence, respectively.
	// Attempting to call this method on a resource without the required
	// permission will result in a `PERMISSION_DENIED` error. Attempting to call
	// this method on a non-existent resource will result in a `NOT_FOUND` error
	// if the user has list permission on the project, or a `PERMISSION_DENIED`
	// error otherwise. The resource takes the following formats:
	// `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and
	// projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Returns the permissions that a caller has on the specified note or
	// occurrence resource. Requires list permission on the project (for example,
	// "storage.objects.list" on the containing bucket for testing permission of
	// an object). Attempting to call this method on a non-existent resource will
	// result in a `NOT_FOUND` error if the user has list permission on the
	// project, or a `PERMISSION_DENIED` error otherwise. The resource takes the
	// following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
	// `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
	// Creates a new `Operation`.
	CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates an existing operation returns an error if operation
	//  does not exist. The only valid operations are to update mark the done bit
	// change the result.
	UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Gets a specific scan configuration for a project.
	GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
	// Lists scan configurations for a project.
	ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error)
	// Updates the scan configuration to a new value.
	UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
}

ContainerAnalysisClient is the client API for ContainerAnalysis service.

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

func NewContainerAnalysisClient

func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient

type ContainerAnalysisServer

type ContainerAnalysisServer interface {
	// Returns the requested `Occurrence`.
	GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
	// Lists active `Occurrences` for a given project matching the filters.
	ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
	// Deletes the given `Occurrence` from the system. Use this when
	// an `Occurrence` is no longer applicable for the given resource.
	DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error)
	// Creates a new `Occurrence`. Use this method to create `Occurrences`
	// for a resource.
	CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
	// Updates an existing occurrence.
	UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
	// Gets the `Note` attached to the given `Occurrence`.
	GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
	// Returns the requested `Note`.
	GetNote(context.Context, *GetNoteRequest) (*Note, error)
	// Lists all `Notes` for a given project.
	ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
	// Deletes the given `Note` from the system.
	DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error)
	// Creates a new `Note`.
	CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
	// Updates an existing `Note`.
	UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
	// Lists `Occurrences` referencing the specified `Note`. Use this method to
	// get all occurrences referencing your `Note` across all your customer
	// projects.
	ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
	// Gets a summary of the number and severity of occurrences.
	GetVulnzOccurrencesSummary(context.Context, *GetVulnzOccurrencesSummaryRequest) (*GetVulnzOccurrencesSummaryResponse, error)
	// Sets the access control policy on the specified `Note` or `Occurrence`.
	// Requires `containeranalysis.notes.setIamPolicy` or
	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
	// a `Note` or an `Occurrence`, respectively.
	// Attempting to call this method without these permissions will result in a `
	// `PERMISSION_DENIED` error.
	// Attempting to call this method on a non-existent resource will result in a
	// `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
	// on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or
	// a `PERMISSION_DENIED` error otherwise. The resource takes the following
	// formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
	// and projects/{projectid}/notes/{noteid} for notes
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Gets the access control policy for a note or an `Occurrence` resource.
	// Requires `containeranalysis.notes.setIamPolicy` or
	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
	// a note or occurrence, respectively.
	// Attempting to call this method on a resource without the required
	// permission will result in a `PERMISSION_DENIED` error. Attempting to call
	// this method on a non-existent resource will result in a `NOT_FOUND` error
	// if the user has list permission on the project, or a `PERMISSION_DENIED`
	// error otherwise. The resource takes the following formats:
	// `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and
	// projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Returns the permissions that a caller has on the specified note or
	// occurrence resource. Requires list permission on the project (for example,
	// "storage.objects.list" on the containing bucket for testing permission of
	// an object). Attempting to call this method on a non-existent resource will
	// result in a `NOT_FOUND` error if the user has list permission on the
	// project, or a `PERMISSION_DENIED` error otherwise. The resource takes the
	// following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
	// `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
	// Creates a new `Operation`.
	CreateOperation(context.Context, *CreateOperationRequest) (*longrunning.Operation, error)
	// Updates an existing operation returns an error if operation
	//  does not exist. The only valid operations are to update mark the done bit
	// change the result.
	UpdateOperation(context.Context, *UpdateOperationRequest) (*longrunning.Operation, error)
	// Gets a specific scan configuration for a project.
	GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)
	// Lists scan configurations for a project.
	ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)
	// Updates the scan configuration to a new value.
	UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)
}

ContainerAnalysisServer is the server API for ContainerAnalysis service.

type CreateNoteRequest

type CreateNoteRequest struct {
	// The name of the project.
	// Should be of the form "providers/{provider_id}".
	// @Deprecated
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field contains the project Id for example:
	// "projects/{project_id}
	Parent string `protobuf:"bytes,4,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 be inserted
	Note                 *Note    `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to insert a new note

func (*CreateNoteRequest) Descriptor

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

func (*CreateNoteRequest) GetName

func (m *CreateNoteRequest) GetName() string

func (*CreateNoteRequest) GetNote

func (m *CreateNoteRequest) GetNote() *Note

func (*CreateNoteRequest) GetNoteId

func (m *CreateNoteRequest) GetNoteId() string

func (*CreateNoteRequest) GetParent

func (m *CreateNoteRequest) GetParent() string

func (*CreateNoteRequest) ProtoMessage

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) Reset

func (m *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String

func (m *CreateNoteRequest) String() string

func (*CreateNoteRequest) XXX_DiscardUnknown

func (m *CreateNoteRequest) XXX_DiscardUnknown()

func (*CreateNoteRequest) XXX_Marshal

func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNoteRequest) XXX_Merge

func (m *CreateNoteRequest) XXX_Merge(src proto.Message)

func (*CreateNoteRequest) XXX_Size

func (m *CreateNoteRequest) XXX_Size() int

func (*CreateNoteRequest) XXX_Unmarshal

func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error

type CreateOccurrenceRequest

type CreateOccurrenceRequest struct {
	// The name of the project.  Should be of the form "projects/{project_id}".
	// @Deprecated
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field contains the project Id for example: "projects/{project_id}"
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// The occurrence to be inserted
	Occurrence           *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Request to insert a new occurrence.

func (*CreateOccurrenceRequest) Descriptor

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

func (*CreateOccurrenceRequest) GetName

func (m *CreateOccurrenceRequest) GetName() string

func (*CreateOccurrenceRequest) GetOccurrence

func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence

func (*CreateOccurrenceRequest) GetParent

func (m *CreateOccurrenceRequest) GetParent() string

func (*CreateOccurrenceRequest) ProtoMessage

func (*CreateOccurrenceRequest) ProtoMessage()

func (*CreateOccurrenceRequest) Reset

func (m *CreateOccurrenceRequest) Reset()

func (*CreateOccurrenceRequest) String

func (m *CreateOccurrenceRequest) String() string

func (*CreateOccurrenceRequest) XXX_DiscardUnknown

func (m *CreateOccurrenceRequest) XXX_DiscardUnknown()

func (*CreateOccurrenceRequest) XXX_Marshal

func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateOccurrenceRequest) XXX_Merge

func (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message)

func (*CreateOccurrenceRequest) XXX_Size

func (m *CreateOccurrenceRequest) XXX_Size() int

func (*CreateOccurrenceRequest) XXX_Unmarshal

func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error

type CreateOperationRequest

type CreateOperationRequest struct {
	// The project Id that this operation should be created under.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The ID to use for this operation.
	OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// The operation to create.
	Operation            *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Request for creating an operation

func (*CreateOperationRequest) Descriptor

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

func (*CreateOperationRequest) GetOperation

func (m *CreateOperationRequest) GetOperation() *longrunning.Operation

func (*CreateOperationRequest) GetOperationId

func (m *CreateOperationRequest) GetOperationId() string

func (*CreateOperationRequest) GetParent

func (m *CreateOperationRequest) GetParent() string

func (*CreateOperationRequest) ProtoMessage

func (*CreateOperationRequest) ProtoMessage()

func (*CreateOperationRequest) Reset

func (m *CreateOperationRequest) Reset()

func (*CreateOperationRequest) String

func (m *CreateOperationRequest) String() string

func (*CreateOperationRequest) XXX_DiscardUnknown

func (m *CreateOperationRequest) XXX_DiscardUnknown()

func (*CreateOperationRequest) XXX_Marshal

func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateOperationRequest) XXX_Merge

func (m *CreateOperationRequest) XXX_Merge(src proto.Message)

func (*CreateOperationRequest) XXX_Size

func (m *CreateOperationRequest) XXX_Size() int

func (*CreateOperationRequest) XXX_Unmarshal

func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error

type DeleteNoteRequest

type DeleteNoteRequest struct {
	// The name of the note in the form of
	// "providers/{provider_id}/notes/{NOTE_ID}"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to delete a note

func (*DeleteNoteRequest) Descriptor

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

func (*DeleteNoteRequest) GetName

func (m *DeleteNoteRequest) GetName() string

func (*DeleteNoteRequest) ProtoMessage

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) Reset

func (m *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String

func (m *DeleteNoteRequest) String() string

func (*DeleteNoteRequest) XXX_DiscardUnknown

func (m *DeleteNoteRequest) XXX_DiscardUnknown()

func (*DeleteNoteRequest) XXX_Marshal

func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteNoteRequest) XXX_Merge

func (m *DeleteNoteRequest) XXX_Merge(src proto.Message)

func (*DeleteNoteRequest) XXX_Size

func (m *DeleteNoteRequest) XXX_Size() int

func (*DeleteNoteRequest) XXX_Unmarshal

func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to delete a occurrence

func (*DeleteOccurrenceRequest) Descriptor

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

func (*DeleteOccurrenceRequest) GetName

func (m *DeleteOccurrenceRequest) GetName() string

func (*DeleteOccurrenceRequest) ProtoMessage

func (*DeleteOccurrenceRequest) ProtoMessage()

func (*DeleteOccurrenceRequest) Reset

func (m *DeleteOccurrenceRequest) Reset()

func (*DeleteOccurrenceRequest) String

func (m *DeleteOccurrenceRequest) String() string

func (*DeleteOccurrenceRequest) XXX_DiscardUnknown

func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown()

func (*DeleteOccurrenceRequest) XXX_Marshal

func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteOccurrenceRequest) XXX_Merge

func (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message)

func (*DeleteOccurrenceRequest) XXX_Size

func (m *DeleteOccurrenceRequest) XXX_Size() int

func (*DeleteOccurrenceRequest) XXX_Unmarshal

func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error

type Deployable

type Deployable struct {
	// Resource URI for the artifact being deployed.
	ResourceUri          []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An artifact that can be deployed in some runtime.

func (*Deployable) Descriptor

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

func (*Deployable) GetResourceUri

func (m *Deployable) GetResourceUri() []string

func (*Deployable) ProtoMessage

func (*Deployable) ProtoMessage()

func (*Deployable) Reset

func (m *Deployable) Reset()

func (*Deployable) String

func (m *Deployable) String() string

func (*Deployable) XXX_DiscardUnknown

func (m *Deployable) XXX_DiscardUnknown()

func (*Deployable) XXX_Marshal

func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployable) XXX_Merge

func (m *Deployable) XXX_Merge(src proto.Message)

func (*Deployable) XXX_Size

func (m *Deployable) XXX_Size() int

func (*Deployable) XXX_Unmarshal

func (m *Deployable) XXX_Unmarshal(b []byte) error

type Deployable_Deployment

type Deployable_Deployment 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"`
	// Beginning of the lifetime of this deployment.
	DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
	// End of the lifetime of this deployment.
	UndeployTime *timestamp.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,8,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             Deployable_Deployment_Platform `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

func (*Deployable_Deployment) Descriptor

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

func (*Deployable_Deployment) GetAddress

func (m *Deployable_Deployment) GetAddress() string

func (*Deployable_Deployment) GetConfig

func (m *Deployable_Deployment) GetConfig() string

func (*Deployable_Deployment) GetDeployTime

func (m *Deployable_Deployment) GetDeployTime() *timestamp.Timestamp

func (*Deployable_Deployment) GetPlatform

func (*Deployable_Deployment) GetResourceUri

func (m *Deployable_Deployment) GetResourceUri() []string

func (*Deployable_Deployment) GetUndeployTime

func (m *Deployable_Deployment) GetUndeployTime() *timestamp.Timestamp

func (*Deployable_Deployment) GetUserEmail

func (m *Deployable_Deployment) GetUserEmail() string

func (*Deployable_Deployment) ProtoMessage

func (*Deployable_Deployment) ProtoMessage()

func (*Deployable_Deployment) Reset

func (m *Deployable_Deployment) Reset()

func (*Deployable_Deployment) String

func (m *Deployable_Deployment) String() string

func (*Deployable_Deployment) XXX_DiscardUnknown

func (m *Deployable_Deployment) XXX_DiscardUnknown()

func (*Deployable_Deployment) XXX_Marshal

func (m *Deployable_Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployable_Deployment) XXX_Merge

func (m *Deployable_Deployment) XXX_Merge(src proto.Message)

func (*Deployable_Deployment) XXX_Size

func (m *Deployable_Deployment) XXX_Size() int

func (*Deployable_Deployment) XXX_Unmarshal

func (m *Deployable_Deployment) XXX_Unmarshal(b []byte) error

type Deployable_Deployment_Platform

type Deployable_Deployment_Platform int32

Types of platforms.

const (
	// Unknown
	Deployable_Deployment_PLATFORM_UNSPECIFIED Deployable_Deployment_Platform = 0
	// Google Container Engine
	Deployable_Deployment_GKE Deployable_Deployment_Platform = 1
	// Google App Engine: Flexible Environment
	Deployable_Deployment_FLEX Deployable_Deployment_Platform = 2
	// Custom user-defined platform
	Deployable_Deployment_CUSTOM Deployable_Deployment_Platform = 3
)

func (Deployable_Deployment_Platform) EnumDescriptor

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

func (Deployable_Deployment_Platform) String

type Discovery

type Discovery struct {
	// The kind of analysis that is handled by this discovery.
	AnalysisKind         Note_Kind `` /* 156-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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. The occurrence's operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn't started.

func (*Discovery) Descriptor

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

func (*Discovery) GetAnalysisKind

func (m *Discovery) GetAnalysisKind() Note_Kind

func (*Discovery) ProtoMessage

func (*Discovery) ProtoMessage()

func (*Discovery) Reset

func (m *Discovery) Reset()

func (*Discovery) String

func (m *Discovery) String() string

func (*Discovery) XXX_DiscardUnknown

func (m *Discovery) XXX_DiscardUnknown()

func (*Discovery) XXX_Marshal

func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Discovery) XXX_Merge

func (m *Discovery) XXX_Merge(src proto.Message)

func (*Discovery) XXX_Size

func (m *Discovery) XXX_Size() int

func (*Discovery) XXX_Unmarshal

func (m *Discovery) XXX_Unmarshal(b []byte) error

type Discovery_Discovered

type Discovery_Discovered struct {
	// Output only. An operation that indicates the status of the current scan.
	Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// The status of discovery for the resource.
	AnalysisStatus Discovery_Discovered_AnalysisStatus `` /* 188-byte string literal not displayed */
	// When an error is encountered this will contain a LocalizedMessage under
	// details to show to the user. The LocalizedMessage output only and
	// populated by the API.
	AnalysisStatusError  *status.Status `protobuf:"bytes,6,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Provides information about the scan status of a discovered resource.

func (*Discovery_Discovered) Descriptor

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

func (*Discovery_Discovered) GetAnalysisStatus

func (*Discovery_Discovered) GetAnalysisStatusError

func (m *Discovery_Discovered) GetAnalysisStatusError() *status.Status

func (*Discovery_Discovered) GetOperation

func (m *Discovery_Discovered) GetOperation() *longrunning.Operation

func (*Discovery_Discovered) ProtoMessage

func (*Discovery_Discovered) ProtoMessage()

func (*Discovery_Discovered) Reset

func (m *Discovery_Discovered) Reset()

func (*Discovery_Discovered) String

func (m *Discovery_Discovered) String() string

func (*Discovery_Discovered) XXX_DiscardUnknown

func (m *Discovery_Discovered) XXX_DiscardUnknown()

func (*Discovery_Discovered) XXX_Marshal

func (m *Discovery_Discovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Discovery_Discovered) XXX_Merge

func (m *Discovery_Discovered) XXX_Merge(src proto.Message)

func (*Discovery_Discovered) XXX_Size

func (m *Discovery_Discovered) XXX_Size() int

func (*Discovery_Discovered) XXX_Unmarshal

func (m *Discovery_Discovered) XXX_Unmarshal(b []byte) error

type Discovery_Discovered_AnalysisStatus

type Discovery_Discovered_AnalysisStatus int32

Analysis status for a resource.

const (
	// Unknown
	Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovery_Discovered_AnalysisStatus = 0
	// Resource is known but no action has been taken yet.
	Discovery_Discovered_PENDING Discovery_Discovered_AnalysisStatus = 1
	// Resource is being analyzed.
	Discovery_Discovered_SCANNING Discovery_Discovered_AnalysisStatus = 2
	// Analysis has finished successfully.
	Discovery_Discovered_FINISHED_SUCCESS Discovery_Discovered_AnalysisStatus = 3
	// Analysis has finished unsuccessfully, the analysis itself is in a bad
	// state.
	Discovery_Discovered_FINISHED_FAILED Discovery_Discovered_AnalysisStatus = 4
	// Analysis will not happen, the resource is not supported.
	Discovery_Discovered_UNSUPPORTED_RESOURCE Discovery_Discovered_AnalysisStatus = 5
)

func (Discovery_Discovered_AnalysisStatus) EnumDescriptor

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

func (Discovery_Discovered_AnalysisStatus) String

type DockerImage

type DockerImage struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DockerImage holds types defining base image notes and derived image occurrences.

func (*DockerImage) Descriptor

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

func (*DockerImage) ProtoMessage

func (*DockerImage) ProtoMessage()

func (*DockerImage) Reset

func (m *DockerImage) Reset()

func (*DockerImage) String

func (m *DockerImage) String() string

func (*DockerImage) XXX_DiscardUnknown

func (m *DockerImage) XXX_DiscardUnknown()

func (*DockerImage) XXX_Marshal

func (m *DockerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerImage) XXX_Merge

func (m *DockerImage) XXX_Merge(src proto.Message)

func (*DockerImage) XXX_Size

func (m *DockerImage) XXX_Size() int

func (*DockerImage) XXX_Unmarshal

func (m *DockerImage) XXX_Unmarshal(b []byte) error

type DockerImage_Basis

type DockerImage_Basis struct {
	// The resource_url for the resource representing the basis of
	// associated occurrence images.
	ResourceUrl string `protobuf:"bytes,1,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
	// The fingerprint of the base image.
	Fingerprint          *DockerImage_Fingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

FROM <Basis.resource_url>

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

func (*DockerImage_Basis) Descriptor

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

func (*DockerImage_Basis) GetFingerprint

func (m *DockerImage_Basis) GetFingerprint() *DockerImage_Fingerprint

func (*DockerImage_Basis) GetResourceUrl

func (m *DockerImage_Basis) GetResourceUrl() string

func (*DockerImage_Basis) ProtoMessage

func (*DockerImage_Basis) ProtoMessage()

func (*DockerImage_Basis) Reset

func (m *DockerImage_Basis) Reset()

func (*DockerImage_Basis) String

func (m *DockerImage_Basis) String() string

func (*DockerImage_Basis) XXX_DiscardUnknown

func (m *DockerImage_Basis) XXX_DiscardUnknown()

func (*DockerImage_Basis) XXX_Marshal

func (m *DockerImage_Basis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerImage_Basis) XXX_Merge

func (m *DockerImage_Basis) XXX_Merge(src proto.Message)

func (*DockerImage_Basis) XXX_Size

func (m *DockerImage_Basis) XXX_Size() int

func (*DockerImage_Basis) XXX_Unmarshal

func (m *DockerImage_Basis) XXX_Unmarshal(b []byte) error

type DockerImage_Derived

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

Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

func (*DockerImage_Derived) Descriptor

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

func (*DockerImage_Derived) GetBaseResourceUrl

func (m *DockerImage_Derived) GetBaseResourceUrl() string

func (*DockerImage_Derived) GetDistance

func (m *DockerImage_Derived) GetDistance() uint32

func (*DockerImage_Derived) GetFingerprint

func (m *DockerImage_Derived) GetFingerprint() *DockerImage_Fingerprint

func (*DockerImage_Derived) GetLayerInfo

func (m *DockerImage_Derived) GetLayerInfo() []*DockerImage_Layer

func (*DockerImage_Derived) ProtoMessage

func (*DockerImage_Derived) ProtoMessage()

func (*DockerImage_Derived) Reset

func (m *DockerImage_Derived) Reset()

func (*DockerImage_Derived) String

func (m *DockerImage_Derived) String() string

func (*DockerImage_Derived) XXX_DiscardUnknown

func (m *DockerImage_Derived) XXX_DiscardUnknown()

func (*DockerImage_Derived) XXX_Marshal

func (m *DockerImage_Derived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerImage_Derived) XXX_Merge

func (m *DockerImage_Derived) XXX_Merge(src proto.Message)

func (*DockerImage_Derived) XXX_Size

func (m *DockerImage_Derived) XXX_Size() int

func (*DockerImage_Derived) XXX_Unmarshal

func (m *DockerImage_Derived) XXX_Unmarshal(b []byte) error

type DockerImage_Fingerprint

type DockerImage_Fingerprint struct {
	// The layer-id of the final layer in the Docker image's v1
	// representation.
	// This field can be used as a filter in list requests.
	V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"`
	// 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.
	// This field can be used as a filter in list requests.
	V2Name               string   `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*DockerImage_Fingerprint) Descriptor

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

func (*DockerImage_Fingerprint) GetV1Name

func (m *DockerImage_Fingerprint) GetV1Name() string

func (*DockerImage_Fingerprint) GetV2Blob

func (m *DockerImage_Fingerprint) GetV2Blob() []string

func (*DockerImage_Fingerprint) GetV2Name

func (m *DockerImage_Fingerprint) GetV2Name() string

func (*DockerImage_Fingerprint) ProtoMessage

func (*DockerImage_Fingerprint) ProtoMessage()

func (*DockerImage_Fingerprint) Reset

func (m *DockerImage_Fingerprint) Reset()

func (*DockerImage_Fingerprint) String

func (m *DockerImage_Fingerprint) String() string

func (*DockerImage_Fingerprint) XXX_DiscardUnknown

func (m *DockerImage_Fingerprint) XXX_DiscardUnknown()

func (*DockerImage_Fingerprint) XXX_Marshal

func (m *DockerImage_Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerImage_Fingerprint) XXX_Merge

func (m *DockerImage_Fingerprint) XXX_Merge(src proto.Message)

func (*DockerImage_Fingerprint) XXX_Size

func (m *DockerImage_Fingerprint) XXX_Size() int

func (*DockerImage_Fingerprint) XXX_Unmarshal

func (m *DockerImage_Fingerprint) XXX_Unmarshal(b []byte) error

type DockerImage_Layer

type DockerImage_Layer struct {
	// The recovered Dockerfile directive used to construct this layer.
	Directive DockerImage_Layer_Directive `` /* 148-byte string literal not displayed */
	// The recovered arguments to the Dockerfile directive.
	Arguments            string   `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*DockerImage_Layer) Descriptor

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

func (*DockerImage_Layer) GetArguments

func (m *DockerImage_Layer) GetArguments() string

func (*DockerImage_Layer) GetDirective

func (*DockerImage_Layer) ProtoMessage

func (*DockerImage_Layer) ProtoMessage()

func (*DockerImage_Layer) Reset

func (m *DockerImage_Layer) Reset()

func (*DockerImage_Layer) String

func (m *DockerImage_Layer) String() string

func (*DockerImage_Layer) XXX_DiscardUnknown

func (m *DockerImage_Layer) XXX_DiscardUnknown()

func (*DockerImage_Layer) XXX_Marshal

func (m *DockerImage_Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerImage_Layer) XXX_Merge

func (m *DockerImage_Layer) XXX_Merge(src proto.Message)

func (*DockerImage_Layer) XXX_Size

func (m *DockerImage_Layer) XXX_Size() int

func (*DockerImage_Layer) XXX_Unmarshal

func (m *DockerImage_Layer) XXX_Unmarshal(b []byte) error

type DockerImage_Layer_Directive

type DockerImage_Layer_Directive int32

Instructions from dockerfile

const (
	// Default value for unsupported/missing directive
	DockerImage_Layer_DIRECTIVE_UNSPECIFIED DockerImage_Layer_Directive = 0
	// https://docs.docker.com/reference/builder/#maintainer
	DockerImage_Layer_MAINTAINER DockerImage_Layer_Directive = 1
	// https://docs.docker.com/reference/builder/#run
	DockerImage_Layer_RUN DockerImage_Layer_Directive = 2
	// https://docs.docker.com/reference/builder/#cmd
	DockerImage_Layer_CMD DockerImage_Layer_Directive = 3
	// https://docs.docker.com/reference/builder/#label
	DockerImage_Layer_LABEL DockerImage_Layer_Directive = 4
	// https://docs.docker.com/reference/builder/#expose
	DockerImage_Layer_EXPOSE DockerImage_Layer_Directive = 5
	// https://docs.docker.com/reference/builder/#env
	DockerImage_Layer_ENV DockerImage_Layer_Directive = 6
	// https://docs.docker.com/reference/builder/#add
	DockerImage_Layer_ADD DockerImage_Layer_Directive = 7
	// https://docs.docker.com/reference/builder/#copy
	DockerImage_Layer_COPY DockerImage_Layer_Directive = 8
	// https://docs.docker.com/reference/builder/#entrypoint
	DockerImage_Layer_ENTRYPOINT DockerImage_Layer_Directive = 9
	// https://docs.docker.com/reference/builder/#volume
	DockerImage_Layer_VOLUME DockerImage_Layer_Directive = 10
	// https://docs.docker.com/reference/builder/#user
	DockerImage_Layer_USER DockerImage_Layer_Directive = 11
	// https://docs.docker.com/reference/builder/#workdir
	DockerImage_Layer_WORKDIR DockerImage_Layer_Directive = 12
	// https://docs.docker.com/reference/builder/#arg
	DockerImage_Layer_ARG DockerImage_Layer_Directive = 13
	// https://docs.docker.com/reference/builder/#onbuild
	DockerImage_Layer_ONBUILD DockerImage_Layer_Directive = 14
	// https://docs.docker.com/reference/builder/#stopsignal
	DockerImage_Layer_STOPSIGNAL DockerImage_Layer_Directive = 15
	// https://docs.docker.com/reference/builder/#healthcheck
	DockerImage_Layer_HEALTHCHECK DockerImage_Layer_Directive = 16
	// https://docs.docker.com/reference/builder/#shell
	DockerImage_Layer_SHELL DockerImage_Layer_Directive = 17
)

func (DockerImage_Layer_Directive) EnumDescriptor

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

func (DockerImage_Layer_Directive) String

type FileHashes

type FileHashes struct {
	// Collection of file hashes.
	FileHash             []*Hash  `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*FileHashes) GetFileHash

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

func (*FileHashes) ProtoMessage

func (*FileHashes) ProtoMessage()

func (*FileHashes) Reset

func (m *FileHashes) Reset()

func (*FileHashes) String

func (m *FileHashes) String() string

func (*FileHashes) XXX_DiscardUnknown

func (m *FileHashes) XXX_DiscardUnknown()

func (*FileHashes) XXX_Marshal

func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileHashes) XXX_Merge

func (m *FileHashes) XXX_Merge(src proto.Message)

func (*FileHashes) XXX_Size

func (m *FileHashes) XXX_Size() int

func (*FileHashes) XXX_Unmarshal

func (m *FileHashes) XXX_Unmarshal(b []byte) error

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 valid to be assigned to Revision:
	//	*GerritSourceContext_RevisionId
	//	*GerritSourceContext_AliasContext
	Revision             isGerritSourceContext_Revision `protobuf_oneof:"revision"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

A SourceContext referring to a Gerrit project.

func (*GerritSourceContext) Descriptor

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

func (*GerritSourceContext) GetAliasContext

func (m *GerritSourceContext) GetAliasContext() *AliasContext

func (*GerritSourceContext) GetGerritProject

func (m *GerritSourceContext) GetGerritProject() string

func (*GerritSourceContext) GetHostUri

func (m *GerritSourceContext) GetHostUri() string

func (*GerritSourceContext) GetRevision

func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision

func (*GerritSourceContext) GetRevisionId

func (m *GerritSourceContext) GetRevisionId() string

func (*GerritSourceContext) ProtoMessage

func (*GerritSourceContext) ProtoMessage()

func (*GerritSourceContext) Reset

func (m *GerritSourceContext) Reset()

func (*GerritSourceContext) String

func (m *GerritSourceContext) String() string

func (*GerritSourceContext) XXX_DiscardUnknown

func (m *GerritSourceContext) XXX_DiscardUnknown()

func (*GerritSourceContext) XXX_Marshal

func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GerritSourceContext) XXX_Merge

func (m *GerritSourceContext) XXX_Merge(src proto.Message)

func (*GerritSourceContext) XXX_OneofWrappers

func (*GerritSourceContext) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GerritSourceContext) XXX_Size

func (m *GerritSourceContext) XXX_Size() int

func (*GerritSourceContext) XXX_Unmarshal

func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error

type GerritSourceContext_AliasContext

type GerritSourceContext_AliasContext struct {
	AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}

type GerritSourceContext_RevisionId

type GerritSourceContext_RevisionId struct {
	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
	// "providers/{provider_id}/notes/{NOTE_ID}"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get a Note.

func (*GetNoteRequest) Descriptor

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

func (*GetNoteRequest) GetName

func (m *GetNoteRequest) GetName() string

func (*GetNoteRequest) ProtoMessage

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) Reset

func (m *GetNoteRequest) Reset()

func (*GetNoteRequest) String

func (m *GetNoteRequest) String() string

func (*GetNoteRequest) XXX_DiscardUnknown

func (m *GetNoteRequest) XXX_DiscardUnknown()

func (*GetNoteRequest) XXX_Marshal

func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNoteRequest) XXX_Merge

func (m *GetNoteRequest) XXX_Merge(src proto.Message)

func (*GetNoteRequest) XXX_Size

func (m *GetNoteRequest) XXX_Size() int

func (*GetNoteRequest) XXX_Unmarshal

func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error

type GetOccurrenceNoteRequest

type GetOccurrenceNoteRequest struct {
	// The name of the occurrence in the form
	// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetOccurrenceNoteRequest) Descriptor

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

func (*GetOccurrenceNoteRequest) GetName

func (m *GetOccurrenceNoteRequest) GetName() string

func (*GetOccurrenceNoteRequest) ProtoMessage

func (*GetOccurrenceNoteRequest) ProtoMessage()

func (*GetOccurrenceNoteRequest) Reset

func (m *GetOccurrenceNoteRequest) Reset()

func (*GetOccurrenceNoteRequest) String

func (m *GetOccurrenceNoteRequest) String() string

func (*GetOccurrenceNoteRequest) XXX_DiscardUnknown

func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown()

func (*GetOccurrenceNoteRequest) XXX_Marshal

func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOccurrenceNoteRequest) XXX_Merge

func (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message)

func (*GetOccurrenceNoteRequest) XXX_Size

func (m *GetOccurrenceNoteRequest) XXX_Size() int

func (*GetOccurrenceNoteRequest) XXX_Unmarshal

func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error

type GetOccurrenceRequest

type GetOccurrenceRequest struct {
	// The name of the occurrence of the form
	// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get a Occurrence.

func (*GetOccurrenceRequest) Descriptor

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

func (*GetOccurrenceRequest) GetName

func (m *GetOccurrenceRequest) GetName() string

func (*GetOccurrenceRequest) ProtoMessage

func (*GetOccurrenceRequest) ProtoMessage()

func (*GetOccurrenceRequest) Reset

func (m *GetOccurrenceRequest) Reset()

func (*GetOccurrenceRequest) String

func (m *GetOccurrenceRequest) String() string

func (*GetOccurrenceRequest) XXX_DiscardUnknown

func (m *GetOccurrenceRequest) XXX_DiscardUnknown()

func (*GetOccurrenceRequest) XXX_Marshal

func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOccurrenceRequest) XXX_Merge

func (m *GetOccurrenceRequest) XXX_Merge(src proto.Message)

func (*GetOccurrenceRequest) XXX_Size

func (m *GetOccurrenceRequest) XXX_Size() int

func (*GetOccurrenceRequest) XXX_Unmarshal

func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error

type GetScanConfigRequest

type GetScanConfigRequest struct {
	// The name of the ScanConfig in the form
	// projects/{project_id}/scan_configs/{ScanConfig_id}
	// instead.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get a ScanConfig.

func (*GetScanConfigRequest) Descriptor

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

func (*GetScanConfigRequest) GetName

func (m *GetScanConfigRequest) GetName() string

func (*GetScanConfigRequest) ProtoMessage

func (*GetScanConfigRequest) ProtoMessage()

func (*GetScanConfigRequest) Reset

func (m *GetScanConfigRequest) Reset()

func (*GetScanConfigRequest) String

func (m *GetScanConfigRequest) String() string

func (*GetScanConfigRequest) XXX_DiscardUnknown

func (m *GetScanConfigRequest) XXX_DiscardUnknown()

func (*GetScanConfigRequest) XXX_Marshal

func (m *GetScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetScanConfigRequest) XXX_Merge

func (m *GetScanConfigRequest) XXX_Merge(src proto.Message)

func (*GetScanConfigRequest) XXX_Size

func (m *GetScanConfigRequest) XXX_Size() int

func (*GetScanConfigRequest) XXX_Unmarshal

func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error

type GetVulnzOccurrencesSummaryRequest

type GetVulnzOccurrencesSummaryRequest struct {
	// This contains the project Id for example: projects/{project_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter               string   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get the vulnz summary for some set of vulnerability Occurrences.

func (*GetVulnzOccurrencesSummaryRequest) Descriptor

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

func (*GetVulnzOccurrencesSummaryRequest) GetFilter

func (*GetVulnzOccurrencesSummaryRequest) GetParent

func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage

func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage()

func (*GetVulnzOccurrencesSummaryRequest) Reset

func (*GetVulnzOccurrencesSummaryRequest) String

func (*GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown

func (m *GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryRequest) XXX_Marshal

func (m *GetVulnzOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVulnzOccurrencesSummaryRequest) XXX_Merge

func (*GetVulnzOccurrencesSummaryRequest) XXX_Size

func (m *GetVulnzOccurrencesSummaryRequest) XXX_Size() int

func (*GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal

func (m *GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error

type GetVulnzOccurrencesSummaryResponse

type GetVulnzOccurrencesSummaryResponse struct {
	// A map of how many occurrences were found for each severity.
	Counts               []*GetVulnzOccurrencesSummaryResponse_SeverityCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                            `json:"-"`
	XXX_unrecognized     []byte                                              `json:"-"`
	XXX_sizecache        int32                                               `json:"-"`
}

A summary of how many vulnz occurrences there are per severity type. counts by groups, or if we should have different summary messages like this.

func (*GetVulnzOccurrencesSummaryResponse) Descriptor

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

func (*GetVulnzOccurrencesSummaryResponse) GetCounts

func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage

func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage()

func (*GetVulnzOccurrencesSummaryResponse) Reset

func (*GetVulnzOccurrencesSummaryResponse) String

func (*GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown

func (m *GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryResponse) XXX_Marshal

func (m *GetVulnzOccurrencesSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVulnzOccurrencesSummaryResponse) XXX_Merge

func (*GetVulnzOccurrencesSummaryResponse) XXX_Size

func (*GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal

func (m *GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal(b []byte) error

type GetVulnzOccurrencesSummaryResponse_SeverityCount

type GetVulnzOccurrencesSummaryResponse_SeverityCount struct {
	// The severity of the occurrences.
	Severity VulnerabilityType_Severity `` /* 145-byte string literal not displayed */
	// The number of occurrences with the severity.
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The number of occurrences created for a specific severity.

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Descriptor

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) String

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Merge

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal

type GitSourceContext

type GitSourceContext struct {
	// Git repository URL.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Required.
	// Git commit hash.
	RevisionId           string   `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GitSourceContext) Descriptor

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

func (*GitSourceContext) GetRevisionId

func (m *GitSourceContext) GetRevisionId() string

func (*GitSourceContext) GetUrl

func (m *GitSourceContext) GetUrl() string

func (*GitSourceContext) ProtoMessage

func (*GitSourceContext) ProtoMessage()

func (*GitSourceContext) Reset

func (m *GitSourceContext) Reset()

func (*GitSourceContext) String

func (m *GitSourceContext) String() string

func (*GitSourceContext) XXX_DiscardUnknown

func (m *GitSourceContext) XXX_DiscardUnknown()

func (*GitSourceContext) XXX_Marshal

func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitSourceContext) XXX_Merge

func (m *GitSourceContext) XXX_Merge(src proto.Message)

func (*GitSourceContext) XXX_Size

func (m *GitSourceContext) XXX_Size() int

func (*GitSourceContext) XXX_Unmarshal

func (m *GitSourceContext) XXX_Unmarshal(b []byte) error

type Hash

type Hash struct {
	// The type of hash that was performed.
	Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.containeranalysis.v1alpha1.Hash_HashType" json:"type,omitempty"`
	// The hash value.
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Container message for hash values.

func (*Hash) Descriptor

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

func (*Hash) GetType

func (m *Hash) GetType() Hash_HashType

func (*Hash) GetValue

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

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) Reset

func (m *Hash) Reset()

func (*Hash) String

func (m *Hash) String() string

func (*Hash) XXX_DiscardUnknown

func (m *Hash) XXX_DiscardUnknown()

func (*Hash) XXX_Marshal

func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hash) XXX_Merge

func (m *Hash) XXX_Merge(src proto.Message)

func (*Hash) XXX_Size

func (m *Hash) XXX_Size() int

func (*Hash) XXX_Unmarshal

func (m *Hash) XXX_Unmarshal(b []byte) error

type Hash_HashType

type Hash_HashType int32

Specifies the hash algorithm, if any.

const (
	// No hash requested.
	Hash_NONE Hash_HashType = 0
	// A sha256 hash.
	Hash_SHA256 Hash_HashType = 1
)

func (Hash_HashType) EnumDescriptor

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

func (Hash_HashType) String

func (x Hash_HashType) String() string

type ListNoteOccurrencesRequest

type ListNoteOccurrencesRequest struct {
	// The name field will contain the note name for example:
	//   "provider/{provider_id}/notes/{note_id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of notes to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list occurrences.

func (*ListNoteOccurrencesRequest) Descriptor

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

func (*ListNoteOccurrencesRequest) GetFilter

func (m *ListNoteOccurrencesRequest) GetFilter() string

func (*ListNoteOccurrencesRequest) GetName

func (m *ListNoteOccurrencesRequest) GetName() string

func (*ListNoteOccurrencesRequest) GetPageSize

func (m *ListNoteOccurrencesRequest) GetPageSize() int32

func (*ListNoteOccurrencesRequest) GetPageToken

func (m *ListNoteOccurrencesRequest) GetPageToken() string

func (*ListNoteOccurrencesRequest) ProtoMessage

func (*ListNoteOccurrencesRequest) ProtoMessage()

func (*ListNoteOccurrencesRequest) Reset

func (m *ListNoteOccurrencesRequest) Reset()

func (*ListNoteOccurrencesRequest) String

func (m *ListNoteOccurrencesRequest) String() string

func (*ListNoteOccurrencesRequest) XXX_DiscardUnknown

func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown()

func (*ListNoteOccurrencesRequest) XXX_Marshal

func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNoteOccurrencesRequest) XXX_Merge

func (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message)

func (*ListNoteOccurrencesRequest) XXX_Size

func (m *ListNoteOccurrencesRequest) XXX_Size() int

func (*ListNoteOccurrencesRequest) XXX_Unmarshal

func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error

type ListNoteOccurrencesResponse

type ListNoteOccurrencesResponse struct {
	// The occurrences attached to the specified note.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Token to receive the next page of notes.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response including listed occurrences for a note.

func (*ListNoteOccurrencesResponse) Descriptor

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

func (*ListNoteOccurrencesResponse) GetNextPageToken

func (m *ListNoteOccurrencesResponse) GetNextPageToken() string

func (*ListNoteOccurrencesResponse) GetOccurrences

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

func (*ListNoteOccurrencesResponse) ProtoMessage

func (*ListNoteOccurrencesResponse) ProtoMessage()

func (*ListNoteOccurrencesResponse) Reset

func (m *ListNoteOccurrencesResponse) Reset()

func (*ListNoteOccurrencesResponse) String

func (m *ListNoteOccurrencesResponse) String() string

func (*ListNoteOccurrencesResponse) XXX_DiscardUnknown

func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown()

func (*ListNoteOccurrencesResponse) XXX_Marshal

func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNoteOccurrencesResponse) XXX_Merge

func (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message)

func (*ListNoteOccurrencesResponse) XXX_Size

func (m *ListNoteOccurrencesResponse) XXX_Size() int

func (*ListNoteOccurrencesResponse) XXX_Unmarshal

func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error

type ListNotesRequest

type ListNotesRequest struct {
	// The name field will contain the project Id for example:
	// "providers/{provider_id}
	// @Deprecated
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field contains the project Id for example: "projects/{PROJECT_ID}".
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of notes to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list notes.

func (*ListNotesRequest) Descriptor

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

func (*ListNotesRequest) GetFilter

func (m *ListNotesRequest) GetFilter() string

func (*ListNotesRequest) GetName

func (m *ListNotesRequest) GetName() string

func (*ListNotesRequest) GetPageSize

func (m *ListNotesRequest) GetPageSize() int32

func (*ListNotesRequest) GetPageToken

func (m *ListNotesRequest) GetPageToken() string

func (*ListNotesRequest) GetParent

func (m *ListNotesRequest) GetParent() string

func (*ListNotesRequest) ProtoMessage

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) Reset

func (m *ListNotesRequest) Reset()

func (*ListNotesRequest) String

func (m *ListNotesRequest) String() string

func (*ListNotesRequest) XXX_DiscardUnknown

func (m *ListNotesRequest) XXX_DiscardUnknown()

func (*ListNotesRequest) XXX_Marshal

func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotesRequest) XXX_Merge

func (m *ListNotesRequest) XXX_Merge(src proto.Message)

func (*ListNotesRequest) XXX_Size

func (m *ListNotesRequest) XXX_Size() int

func (*ListNotesRequest) XXX_Unmarshal

func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error

type ListNotesResponse

type ListNotesResponse struct {
	// The occurrences requested
	Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
	// The next pagination token in the list response. It should be used as
	// page_token for the following request. An empty value means no more result.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response including listed notes.

func (*ListNotesResponse) Descriptor

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

func (*ListNotesResponse) GetNextPageToken

func (m *ListNotesResponse) GetNextPageToken() string

func (*ListNotesResponse) GetNotes

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

func (*ListNotesResponse) ProtoMessage

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) Reset

func (m *ListNotesResponse) Reset()

func (*ListNotesResponse) String

func (m *ListNotesResponse) String() string

func (*ListNotesResponse) XXX_DiscardUnknown

func (m *ListNotesResponse) XXX_DiscardUnknown()

func (*ListNotesResponse) XXX_Marshal

func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotesResponse) XXX_Merge

func (m *ListNotesResponse) XXX_Merge(src proto.Message)

func (*ListNotesResponse) XXX_Size

func (m *ListNotesResponse) XXX_Size() int

func (*ListNotesResponse) XXX_Unmarshal

func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error

type ListOccurrencesRequest

type ListOccurrencesRequest struct {
	// The name field contains the project Id. For example:
	// "projects/{project_id}
	// @Deprecated
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This contains the project Id for example: projects/{project_id}.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of occurrences to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The kind of occurrences to filter on.
	Kind                 Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Request to list occurrences.

func (*ListOccurrencesRequest) Descriptor

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

func (*ListOccurrencesRequest) GetFilter

func (m *ListOccurrencesRequest) GetFilter() string

func (*ListOccurrencesRequest) GetKind

func (m *ListOccurrencesRequest) GetKind() Note_Kind

func (*ListOccurrencesRequest) GetName

func (m *ListOccurrencesRequest) GetName() string

func (*ListOccurrencesRequest) GetPageSize

func (m *ListOccurrencesRequest) GetPageSize() int32

func (*ListOccurrencesRequest) GetPageToken

func (m *ListOccurrencesRequest) GetPageToken() string

func (*ListOccurrencesRequest) GetParent

func (m *ListOccurrencesRequest) GetParent() string

func (*ListOccurrencesRequest) ProtoMessage

func (*ListOccurrencesRequest) ProtoMessage()

func (*ListOccurrencesRequest) Reset

func (m *ListOccurrencesRequest) Reset()

func (*ListOccurrencesRequest) String

func (m *ListOccurrencesRequest) String() string

func (*ListOccurrencesRequest) XXX_DiscardUnknown

func (m *ListOccurrencesRequest) XXX_DiscardUnknown()

func (*ListOccurrencesRequest) XXX_Marshal

func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOccurrencesRequest) XXX_Merge

func (m *ListOccurrencesRequest) XXX_Merge(src proto.Message)

func (*ListOccurrencesRequest) XXX_Size

func (m *ListOccurrencesRequest) XXX_Size() int

func (*ListOccurrencesRequest) XXX_Unmarshal

func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error

type ListOccurrencesResponse

type ListOccurrencesResponse struct {
	// The occurrences requested.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// The next pagination token in the list response. It should be used as
	// `page_token` for the following request. An empty value means no more
	// results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response including listed active occurrences.

func (*ListOccurrencesResponse) Descriptor

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

func (*ListOccurrencesResponse) GetNextPageToken

func (m *ListOccurrencesResponse) GetNextPageToken() string

func (*ListOccurrencesResponse) GetOccurrences

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

func (*ListOccurrencesResponse) ProtoMessage

func (*ListOccurrencesResponse) ProtoMessage()

func (*ListOccurrencesResponse) Reset

func (m *ListOccurrencesResponse) Reset()

func (*ListOccurrencesResponse) String

func (m *ListOccurrencesResponse) String() string

func (*ListOccurrencesResponse) XXX_DiscardUnknown

func (m *ListOccurrencesResponse) XXX_DiscardUnknown()

func (*ListOccurrencesResponse) XXX_Marshal

func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOccurrencesResponse) XXX_Merge

func (m *ListOccurrencesResponse) XXX_Merge(src proto.Message)

func (*ListOccurrencesResponse) XXX_Size

func (m *ListOccurrencesResponse) XXX_Size() int

func (*ListOccurrencesResponse) XXX_Unmarshal

func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error

type ListScanConfigsRequest

type ListScanConfigsRequest struct {
	// This containers the project Id i.e.: projects/{project_id}
	// instead.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// The number of items to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token to use for the next request.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list the available scan configurations.

func (*ListScanConfigsRequest) Descriptor

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

func (*ListScanConfigsRequest) GetFilter

func (m *ListScanConfigsRequest) GetFilter() string

func (*ListScanConfigsRequest) GetPageSize

func (m *ListScanConfigsRequest) GetPageSize() int32

func (*ListScanConfigsRequest) GetPageToken

func (m *ListScanConfigsRequest) GetPageToken() string

func (*ListScanConfigsRequest) GetParent

func (m *ListScanConfigsRequest) GetParent() string

func (*ListScanConfigsRequest) ProtoMessage

func (*ListScanConfigsRequest) ProtoMessage()

func (*ListScanConfigsRequest) Reset

func (m *ListScanConfigsRequest) Reset()

func (*ListScanConfigsRequest) String

func (m *ListScanConfigsRequest) String() string

func (*ListScanConfigsRequest) XXX_DiscardUnknown

func (m *ListScanConfigsRequest) XXX_DiscardUnknown()

func (*ListScanConfigsRequest) XXX_Marshal

func (m *ListScanConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListScanConfigsRequest) XXX_Merge

func (m *ListScanConfigsRequest) XXX_Merge(src proto.Message)

func (*ListScanConfigsRequest) XXX_Size

func (m *ListScanConfigsRequest) XXX_Size() int

func (*ListScanConfigsRequest) XXX_Unmarshal

func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error

type ListScanConfigsResponse

type ListScanConfigsResponse struct {
	// The set of scan configs
	ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"`
	// A page token to pass in order to get more scans.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A list of ScanConfigs for the project.

func (*ListScanConfigsResponse) Descriptor

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

func (*ListScanConfigsResponse) GetNextPageToken

func (m *ListScanConfigsResponse) GetNextPageToken() string

func (*ListScanConfigsResponse) GetScanConfigs

func (m *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig

func (*ListScanConfigsResponse) ProtoMessage

func (*ListScanConfigsResponse) ProtoMessage()

func (*ListScanConfigsResponse) Reset

func (m *ListScanConfigsResponse) Reset()

func (*ListScanConfigsResponse) String

func (m *ListScanConfigsResponse) String() string

func (*ListScanConfigsResponse) XXX_DiscardUnknown

func (m *ListScanConfigsResponse) XXX_DiscardUnknown()

func (*ListScanConfigsResponse) XXX_Marshal

func (m *ListScanConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListScanConfigsResponse) XXX_Merge

func (m *ListScanConfigsResponse) XXX_Merge(src proto.Message)

func (*ListScanConfigsResponse) XXX_Size

func (m *ListScanConfigsResponse) XXX_Size() int

func (*ListScanConfigsResponse) XXX_Unmarshal

func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error

type Note

type Note struct {
	// The name of the note in the form
	// "providers/{provider_id}/notes/{NOTE_ID}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A one sentence description of this `Note`.
	ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// A detailed description of this `Note`.
	LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Output only. This explicitly denotes which kind of note is specified. This
	// field can be used as a filter in list requests.
	Kind Note_Kind `protobuf:"varint,9,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
	// The type of note.
	//
	// Types that are valid to be assigned to NoteType:
	//	*Note_VulnerabilityType
	//	*Note_BuildType
	//	*Note_BaseImage
	//	*Note_Package
	//	*Note_Deployable
	//	*Note_Discovery
	//	*Note_AttestationAuthority
	NoteType isNote_NoteType `protobuf_oneof:"note_type"`
	// URLs associated with this note
	RelatedUrl []*Note_RelatedUrl `protobuf:"bytes,7,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
	// Time of expiration for this note, null if note does not expire.
	ExpirationTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Output only. The time this note was created. This field can be used as a
	// filter in list requests.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this note was last updated. This field can be used as
	// a filter in list requests.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Provides a detailed description of a `Note`.

func (*Note) Descriptor

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

func (*Note) GetAttestationAuthority

func (m *Note) GetAttestationAuthority() *AttestationAuthority

func (*Note) GetBaseImage

func (m *Note) GetBaseImage() *DockerImage_Basis

func (*Note) GetBuildType

func (m *Note) GetBuildType() *BuildType

func (*Note) GetCreateTime

func (m *Note) GetCreateTime() *timestamp.Timestamp

func (*Note) GetDeployable

func (m *Note) GetDeployable() *Deployable

func (*Note) GetDiscovery

func (m *Note) GetDiscovery() *Discovery

func (*Note) GetExpirationTime

func (m *Note) GetExpirationTime() *timestamp.Timestamp

func (*Note) GetKind

func (m *Note) GetKind() Note_Kind

func (*Note) GetLongDescription

func (m *Note) GetLongDescription() string

func (*Note) GetName

func (m *Note) GetName() string

func (*Note) GetNoteType

func (m *Note) GetNoteType() isNote_NoteType

func (*Note) GetPackage

func (m *Note) GetPackage() *PackageManager_Package

func (*Note) GetRelatedUrl

func (m *Note) GetRelatedUrl() []*Note_RelatedUrl

func (*Note) GetShortDescription

func (m *Note) GetShortDescription() string

func (*Note) GetUpdateTime

func (m *Note) GetUpdateTime() *timestamp.Timestamp

func (*Note) GetVulnerabilityType

func (m *Note) GetVulnerabilityType() *VulnerabilityType

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) Reset

func (m *Note) Reset()

func (*Note) String

func (m *Note) String() string

func (*Note) XXX_DiscardUnknown

func (m *Note) XXX_DiscardUnknown()

func (*Note) XXX_Marshal

func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Note) XXX_Merge

func (m *Note) XXX_Merge(src proto.Message)

func (*Note) XXX_OneofWrappers

func (*Note) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Note) XXX_Size

func (m *Note) XXX_Size() int

func (*Note) XXX_Unmarshal

func (m *Note) XXX_Unmarshal(b []byte) error

type Note_AttestationAuthority

type Note_AttestationAuthority struct {
	AttestationAuthority *AttestationAuthority `protobuf:"bytes,19,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}

type Note_BaseImage

type Note_BaseImage struct {
	BaseImage *DockerImage_Basis `protobuf:"bytes,13,opt,name=base_image,json=baseImage,proto3,oneof"`
}

type Note_BuildType

type Note_BuildType struct {
	BuildType *BuildType `protobuf:"bytes,8,opt,name=build_type,json=buildType,proto3,oneof"`
}

type Note_Deployable

type Note_Deployable struct {
	Deployable *Deployable `protobuf:"bytes,17,opt,name=deployable,proto3,oneof"`
}

type Note_Discovery

type Note_Discovery struct {
	Discovery *Discovery `protobuf:"bytes,18,opt,name=discovery,proto3,oneof"`
}

type Note_Kind

type Note_Kind int32

This must be 1:1 with members of our oneofs, it can be used for filtering Note and Occurrence on their kind.

const (
	// Unknown
	Note_KIND_UNSPECIFIED Note_Kind = 0
	// The note and occurrence represent a package vulnerability.
	Note_PACKAGE_VULNERABILITY Note_Kind = 2
	// The note and occurrence assert build provenance.
	Note_BUILD_DETAILS Note_Kind = 3
	// This represents an image basis relationship.
	Note_IMAGE_BASIS Note_Kind = 4
	// This represents a package installed via a package manager.
	Note_PACKAGE_MANAGER Note_Kind = 5
	// The note and occurrence track deployment events.
	Note_DEPLOYABLE Note_Kind = 6
	// The note and occurrence track the initial discovery status of a resource.
	Note_DISCOVERY Note_Kind = 7
	// This represents a logical "role" that can attest to artifacts.
	Note_ATTESTATION_AUTHORITY Note_Kind = 8
)

func (Note_Kind) EnumDescriptor

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

func (Note_Kind) String

func (x Note_Kind) String() string

type Note_Package

type Note_Package struct {
	Package *PackageManager_Package `protobuf:"bytes,14,opt,name=package,proto3,oneof"`
}

type Note_RelatedUrl

type Note_RelatedUrl struct {
	// Specific URL to associate with the note
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Label to describe usage of the URL
	Label                string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata for any related URL information

func (*Note_RelatedUrl) Descriptor

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

func (*Note_RelatedUrl) GetLabel

func (m *Note_RelatedUrl) GetLabel() string

func (*Note_RelatedUrl) GetUrl

func (m *Note_RelatedUrl) GetUrl() string

func (*Note_RelatedUrl) ProtoMessage

func (*Note_RelatedUrl) ProtoMessage()

func (*Note_RelatedUrl) Reset

func (m *Note_RelatedUrl) Reset()

func (*Note_RelatedUrl) String

func (m *Note_RelatedUrl) String() string

func (*Note_RelatedUrl) XXX_DiscardUnknown

func (m *Note_RelatedUrl) XXX_DiscardUnknown()

func (*Note_RelatedUrl) XXX_Marshal

func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Note_RelatedUrl) XXX_Merge

func (m *Note_RelatedUrl) XXX_Merge(src proto.Message)

func (*Note_RelatedUrl) XXX_Size

func (m *Note_RelatedUrl) XXX_Size() int

func (*Note_RelatedUrl) XXX_Unmarshal

func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error

type Note_VulnerabilityType

type Note_VulnerabilityType struct {
	VulnerabilityType *VulnerabilityType `protobuf:"bytes,6,opt,name=vulnerability_type,json=vulnerabilityType,proto3,oneof"`
}

type Occurrence

type Occurrence struct {
	// Output only. The name of the `Occurrence` in the form
	// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The unique URL of the image or the container for which the `Occurrence`
	// applies. For example, https://gcr.io/project/image@sha256:foo This field
	// can be used as a filter in list requests.
	ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
	// The resource for which the `Occurrence` applies.
	Resource *Resource `protobuf:"bytes,17,opt,name=resource,proto3" json:"resource,omitempty"`
	// An analysis note associated with this image, in the form
	// "providers/{provider_id}/notes/{NOTE_ID}"
	// This field can be used as a filter in list requests.
	NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"`
	// Output only. This explicitly denotes which of the `Occurrence` details are
	// specified. This field can be used as a filter in list requests.
	Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
	// Describes the details of the vulnerability `Note` found in this resource.
	//
	// Types that are valid to be assigned to Details:
	//	*Occurrence_VulnerabilityDetails
	//	*Occurrence_BuildDetails
	//	*Occurrence_DerivedImage
	//	*Occurrence_Installation
	//	*Occurrence_Deployment
	//	*Occurrence_Discovered
	//	*Occurrence_Attestation
	Details isOccurrence_Details `protobuf_oneof:"details"`
	// A description of actions that can be taken to remedy the `Note`
	Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
	// Output only. The time this `Occurrence` was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this `Occurrence` was last updated.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

`Occurrence` includes information about analysis occurrences for an image.

func (*Occurrence) Descriptor

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

func (*Occurrence) GetAttestation

func (m *Occurrence) GetAttestation() *AttestationAuthority_Attestation

func (*Occurrence) GetBuildDetails

func (m *Occurrence) GetBuildDetails() *BuildDetails

func (*Occurrence) GetCreateTime

func (m *Occurrence) GetCreateTime() *timestamp.Timestamp

func (*Occurrence) GetDeployment

func (m *Occurrence) GetDeployment() *Deployable_Deployment

func (*Occurrence) GetDerivedImage

func (m *Occurrence) GetDerivedImage() *DockerImage_Derived

func (*Occurrence) GetDetails

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovered

func (m *Occurrence) GetDiscovered() *Discovery_Discovered

func (*Occurrence) GetInstallation

func (m *Occurrence) GetInstallation() *PackageManager_Installation

func (*Occurrence) GetKind

func (m *Occurrence) GetKind() Note_Kind

func (*Occurrence) GetName

func (m *Occurrence) GetName() string

func (*Occurrence) GetNoteName

func (m *Occurrence) GetNoteName() string

func (*Occurrence) GetRemediation

func (m *Occurrence) GetRemediation() string

func (*Occurrence) GetResource

func (m *Occurrence) GetResource() *Resource

func (*Occurrence) GetResourceUrl

func (m *Occurrence) GetResourceUrl() string

func (*Occurrence) GetUpdateTime

func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp

func (*Occurrence) GetVulnerabilityDetails

func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails

func (*Occurrence) ProtoMessage

func (*Occurrence) ProtoMessage()

func (*Occurrence) Reset

func (m *Occurrence) Reset()

func (*Occurrence) String

func (m *Occurrence) String() string

func (*Occurrence) XXX_DiscardUnknown

func (m *Occurrence) XXX_DiscardUnknown()

func (*Occurrence) XXX_Marshal

func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Occurrence) XXX_Merge

func (m *Occurrence) XXX_Merge(src proto.Message)

func (*Occurrence) XXX_OneofWrappers

func (*Occurrence) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Occurrence) XXX_Size

func (m *Occurrence) XXX_Size() int

func (*Occurrence) XXX_Unmarshal

func (m *Occurrence) XXX_Unmarshal(b []byte) error

type Occurrence_Attestation

type Occurrence_Attestation struct {
	Attestation *AttestationAuthority_Attestation `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"`
}

type Occurrence_BuildDetails

type Occurrence_BuildDetails struct {
	BuildDetails *BuildDetails `protobuf:"bytes,7,opt,name=build_details,json=buildDetails,proto3,oneof"`
}

type Occurrence_Deployment

type Occurrence_Deployment struct {
	Deployment *Deployable_Deployment `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"`
}

type Occurrence_DerivedImage

type Occurrence_DerivedImage struct {
	DerivedImage *DockerImage_Derived `protobuf:"bytes,11,opt,name=derived_image,json=derivedImage,proto3,oneof"`
}

type Occurrence_Discovered

type Occurrence_Discovered struct {
	Discovered *Discovery_Discovered `protobuf:"bytes,15,opt,name=discovered,proto3,oneof"`
}

type Occurrence_Installation

type Occurrence_Installation struct {
	Installation *PackageManager_Installation `protobuf:"bytes,12,opt,name=installation,proto3,oneof"`
}

type Occurrence_VulnerabilityDetails

type Occurrence_VulnerabilityDetails struct {
	VulnerabilityDetails *VulnerabilityType_VulnerabilityDetails `protobuf:"bytes,8,opt,name=vulnerability_details,json=vulnerabilityDetails,proto3,oneof"`
}

type OperationMetadata

type OperationMetadata struct {
	// Output only. The time this operation was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time that this operation was marked completed or failed.
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata for all operations used and required for all operations that created by Container Analysis Providers

func (*OperationMetadata) Descriptor

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

func (*OperationMetadata) GetCreateTime

func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*OperationMetadata) GetEndTime

func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) Reset

func (m *OperationMetadata) Reset()

func (*OperationMetadata) String

func (m *OperationMetadata) String() string

func (*OperationMetadata) XXX_DiscardUnknown

func (m *OperationMetadata) XXX_DiscardUnknown()

func (*OperationMetadata) XXX_Marshal

func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperationMetadata) XXX_Merge

func (m *OperationMetadata) XXX_Merge(src proto.Message)

func (*OperationMetadata) XXX_Size

func (m *OperationMetadata) XXX_Size() int

func (*OperationMetadata) XXX_Unmarshal

func (m *OperationMetadata) XXX_Unmarshal(b []byte) error

type PackageManager

type PackageManager struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PackageManager provides metadata about available / installed packages.

func (*PackageManager) Descriptor

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

func (*PackageManager) ProtoMessage

func (*PackageManager) ProtoMessage()

func (*PackageManager) Reset

func (m *PackageManager) Reset()

func (*PackageManager) String

func (m *PackageManager) String() string

func (*PackageManager) XXX_DiscardUnknown

func (m *PackageManager) XXX_DiscardUnknown()

func (*PackageManager) XXX_Marshal

func (m *PackageManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageManager) XXX_Merge

func (m *PackageManager) XXX_Merge(src proto.Message)

func (*PackageManager) XXX_Size

func (m *PackageManager) XXX_Size() int

func (*PackageManager) XXX_Unmarshal

func (m *PackageManager) XXX_Unmarshal(b []byte) error

type PackageManager_Architecture

type PackageManager_Architecture int32

Instruction set architectures supported by various package managers.

const (
	// Unknown architecture
	PackageManager_ARCHITECTURE_UNSPECIFIED PackageManager_Architecture = 0
	// X86 architecture
	PackageManager_X86 PackageManager_Architecture = 1
	// X64 architecture
	PackageManager_X64 PackageManager_Architecture = 2
)

func (PackageManager_Architecture) EnumDescriptor

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

func (PackageManager_Architecture) String

type PackageManager_Distribution

type PackageManager_Distribution struct {
	// The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
	// denoting the package manager version distributing a package.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The CPU architecture for which packages in this distribution
	// channel were built
	Architecture PackageManager_Architecture `` /* 154-byte string literal not displayed */
	// The latest available version of this package in
	// this distribution channel.
	LatestVersion *VulnerabilityType_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,6,opt,name=url,proto3" json:"url,omitempty"`
	// The distribution channel-specific description of this package.
	Description          string   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PackageManager_Distribution) Descriptor

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

func (*PackageManager_Distribution) GetArchitecture

func (*PackageManager_Distribution) GetCpeUri

func (m *PackageManager_Distribution) GetCpeUri() string

func (*PackageManager_Distribution) GetDescription

func (m *PackageManager_Distribution) GetDescription() string

func (*PackageManager_Distribution) GetLatestVersion

func (*PackageManager_Distribution) GetMaintainer

func (m *PackageManager_Distribution) GetMaintainer() string

func (*PackageManager_Distribution) GetUrl

func (m *PackageManager_Distribution) GetUrl() string

func (*PackageManager_Distribution) ProtoMessage

func (*PackageManager_Distribution) ProtoMessage()

func (*PackageManager_Distribution) Reset

func (m *PackageManager_Distribution) Reset()

func (*PackageManager_Distribution) String

func (m *PackageManager_Distribution) String() string

func (*PackageManager_Distribution) XXX_DiscardUnknown

func (m *PackageManager_Distribution) XXX_DiscardUnknown()

func (*PackageManager_Distribution) XXX_Marshal

func (m *PackageManager_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageManager_Distribution) XXX_Merge

func (m *PackageManager_Distribution) XXX_Merge(src proto.Message)

func (*PackageManager_Distribution) XXX_Size

func (m *PackageManager_Distribution) XXX_Size() int

func (*PackageManager_Distribution) XXX_Unmarshal

func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error

type PackageManager_Installation

type PackageManager_Installation struct {
	// Output only. The name of the installed package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// All of the places within the filesystem versions of this package
	// have been found.
	Location             []*PackageManager_Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

This represents how a particular software package may be installed on a system.

func (*PackageManager_Installation) Descriptor

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

func (*PackageManager_Installation) GetLocation

func (*PackageManager_Installation) GetName

func (m *PackageManager_Installation) GetName() string

func (*PackageManager_Installation) ProtoMessage

func (*PackageManager_Installation) ProtoMessage()

func (*PackageManager_Installation) Reset

func (m *PackageManager_Installation) Reset()

func (*PackageManager_Installation) String

func (m *PackageManager_Installation) String() string

func (*PackageManager_Installation) XXX_DiscardUnknown

func (m *PackageManager_Installation) XXX_DiscardUnknown()

func (*PackageManager_Installation) XXX_Marshal

func (m *PackageManager_Installation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageManager_Installation) XXX_Merge

func (m *PackageManager_Installation) XXX_Merge(src proto.Message)

func (*PackageManager_Installation) XXX_Size

func (m *PackageManager_Installation) XXX_Size() int

func (*PackageManager_Installation) XXX_Unmarshal

func (m *PackageManager_Installation) XXX_Unmarshal(b []byte) error

type PackageManager_Location

type PackageManager_Location struct {
	// The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
	// denoting the package manager version distributing a package.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The version installed at this location.
	Version *VulnerabilityType_Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The path from which we gathered that this package/version is installed.
	Path                 string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PackageManager_Location) Descriptor

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

func (*PackageManager_Location) GetCpeUri

func (m *PackageManager_Location) GetCpeUri() string

func (*PackageManager_Location) GetPath

func (m *PackageManager_Location) GetPath() string

func (*PackageManager_Location) GetVersion

func (*PackageManager_Location) ProtoMessage

func (*PackageManager_Location) ProtoMessage()

func (*PackageManager_Location) Reset

func (m *PackageManager_Location) Reset()

func (*PackageManager_Location) String

func (m *PackageManager_Location) String() string

func (*PackageManager_Location) XXX_DiscardUnknown

func (m *PackageManager_Location) XXX_DiscardUnknown()

func (*PackageManager_Location) XXX_Marshal

func (m *PackageManager_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageManager_Location) XXX_Merge

func (m *PackageManager_Location) XXX_Merge(src proto.Message)

func (*PackageManager_Location) XXX_Size

func (m *PackageManager_Location) XXX_Size() int

func (*PackageManager_Location) XXX_Unmarshal

func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error

type PackageManager_Package

type PackageManager_Package struct {
	// The name of the package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The various channels by which a package is distributed.
	Distribution         []*PackageManager_Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.

func (*PackageManager_Package) Descriptor

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

func (*PackageManager_Package) GetDistribution

func (m *PackageManager_Package) GetDistribution() []*PackageManager_Distribution

func (*PackageManager_Package) GetName

func (m *PackageManager_Package) GetName() string

func (*PackageManager_Package) ProtoMessage

func (*PackageManager_Package) ProtoMessage()

func (*PackageManager_Package) Reset

func (m *PackageManager_Package) Reset()

func (*PackageManager_Package) String

func (m *PackageManager_Package) String() string

func (*PackageManager_Package) XXX_DiscardUnknown

func (m *PackageManager_Package) XXX_DiscardUnknown()

func (*PackageManager_Package) XXX_Marshal

func (m *PackageManager_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageManager_Package) XXX_Merge

func (m *PackageManager_Package) XXX_Merge(src proto.Message)

func (*PackageManager_Package) XXX_Size

func (m *PackageManager_Package) XXX_Size() int

func (*PackageManager_Package) XXX_Unmarshal

func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error

type PgpSignedAttestation

type PgpSignedAttestation struct {
	// The raw content of the signature, as output by GNU Privacy Guard (GPG) or
	// equivalent.  Since this message only supports attached signatures, the
	// payload that was signed must be attached. While the signature format
	// supported is dependent on the verification implementation, currently only
	// ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than
	// `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor
	// --output=signature.gpg payload.json` will create the signature content
	// expected in this field in `signature.gpg` for the `payload.json`
	// attestation payload.
	Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// Type (for example schema) of the attestation payload that was signed.
	// The verifier must ensure that the provided type is one that the verifier
	// supports, and that the attestation payload is a valid instantiation of that
	// type (for example by validating a JSON schema).
	ContentType PgpSignedAttestation_ContentType `` /* 176-byte string literal not displayed */
	// This field is used by verifiers to select the public key used to validate
	// the signature.  Note that the policy of the verifier ultimately determines
	// which public keys verify a signature based on the context of the
	// verification.  There is no guarantee validation will succeed if the
	// verifier has no key matching this ID, even if it has a key under a
	// different ID that would verify the signature. Note that this ID should also
	// be present in the signature content above, but that is not expected to be
	// used by the verifier.
	//
	// Types that are valid to be assigned to KeyId:
	//	*PgpSignedAttestation_PgpKeyId
	KeyId                isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.

func (*PgpSignedAttestation) Descriptor

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

func (*PgpSignedAttestation) GetContentType

func (*PgpSignedAttestation) GetKeyId

func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId

func (*PgpSignedAttestation) GetPgpKeyId

func (m *PgpSignedAttestation) GetPgpKeyId() string

func (*PgpSignedAttestation) GetSignature

func (m *PgpSignedAttestation) GetSignature() string

func (*PgpSignedAttestation) ProtoMessage

func (*PgpSignedAttestation) ProtoMessage()

func (*PgpSignedAttestation) Reset

func (m *PgpSignedAttestation) Reset()

func (*PgpSignedAttestation) String

func (m *PgpSignedAttestation) String() string

func (*PgpSignedAttestation) XXX_DiscardUnknown

func (m *PgpSignedAttestation) XXX_DiscardUnknown()

func (*PgpSignedAttestation) XXX_Marshal

func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PgpSignedAttestation) XXX_Merge

func (m *PgpSignedAttestation) XXX_Merge(src proto.Message)

func (*PgpSignedAttestation) XXX_OneofWrappers

func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PgpSignedAttestation) XXX_Size

func (m *PgpSignedAttestation) XXX_Size() int

func (*PgpSignedAttestation) XXX_Unmarshal

func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error

type PgpSignedAttestation_ContentType

type PgpSignedAttestation_ContentType int32

Type (for example schema) of the attestation payload that was signed.

const (
	// `ContentType` is not set.
	PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0
	// Atomic format attestation signature. See
	// https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md
	// The payload extracted from `signature` is a JSON blob conforming to the
	// linked schema.
	PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1
)

func (PgpSignedAttestation_ContentType) EnumDescriptor

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

func (PgpSignedAttestation_ContentType) String

type PgpSignedAttestation_PgpKeyId

type PgpSignedAttestation_PgpKeyId struct {
	PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"`
}

type ProjectRepoId

type ProjectRepoId struct {
	// The ID of the project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the repo. Leave empty for the default repo.
	RepoName             string   `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ProjectRepoId) Descriptor

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

func (*ProjectRepoId) GetProjectId

func (m *ProjectRepoId) GetProjectId() string

func (*ProjectRepoId) GetRepoName

func (m *ProjectRepoId) GetRepoName() string

func (*ProjectRepoId) ProtoMessage

func (*ProjectRepoId) ProtoMessage()

func (*ProjectRepoId) Reset

func (m *ProjectRepoId) Reset()

func (*ProjectRepoId) String

func (m *ProjectRepoId) String() string

func (*ProjectRepoId) XXX_DiscardUnknown

func (m *ProjectRepoId) XXX_DiscardUnknown()

func (*ProjectRepoId) XXX_Marshal

func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectRepoId) XXX_Merge

func (m *ProjectRepoId) XXX_Merge(src proto.Message)

func (*ProjectRepoId) XXX_Size

func (m *ProjectRepoId) XXX_Size() int

func (*ProjectRepoId) XXX_Unmarshal

func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error

type RepoId

type RepoId struct {
	// A cloud repo can be identified by either its project ID and repository name
	// combination, or its globally unique identifier.
	//
	// Types that are valid to be assigned to Id:
	//	*RepoId_ProjectRepoId
	//	*RepoId_Uid
	Id                   isRepoId_Id `protobuf_oneof:"id"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A unique identifier for a Cloud Repo.

func (*RepoId) Descriptor

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

func (*RepoId) GetId

func (m *RepoId) GetId() isRepoId_Id

func (*RepoId) GetProjectRepoId

func (m *RepoId) GetProjectRepoId() *ProjectRepoId

func (*RepoId) GetUid

func (m *RepoId) GetUid() string

func (*RepoId) ProtoMessage

func (*RepoId) ProtoMessage()

func (*RepoId) Reset

func (m *RepoId) Reset()

func (*RepoId) String

func (m *RepoId) String() string

func (*RepoId) XXX_DiscardUnknown

func (m *RepoId) XXX_DiscardUnknown()

func (*RepoId) XXX_Marshal

func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoId) XXX_Merge

func (m *RepoId) XXX_Merge(src proto.Message)

func (*RepoId) XXX_OneofWrappers

func (*RepoId) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RepoId) XXX_Size

func (m *RepoId) XXX_Size() int

func (*RepoId) XXX_Unmarshal

func (m *RepoId) XXX_Unmarshal(b []byte) error

type RepoId_ProjectRepoId

type RepoId_ProjectRepoId struct {
	ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
}

type RepoId_Uid

type RepoId_Uid struct {
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
}

type RepoSource

type RepoSource struct {
	// ID of the project that owns the repo.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name of the repo.
	RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// A revision within the source repository must be specified in
	// one of these ways.
	//
	// Types that are valid to be assigned to Revision:
	//	*RepoSource_BranchName
	//	*RepoSource_TagName
	//	*RepoSource_CommitSha
	Revision             isRepoSource_Revision `protobuf_oneof:"revision"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

RepoSource describes the location of the source in a Google Cloud Source Repository.

func (*RepoSource) Descriptor

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

func (*RepoSource) GetBranchName

func (m *RepoSource) GetBranchName() string

func (*RepoSource) GetCommitSha

func (m *RepoSource) GetCommitSha() string

func (*RepoSource) GetProjectId

func (m *RepoSource) GetProjectId() string

func (*RepoSource) GetRepoName

func (m *RepoSource) GetRepoName() string

func (*RepoSource) GetRevision

func (m *RepoSource) GetRevision() isRepoSource_Revision

func (*RepoSource) GetTagName

func (m *RepoSource) GetTagName() string

func (*RepoSource) ProtoMessage

func (*RepoSource) ProtoMessage()

func (*RepoSource) Reset

func (m *RepoSource) Reset()

func (*RepoSource) String

func (m *RepoSource) String() string

func (*RepoSource) XXX_DiscardUnknown

func (m *RepoSource) XXX_DiscardUnknown()

func (*RepoSource) XXX_Marshal

func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoSource) XXX_Merge

func (m *RepoSource) XXX_Merge(src proto.Message)

func (*RepoSource) XXX_OneofWrappers

func (*RepoSource) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RepoSource) XXX_Size

func (m *RepoSource) XXX_Size() int

func (*RepoSource) XXX_Unmarshal

func (m *RepoSource) XXX_Unmarshal(b []byte) error

type RepoSource_BranchName

type RepoSource_BranchName struct {
	BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
}

type RepoSource_CommitSha

type RepoSource_CommitSha struct {
	CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"`
}

type RepoSource_TagName

type RepoSource_TagName struct {
	TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
}

type Resource

type Resource struct {
	// The name of the resource. E.g., the name of a Docker image - "Debian".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The unique URI of the resource. E.g.,
	// "https://gcr.io/project/image@sha256:foo" for a Docker image.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// The hash of the resource content. E.g., the Docker digest.
	ContentHash          *Hash    `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource is an entity that can have metadata. E.g., a Docker image.

func (*Resource) Descriptor

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

func (*Resource) GetContentHash

func (m *Resource) GetContentHash() *Hash

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetUri

func (m *Resource) GetUri() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

type ScanConfig

type ScanConfig struct {
	// Output only. The name of the ScanConfig in the form
	// “projects/{project_id}/ScanConfigs/{ScanConfig_id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. A human-readable description of what the `ScanConfig` does.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Indicates whether the Scan is enabled.
	Enabled              bool     `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Indicates various scans and whether they are turned on or off.

func (*ScanConfig) Descriptor

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

func (*ScanConfig) GetDescription

func (m *ScanConfig) GetDescription() string

func (*ScanConfig) GetEnabled

func (m *ScanConfig) GetEnabled() bool

func (*ScanConfig) GetName

func (m *ScanConfig) GetName() string

func (*ScanConfig) ProtoMessage

func (*ScanConfig) ProtoMessage()

func (*ScanConfig) Reset

func (m *ScanConfig) Reset()

func (*ScanConfig) String

func (m *ScanConfig) String() string

func (*ScanConfig) XXX_DiscardUnknown

func (m *ScanConfig) XXX_DiscardUnknown()

func (*ScanConfig) XXX_Marshal

func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScanConfig) XXX_Merge

func (m *ScanConfig) XXX_Merge(src proto.Message)

func (*ScanConfig) XXX_Size

func (m *ScanConfig) XXX_Size() int

func (*ScanConfig) XXX_Unmarshal

func (m *ScanConfig) XXX_Unmarshal(b []byte) error

type Source

type Source struct {
	// Source location information.
	//
	// Types that are valid to be assigned to Source:
	//	*Source_StorageSource
	//	*Source_RepoSource
	Source isSource_Source `protobuf_oneof:"source"`
	// If provided, the input binary artifacts for the build came from this
	// location.
	ArtifactStorageSource *StorageSource `` /* 126-byte string literal not displayed */
	// Hash(es) of the build source, which can be used to verify that the original
	// source integrity was maintained in the build.
	//
	// The keys to this map are file paths used as build source and the values
	// contain the hash values for those files.
	//
	// If the build source came in a single package such as a gzipped tarfile
	// (.tar.gz), the FileHash will be for the single path to that file.
	FileHashes map[string]*FileHashes `` /* 179-byte string literal not displayed */
	// If provided, the source code used for the build came from this location.
	Context *SourceContext `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// If provided, some of the source code used for the build may be found in
	// these locations, in the case where the source repository had multiple
	// remotes or submodules. This list will not include the context specified in
	// the context field.
	AdditionalContexts   []*SourceContext `protobuf:"bytes,8,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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

func (*Source) Descriptor

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

func (*Source) GetAdditionalContexts

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

func (*Source) GetArtifactStorageSource

func (m *Source) GetArtifactStorageSource() *StorageSource

func (*Source) GetContext

func (m *Source) GetContext() *SourceContext

func (*Source) GetFileHashes

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

func (*Source) GetRepoSource

func (m *Source) GetRepoSource() *RepoSource

func (*Source) GetSource

func (m *Source) GetSource() isSource_Source

func (*Source) GetStorageSource

func (m *Source) GetStorageSource() *StorageSource

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

func (*Source) XXX_DiscardUnknown

func (m *Source) XXX_DiscardUnknown()

func (*Source) XXX_Marshal

func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Source) XXX_Merge

func (m *Source) XXX_Merge(src proto.Message)

func (*Source) XXX_OneofWrappers

func (*Source) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Source) XXX_Size

func (m *Source) XXX_Size() int

func (*Source) XXX_Unmarshal

func (m *Source) XXX_Unmarshal(b []byte) error

type SourceContext

type SourceContext struct {
	// A SourceContext can refer any one of the following types of repositories.
	//
	// Types that are valid to be assigned to Context:
	//	*SourceContext_CloudRepo
	//	*SourceContext_Gerrit
	//	*SourceContext_Git
	Context isSourceContext_Context `protobuf_oneof:"context"`
	// Labels with user defined metadata.
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*SourceContext) Descriptor

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

func (*SourceContext) GetCloudRepo

func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext

func (*SourceContext) GetContext

func (m *SourceContext) GetContext() isSourceContext_Context

func (*SourceContext) GetGerrit

func (m *SourceContext) GetGerrit() *GerritSourceContext

func (*SourceContext) GetGit

func (m *SourceContext) GetGit() *GitSourceContext

func (*SourceContext) GetLabels

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

func (*SourceContext) ProtoMessage

func (*SourceContext) ProtoMessage()

func (*SourceContext) Reset

func (m *SourceContext) Reset()

func (*SourceContext) String

func (m *SourceContext) String() string

func (*SourceContext) XXX_DiscardUnknown

func (m *SourceContext) XXX_DiscardUnknown()

func (*SourceContext) XXX_Marshal

func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceContext) XXX_Merge

func (m *SourceContext) XXX_Merge(src proto.Message)

func (*SourceContext) XXX_OneofWrappers

func (*SourceContext) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SourceContext) XXX_Size

func (m *SourceContext) XXX_Size() int

func (*SourceContext) XXX_Unmarshal

func (m *SourceContext) XXX_Unmarshal(b []byte) error

type SourceContext_CloudRepo

type SourceContext_CloudRepo struct {
	CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
}

type SourceContext_Gerrit

type SourceContext_Gerrit struct {
	Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"`
}

type SourceContext_Git

type SourceContext_Git struct {
	Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"`
}

type Source_RepoSource

type Source_RepoSource struct {
	RepoSource *RepoSource `protobuf:"bytes,2,opt,name=repo_source,json=repoSource,proto3,oneof"`
}

type Source_StorageSource

type Source_StorageSource struct {
	StorageSource *StorageSource `protobuf:"bytes,1,opt,name=storage_source,json=storageSource,proto3,oneof"`
}

type StorageSource

type StorageSource struct {
	// Google Cloud Storage bucket containing source (see [Bucket Name
	// Requirements]
	// (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Google Cloud Storage object containing source.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Google Cloud Storage generation for the object.
	Generation           int64    `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StorageSource describes the location of the source in an archive file in Google Cloud Storage.

func (*StorageSource) Descriptor

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

func (*StorageSource) GetBucket

func (m *StorageSource) GetBucket() string

func (*StorageSource) GetGeneration

func (m *StorageSource) GetGeneration() int64

func (*StorageSource) GetObject

func (m *StorageSource) GetObject() string

func (*StorageSource) ProtoMessage

func (*StorageSource) ProtoMessage()

func (*StorageSource) Reset

func (m *StorageSource) Reset()

func (*StorageSource) String

func (m *StorageSource) String() string

func (*StorageSource) XXX_DiscardUnknown

func (m *StorageSource) XXX_DiscardUnknown()

func (*StorageSource) XXX_Marshal

func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageSource) XXX_Merge

func (m *StorageSource) XXX_Merge(src proto.Message)

func (*StorageSource) XXX_Size

func (m *StorageSource) XXX_Size() int

func (*StorageSource) XXX_Unmarshal

func (m *StorageSource) XXX_Unmarshal(b []byte) error

type UnimplementedContainerAnalysisServer

type UnimplementedContainerAnalysisServer struct {
}

UnimplementedContainerAnalysisServer can be embedded to have forward compatible implementations.

func (*UnimplementedContainerAnalysisServer) CreateNote

func (*UnimplementedContainerAnalysisServer) CreateOccurrence

func (*UnimplementedContainerAnalysisServer) CreateOperation

func (*UnimplementedContainerAnalysisServer) DeleteNote

func (*UnimplementedContainerAnalysisServer) DeleteOccurrence

func (*UnimplementedContainerAnalysisServer) GetIamPolicy

func (*UnimplementedContainerAnalysisServer) GetNote

func (*UnimplementedContainerAnalysisServer) GetOccurrence

func (*UnimplementedContainerAnalysisServer) GetOccurrenceNote

func (*UnimplementedContainerAnalysisServer) GetScanConfig

func (*UnimplementedContainerAnalysisServer) GetVulnzOccurrencesSummary

func (*UnimplementedContainerAnalysisServer) ListNoteOccurrences

func (*UnimplementedContainerAnalysisServer) ListNotes

func (*UnimplementedContainerAnalysisServer) ListOccurrences

func (*UnimplementedContainerAnalysisServer) ListScanConfigs

func (*UnimplementedContainerAnalysisServer) SetIamPolicy

func (*UnimplementedContainerAnalysisServer) TestIamPermissions

func (*UnimplementedContainerAnalysisServer) UpdateNote

func (*UnimplementedContainerAnalysisServer) UpdateOccurrence

func (*UnimplementedContainerAnalysisServer) UpdateOperation

func (*UnimplementedContainerAnalysisServer) UpdateScanConfig

type UpdateNoteRequest

type UpdateNoteRequest struct {
	// The name of the note.
	// Should be of the form "projects/{provider_id}/notes/{note_id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated note.
	Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	// The fields to update.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request to update an existing note

func (*UpdateNoteRequest) Descriptor

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

func (*UpdateNoteRequest) GetName

func (m *UpdateNoteRequest) GetName() string

func (*UpdateNoteRequest) GetNote

func (m *UpdateNoteRequest) GetNote() *Note

func (*UpdateNoteRequest) GetUpdateMask

func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateNoteRequest) ProtoMessage

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) Reset

func (m *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String

func (m *UpdateNoteRequest) String() string

func (*UpdateNoteRequest) XXX_DiscardUnknown

func (m *UpdateNoteRequest) XXX_DiscardUnknown()

func (*UpdateNoteRequest) XXX_Marshal

func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateNoteRequest) XXX_Merge

func (m *UpdateNoteRequest) XXX_Merge(src proto.Message)

func (*UpdateNoteRequest) XXX_Size

func (m *UpdateNoteRequest) XXX_Size() int

func (*UpdateNoteRequest) XXX_Unmarshal

func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error

type UpdateOccurrenceRequest

type UpdateOccurrenceRequest struct {
	// The name of the occurrence.
	// Should be of the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated occurrence.
	Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	// The fields to update.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request to update an existing occurrence

func (*UpdateOccurrenceRequest) Descriptor

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

func (*UpdateOccurrenceRequest) GetName

func (m *UpdateOccurrenceRequest) GetName() string

func (*UpdateOccurrenceRequest) GetOccurrence

func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence

func (*UpdateOccurrenceRequest) GetUpdateMask

func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateOccurrenceRequest) ProtoMessage

func (*UpdateOccurrenceRequest) ProtoMessage()

func (*UpdateOccurrenceRequest) Reset

func (m *UpdateOccurrenceRequest) Reset()

func (*UpdateOccurrenceRequest) String

func (m *UpdateOccurrenceRequest) String() string

func (*UpdateOccurrenceRequest) XXX_DiscardUnknown

func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown()

func (*UpdateOccurrenceRequest) XXX_Marshal

func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateOccurrenceRequest) XXX_Merge

func (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message)

func (*UpdateOccurrenceRequest) XXX_Size

func (m *UpdateOccurrenceRequest) XXX_Size() int

func (*UpdateOccurrenceRequest) XXX_Unmarshal

func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error

type UpdateOperationRequest

type UpdateOperationRequest struct {
	// The name of the Operation.
	// Should be of the form "projects/{provider_id}/operations/{operation_id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The operation to create.
	Operation            *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	UpdateMask           *field_mask.FieldMask  `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Request for updating an existing operation

func (*UpdateOperationRequest) Descriptor

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

func (*UpdateOperationRequest) GetName

func (m *UpdateOperationRequest) GetName() string

func (*UpdateOperationRequest) GetOperation

func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation

func (*UpdateOperationRequest) GetUpdateMask

func (m *UpdateOperationRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateOperationRequest) ProtoMessage

func (*UpdateOperationRequest) ProtoMessage()

func (*UpdateOperationRequest) Reset

func (m *UpdateOperationRequest) Reset()

func (*UpdateOperationRequest) String

func (m *UpdateOperationRequest) String() string

func (*UpdateOperationRequest) XXX_DiscardUnknown

func (m *UpdateOperationRequest) XXX_DiscardUnknown()

func (*UpdateOperationRequest) XXX_Marshal

func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateOperationRequest) XXX_Merge

func (m *UpdateOperationRequest) XXX_Merge(src proto.Message)

func (*UpdateOperationRequest) XXX_Size

func (m *UpdateOperationRequest) XXX_Size() int

func (*UpdateOperationRequest) XXX_Unmarshal

func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error

type UpdateScanConfigRequest

type UpdateScanConfigRequest struct {
	// The scan config to update of the form
	// projects/{project_id}/scan_configs/{ScanConfig_id}
	// instead.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new scan configuration
	ScanConfig           *ScanConfig           `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"`
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A request to update a ScanConfig.

func (*UpdateScanConfigRequest) Descriptor

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

func (*UpdateScanConfigRequest) GetName

func (m *UpdateScanConfigRequest) GetName() string

func (*UpdateScanConfigRequest) GetScanConfig

func (m *UpdateScanConfigRequest) GetScanConfig() *ScanConfig

func (*UpdateScanConfigRequest) GetUpdateMask

func (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateScanConfigRequest) ProtoMessage

func (*UpdateScanConfigRequest) ProtoMessage()

func (*UpdateScanConfigRequest) Reset

func (m *UpdateScanConfigRequest) Reset()

func (*UpdateScanConfigRequest) String

func (m *UpdateScanConfigRequest) String() string

func (*UpdateScanConfigRequest) XXX_DiscardUnknown

func (m *UpdateScanConfigRequest) XXX_DiscardUnknown()

func (*UpdateScanConfigRequest) XXX_Marshal

func (m *UpdateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateScanConfigRequest) XXX_Merge

func (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message)

func (*UpdateScanConfigRequest) XXX_Size

func (m *UpdateScanConfigRequest) XXX_Size() int

func (*UpdateScanConfigRequest) XXX_Unmarshal

func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error

type VulnerabilityType

type VulnerabilityType struct {
	// The CVSS score for this Vulnerability.
	CvssScore float32 `protobuf:"fixed32,2,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
	// Note provider assigned impact of the vulnerability
	Severity VulnerabilityType_Severity `` /* 145-byte string literal not displayed */
	// All information about the package to specifically identify this
	// vulnerability. One entry per (version range and cpe_uri) the
	// package vulnerability has manifested in.
	Details              []*VulnerabilityType_Detail `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

VulnerabilityType provides metadata about a security vulnerability.

func (*VulnerabilityType) Descriptor

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

func (*VulnerabilityType) GetCvssScore

func (m *VulnerabilityType) GetCvssScore() float32

func (*VulnerabilityType) GetDetails

func (m *VulnerabilityType) GetDetails() []*VulnerabilityType_Detail

func (*VulnerabilityType) GetSeverity

func (*VulnerabilityType) ProtoMessage

func (*VulnerabilityType) ProtoMessage()

func (*VulnerabilityType) Reset

func (m *VulnerabilityType) Reset()

func (*VulnerabilityType) String

func (m *VulnerabilityType) String() string

func (*VulnerabilityType) XXX_DiscardUnknown

func (m *VulnerabilityType) XXX_DiscardUnknown()

func (*VulnerabilityType) XXX_Marshal

func (m *VulnerabilityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType) XXX_Merge

func (m *VulnerabilityType) XXX_Merge(src proto.Message)

func (*VulnerabilityType) XXX_Size

func (m *VulnerabilityType) XXX_Size() int

func (*VulnerabilityType) XXX_Unmarshal

func (m *VulnerabilityType) XXX_Unmarshal(b []byte) error

type VulnerabilityType_Detail

type VulnerabilityType_Detail struct {
	// The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in
	// which the vulnerability manifests.  Examples include distro or storage
	// location for vulnerable jar.
	// This field can be used as a filter in list requests.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The name of the package where the vulnerability was found.
	// This field can be used as a filter in list requests.
	Package string `protobuf:"bytes,8,opt,name=package,proto3" json:"package,omitempty"`
	// The min version of the package in which the vulnerability exists.
	MinAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,6,opt,name=min_affected_version,json=minAffectedVersion,proto3" json:"min_affected_version,omitempty"`
	// The max version of the package in which the vulnerability exists.
	// This field can be used as a filter in list requests.
	MaxAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,7,opt,name=max_affected_version,json=maxAffectedVersion,proto3" json:"max_affected_version,omitempty"`
	// The severity (eg: distro assigned severity) for this vulnerability.
	SeverityName string `protobuf:"bytes,4,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"`
	// A vendor-specific description of this note.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// The fix for this specific package version.
	FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,5,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"`
	// The type of package; whether native or non native(ruby gems,
	// node.js packages etc)
	PackageType string `protobuf:"bytes,10,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
	// Whether this Detail is obsolete. Occurrences are expected not to point to
	// obsolete details.
	IsObsolete           bool     `protobuf:"varint,11,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2

func (*VulnerabilityType_Detail) Descriptor

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

func (*VulnerabilityType_Detail) GetCpeUri

func (m *VulnerabilityType_Detail) GetCpeUri() string

func (*VulnerabilityType_Detail) GetDescription

func (m *VulnerabilityType_Detail) GetDescription() string

func (*VulnerabilityType_Detail) GetFixedLocation

func (*VulnerabilityType_Detail) GetIsObsolete

func (m *VulnerabilityType_Detail) GetIsObsolete() bool

func (*VulnerabilityType_Detail) GetMaxAffectedVersion

func (m *VulnerabilityType_Detail) GetMaxAffectedVersion() *VulnerabilityType_Version

func (*VulnerabilityType_Detail) GetMinAffectedVersion

func (m *VulnerabilityType_Detail) GetMinAffectedVersion() *VulnerabilityType_Version

func (*VulnerabilityType_Detail) GetPackage

func (m *VulnerabilityType_Detail) GetPackage() string

func (*VulnerabilityType_Detail) GetPackageType

func (m *VulnerabilityType_Detail) GetPackageType() string

func (*VulnerabilityType_Detail) GetSeverityName

func (m *VulnerabilityType_Detail) GetSeverityName() string

func (*VulnerabilityType_Detail) ProtoMessage

func (*VulnerabilityType_Detail) ProtoMessage()

func (*VulnerabilityType_Detail) Reset

func (m *VulnerabilityType_Detail) Reset()

func (*VulnerabilityType_Detail) String

func (m *VulnerabilityType_Detail) String() string

func (*VulnerabilityType_Detail) XXX_DiscardUnknown

func (m *VulnerabilityType_Detail) XXX_DiscardUnknown()

func (*VulnerabilityType_Detail) XXX_Marshal

func (m *VulnerabilityType_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType_Detail) XXX_Merge

func (m *VulnerabilityType_Detail) XXX_Merge(src proto.Message)

func (*VulnerabilityType_Detail) XXX_Size

func (m *VulnerabilityType_Detail) XXX_Size() int

func (*VulnerabilityType_Detail) XXX_Unmarshal

func (m *VulnerabilityType_Detail) XXX_Unmarshal(b []byte) error

type VulnerabilityType_PackageIssue

type VulnerabilityType_PackageIssue struct {
	// The location of the vulnerability.
	AffectedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,1,opt,name=affected_location,json=affectedLocation,proto3" json:"affected_location,omitempty"`
	// The location of the available fix for vulnerability.
	FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,2,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"`
	// The severity (eg: distro assigned severity) for this vulnerability.
	SeverityName         string   `protobuf:"bytes,3,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

This message wraps a location affected by a vulnerability and its associated fix (if one is available).

func (*VulnerabilityType_PackageIssue) Descriptor

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

func (*VulnerabilityType_PackageIssue) GetAffectedLocation

func (*VulnerabilityType_PackageIssue) GetFixedLocation

func (*VulnerabilityType_PackageIssue) GetSeverityName

func (m *VulnerabilityType_PackageIssue) GetSeverityName() string

func (*VulnerabilityType_PackageIssue) ProtoMessage

func (*VulnerabilityType_PackageIssue) ProtoMessage()

func (*VulnerabilityType_PackageIssue) Reset

func (m *VulnerabilityType_PackageIssue) Reset()

func (*VulnerabilityType_PackageIssue) String

func (*VulnerabilityType_PackageIssue) XXX_DiscardUnknown

func (m *VulnerabilityType_PackageIssue) XXX_DiscardUnknown()

func (*VulnerabilityType_PackageIssue) XXX_Marshal

func (m *VulnerabilityType_PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType_PackageIssue) XXX_Merge

func (m *VulnerabilityType_PackageIssue) XXX_Merge(src proto.Message)

func (*VulnerabilityType_PackageIssue) XXX_Size

func (m *VulnerabilityType_PackageIssue) XXX_Size() int

func (*VulnerabilityType_PackageIssue) XXX_Unmarshal

func (m *VulnerabilityType_PackageIssue) XXX_Unmarshal(b []byte) error

type VulnerabilityType_Severity

type VulnerabilityType_Severity int32

Note provider-assigned severity/impact ranking

const (
	// Unknown Impact
	VulnerabilityType_SEVERITY_UNSPECIFIED VulnerabilityType_Severity = 0
	// Minimal Impact
	VulnerabilityType_MINIMAL VulnerabilityType_Severity = 1
	// Low Impact
	VulnerabilityType_LOW VulnerabilityType_Severity = 2
	// Medium Impact
	VulnerabilityType_MEDIUM VulnerabilityType_Severity = 3
	// High Impact
	VulnerabilityType_HIGH VulnerabilityType_Severity = 4
	// Critical Impact
	VulnerabilityType_CRITICAL VulnerabilityType_Severity = 5
)

func (VulnerabilityType_Severity) EnumDescriptor

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

func (VulnerabilityType_Severity) String

type VulnerabilityType_Version

type VulnerabilityType_Version struct {
	// Used to correct mistakes in the version numbering scheme.
	Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	// The main part of the version name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The iteration of the package build from the above version.
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// Distinguish between sentinel MIN/MAX versions and normal versions.
	// If kind is not NORMAL, then the other fields are ignored.
	Kind                 VulnerabilityType_Version_VersionKind `` /* 148-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/

func (*VulnerabilityType_Version) Descriptor

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

func (*VulnerabilityType_Version) GetEpoch

func (m *VulnerabilityType_Version) GetEpoch() int32

func (*VulnerabilityType_Version) GetKind

func (*VulnerabilityType_Version) GetName

func (m *VulnerabilityType_Version) GetName() string

func (*VulnerabilityType_Version) GetRevision

func (m *VulnerabilityType_Version) GetRevision() string

func (*VulnerabilityType_Version) ProtoMessage

func (*VulnerabilityType_Version) ProtoMessage()

func (*VulnerabilityType_Version) Reset

func (m *VulnerabilityType_Version) Reset()

func (*VulnerabilityType_Version) String

func (m *VulnerabilityType_Version) String() string

func (*VulnerabilityType_Version) XXX_DiscardUnknown

func (m *VulnerabilityType_Version) XXX_DiscardUnknown()

func (*VulnerabilityType_Version) XXX_Marshal

func (m *VulnerabilityType_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType_Version) XXX_Merge

func (m *VulnerabilityType_Version) XXX_Merge(src proto.Message)

func (*VulnerabilityType_Version) XXX_Size

func (m *VulnerabilityType_Version) XXX_Size() int

func (*VulnerabilityType_Version) XXX_Unmarshal

func (m *VulnerabilityType_Version) XXX_Unmarshal(b []byte) error

type VulnerabilityType_Version_VersionKind

type VulnerabilityType_Version_VersionKind int32

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

const (
	// A standard package version, defined by the other fields.
	VulnerabilityType_Version_NORMAL VulnerabilityType_Version_VersionKind = 0
	// A special version representing negative infinity,
	// other fields are ignored.
	VulnerabilityType_Version_MINIMUM VulnerabilityType_Version_VersionKind = 1
	// A special version representing positive infinity,
	// other fields are ignored.
	VulnerabilityType_Version_MAXIMUM VulnerabilityType_Version_VersionKind = 2
)

func (VulnerabilityType_Version_VersionKind) EnumDescriptor

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

func (VulnerabilityType_Version_VersionKind) String

type VulnerabilityType_VulnerabilityDetails

type VulnerabilityType_VulnerabilityDetails struct {
	// The type of package; whether native or non native(ruby gems,
	// node.js packages etc)
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The note provider assigned Severity of the vulnerability.
	Severity VulnerabilityType_Severity `` /* 145-byte string literal not displayed */
	// Output only. The CVSS score of this vulnerability. CVSS score is on a
	// scale of 0-10 where 0 indicates low severity and 10 indicates high
	// severity.
	CvssScore float32 `protobuf:"fixed32,5,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
	// The set of affected locations and their fixes (if available) within
	// the associated resource.
	PackageIssue         []*VulnerabilityType_PackageIssue `protobuf:"bytes,6,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Used by Occurrence to point to where the vulnerability exists and how to fix it.

func (*VulnerabilityType_VulnerabilityDetails) Descriptor

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

func (*VulnerabilityType_VulnerabilityDetails) GetCvssScore

func (*VulnerabilityType_VulnerabilityDetails) GetPackageIssue

func (*VulnerabilityType_VulnerabilityDetails) GetSeverity

func (*VulnerabilityType_VulnerabilityDetails) GetType

func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage

func (*VulnerabilityType_VulnerabilityDetails) Reset

func (*VulnerabilityType_VulnerabilityDetails) String

func (*VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown

func (m *VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown()

func (*VulnerabilityType_VulnerabilityDetails) XXX_Marshal

func (m *VulnerabilityType_VulnerabilityDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType_VulnerabilityDetails) XXX_Merge

func (*VulnerabilityType_VulnerabilityDetails) XXX_Size

func (*VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal

func (m *VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal(b []byte) error

type VulnerabilityType_VulnerabilityLocation

type VulnerabilityType_VulnerabilityLocation struct {
	// The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/)
	// format. Examples include distro or storage location for vulnerable jar.
	// This field can be used as a filter in list requests.
	CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
	// The package being described.
	Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`
	// The version of the package being described.
	// This field can be used as a filter in list requests.
	Version              *VulnerabilityType_Version `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

The location of the vulnerability

func (*VulnerabilityType_VulnerabilityLocation) Descriptor

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

func (*VulnerabilityType_VulnerabilityLocation) GetCpeUri

func (*VulnerabilityType_VulnerabilityLocation) GetPackage

func (*VulnerabilityType_VulnerabilityLocation) GetVersion

func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage

func (*VulnerabilityType_VulnerabilityLocation) Reset

func (*VulnerabilityType_VulnerabilityLocation) String

func (*VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown

func (m *VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown()

func (*VulnerabilityType_VulnerabilityLocation) XXX_Marshal

func (m *VulnerabilityType_VulnerabilityLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VulnerabilityType_VulnerabilityLocation) XXX_Merge

func (*VulnerabilityType_VulnerabilityLocation) XXX_Size

func (*VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal

func (m *VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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