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:&