genproto: google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1 Index | Files

package containeranalysis

import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1"

Index

Package Files

bill_of_materials.pb.go containeranalysis.pb.go image_basis.pb.go package_vulnerability.pb.go provenance.pb.go source_context.pb.go

Variables

var AliasContext_Kind_name = map[int32]string{
    0:  "KIND_UNSPECIFIED",
    1:  "FIXED",
    2:  "MOVABLE",
    4:  "OTHER",
}
var AliasContext_Kind_value = map[string]int32{
    "KIND_UNSPECIFIED": 0,
    "FIXED":            1,
    "MOVABLE":          2,
    "OTHER":            4,
}
var BuildSignature_KeyType_name = map[int32]string{
    0:  "KEY_TYPE_UNSPECIFIED",
    1:  "PGP_ASCII_ARMORED",
    2:  "PKIX_PEM",
}
var BuildSignature_KeyType_value = map[string]int32{
    "KEY_TYPE_UNSPECIFIED": 0,
    "PGP_ASCII_ARMORED":    1,
    "PKIX_PEM":             2,
}
var Deployable_Deployment_Platform_name = map[int32]string{
    0:  "PLATFORM_UNSPECIFIED",
    1:  "GKE",
    2:  "FLEX",
    3:  "CUSTOM",
}
var Deployable_Deployment_Platform_value = map[string]int32{
    "PLATFORM_UNSPECIFIED": 0,
    "GKE":                  1,
    "FLEX":                 2,
    "CUSTOM":               3,
}
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",
}
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,
}
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",
}
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,
}
var Hash_HashType_name = map[int32]string{
    0:  "NONE",
    1:  "SHA256",
}
var Hash_HashType_value = map[string]int32{
    "NONE":   0,
    "SHA256": 1,
}
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",
}
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,
}
var PackageManager_Architecture_name = map[int32]string{
    0:  "ARCHITECTURE_UNSPECIFIED",
    1:  "X86",
    2:  "X64",
}
var PackageManager_Architecture_value = map[string]int32{
    "ARCHITECTURE_UNSPECIFIED": 0,
    "X86":                      1,
    "X64":                      2,
}
var PgpSignedAttestation_ContentType_name = map[int32]string{
    0:  "CONTENT_TYPE_UNSPECIFIED",
    1:  "SIMPLE_SIGNING_JSON",
}
var PgpSignedAttestation_ContentType_value = map[string]int32{
    "CONTENT_TYPE_UNSPECIFIED": 0,
    "SIMPLE_SIGNING_JSON":      1,
}
var VulnerabilityType_Severity_name = map[int32]string{
    0:  "SEVERITY_UNSPECIFIED",
    1:  "MINIMAL",
    2:  "LOW",
    3:  "MEDIUM",
    4:  "HIGH",
    5:  "CRITICAL",
}
var VulnerabilityType_Severity_value = map[string]int32{
    "SEVERITY_UNSPECIFIED": 0,
    "MINIMAL":              1,
    "LOW":                  2,
    "MEDIUM":               3,
    "HIGH":                 4,
    "CRITICAL":             5,
}
var VulnerabilityType_Version_VersionKind_name = map[int32]string{
    0:  "NORMAL",
    1:  "MINIMUM",
    2:  "MAXIMUM",
}
var VulnerabilityType_Version_VersionKind_value = map[string]int32{
    "NORMAL":  0,
    "MINIMUM": 1,
    "MAXIMUM": 2,
}

func RegisterContainerAnalysisServer Uses

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

type AliasContext Uses

type AliasContext struct {
    // The alias kind.
    Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.AliasContext_Kind" json:"kind,omitempty"`
    // 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 Uses

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

func (*AliasContext) GetKind Uses

func (m *AliasContext) GetKind() AliasContext_Kind

func (*AliasContext) GetName Uses

func (m *AliasContext) GetName() string

func (*AliasContext) ProtoMessage Uses

func (*AliasContext) ProtoMessage()

func (*AliasContext) Reset Uses

func (m *AliasContext) Reset()

func (*AliasContext) String Uses

func (m *AliasContext) String() string

func (*AliasContext) XXX_DiscardUnknown Uses

func (m *AliasContext) XXX_DiscardUnknown()

func (*AliasContext) XXX_Marshal Uses

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

func (*AliasContext) XXX_Merge Uses

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

func (*AliasContext) XXX_Size Uses

func (m *AliasContext) XXX_Size() int

func (*AliasContext) XXX_Unmarshal Uses

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

type AliasContext_Kind Uses

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 Uses

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

func (AliasContext_Kind) String Uses

func (x AliasContext_Kind) String() string

type Artifact Uses

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 Uses

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

func (*Artifact) GetChecksum Uses

func (m *Artifact) GetChecksum() string

func (*Artifact) GetId Uses

func (m *Artifact) GetId() string

func (*Artifact) GetName Uses

func (m *Artifact) GetName() string

func (*Artifact) GetNames Uses

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

func (*Artifact) ProtoMessage Uses

func (*Artifact) ProtoMessage()

func (*Artifact) Reset Uses

func (m *Artifact) Reset()

func (*Artifact) String Uses

func (m *Artifact) String() string

func (*Artifact) XXX_DiscardUnknown Uses

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal Uses

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

func (*Artifact) XXX_Merge Uses

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

func (*Artifact) XXX_Size Uses

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal Uses

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

type AttestationAuthority Uses

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 Uses

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

func (*AttestationAuthority) GetHint Uses

func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint

func (*AttestationAuthority) ProtoMessage Uses

func (*AttestationAuthority) ProtoMessage()

func (*AttestationAuthority) Reset Uses

func (m *AttestationAuthority) Reset()

func (*AttestationAuthority) String Uses

func (m *AttestationAuthority) String() string

func (*AttestationAuthority) XXX_DiscardUnknown Uses

func (m *AttestationAuthority) XXX_DiscardUnknown()

func (*AttestationAuthority) XXX_Marshal Uses

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

func (*AttestationAuthority) XXX_Merge Uses

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

func (*AttestationAuthority) XXX_Size Uses

func (m *AttestationAuthority) XXX_Size() int

func (*AttestationAuthority) XXX_Unmarshal Uses

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

type AttestationAuthority_Attestation Uses

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 Uses

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

func (*AttestationAuthority_Attestation) GetPgpSignedAttestation Uses

func (m *AttestationAuthority_Attestation) GetPgpSignedAttestation() *PgpSignedAttestation

func (*AttestationAuthority_Attestation) GetSignature Uses

func (m *AttestationAuthority_Attestation) GetSignature() isAttestationAuthority_Attestation_Signature

func (*AttestationAuthority_Attestation) ProtoMessage Uses

func (*AttestationAuthority_Attestation) ProtoMessage()

func (*AttestationAuthority_Attestation) Reset Uses

func (m *AttestationAuthority_Attestation) Reset()

func (*AttestationAuthority_Attestation) String Uses

func (m *AttestationAuthority_Attestation) String() string

func (*AttestationAuthority_Attestation) XXX_DiscardUnknown Uses

func (m *AttestationAuthority_Attestation) XXX_DiscardUnknown()

func (*AttestationAuthority_Attestation) XXX_Marshal Uses

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

func (*AttestationAuthority_Attestation) XXX_Merge Uses

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

func (*AttestationAuthority_Attestation) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AttestationAuthority_Attestation) XXX_Size Uses

func (m *AttestationAuthority_Attestation) XXX_Size() int

func (*AttestationAuthority_Attestation) XXX_Unmarshal Uses

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

type AttestationAuthority_AttestationAuthorityHint Uses

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 Uses

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

func (*AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName Uses

func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string

func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage Uses

func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage()

func (*AttestationAuthority_AttestationAuthorityHint) Reset Uses

func (m *AttestationAuthority_AttestationAuthorityHint) Reset()

func (*AttestationAuthority_AttestationAuthorityHint) String Uses

func (m *AttestationAuthority_AttestationAuthorityHint) String() string

func (*AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown Uses

func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown()

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Marshal Uses

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

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Merge Uses

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

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Size Uses

func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int

func (*AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal Uses

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

type AttestationAuthority_Attestation_PgpSignedAttestation Uses

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

type BuildDetails Uses

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 Uses

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

func (*BuildDetails) GetProvenance Uses

func (m *BuildDetails) GetProvenance() *BuildProvenance

func (*BuildDetails) GetProvenanceBytes Uses

func (m *BuildDetails) GetProvenanceBytes() string

func (*BuildDetails) ProtoMessage Uses

func (*BuildDetails) ProtoMessage()

func (*BuildDetails) Reset Uses

func (m *BuildDetails) Reset()

func (*BuildDetails) String Uses

func (m *BuildDetails) String() string

func (*BuildDetails) XXX_DiscardUnknown Uses

func (m *BuildDetails) XXX_DiscardUnknown()

func (*BuildDetails) XXX_Marshal Uses

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

func (*BuildDetails) XXX_Merge Uses

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

func (*BuildDetails) XXX_Size Uses

func (m *BuildDetails) XXX_Size() int

func (*BuildDetails) XXX_Unmarshal Uses

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

type BuildProvenance Uses

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 `protobuf:"bytes,16,rep,name=build_options,json=buildOptions,proto3" json:"build_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

func (*BuildProvenance) GetBuildOptions Uses

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

func (*BuildProvenance) GetBuilderVersion Uses

func (m *BuildProvenance) GetBuilderVersion() string

func (*BuildProvenance) GetBuiltArtifacts Uses

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

func (*BuildProvenance) GetCommands Uses

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

func (*BuildProvenance) GetCreateTime Uses

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

func (*BuildProvenance) GetCreator Uses

func (m *BuildProvenance) GetCreator() string

func (*BuildProvenance) GetFinishTime Uses

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

func (*BuildProvenance) GetId Uses

func (m *BuildProvenance) GetId() string

func (*BuildProvenance) GetLogsBucket Uses

func (m *BuildProvenance) GetLogsBucket() string

func (*BuildProvenance) GetProjectId Uses

func (m *BuildProvenance) GetProjectId() string

func (*BuildProvenance) GetSourceProvenance Uses

func (m *BuildProvenance) GetSourceProvenance() *Source

func (*BuildProvenance) GetStartTime Uses

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

func (*BuildProvenance) GetTriggerId Uses

func (m *BuildProvenance) GetTriggerId() string

func (*BuildProvenance) ProtoMessage Uses

func (*BuildProvenance) ProtoMessage()

func (*BuildProvenance) Reset Uses

func (m *BuildProvenance) Reset()

func (*BuildProvenance) String Uses

func (m *BuildProvenance) String() string

func (*BuildProvenance) XXX_DiscardUnknown Uses

func (m *BuildProvenance) XXX_DiscardUnknown()

func (*BuildProvenance) XXX_Marshal Uses

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

func (*BuildProvenance) XXX_Merge Uses

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

func (*BuildProvenance) XXX_Size Uses

func (m *BuildProvenance) XXX_Size() int

func (*BuildProvenance) XXX_Unmarshal Uses

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

type BuildSignature Uses

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 `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType" json:"key_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

Message encapsulating the signature of the verified build.

func (*BuildSignature) Descriptor Uses

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

func (*BuildSignature) GetKeyId Uses

func (m *BuildSignature) GetKeyId() string

func (*BuildSignature) GetKeyType Uses

func (m *BuildSignature) GetKeyType() BuildSignature_KeyType

func (*BuildSignature) GetPublicKey Uses

func (m *BuildSignature) GetPublicKey() string

func (*BuildSignature) GetSignature Uses

func (m *BuildSignature) GetSignature() string

func (*BuildSignature) ProtoMessage Uses

func (*BuildSignature) ProtoMessage()

func (*BuildSignature) Reset Uses

func (m *BuildSignature) Reset()

func (*BuildSignature) String Uses

func (m *BuildSignature) String() string

func (*BuildSignature) XXX_DiscardUnknown Uses

func (m *BuildSignature) XXX_DiscardUnknown()

func (*BuildSignature) XXX_Marshal Uses

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

func (*BuildSignature) XXX_Merge Uses

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

func (*BuildSignature) XXX_Size Uses

func (m *BuildSignature) XXX_Size() int

func (*BuildSignature) XXX_Unmarshal Uses

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

type BuildSignature_KeyType Uses

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 Uses

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

func (BuildSignature_KeyType) String Uses

func (x BuildSignature_KeyType) String() string

type BuildType Uses

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 Uses

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

func (*BuildType) GetBuilderVersion Uses

func (m *BuildType) GetBuilderVersion() string

func (*BuildType) GetSignature Uses

func (m *BuildType) GetSignature() *BuildSignature

func (*BuildType) ProtoMessage Uses

func (*BuildType) ProtoMessage()

func (*BuildType) Reset Uses

func (m *BuildType) Reset()

func (*BuildType) String Uses

func (m *BuildType) String() string

func (*BuildType) XXX_DiscardUnknown Uses

func (m *BuildType) XXX_DiscardUnknown()

func (*BuildType) XXX_Marshal Uses

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

func (*BuildType) XXX_Merge Uses

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

func (*BuildType) XXX_Size Uses

func (m *BuildType) XXX_Size() int

func (*BuildType) XXX_Unmarshal Uses

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

type CloudRepoSourceContext Uses

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 Uses

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

func (*CloudRepoSourceContext) GetAliasContext Uses

func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext

func (*CloudRepoSourceContext) GetRepoId Uses

func (m *CloudRepoSourceContext) GetRepoId() *RepoId

func (*CloudRepoSourceContext) GetRevision Uses

func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision

func (*CloudRepoSourceContext) GetRevisionId Uses

func (m *CloudRepoSourceContext) GetRevisionId() string

func (*CloudRepoSourceContext) ProtoMessage Uses

func (*CloudRepoSourceContext) ProtoMessage()

func (*CloudRepoSourceContext) Reset Uses

func (m *CloudRepoSourceContext) Reset()

func (*CloudRepoSourceContext) String Uses

func (m *CloudRepoSourceContext) String() string

func (*CloudRepoSourceContext) XXX_DiscardUnknown Uses

func (m *CloudRepoSourceContext) XXX_DiscardUnknown()

func (*CloudRepoSourceContext) XXX_Marshal Uses

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

func (*CloudRepoSourceContext) XXX_Merge Uses

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

func (*CloudRepoSourceContext) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CloudRepoSourceContext) XXX_Size Uses

func (m *CloudRepoSourceContext) XXX_Size() int

func (*CloudRepoSourceContext) XXX_Unmarshal Uses

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

type CloudRepoSourceContext_AliasContext Uses

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

type CloudRepoSourceContext_RevisionId Uses

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

type Command Uses

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 Uses

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

func (*Command) GetArgs Uses

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

func (*Command) GetDir Uses

func (m *Command) GetDir() string

func (*Command) GetEnv Uses

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

func (*Command) GetId Uses

func (m *Command) GetId() string

func (*Command) GetName Uses

func (m *Command) GetName() string

func (*Command) GetWaitFor Uses

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

func (*Command) ProtoMessage Uses

func (*Command) ProtoMessage()

func (*Command) Reset Uses

func (m *Command) Reset()

func (*Command) String Uses

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown Uses

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal Uses

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

func (*Command) XXX_Merge Uses

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

func (*Command) XXX_Size Uses

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal Uses

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

type ContainerAnalysisClient Uses

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 Uses

func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient

type ContainerAnalysisServer Uses

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 Uses

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 Uses

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

func (*CreateNoteRequest) GetName Uses

func (m *CreateNoteRequest) GetName() string

func (*CreateNoteRequest) GetNote Uses

func (m *CreateNoteRequest) GetNote() *Note

func (*CreateNoteRequest) GetNoteId Uses

func (m *CreateNoteRequest) GetNoteId() string

func (*CreateNoteRequest) GetParent Uses

func (m *CreateNoteRequest) GetParent() string

func (*CreateNoteRequest) ProtoMessage Uses

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) Reset Uses

func (m *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String Uses

func (m *CreateNoteRequest) String() string

func (*CreateNoteRequest) XXX_DiscardUnknown Uses

func (m *CreateNoteRequest) XXX_DiscardUnknown()

func (*CreateNoteRequest) XXX_Marshal Uses

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

func (*CreateNoteRequest) XXX_Merge Uses

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

func (*CreateNoteRequest) XXX_Size Uses

func (m *CreateNoteRequest) XXX_Size() int

func (*CreateNoteRequest) XXX_Unmarshal Uses

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

type CreateOccurrenceRequest Uses

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 Uses

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

func (*CreateOccurrenceRequest) GetName Uses

func (m *CreateOccurrenceRequest) GetName() string

func (*CreateOccurrenceRequest) GetOccurrence Uses

func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence

func (*CreateOccurrenceRequest) GetParent Uses

func (m *CreateOccurrenceRequest) GetParent() string

func (*CreateOccurrenceRequest) ProtoMessage Uses

func (*CreateOccurrenceRequest) ProtoMessage()

func (*CreateOccurrenceRequest) Reset Uses

func (m *CreateOccurrenceRequest) Reset()

func (*CreateOccurrenceRequest) String Uses

func (m *CreateOccurrenceRequest) String() string

func (*CreateOccurrenceRequest) XXX_DiscardUnknown Uses

func (m *CreateOccurrenceRequest) XXX_DiscardUnknown()

func (*CreateOccurrenceRequest) XXX_Marshal Uses

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

func (*CreateOccurrenceRequest) XXX_Merge Uses

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

func (*CreateOccurrenceRequest) XXX_Size Uses

func (m *CreateOccurrenceRequest) XXX_Size() int

func (*CreateOccurrenceRequest) XXX_Unmarshal Uses

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

type CreateOperationRequest Uses

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 Uses

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

func (*CreateOperationRequest) GetOperation Uses

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

func (*CreateOperationRequest) GetOperationId Uses

func (m *CreateOperationRequest) GetOperationId() string

func (*CreateOperationRequest) GetParent Uses

func (m *CreateOperationRequest) GetParent() string

func (*CreateOperationRequest) ProtoMessage Uses

func (*CreateOperationRequest) ProtoMessage()

func (*CreateOperationRequest) Reset Uses

func (m *CreateOperationRequest) Reset()

func (*CreateOperationRequest) String Uses

func (m *CreateOperationRequest) String() string

func (*CreateOperationRequest) XXX_DiscardUnknown Uses

func (m *CreateOperationRequest) XXX_DiscardUnknown()

func (*CreateOperationRequest) XXX_Marshal Uses

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

func (*CreateOperationRequest) XXX_Merge Uses

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

func (*CreateOperationRequest) XXX_Size Uses

func (m *CreateOperationRequest) XXX_Size() int

func (*CreateOperationRequest) XXX_Unmarshal Uses

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

type DeleteNoteRequest Uses

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 Uses

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

func (*DeleteNoteRequest) GetName Uses

func (m *DeleteNoteRequest) GetName() string

func (*DeleteNoteRequest) ProtoMessage Uses

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) Reset Uses

func (m *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String Uses

func (m *DeleteNoteRequest) String() string

func (*DeleteNoteRequest) XXX_DiscardUnknown Uses

func (m *DeleteNoteRequest) XXX_DiscardUnknown()

func (*DeleteNoteRequest) XXX_Marshal Uses

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

func (*DeleteNoteRequest) XXX_Merge Uses

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

func (*DeleteNoteRequest) XXX_Size Uses

func (m *DeleteNoteRequest) XXX_Size() int

func (*DeleteNoteRequest) XXX_Unmarshal Uses

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

type DeleteOccurrenceRequest Uses

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 Uses

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

func (*DeleteOccurrenceRequest) GetName Uses

func (m *DeleteOccurrenceRequest) GetName() string

func (*DeleteOccurrenceRequest) ProtoMessage Uses

func (*DeleteOccurrenceRequest) ProtoMessage()

func (*DeleteOccurrenceRequest) Reset Uses

func (m *DeleteOccurrenceRequest) Reset()

func (*DeleteOccurrenceRequest) String Uses

func (m *DeleteOccurrenceRequest) String() string

func (*DeleteOccurrenceRequest) XXX_DiscardUnknown Uses

func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown()

func (*DeleteOccurrenceRequest) XXX_Marshal Uses

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

func (*DeleteOccurrenceRequest) XXX_Merge Uses

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

func (*DeleteOccurrenceRequest) XXX_Size Uses

func (m *DeleteOccurrenceRequest) XXX_Size() int

func (*DeleteOccurrenceRequest) XXX_Unmarshal Uses

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

type Deployable Uses

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 Uses

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

func (*Deployable) GetResourceUri Uses

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

func (*Deployable) ProtoMessage Uses

func (*Deployable) ProtoMessage()

func (*Deployable) Reset Uses

func (m *Deployable) Reset()

func (*Deployable) String Uses

func (m *Deployable) String() string

func (*Deployable) XXX_DiscardUnknown Uses

func (m *Deployable) XXX_DiscardUnknown()

func (*Deployable) XXX_Marshal Uses

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

func (*Deployable) XXX_Merge Uses

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

func (*Deployable) XXX_Size Uses

func (m *Deployable) XXX_Size() int

func (*Deployable) XXX_Unmarshal Uses

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

type Deployable_Deployment Uses

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 `protobuf:"varint,7,opt,name=platform,proto3,enum=google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform" json:"platform,omitempty"`
    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 Uses

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

func (*Deployable_Deployment) GetAddress Uses

func (m *Deployable_Deployment) GetAddress() string

func (*Deployable_Deployment) GetConfig Uses

func (m *Deployable_Deployment) GetConfig() string

func (*Deployable_Deployment) GetDeployTime Uses

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

func (*Deployable_Deployment) GetPlatform Uses

func (m *Deployable_Deployment) GetPlatform() Deployable_Deployment_Platform

func (*Deployable_Deployment) GetResourceUri Uses

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

func (*Deployable_Deployment) GetUndeployTime Uses

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

func (*Deployable_Deployment) GetUserEmail Uses

func (m *Deployable_Deployment) GetUserEmail() string

func (*Deployable_Deployment) ProtoMessage Uses

func (*Deployable_Deployment) ProtoMessage()

func (*Deployable_Deployment) Reset Uses

func (m *Deployable_Deployment) Reset()

func (*Deployable_Deployment) String Uses

func (m *Deployable_Deployment) String() string

func (*Deployable_Deployment) XXX_DiscardUnknown Uses

func (m *Deployable_Deployment) XXX_DiscardUnknown()

func (*Deployable_Deployment) XXX_Marshal Uses

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

func (*Deployable_Deployment) XXX_Merge Uses

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

func (*Deployable_Deployment) XXX_Size Uses

func (m *Deployable_Deployment) XXX_Size() int

func (*Deployable_Deployment) XXX_Unmarshal Uses

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

type Deployable_Deployment_Platform Uses

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 Uses

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

func (Deployable_Deployment_Platform) String Uses

func (x Deployable_Deployment_Platform) String() string

type Discovery Uses

type Discovery struct {
    // The kind of analysis that is handled by this discovery.
    AnalysisKind         Note_Kind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"analysis_kind,omitempty"`
    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 Uses

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

func (*Discovery) GetAnalysisKind Uses

func (m *Discovery) GetAnalysisKind() Note_Kind

func (*Discovery) ProtoMessage Uses

func (*Discovery) ProtoMessage()

func (*Discovery) Reset Uses

func (m *Discovery) Reset()

func (*Discovery) String Uses

func (m *Discovery) String() string

func (*Discovery) XXX_DiscardUnknown Uses

func (m *Discovery) XXX_DiscardUnknown()

func (*Discovery) XXX_Marshal Uses

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

func (*Discovery) XXX_Merge Uses

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

func (*Discovery) XXX_Size Uses

func (m *Discovery) XXX_Size() int

func (*Discovery) XXX_Unmarshal Uses

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

type Discovery_Discovered Uses

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 `protobuf:"varint,5,opt,name=analysis_status,json=analysisStatus,proto3,enum=google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus" json:"analysis_status,omitempty"`
    // 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 Uses

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

func (*Discovery_Discovered) GetAnalysisStatus Uses

func (m *Discovery_Discovered) GetAnalysisStatus() Discovery_Discovered_AnalysisStatus

func (*Discovery_Discovered) GetAnalysisStatusError Uses

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

func (*Discovery_Discovered) GetOperation Uses

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

func (*Discovery_Discovered) ProtoMessage Uses

func (*Discovery_Discovered) ProtoMessage()

func (*Discovery_Discovered) Reset Uses

func (m *Discovery_Discovered) Reset()

func (*Discovery_Discovered) String Uses

func (m *Discovery_Discovered) String() string

func (*Discovery_Discovered) XXX_DiscardUnknown Uses

func (m *Discovery_Discovered) XXX_DiscardUnknown()

func (*Discovery_Discovered) XXX_Marshal Uses

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

func (*Discovery_Discovered) XXX_Merge Uses

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

func (*Discovery_Discovered) XXX_Size Uses

func (m *Discovery_Discovered) XXX_Size() int

func (*Discovery_Discovered) XXX_Unmarshal Uses

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

type Discovery_Discovered_AnalysisStatus Uses

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 Uses

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

func (Discovery_Discovered_AnalysisStatus) String Uses

func (x Discovery_Discovered_AnalysisStatus) String() string

type DockerImage Uses

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 Uses

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

func (*DockerImage) ProtoMessage Uses

func (*DockerImage) ProtoMessage()

func (*DockerImage) Reset Uses

func (m *DockerImage) Reset()

func (*DockerImage) String Uses

func (m *DockerImage) String() string

func (*DockerImage) XXX_DiscardUnknown Uses

func (m *DockerImage) XXX_DiscardUnknown()

func (*DockerImage) XXX_Marshal Uses

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

func (*DockerImage) XXX_Merge Uses

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

func (*DockerImage) XXX_Size Uses

func (m *DockerImage) XXX_Size() int

func (*DockerImage) XXX_Unmarshal Uses

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

type DockerImage_Basis Uses

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 Uses

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

func (*DockerImage_Basis) GetFingerprint Uses

func (m *DockerImage_Basis) GetFingerprint() *DockerImage_Fingerprint

func (*DockerImage_Basis) GetResourceUrl Uses

func (m *DockerImage_Basis) GetResourceUrl() string

func (*DockerImage_Basis) ProtoMessage Uses

func (*DockerImage_Basis) ProtoMessage()

func (*DockerImage_Basis) Reset Uses

func (m *DockerImage_Basis) Reset()

func (*DockerImage_Basis) String Uses

func (m *DockerImage_Basis) String() string

func (*DockerImage_Basis) XXX_DiscardUnknown Uses

func (m *DockerImage_Basis) XXX_DiscardUnknown()

func (*DockerImage_Basis) XXX_Marshal Uses

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

func (*DockerImage_Basis) XXX_Merge Uses

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

func (*DockerImage_Basis) XXX_Size Uses

func (m *DockerImage_Basis) XXX_Size() int

func (*DockerImage_Basis) XXX_Unmarshal Uses

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

type DockerImage_Derived Uses

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 Uses

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

func (*DockerImage_Derived) GetBaseResourceUrl Uses

func (m *DockerImage_Derived) GetBaseResourceUrl() string

func (*DockerImage_Derived) GetDistance Uses

func (m *DockerImage_Derived) GetDistance() uint32

func (*DockerImage_Derived) GetFingerprint Uses

func (m *DockerImage_Derived) GetFingerprint() *DockerImage_Fingerprint

func (*DockerImage_Derived) GetLayerInfo Uses

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

func (*DockerImage_Derived) ProtoMessage Uses

func (*DockerImage_Derived) ProtoMessage()

func (*DockerImage_Derived) Reset Uses

func (m *DockerImage_Derived) Reset()

func (*DockerImage_Derived) String Uses

func (m *DockerImage_Derived) String() string

func (*DockerImage_Derived) XXX_DiscardUnknown Uses

func (m *DockerImage_Derived) XXX_DiscardUnknown()

func (*DockerImage_Derived) XXX_Marshal Uses

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

func (*DockerImage_Derived) XXX_Merge Uses

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

func (*DockerImage_Derived) XXX_Size Uses

func (m *DockerImage_Derived) XXX_Size() int

func (*DockerImage_Derived) XXX_Unmarshal Uses

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

type DockerImage_Fingerprint Uses

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 Uses

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

func (*DockerImage_Fingerprint) GetV1Name Uses

func (m *DockerImage_Fingerprint) GetV1Name() string

func (*DockerImage_Fingerprint) GetV2Blob Uses

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

func (*DockerImage_Fingerprint) GetV2Name Uses

func (m *DockerImage_Fingerprint) GetV2Name() string

func (*DockerImage_Fingerprint) ProtoMessage Uses

func (*DockerImage_Fingerprint) ProtoMessage()

func (*DockerImage_Fingerprint) Reset Uses

func (m *DockerImage_Fingerprint) Reset()

func (*DockerImage_Fingerprint) String Uses

func (m *DockerImage_Fingerprint) String() string

func (*DockerImage_Fingerprint) XXX_DiscardUnknown Uses

func (m *DockerImage_Fingerprint) XXX_DiscardUnknown()

func (*DockerImage_Fingerprint) XXX_Marshal Uses

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

func (*DockerImage_Fingerprint) XXX_Merge Uses

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

func (*DockerImage_Fingerprint) XXX_Size Uses

func (m *DockerImage_Fingerprint) XXX_Size() int

func (*DockerImage_Fingerprint) XXX_Unmarshal Uses

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

type DockerImage_Layer Uses

type DockerImage_Layer struct {
    // The recovered Dockerfile directive used to construct this layer.
    Directive DockerImage_Layer_Directive `protobuf:"varint,1,opt,name=directive,proto3,enum=google.devtools.containeranalysis.v1alpha1.DockerImage_Layer_Directive" json:"directive,omitempty"`
    // 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 Uses

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

func (*DockerImage_Layer) GetArguments Uses

func (m *DockerImage_Layer) GetArguments() string

func (*DockerImage_Layer) GetDirective Uses

func (m *DockerImage_Layer) GetDirective() DockerImage_Layer_Directive

func (*DockerImage_Layer) ProtoMessage Uses

func (*DockerImage_Layer) ProtoMessage()

func (*DockerImage_Layer) Reset Uses

func (m *DockerImage_Layer) Reset()

func (*DockerImage_Layer) String Uses

func (m *DockerImage_Layer) String() string

func (*DockerImage_Layer) XXX_DiscardUnknown Uses

func (m *DockerImage_Layer) XXX_DiscardUnknown()

func (*DockerImage_Layer) XXX_Marshal Uses

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

func (*DockerImage_Layer) XXX_Merge Uses

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

func (*DockerImage_Layer) XXX_Size Uses

func (m *DockerImage_Layer) XXX_Size() int

func (*DockerImage_Layer) XXX_Unmarshal Uses

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

type DockerImage_Layer_Directive Uses

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 Uses

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

func (DockerImage_Layer_Directive) String Uses

func (x DockerImage_Layer_Directive) String() string

type FileHashes Uses

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 Uses

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

func (*FileHashes) GetFileHash Uses

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

func (*FileHashes) ProtoMessage Uses

func (*FileHashes) ProtoMessage()

func (*FileHashes) Reset Uses

func (m *FileHashes) Reset()

func (*FileHashes) String Uses

func (m *FileHashes) String() string

func (*FileHashes) XXX_DiscardUnknown Uses

func (m *FileHashes) XXX_DiscardUnknown()

func (*FileHashes) XXX_Marshal Uses

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

func (*FileHashes) XXX_Merge Uses

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

func (*FileHashes) XXX_Size Uses

func (m *FileHashes) XXX_Size() int

func (*FileHashes) XXX_Unmarshal Uses

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

type GerritSourceContext Uses

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 Uses

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

func (*GerritSourceContext) GetAliasContext Uses

func (m *GerritSourceContext) GetAliasContext() *AliasContext

func (*GerritSourceContext) GetGerritProject Uses

func (m *GerritSourceContext) GetGerritProject() string

func (*GerritSourceContext) GetHostUri Uses

func (m *GerritSourceContext) GetHostUri() string

func (*GerritSourceContext) GetRevision Uses

func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision

func (*GerritSourceContext) GetRevisionId Uses

func (m *GerritSourceContext) GetRevisionId() string

func (*GerritSourceContext) ProtoMessage Uses

func (*GerritSourceContext) ProtoMessage()

func (*GerritSourceContext) Reset Uses

func (m *GerritSourceContext) Reset()

func (*GerritSourceContext) String Uses

func (m *GerritSourceContext) String() string

func (*GerritSourceContext) XXX_DiscardUnknown Uses

func (m *GerritSourceContext) XXX_DiscardUnknown()

func (*GerritSourceContext) XXX_Marshal Uses

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

func (*GerritSourceContext) XXX_Merge Uses

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

func (*GerritSourceContext) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*GerritSourceContext) XXX_Size Uses

func (m *GerritSourceContext) XXX_Size() int

func (*GerritSourceContext) XXX_Unmarshal Uses

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

type GerritSourceContext_AliasContext Uses

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

type GerritSourceContext_RevisionId Uses

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

type GetNoteRequest Uses

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 Uses

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

func (*GetNoteRequest) GetName Uses

func (m *GetNoteRequest) GetName() string

func (*GetNoteRequest) ProtoMessage Uses

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) Reset Uses

func (m *GetNoteRequest) Reset()

func (*GetNoteRequest) String Uses

func (m *GetNoteRequest) String() string

func (*GetNoteRequest) XXX_DiscardUnknown Uses

func (m *GetNoteRequest) XXX_DiscardUnknown()

func (*GetNoteRequest) XXX_Marshal Uses

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

func (*GetNoteRequest) XXX_Merge Uses

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

func (*GetNoteRequest) XXX_Size Uses

func (m *GetNoteRequest) XXX_Size() int

func (*GetNoteRequest) XXX_Unmarshal Uses

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

type GetOccurrenceNoteRequest Uses

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 Uses

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

func (*GetOccurrenceNoteRequest) GetName Uses

func (m *GetOccurrenceNoteRequest) GetName() string

func (*GetOccurrenceNoteRequest) ProtoMessage Uses

func (*GetOccurrenceNoteRequest) ProtoMessage()

func (*GetOccurrenceNoteRequest) Reset Uses

func (m *GetOccurrenceNoteRequest) Reset()

func (*GetOccurrenceNoteRequest) String Uses

func (m *GetOccurrenceNoteRequest) String() string

func (*GetOccurrenceNoteRequest) XXX_DiscardUnknown Uses

func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown()

func (*GetOccurrenceNoteRequest) XXX_Marshal Uses

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

func (*GetOccurrenceNoteRequest) XXX_Merge Uses

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

func (*GetOccurrenceNoteRequest) XXX_Size Uses

func (m *GetOccurrenceNoteRequest) XXX_Size() int

func (*GetOccurrenceNoteRequest) XXX_Unmarshal Uses

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

type GetOccurrenceRequest Uses

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 Uses

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

func (*GetOccurrenceRequest) GetName Uses

func (m *GetOccurrenceRequest) GetName() string

func (*GetOccurrenceRequest) ProtoMessage Uses

func (*GetOccurrenceRequest) ProtoMessage()

func (*GetOccurrenceRequest) Reset Uses

func (m *GetOccurrenceRequest) Reset()

func (*GetOccurrenceRequest) String Uses

func (m *GetOccurrenceRequest) String() string

func (*GetOccurrenceRequest) XXX_DiscardUnknown Uses

func (m *GetOccurrenceRequest) XXX_DiscardUnknown()

func (*GetOccurrenceRequest) XXX_Marshal Uses

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

func (*GetOccurrenceRequest) XXX_Merge Uses

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

func (*GetOccurrenceRequest) XXX_Size Uses

func (m *GetOccurrenceRequest) XXX_Size() int

func (*GetOccurrenceRequest) XXX_Unmarshal Uses

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

type GetScanConfigRequest Uses

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 Uses

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

func (*GetScanConfigRequest) GetName Uses

func (m *GetScanConfigRequest) GetName() string

func (*GetScanConfigRequest) ProtoMessage Uses

func (*GetScanConfigRequest) ProtoMessage()

func (*GetScanConfigRequest) Reset Uses

func (m *GetScanConfigRequest) Reset()

func (*GetScanConfigRequest) String Uses

func (m *GetScanConfigRequest) String() string

func (*GetScanConfigRequest) XXX_DiscardUnknown Uses

func (m *GetScanConfigRequest) XXX_DiscardUnknown()

func (*GetScanConfigRequest) XXX_Marshal Uses

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

func (*GetScanConfigRequest) XXX_Merge Uses

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

func (*GetScanConfigRequest) XXX_Size Uses

func (m *GetScanConfigRequest) XXX_Size() int

func (*GetScanConfigRequest) XXX_Unmarshal Uses

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

type GetVulnzOccurrencesSummaryRequest Uses

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 Uses

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

func (*GetVulnzOccurrencesSummaryRequest) GetFilter Uses

func (m *GetVulnzOccurrencesSummaryRequest) GetFilter() string

func (*GetVulnzOccurrencesSummaryRequest) GetParent Uses

func (m *GetVulnzOccurrencesSummaryRequest) GetParent() string

func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage Uses

func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage()

func (*GetVulnzOccurrencesSummaryRequest) Reset Uses

func (m *GetVulnzOccurrencesSummaryRequest) Reset()

func (*GetVulnzOccurrencesSummaryRequest) String Uses

func (m *GetVulnzOccurrencesSummaryRequest) String() string

func (*GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown Uses

func (m *GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryRequest) XXX_Marshal Uses

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

func (*GetVulnzOccurrencesSummaryRequest) XXX_Merge Uses

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

func (*GetVulnzOccurrencesSummaryRequest) XXX_Size Uses

func (m *GetVulnzOccurrencesSummaryRequest) XXX_Size() int

func (*GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal Uses

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

type GetVulnzOccurrencesSummaryResponse Uses

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 Uses

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

func (*GetVulnzOccurrencesSummaryResponse) GetCounts Uses

func (m *GetVulnzOccurrencesSummaryResponse) GetCounts() []*GetVulnzOccurrencesSummaryResponse_SeverityCount

func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage Uses

func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage()

func (*GetVulnzOccurrencesSummaryResponse) Reset Uses

func (m *GetVulnzOccurrencesSummaryResponse) Reset()

func (*GetVulnzOccurrencesSummaryResponse) String Uses

func (m *GetVulnzOccurrencesSummaryResponse) String() string

func (*GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown Uses

func (m *GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryResponse) XXX_Marshal Uses

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

func (*GetVulnzOccurrencesSummaryResponse) XXX_Merge Uses

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

func (*GetVulnzOccurrencesSummaryResponse) XXX_Size Uses

func (m *GetVulnzOccurrencesSummaryResponse) XXX_Size() int

func (*GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal Uses

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

type GetVulnzOccurrencesSummaryResponse_SeverityCount Uses

type GetVulnzOccurrencesSummaryResponse_SeverityCount struct {
    // The severity of the occurrences.
    Severity VulnerabilityType_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Severity" json:"severity,omitempty"`
    // 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 Uses

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

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount() int64

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity() VulnerabilityType_Severity

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage Uses

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage()

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset()

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) String Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) String() string

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown()

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal Uses

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

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Merge Uses

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

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size Uses

func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size() int

func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal Uses

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

type GitSourceContext Uses

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 Uses

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

func (*GitSourceContext) GetRevisionId Uses

func (m *GitSourceContext) GetRevisionId() string

func (*GitSourceContext) GetUrl Uses

func (m *GitSourceContext) GetUrl() string

func (*GitSourceContext) ProtoMessage Uses

func (*GitSourceContext) ProtoMessage()

func (*GitSourceContext) Reset Uses

func (m *GitSourceContext) Reset()

func (*GitSourceContext) String Uses

func (m *GitSourceContext) String() string

func (*GitSourceContext) XXX_DiscardUnknown Uses

func (m *GitSourceContext) XXX_DiscardUnknown()

func (*GitSourceContext) XXX_Marshal Uses

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

func (*GitSourceContext) XXX_Merge Uses

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

func (*GitSourceContext) XXX_Size Uses

func (m *GitSourceContext) XXX_Size() int

func (*GitSourceContext) XXX_Unmarshal Uses

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

type Hash Uses

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 Uses

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

func (*Hash) GetType Uses

func (m *Hash) GetType() Hash_HashType

func (*Hash) GetValue Uses

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

func (*Hash) ProtoMessage Uses

func (*Hash) ProtoMessage()

func (*Hash) Reset Uses

func (m *Hash) Reset()

func (*Hash) String Uses

func (m *Hash) String() string

func (*Hash) XXX_DiscardUnknown Uses

func (m *Hash) XXX_DiscardUnknown()

func (*Hash) XXX_Marshal Uses

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

func (*Hash) XXX_Merge Uses

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

func (*Hash) XXX_Size Uses

func (m *Hash) XXX_Size() int

func (*Hash) XXX_Unmarshal Uses

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

type Hash_HashType Uses

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 Uses

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

func (Hash_HashType) String Uses

func (x Hash_HashType) String() string

type ListNoteOccurrencesRequest Uses

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 Uses

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

func (*ListNoteOccurrencesRequest) GetFilter Uses

func (m *ListNoteOccurrencesRequest) GetFilter() string

func (*ListNoteOccurrencesRequest) GetName Uses

func (m *ListNoteOccurrencesRequest) GetName() string

func (*ListNoteOccurrencesRequest) GetPageSize Uses

func (m *ListNoteOccurrencesRequest) GetPageSize() int32

func (*ListNoteOccurrencesRequest) GetPageToken Uses

func (m *ListNoteOccurrencesRequest) GetPageToken() string

func (*ListNoteOccurrencesRequest) ProtoMessage Uses

func (*ListNoteOccurrencesRequest) ProtoMessage()

func (*ListNoteOccurrencesRequest) Reset Uses

func (m *ListNoteOccurrencesRequest) Reset()

func (*ListNoteOccurrencesRequest) String Uses

func (m *ListNoteOccurrencesRequest) String() string

func (*ListNoteOccurrencesRequest) XXX_DiscardUnknown Uses

func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown()

func (*ListNoteOccurrencesRequest) XXX_Marshal Uses

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

func (*ListNoteOccurrencesRequest) XXX_Merge Uses

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

func (*ListNoteOccurrencesRequest) XXX_Size Uses

func (m *ListNoteOccurrencesRequest) XXX_Size() int

func (*ListNoteOccurrencesRequest) XXX_Unmarshal Uses

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

type ListNoteOccurrencesResponse Uses

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 Uses

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

func (*ListNoteOccurrencesResponse) GetNextPageToken Uses

func (m *ListNoteOccurrencesResponse) GetNextPageToken() string

func (*ListNoteOccurrencesResponse) GetOccurrences Uses

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

func (*ListNoteOccurrencesResponse) ProtoMessage Uses

func (*ListNoteOccurrencesResponse) ProtoMessage()

func (*ListNoteOccurrencesResponse) Reset Uses

func (m *ListNoteOccurrencesResponse) Reset()

func (*ListNoteOccurrencesResponse) String Uses

func (m *ListNoteOccurrencesResponse) String() string

func (*ListNoteOccurrencesResponse) XXX_DiscardUnknown Uses

func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown()

func (*ListNoteOccurrencesResponse) XXX_Marshal Uses

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

func (*ListNoteOccurrencesResponse) XXX_Merge Uses

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

func (*ListNoteOccurrencesResponse) XXX_Size Uses

func (m *ListNoteOccurrencesResponse) XXX_Size() int

func (*ListNoteOccurrencesResponse) XXX_Unmarshal Uses

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

type ListNotesRequest Uses

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 Uses

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

func (*ListNotesRequest) GetFilter Uses

func (m *ListNotesRequest) GetFilter() string

func (*ListNotesRequest) GetName Uses

func (m *ListNotesRequest) GetName() string

func (*ListNotesRequest) GetPageSize Uses

func (m *ListNotesRequest) GetPageSize() int32

func (*ListNotesRequest) GetPageToken Uses

func (m *ListNotesRequest) GetPageToken() string

func (*ListNotesRequest) GetParent Uses

func (m *ListNotesRequest) GetParent() string

func (*ListNotesRequest) ProtoMessage Uses

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) Reset Uses

func (m *ListNotesRequest) Reset()

func (*ListNotesRequest) String Uses

func (m *ListNotesRequest) String() string

func (*ListNotesRequest) XXX_DiscardUnknown Uses

func (m *ListNotesRequest) XXX_DiscardUnknown()

func (*ListNotesRequest) XXX_Marshal Uses

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

func (*ListNotesRequest) XXX_Merge Uses

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

func (*ListNotesRequest) XXX_Size Uses

func (m *ListNotesRequest) XXX_Size() int

func (*ListNotesRequest) XXX_Unmarshal Uses

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

type ListNotesResponse Uses

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

Response including listed notes.

func (*ListNotesResponse) Descriptor Uses

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

func (*ListNotesResponse) GetNextPageToken Uses

func (m *ListNotesResponse) GetNextPageToken() string

func (*ListNotesResponse) GetNotes Uses

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

func (*ListNotesResponse) ProtoMessage Uses

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) Reset Uses

func (m *ListNotesResponse) Reset()

func (*ListNotesResponse) String Uses

func (m *ListNotesResponse) String() string

func (*ListNotesResponse) XXX_DiscardUnknown Uses

func (m *ListNotesResponse) XXX_DiscardUnknown()

func (*ListNotesResponse) XXX_Marshal Uses

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

func (*ListNotesResponse) XXX_Merge Uses

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

func (*ListNotesResponse) XXX_Size Uses

func (m *ListNotesResponse) XXX_Size() int

func (*ListNotesResponse) XXX_Unmarshal Uses

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

type ListOccurrencesRequest Uses

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

Request to list occurrences.

func (*ListOccurrencesRequest) Descriptor Uses

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

func (*ListOccurrencesRequest) GetFilter Uses

func (m *ListOccurrencesRequest) GetFilter() string

func (*ListOccurrencesRequest) GetKind Uses

func (m *ListOccurrencesRequest) GetKind() Note_Kind

func (*ListOccurrencesRequest) GetName Uses

func (m *ListOccurrencesRequest) GetName() string

func (*ListOccurrencesRequest) GetPageSize Uses

func (m *ListOccurrencesRequest) GetPageSize() int32

func (*ListOccurrencesRequest) GetPageToken Uses

func (m *ListOccurrencesRequest) GetPageToken() string

func (*ListOccurrencesRequest) GetParent Uses

func (m *ListOccurrencesRequest) GetParent() string

func (*ListOccurrencesRequest) ProtoMessage Uses

func (*ListOccurrencesRequest) ProtoMessage()

func (*ListOccurrencesRequest) Reset Uses

func (m *ListOccurrencesRequest) Reset()

func (*ListOccurrencesRequest) String Uses

func (m *ListOccurrencesRequest) String() string

func (*ListOccurrencesRequest) XXX_DiscardUnknown Uses

func (m *ListOccurrencesRequest) XXX_DiscardUnknown()

func (*ListOccurrencesRequest) XXX_Marshal Uses

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

func (*ListOccurrencesRequest) XXX_Merge Uses

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

func (*ListOccurrencesRequest) XXX_Size Uses

func (m *ListOccurrencesRequest) XXX_Size() int

func (*ListOccurrencesRequest) XXX_Unmarshal Uses

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

type ListOccurrencesResponse Uses

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

Response including listed active occurrences.

func (*ListOccurrencesResponse) Descriptor Uses

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

func (*ListOccurrencesResponse) GetNextPageToken Uses

func (m *ListOccurrencesResponse) GetNextPageToken() string

func (*ListOccurrencesResponse) GetOccurrences Uses

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

func (*ListOccurrencesResponse) ProtoMessage Uses

func (*ListOccurrencesResponse) ProtoMessage()

func (*ListOccurrencesResponse) Reset Uses

func (m *ListOccurrencesResponse) Reset()

func (*ListOccurrencesResponse) String Uses

func (m *ListOccurrencesResponse) String() string

func (*ListOccurrencesResponse) XXX_DiscardUnknown Uses

func (m *ListOccurrencesResponse) XXX_DiscardUnknown()

func (*ListOccurrencesResponse) XXX_Marshal Uses

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

func (*ListOccurrencesResponse) XXX_Merge Uses

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

func (*ListOccurrencesResponse) XXX_Size Uses

func (m *ListOccurrencesResponse) XXX_Size() int

func (*ListOccurrencesResponse) XXX_Unmarshal Uses

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

type ListScanConfigsRequest Uses

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

Request to list the available scan configurations.

func (*ListScanConfigsRequest) Descriptor Uses

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

func (*ListScanConfigsRequest) GetFilter Uses

func (m *ListScanConfigsRequest) GetFilter() string

func (*ListScanConfigsRequest) GetPageSize Uses

func (m *ListScanConfigsRequest) GetPageSize() int32

func (*ListScanConfigsRequest) GetPageToken Uses

func (m *ListScanConfigsRequest) GetPageToken() string

func (*ListScanConfigsRequest) GetParent Uses

func (m *ListScanConfigsRequest) GetParent() string

func (*ListScanConfigsRequest) ProtoMessage Uses

func (*ListScanConfigsRequest) ProtoMessage()

func (*ListScanConfigsRequest) Reset Uses

func (m *ListScanConfigsRequest) Reset()

func (*ListScanConfigsRequest) String Uses

func (m *ListScanConfigsRequest) String() string

func (*ListScanConfigsRequest) XXX_DiscardUnknown Uses

func (m *ListScanConfigsRequest) XXX_DiscardUnknown()

func (*ListScanConfigsRequest) XXX_Marshal Uses

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

func (*ListScanConfigsRequest) XXX_Merge Uses

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

func (*ListScanConfigsRequest) XXX_Size Uses

func (m *ListScanConfigsRequest) XXX_Size() int

func (*ListScanConfigsRequest) XXX_Unmarshal Uses

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

type ListScanConfigsResponse Uses

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

A list of ScanConfigs for the project.

func (*ListScanConfigsResponse) Descriptor Uses

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

func (*ListScanConfigsResponse) GetNextPageToken Uses

func (m *ListScanConfigsResponse) GetNextPageToken() string

func (*ListScanConfigsResponse) GetScanConfigs Uses

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

func (*ListScanConfigsResponse) ProtoMessage Uses

func (*ListScanConfigsResponse) ProtoMessage()

func (*ListScanConfigsResponse) Reset Uses

func (m *ListScanConfigsResponse) Reset()

func (*ListScanConfigsResponse) String Uses

func (m *ListScanConfigsResponse) String() string

func (*ListScanConfigsResponse) XXX_DiscardUnknown Uses

func (m *ListScanConfigsResponse) XXX_DiscardUnknown()

func (*ListScanConfigsResponse) XXX_Marshal Uses

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

func (*ListScanConfigsResponse) XXX_Merge Uses

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

func (*ListScanConfigsResponse) XXX_Size Uses

func (m *ListScanConfigsResponse) XXX_Size() int

func (*ListScanConfigsResponse) XXX_Unmarshal Uses

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

type Note Uses

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

Provides a detailed description of a `Note`.

func (*Note) Descriptor Uses

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

func (*Note) GetAttestationAuthority Uses

func (m *Note) GetAttestationAuthority() *AttestationAuthority

func (*Note) GetBaseImage Uses

func (m *Note) GetBaseImage() *DockerImage_Basis

func (*Note) GetBuildType Uses

func (m *Note) GetBuildType() *BuildType

func (*Note) GetCreateTime Uses

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

func (*Note) GetDeployable Uses

func (m *Note) GetDeployable() *Deployable

func (*Note) GetDiscovery Uses

func (m *Note) GetDiscovery() *Discovery

func (*Note) GetExpirationTime Uses

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

func (*Note) GetKind Uses

func (m *Note) GetKind() Note_Kind

func (*Note) GetLongDescription Uses

func (m *Note) GetLongDescription() string

func (*Note) GetName Uses

func (m *Note) GetName() string

func (*Note) GetNoteType Uses

func (m *Note) GetNoteType() isNote_NoteType

func (*Note) GetPackage Uses

func (m *Note) GetPackage() *PackageManager_Package

func (*Note) GetRelatedUrl Uses

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

func (*Note) GetShortDescription Uses

func (m *Note) GetShortDescription() string

func (*Note) GetUpdateTime Uses

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

func (*Note) GetVulnerabilityType Uses

func (m *Note) GetVulnerabilityType() *VulnerabilityType

func (*Note) ProtoMessage Uses

func (*Note) ProtoMessage()

func (*Note) Reset Uses

func (m *Note) Reset()

func (*Note) String Uses

func (m *Note) String() string

func (*Note) XXX_DiscardUnknown Uses

func (m *Note) XXX_DiscardUnknown()

func (*Note) XXX_Marshal Uses

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

func (*Note) XXX_Merge Uses

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

func (*Note) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Note) XXX_Size Uses

func (m *Note) XXX_Size() int

func (*Note) XXX_Unmarshal Uses

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

type Note_AttestationAuthority Uses

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

type Note_BaseImage Uses

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

type Note_BuildType Uses

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

type Note_Deployable Uses

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

type Note_Discovery Uses

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

type Note_Kind Uses

type Note_Kind int32

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

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

func (Note_Kind) EnumDescriptor Uses

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

func (Note_Kind) String Uses

func (x Note_Kind) String() string

type Note_Package Uses

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

type Note_RelatedUrl Uses

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

Metadata for any related URL information

func (*Note_RelatedUrl) Descriptor Uses

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

func (*Note_RelatedUrl) GetLabel Uses

func (m *Note_RelatedUrl) GetLabel() string

func (*Note_RelatedUrl) GetUrl Uses

func (m *Note_RelatedUrl) GetUrl() string

func (*Note_RelatedUrl) ProtoMessage Uses

func (*Note_RelatedUrl) ProtoMessage()

func (*Note_RelatedUrl) Reset Uses

func (m *Note_RelatedUrl) Reset()

func (*Note_RelatedUrl) String Uses

func (m *Note_RelatedUrl) String() string

func (*Note_RelatedUrl) XXX_DiscardUnknown Uses

func (m *Note_RelatedUrl) XXX_DiscardUnknown()

func (*Note_RelatedUrl) XXX_Marshal Uses

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

func (*Note_RelatedUrl) XXX_Merge Uses

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

func (*Note_RelatedUrl) XXX_Size Uses

func (m *Note_RelatedUrl) XXX_Size() int

func (*Note_RelatedUrl) XXX_Unmarshal Uses

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

type Note_VulnerabilityType Uses

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

type Occurrence Uses

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

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

func (*Occurrence) Descriptor Uses

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

func (*Occurrence) GetAttestation Uses

func (m *Occurrence) GetAttestation() *AttestationAuthority_Attestation

func (*Occurrence) GetBuildDetails Uses

func (m *Occurrence) GetBuildDetails() *BuildDetails

func (*Occurrence) GetCreateTime Uses

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

func (*Occurrence) GetDeployment Uses

func (m *Occurrence) GetDeployment() *Deployable_Deployment

func (*Occurrence) GetDerivedImage Uses

func (m *Occurrence) GetDerivedImage() *DockerImage_Derived

func (*Occurrence) GetDetails Uses

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovered Uses

func (m *Occurrence) GetDiscovered() *Discovery_Discovered

func (*Occurrence) GetInstallation Uses

func (m *Occurrence) GetInstallation() *PackageManager_Installation

func (*Occurrence) GetKind Uses

func (m *Occurrence) GetKind() Note_Kind

func (*Occurrence) GetName Uses

func (m *Occurrence) GetName() string

func (*Occurrence) GetNoteName Uses

func (m *Occurrence) GetNoteName() string

func (*Occurrence) GetRemediation Uses

func (m *Occurrence) GetRemediation() string

func (*Occurrence) GetResource Uses

func (m *Occurrence) GetResource() *Resource

func (*Occurrence) GetResourceUrl Uses

func (m *Occurrence) GetResourceUrl() string

func (*Occurrence) GetUpdateTime Uses

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

func (*Occurrence) GetVulnerabilityDetails Uses

func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails

func (*Occurrence) ProtoMessage Uses

func (*Occurrence) ProtoMessage()

func (*Occurrence) Reset Uses

func (m *Occurrence) Reset()

func (*Occurrence) String Uses

func (m *Occurrence) String() string

func (*Occurrence) XXX_DiscardUnknown Uses

func (m *Occurrence) XXX_DiscardUnknown()

func (*Occurrence) XXX_Marshal Uses

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

func (*Occurrence) XXX_Merge Uses

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

func (*Occurrence) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Occurrence) XXX_Size Uses

func (m *Occurrence) XXX_Size() int

func (*Occurrence) XXX_Unmarshal Uses

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

type Occurrence_Attestation Uses

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

type Occurrence_BuildDetails Uses

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

type Occurrence_Deployment Uses

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

type Occurrence_DerivedImage Uses

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

type Occurrence_Discovered Uses

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

type Occurrence_Installation Uses

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

type Occurrence_VulnerabilityDetails Uses

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

type OperationMetadata Uses

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

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

func (*OperationMetadata) Descriptor Uses

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

func (*OperationMetadata) GetCreateTime Uses

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

func (*OperationMetadata) GetEndTime Uses

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

func (*OperationMetadata) ProtoMessage Uses

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) Reset Uses

func (m *OperationMetadata) Reset()

func (*OperationMetadata) String Uses

func (m *OperationMetadata) String() string

func (*OperationMetadata) XXX_DiscardUnknown Uses

func (m *OperationMetadata) XXX_DiscardUnknown()

func (*OperationMetadata) XXX_Marshal Uses

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

func (*OperationMetadata) XXX_Merge Uses

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

func (*OperationMetadata) XXX_Size Uses

func (m *OperationMetadata) XXX_Size() int

func (*OperationMetadata) XXX_Unmarshal Uses

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

type PackageManager Uses

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

PackageManager provides metadata about available / installed packages.

func (*PackageManager) Descriptor Uses

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

func (*PackageManager) ProtoMessage Uses

func (*PackageManager) ProtoMessage()

func (*PackageManager) Reset Uses

func (m *PackageManager) Reset()

func (*PackageManager) String Uses

func (m *PackageManager) String() string

func (*PackageManager) XXX_DiscardUnknown Uses

func (m *PackageManager) XXX_DiscardUnknown()

func (*PackageManager) XXX_Marshal Uses

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

func (*PackageManager) XXX_Merge Uses

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

func (*PackageManager) XXX_Size Uses

func (m *PackageManager) XXX_Size() int

func (*PackageManager) XXX_Unmarshal Uses

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

type PackageManager_Architecture Uses

type PackageManager_Architecture int32

Instruction set architectures supported by various package managers.

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

func (PackageManager_Architecture) EnumDescriptor Uses

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

func (PackageManager_Architecture) String Uses

func (x PackageManager_Architecture) String() string

type PackageManager_Distribution Uses

type PackageManager_Distribution struct {
    // The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
    // denoting the package manager version distributing a package.
    CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
    // The CPU architecture for which packages in this distribution
    // channel were built
    Architecture PackageManager_Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=google.devtools.containeranalysis.v1alpha1.PackageManager_Architecture" json:"architecture,omitempty"`
    // The latest available version of this package in
    // this distribution channel.
    LatestVersion *VulnerabilityType_Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
    // A freeform string denoting the maintainer of this package.
    Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
    // The distribution channel-specific homepage for this package.
    Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
    // The distribution channel-specific description of this package.
    Description          string   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*PackageManager_Distribution) Descriptor Uses

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

func (*PackageManager_Distribution) GetArchitecture Uses

func (m *PackageManager_Distribution) GetArchitecture() PackageManager_Architecture

func (*PackageManager_Distribution) GetCpeUri Uses

func (m *PackageManager_Distribution) GetCpeUri() string

func (*PackageManager_Distribution) GetDescription Uses

func (m *PackageManager_Distribution) GetDescription() string

func (*PackageManager_Distribution) GetLatestVersion Uses

func (m *PackageManager_Distribution) GetLatestVersion() *VulnerabilityType_Version

func (*PackageManager_Distribution) GetMaintainer Uses

func (m *PackageManager_Distribution) GetMaintainer() string

func (*PackageManager_Distribution) GetUrl Uses

func (m *PackageManager_Distribution) GetUrl() string

func (*PackageManager_Distribution) ProtoMessage Uses

func (*PackageManager_Distribution) ProtoMessage()

func (*PackageManager_Distribution) Reset Uses

func (m *PackageManager_Distribution) Reset()

func (*PackageManager_Distribution) String Uses

func (m *PackageManager_Distribution) String() string

func (*PackageManager_Distribution) XXX_DiscardUnknown Uses

func (m *PackageManager_Distribution) XXX_DiscardUnknown()

func (*PackageManager_Distribution) XXX_Marshal Uses

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

func (*PackageManager_Distribution) XXX_Merge Uses

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

func (*PackageManager_Distribution) XXX_Size Uses

func (m *PackageManager_Distribution) XXX_Size() int

func (*PackageManager_Distribution) XXX_Unmarshal Uses

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

type PackageManager_Installation Uses

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

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

func (*PackageManager_Installation) Descriptor Uses

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

func (*PackageManager_Installation) GetLocation Uses

func (m *PackageManager_Installation) GetLocation() []*PackageManager_Location

func (*PackageManager_Installation) GetName Uses

func (m *PackageManager_Installation) GetName() string

func (*PackageManager_Installation) ProtoMessage Uses

func (*PackageManager_Installation) ProtoMessage()

func (*PackageManager_Installation) Reset Uses

func (m *PackageManager_Installation) Reset()

func (*PackageManager_Installation) String Uses

func (m *PackageManager_Installation) String() string

func (*PackageManager_Installation) XXX_DiscardUnknown Uses

func (m *PackageManager_Installation) XXX_DiscardUnknown()

func (*PackageManager_Installation) XXX_Marshal Uses

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

func (*PackageManager_Installation) XXX_Merge Uses

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

func (*PackageManager_Installation) XXX_Size Uses

func (m *PackageManager_Installation) XXX_Size() int

func (*PackageManager_Installation) XXX_Unmarshal Uses

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

type PackageManager_Location Uses

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

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

func (*PackageManager_Location) Descriptor Uses

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

func (*PackageManager_Location) GetCpeUri Uses

func (m *PackageManager_Location) GetCpeUri() string

func (*PackageManager_Location) GetPath Uses

func (m *PackageManager_Location) GetPath() string

func (*PackageManager_Location) GetVersion Uses

func (m *PackageManager_Location) GetVersion() *VulnerabilityType_Version

func (*PackageManager_Location) ProtoMessage Uses

func (*PackageManager_Location) ProtoMessage()

func (*PackageManager_Location) Reset Uses

func (m *PackageManager_Location) Reset()

func (*PackageManager_Location) String Uses

func (m *PackageManager_Location) String() string

func (*PackageManager_Location) XXX_DiscardUnknown Uses

func (m *PackageManager_Location) XXX_DiscardUnknown()

func (*PackageManager_Location) XXX_Marshal Uses

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

func (*PackageManager_Location) XXX_Merge Uses

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

func (*PackageManager_Location) XXX_Size Uses

func (m *PackageManager_Location) XXX_Size() int

func (*PackageManager_Location) XXX_Unmarshal Uses

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

type PackageManager_Package Uses

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

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

func (*PackageManager_Package) Descriptor Uses

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

func (*PackageManager_Package) GetDistribution Uses

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

func (*PackageManager_Package) GetName Uses

func (m *PackageManager_Package) GetName() string

func (*PackageManager_Package) ProtoMessage Uses

func (*PackageManager_Package) ProtoMessage()

func (*PackageManager_Package) Reset Uses

func (m *PackageManager_Package) Reset()

func (*PackageManager_Package) String Uses

func (m *PackageManager_Package) String() string

func (*PackageManager_Package) XXX_DiscardUnknown Uses

func (m *PackageManager_Package) XXX_DiscardUnknown()

func (*PackageManager_Package) XXX_Marshal Uses

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

func (*PackageManager_Package) XXX_Merge Uses

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

func (*PackageManager_Package) XXX_Size Uses

func (m *PackageManager_Package) XXX_Size() int

func (*PackageManager_Package) XXX_Unmarshal Uses

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

type PgpSignedAttestation Uses

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

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

func (*PgpSignedAttestation) Descriptor Uses

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

func (*PgpSignedAttestation) GetContentType Uses

func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType

func (*PgpSignedAttestation) GetKeyId Uses

func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId

func (*PgpSignedAttestation) GetPgpKeyId Uses

func (m *PgpSignedAttestation) GetPgpKeyId() string

func (*PgpSignedAttestation) GetSignature Uses

func (m *PgpSignedAttestation) GetSignature() string

func (*PgpSignedAttestation) ProtoMessage Uses

func (*PgpSignedAttestation) ProtoMessage()

func (*PgpSignedAttestation) Reset Uses

func (m *PgpSignedAttestation) Reset()

func (*PgpSignedAttestation) String Uses

func (m *PgpSignedAttestation) String() string

func (*PgpSignedAttestation) XXX_DiscardUnknown Uses

func (m *PgpSignedAttestation) XXX_DiscardUnknown()

func (*PgpSignedAttestation) XXX_Marshal Uses

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

func (*PgpSignedAttestation) XXX_Merge Uses

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

func (*PgpSignedAttestation) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*PgpSignedAttestation) XXX_Size Uses

func (m *PgpSignedAttestation) XXX_Size() int

func (*PgpSignedAttestation) XXX_Unmarshal Uses

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

type PgpSignedAttestation_ContentType Uses

type PgpSignedAttestation_ContentType int32

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

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

func (PgpSignedAttestation_ContentType) EnumDescriptor Uses

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

func (PgpSignedAttestation_ContentType) String Uses

func (x PgpSignedAttestation_ContentType) String() string

type PgpSignedAttestation_PgpKeyId Uses

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

type ProjectRepoId Uses

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

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

func (*ProjectRepoId) Descriptor Uses

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

func (*ProjectRepoId) GetProjectId Uses

func (m *ProjectRepoId) GetProjectId() string

func (*ProjectRepoId) GetRepoName Uses

func (m *ProjectRepoId) GetRepoName() string

func (*ProjectRepoId) ProtoMessage Uses

func (*ProjectRepoId) ProtoMessage()

func (*ProjectRepoId) Reset Uses

func (m *ProjectRepoId) Reset()

func (*ProjectRepoId) String Uses

func (m *ProjectRepoId) String() string

func (*ProjectRepoId) XXX_DiscardUnknown Uses

func (m *ProjectRepoId) XXX_DiscardUnknown()

func (*ProjectRepoId) XXX_Marshal Uses

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

func (*ProjectRepoId) XXX_Merge Uses

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

func (*ProjectRepoId) XXX_Size Uses

func (m *ProjectRepoId) XXX_Size() int

func (*ProjectRepoId) XXX_Unmarshal Uses

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

type RepoId Uses

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

A unique identifier for a Cloud Repo.

func (*RepoId) Descriptor Uses

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

func (*RepoId) GetId Uses

func (m *RepoId) GetId() isRepoId_Id

func (*RepoId) GetProjectRepoId Uses

func (m *RepoId) GetProjectRepoId() *ProjectRepoId

func (*RepoId) GetUid Uses

func (m *RepoId) GetUid() string

func (*RepoId) ProtoMessage Uses

func (*RepoId) ProtoMessage()

func (*RepoId) Reset Uses

func (m *RepoId) Reset()

func (*RepoId) String Uses

func (m *RepoId) String() string

func (*RepoId) XXX_DiscardUnknown Uses

func (m *RepoId) XXX_DiscardUnknown()

func (*RepoId) XXX_Marshal Uses

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

func (*RepoId) XXX_Merge Uses

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

func (*RepoId) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*RepoId) XXX_Size Uses

func (m *RepoId) XXX_Size() int

func (*RepoId) XXX_Unmarshal Uses

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

type RepoId_ProjectRepoId Uses

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

type RepoId_Uid Uses

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

type RepoSource Uses

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

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

func (*RepoSource) Descriptor Uses

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

func (*RepoSource) GetBranchName