genproto: google.golang.org/genproto/googleapis/grafeas/v1 Index | Files

package grafeas

import "google.golang.org/genproto/googleapis/grafeas/v1"

Index

Package Files

attestation.pb.go build.pb.go common.pb.go cvss.pb.go deployment.pb.go discovery.pb.go grafeas.pb.go image.pb.go package.pb.go provenance.pb.go vulnerability.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 Architecture_name = map[int32]string{
    0:  "ARCHITECTURE_UNSPECIFIED",
    1:  "X86",
    2:  "X64",
}
var Architecture_value = map[string]int32{
    "ARCHITECTURE_UNSPECIFIED": 0,
    "X86":                      1,
    "X64":                      2,
}
var CVSSv3_AttackComplexity_name = map[int32]string{
    0:  "ATTACK_COMPLEXITY_UNSPECIFIED",
    1:  "ATTACK_COMPLEXITY_LOW",
    2:  "ATTACK_COMPLEXITY_HIGH",
}
var CVSSv3_AttackComplexity_value = map[string]int32{
    "ATTACK_COMPLEXITY_UNSPECIFIED": 0,
    "ATTACK_COMPLEXITY_LOW":         1,
    "ATTACK_COMPLEXITY_HIGH":        2,
}
var CVSSv3_AttackVector_name = map[int32]string{
    0:  "ATTACK_VECTOR_UNSPECIFIED",
    1:  "ATTACK_VECTOR_NETWORK",
    2:  "ATTACK_VECTOR_ADJACENT",
    3:  "ATTACK_VECTOR_LOCAL",
    4:  "ATTACK_VECTOR_PHYSICAL",
}
var CVSSv3_AttackVector_value = map[string]int32{
    "ATTACK_VECTOR_UNSPECIFIED": 0,
    "ATTACK_VECTOR_NETWORK":     1,
    "ATTACK_VECTOR_ADJACENT":    2,
    "ATTACK_VECTOR_LOCAL":       3,
    "ATTACK_VECTOR_PHYSICAL":    4,
}
var CVSSv3_Impact_name = map[int32]string{
    0:  "IMPACT_UNSPECIFIED",
    1:  "IMPACT_HIGH",
    2:  "IMPACT_LOW",
    3:  "IMPACT_NONE",
}
var CVSSv3_Impact_value = map[string]int32{
    "IMPACT_UNSPECIFIED": 0,
    "IMPACT_HIGH":        1,
    "IMPACT_LOW":         2,
    "IMPACT_NONE":        3,
}
var CVSSv3_PrivilegesRequired_name = map[int32]string{
    0:  "PRIVILEGES_REQUIRED_UNSPECIFIED",
    1:  "PRIVILEGES_REQUIRED_NONE",
    2:  "PRIVILEGES_REQUIRED_LOW",
    3:  "PRIVILEGES_REQUIRED_HIGH",
}
var CVSSv3_PrivilegesRequired_value = map[string]int32{
    "PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
    "PRIVILEGES_REQUIRED_NONE":        1,
    "PRIVILEGES_REQUIRED_LOW":         2,
    "PRIVILEGES_REQUIRED_HIGH":        3,
}
var CVSSv3_Scope_name = map[int32]string{
    0:  "SCOPE_UNSPECIFIED",
    1:  "SCOPE_UNCHANGED",
    2:  "SCOPE_CHANGED",
}
var CVSSv3_Scope_value = map[string]int32{
    "SCOPE_UNSPECIFIED": 0,
    "SCOPE_UNCHANGED":   1,
    "SCOPE_CHANGED":     2,
}
var CVSSv3_UserInteraction_name = map[int32]string{
    0:  "USER_INTERACTION_UNSPECIFIED",
    1:  "USER_INTERACTION_NONE",
    2:  "USER_INTERACTION_REQUIRED",
}
var CVSSv3_UserInteraction_value = map[string]int32{
    "USER_INTERACTION_UNSPECIFIED": 0,
    "USER_INTERACTION_NONE":        1,
    "USER_INTERACTION_REQUIRED":    2,
}
var DeploymentOccurrence_Platform_name = map[int32]string{
    0:  "PLATFORM_UNSPECIFIED",
    1:  "GKE",
    2:  "FLEX",
    3:  "CUSTOM",
}
var DeploymentOccurrence_Platform_value = map[string]int32{
    "PLATFORM_UNSPECIFIED": 0,
    "GKE":                  1,
    "FLEX":                 2,
    "CUSTOM":               3,
}
var DiscoveryOccurrence_AnalysisStatus_name = map[int32]string{
    0:  "ANALYSIS_STATUS_UNSPECIFIED",
    1:  "PENDING",
    2:  "SCANNING",
    3:  "FINISHED_SUCCESS",
    4:  "FINISHED_FAILED",
    5:  "FINISHED_UNSUPPORTED",
}
var DiscoveryOccurrence_AnalysisStatus_value = map[string]int32{
    "ANALYSIS_STATUS_UNSPECIFIED": 0,
    "PENDING":                     1,
    "SCANNING":                    2,
    "FINISHED_SUCCESS":            3,
    "FINISHED_FAILED":             4,
    "FINISHED_UNSUPPORTED":        5,
}
var DiscoveryOccurrence_ContinuousAnalysis_name = map[int32]string{
    0:  "CONTINUOUS_ANALYSIS_UNSPECIFIED",
    1:  "ACTIVE",
    2:  "INACTIVE",
}
var DiscoveryOccurrence_ContinuousAnalysis_value = map[string]int32{
    "CONTINUOUS_ANALYSIS_UNSPECIFIED": 0,
    "ACTIVE":                          1,
    "INACTIVE":                        2,
}
var NoteKind_name = map[int32]string{
    0:  "NOTE_KIND_UNSPECIFIED",
    1:  "VULNERABILITY",
    2:  "BUILD",
    3:  "IMAGE",
    4:  "PACKAGE",
    5:  "DEPLOYMENT",
    6:  "DISCOVERY",
    7:  "ATTESTATION",
}
var NoteKind_value = map[string]int32{
    "NOTE_KIND_UNSPECIFIED": 0,
    "VULNERABILITY":         1,
    "BUILD":                 2,
    "IMAGE":                 3,
    "PACKAGE":               4,
    "DEPLOYMENT":            5,
    "DISCOVERY":             6,
    "ATTESTATION":           7,
}
var Severity_name = map[int32]string{
    0:  "SEVERITY_UNSPECIFIED",
    1:  "MINIMAL",
    2:  "LOW",
    3:  "MEDIUM",
    4:  "HIGH",
    5:  "CRITICAL",
}
var Severity_value = map[string]int32{
    "SEVERITY_UNSPECIFIED": 0,
    "MINIMAL":              1,
    "LOW":                  2,
    "MEDIUM":               3,
    "HIGH":                 4,
    "CRITICAL":             5,
}
var Version_VersionKind_name = map[int32]string{
    0:  "VERSION_KIND_UNSPECIFIED",
    1:  "NORMAL",
    2:  "MINIMUM",
    3:  "MAXIMUM",
}
var Version_VersionKind_value = map[string]int32{
    "VERSION_KIND_UNSPECIFIED": 0,
    "NORMAL":                   1,
    "MINIMUM":                  2,
    "MAXIMUM":                  3,
}

func RegisterGrafeasServer Uses

func RegisterGrafeasServer(s *grpc.Server, srv GrafeasServer)

type AliasContext Uses

type AliasContext struct {
    // The alias kind.
    Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.AliasContext_Kind" json:"kind,omitempty"`
    // The alias name.
    Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    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 Architecture Uses

type Architecture int32

Instruction set architectures supported by various package managers.

const (
    // Unknown architecture.
    Architecture_ARCHITECTURE_UNSPECIFIED Architecture = 0
    // X86 architecture.
    Architecture_X86 Architecture = 1
    // X64 architecture.
    Architecture_X64 Architecture = 2
)

func (Architecture) EnumDescriptor Uses

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

func (Architecture) String Uses

func (x Architecture) String() string

type Artifact Uses

type Artifact struct {
    // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
    // container.
    Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
    // Artifact ID, if any; for container images, this will be a URL by digest
    // like `gcr.io/projectID/imagename@sha256:123456`.
    Id  string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    // Related artifact names. This may be the path to a binary or jar file, or in
    // the case of a container build, the name used to push the container image to
    // Google Container Registry, as presented to `docker push`. Note that a
    // single Artifact ID can have multiple names, for example if two tags are
    // applied to one image.
    Names                []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
    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) 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 AttestationNote Uses

type AttestationNote struct {
    // Hint hints at the purpose of the attestation authority.
    Hint                 *AttestationNote_Hint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
    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 `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.

func (*AttestationNote) Descriptor Uses

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

func (*AttestationNote) GetHint Uses

func (m *AttestationNote) GetHint() *AttestationNote_Hint

func (*AttestationNote) ProtoMessage Uses

func (*AttestationNote) ProtoMessage()

func (*AttestationNote) Reset Uses

func (m *AttestationNote) Reset()

func (*AttestationNote) String Uses

func (m *AttestationNote) String() string

func (*AttestationNote) XXX_DiscardUnknown Uses

func (m *AttestationNote) XXX_DiscardUnknown()

func (*AttestationNote) XXX_Marshal Uses

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

func (*AttestationNote) XXX_Merge Uses

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

func (*AttestationNote) XXX_Size Uses

func (m *AttestationNote) XXX_Size() int

func (*AttestationNote) XXX_Unmarshal Uses

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

type AttestationNote_Hint Uses

type AttestationNote_Hint struct {
    // Required. The human readable name of this attestation authority, for
    // example "qa".
    HumanReadableName    string   `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.

func (*AttestationNote_Hint) Descriptor Uses

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

func (*AttestationNote_Hint) GetHumanReadableName Uses

func (m *AttestationNote_Hint) GetHumanReadableName() string

func (*AttestationNote_Hint) ProtoMessage Uses

func (*AttestationNote_Hint) ProtoMessage()

func (*AttestationNote_Hint) Reset Uses

func (m *AttestationNote_Hint) Reset()

func (*AttestationNote_Hint) String Uses

func (m *AttestationNote_Hint) String() string

func (*AttestationNote_Hint) XXX_DiscardUnknown Uses

func (m *AttestationNote_Hint) XXX_DiscardUnknown()

func (*AttestationNote_Hint) XXX_Marshal Uses

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

func (*AttestationNote_Hint) XXX_Merge Uses

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

func (*AttestationNote_Hint) XXX_Size Uses

func (m *AttestationNote_Hint) XXX_Size() int

func (*AttestationNote_Hint) XXX_Unmarshal Uses

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

type AttestationOccurrence Uses

type AttestationOccurrence struct {
    // Required. The serialized payload that is verified by one or more
    // `signatures`.
    SerializedPayload []byte `protobuf:"bytes,1,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"`
    // One or more signatures over `serialized_payload`.  Verifier implementations
    // should consider this attestation message verified if at least one
    // `signature` verifies `serialized_payload`.  See `Signature` in common.proto
    // for more details on signature structure and verification.
    Signatures           []*Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
    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 authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.

func (*AttestationOccurrence) Descriptor Uses

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

func (*AttestationOccurrence) GetSerializedPayload Uses

func (m *AttestationOccurrence) GetSerializedPayload() []byte

func (*AttestationOccurrence) GetSignatures Uses

func (m *AttestationOccurrence) GetSignatures() []*Signature

func (*AttestationOccurrence) ProtoMessage Uses

func (*AttestationOccurrence) ProtoMessage()

func (*AttestationOccurrence) Reset Uses

func (m *AttestationOccurrence) Reset()

func (*AttestationOccurrence) String Uses

func (m *AttestationOccurrence) String() string

func (*AttestationOccurrence) XXX_DiscardUnknown Uses

func (m *AttestationOccurrence) XXX_DiscardUnknown()

func (*AttestationOccurrence) XXX_Marshal Uses

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

func (*AttestationOccurrence) XXX_Merge Uses

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

func (*AttestationOccurrence) XXX_Size Uses

func (m *AttestationOccurrence) XXX_Size() int

func (*AttestationOccurrence) XXX_Unmarshal Uses

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

type BatchCreateNotesRequest Uses

type BatchCreateNotesRequest struct {
    // The name of the project in the form of `projects/[PROJECT_ID]`, under which
    // the notes are to be created.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The notes to create. Max allowed length is 1000.
    Notes                map[string]*Note `protobuf:"bytes,2,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Request to create notes in batch.

func (*BatchCreateNotesRequest) Descriptor Uses

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

func (*BatchCreateNotesRequest) GetNotes Uses

func (m *BatchCreateNotesRequest) GetNotes() map[string]*Note

func (*BatchCreateNotesRequest) GetParent Uses

func (m *BatchCreateNotesRequest) GetParent() string

func (*BatchCreateNotesRequest) ProtoMessage Uses

func (*BatchCreateNotesRequest) ProtoMessage()

func (*BatchCreateNotesRequest) Reset Uses

func (m *BatchCreateNotesRequest) Reset()

func (*BatchCreateNotesRequest) String Uses

func (m *BatchCreateNotesRequest) String() string

func (*BatchCreateNotesRequest) XXX_DiscardUnknown Uses

func (m *BatchCreateNotesRequest) XXX_DiscardUnknown()

func (*BatchCreateNotesRequest) XXX_Marshal Uses

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

func (*BatchCreateNotesRequest) XXX_Merge Uses

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

func (*BatchCreateNotesRequest) XXX_Size Uses

func (m *BatchCreateNotesRequest) XXX_Size() int

func (*BatchCreateNotesRequest) XXX_Unmarshal Uses

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

type BatchCreateNotesResponse Uses

type BatchCreateNotesResponse struct {
    // The notes that were created.
    Notes                []*Note  `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for creating notes in batch.

func (*BatchCreateNotesResponse) Descriptor Uses

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

func (*BatchCreateNotesResponse) GetNotes Uses

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

func (*BatchCreateNotesResponse) ProtoMessage Uses

func (*BatchCreateNotesResponse) ProtoMessage()

func (*BatchCreateNotesResponse) Reset Uses

func (m *BatchCreateNotesResponse) Reset()

func (*BatchCreateNotesResponse) String Uses

func (m *BatchCreateNotesResponse) String() string

func (*BatchCreateNotesResponse) XXX_DiscardUnknown Uses

func (m *BatchCreateNotesResponse) XXX_DiscardUnknown()

func (*BatchCreateNotesResponse) XXX_Marshal Uses

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

func (*BatchCreateNotesResponse) XXX_Merge Uses

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

func (*BatchCreateNotesResponse) XXX_Size Uses

func (m *BatchCreateNotesResponse) XXX_Size() int

func (*BatchCreateNotesResponse) XXX_Unmarshal Uses

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

type BatchCreateOccurrencesRequest Uses

type BatchCreateOccurrencesRequest struct {
    // The name of the project in the form of `projects/[PROJECT_ID]`, under which
    // the occurrences are to be created.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The occurrences to create. Max allowed length is 1000.
    Occurrences          []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

Request to create occurrences in batch.

func (*BatchCreateOccurrencesRequest) Descriptor Uses

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

func (*BatchCreateOccurrencesRequest) GetOccurrences Uses

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

func (*BatchCreateOccurrencesRequest) GetParent Uses

func (m *BatchCreateOccurrencesRequest) GetParent() string

func (*BatchCreateOccurrencesRequest) ProtoMessage Uses

func (*BatchCreateOccurrencesRequest) ProtoMessage()

func (*BatchCreateOccurrencesRequest) Reset Uses

func (m *BatchCreateOccurrencesRequest) Reset()

func (*BatchCreateOccurrencesRequest) String Uses

func (m *BatchCreateOccurrencesRequest) String() string

func (*BatchCreateOccurrencesRequest) XXX_DiscardUnknown Uses

func (m *BatchCreateOccurrencesRequest) XXX_DiscardUnknown()

func (*BatchCreateOccurrencesRequest) XXX_Marshal Uses

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

func (*BatchCreateOccurrencesRequest) XXX_Merge Uses

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

func (*BatchCreateOccurrencesRequest) XXX_Size Uses

func (m *BatchCreateOccurrencesRequest) XXX_Size() int

func (*BatchCreateOccurrencesRequest) XXX_Unmarshal Uses

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

type BatchCreateOccurrencesResponse Uses

type BatchCreateOccurrencesResponse struct {
    // The occurrences that were created.
    Occurrences          []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

Response for creating occurrences in batch.

func (*BatchCreateOccurrencesResponse) Descriptor Uses

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

func (*BatchCreateOccurrencesResponse) GetOccurrences Uses

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

func (*BatchCreateOccurrencesResponse) ProtoMessage Uses

func (*BatchCreateOccurrencesResponse) ProtoMessage()

func (*BatchCreateOccurrencesResponse) Reset Uses

func (m *BatchCreateOccurrencesResponse) Reset()

func (*BatchCreateOccurrencesResponse) String Uses

func (m *BatchCreateOccurrencesResponse) String() string

func (*BatchCreateOccurrencesResponse) XXX_DiscardUnknown Uses

func (m *BatchCreateOccurrencesResponse) XXX_DiscardUnknown()

func (*BatchCreateOccurrencesResponse) XXX_Marshal Uses

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

func (*BatchCreateOccurrencesResponse) XXX_Merge Uses

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

func (*BatchCreateOccurrencesResponse) XXX_Size Uses

func (m *BatchCreateOccurrencesResponse) XXX_Size() int

func (*BatchCreateOccurrencesResponse) XXX_Unmarshal Uses

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

type BuildNote Uses

type BuildNote struct {
    // Required. Immutable. Version of the builder which produced this build.
    BuilderVersion       string   `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
    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 the build details occurrence.

func (*BuildNote) Descriptor Uses

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

func (*BuildNote) GetBuilderVersion Uses

func (m *BuildNote) GetBuilderVersion() string

func (*BuildNote) ProtoMessage Uses

func (*BuildNote) ProtoMessage()

func (*BuildNote) Reset Uses

func (m *BuildNote) Reset()

func (*BuildNote) String Uses

func (m *BuildNote) String() string

func (*BuildNote) XXX_DiscardUnknown Uses

func (m *BuildNote) XXX_DiscardUnknown()

func (*BuildNote) XXX_Marshal Uses

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

func (*BuildNote) XXX_Merge Uses

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

func (*BuildNote) XXX_Size Uses

func (m *BuildNote) XXX_Size() int

func (*BuildNote) XXX_Unmarshal Uses

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

type BuildOccurrence Uses

type BuildOccurrence struct {
    // Required. The actual provenance for the build.
    Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"`
    // Serialized JSON representation of the provenance, used in generating the
    // build signature in the corresponding build note. After verifying the
    // signature, `provenance_bytes` can be unmarshalled and compared to the
    // provenance to confirm that it is unchanged. A base64-encoded string
    // representation of the provenance bytes is used for the signature in order
    // to interoperate with openssl which expects this format for signature
    // verification.
    //
    // The serialized form is captured both to avoid ambiguity in how the
    // provenance is marshalled to json as well to prevent incompatibilities with
    // future changes.
    ProvenanceBytes      string   `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Details of a build occurrence.

func (*BuildOccurrence) Descriptor Uses

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

func (*BuildOccurrence) GetProvenance Uses

func (m *BuildOccurrence) GetProvenance() *BuildProvenance

func (*BuildOccurrence) GetProvenanceBytes Uses

func (m *BuildOccurrence) GetProvenanceBytes() string

func (*BuildOccurrence) ProtoMessage Uses

func (*BuildOccurrence) ProtoMessage()

func (*BuildOccurrence) Reset Uses

func (m *BuildOccurrence) Reset()

func (*BuildOccurrence) String Uses

func (m *BuildOccurrence) String() string

func (*BuildOccurrence) XXX_DiscardUnknown Uses

func (m *BuildOccurrence) XXX_DiscardUnknown()

func (*BuildOccurrence) XXX_Marshal Uses

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

func (*BuildOccurrence) XXX_Merge Uses

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

func (*BuildOccurrence) XXX_Size Uses

func (m *BuildOccurrence) XXX_Size() int

func (*BuildOccurrence) XXX_Unmarshal Uses

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

type BuildProvenance Uses

type BuildProvenance struct {
    // Required. Unique identifier of the build.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // ID of the project.
    ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Commands requested by the build.
    Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"`
    // Output of the build.
    BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"`
    // Time at which the build was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Time at which execution of the build was started.
    StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Time at which execution of the build was finished.
    EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // E-mail address of the user who initiated this build. Note that this was the
    // user's e-mail address at the time the build was initiated; this address may
    // not represent the same end-user for all time.
    Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"`
    // URI where any logs for this provenance were written.
    LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"`
    // Details of the Source input to the build.
    SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`
    // Trigger identifier if the build was triggered automatically; empty if not.
    TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
    // Special options applied to this build. This is a catch-all field where
    // build providers can enter any desired additional details.
    BuildOptions map[string]string `protobuf:"bytes,12,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,13,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) GetEndTime Uses

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

func (*BuildProvenance) GetId Uses

func (m *BuildProvenance) GetId() string

func (*BuildProvenance) GetLogsUri Uses

func (m *BuildProvenance) GetLogsUri() 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 CVSSv3 Uses

type CVSSv3 struct {
    // The base score is a function of the base metric scores.
    BaseScore           float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
    ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`
    ImpactScore         float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`
    // Base Metrics
    // Represents the intrinsic characteristics of a vulnerability that are
    // constant over time and across user environments.
    AttackVector          CVSSv3_AttackVector       `protobuf:"varint,5,opt,name=attack_vector,json=attackVector,proto3,enum=grafeas.v1.CVSSv3_AttackVector" json:"attack_vector,omitempty"`
    AttackComplexity      CVSSv3_AttackComplexity   `protobuf:"varint,6,opt,name=attack_complexity,json=attackComplexity,proto3,enum=grafeas.v1.CVSSv3_AttackComplexity" json:"attack_complexity,omitempty"`
    PrivilegesRequired    CVSSv3_PrivilegesRequired `protobuf:"varint,7,opt,name=privileges_required,json=privilegesRequired,proto3,enum=grafeas.v1.CVSSv3_PrivilegesRequired" json:"privileges_required,omitempty"`
    UserInteraction       CVSSv3_UserInteraction    `protobuf:"varint,8,opt,name=user_interaction,json=userInteraction,proto3,enum=grafeas.v1.CVSSv3_UserInteraction" json:"user_interaction,omitempty"`
    Scope                 CVSSv3_Scope              `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSSv3_Scope" json:"scope,omitempty"`
    ConfidentialityImpact CVSSv3_Impact             `protobuf:"varint,10,opt,name=confidentiality_impact,json=confidentialityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"confidentiality_impact,omitempty"`
    IntegrityImpact       CVSSv3_Impact             `protobuf:"varint,11,opt,name=integrity_impact,json=integrityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"integrity_impact,omitempty"`
    AvailabilityImpact    CVSSv3_Impact             `protobuf:"varint,12,opt,name=availability_impact,json=availabilityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"availability_impact,omitempty"`
    XXX_NoUnkeyedLiteral  struct{}                  `json:"-"`
    XXX_unrecognized      []byte                    `json:"-"`
    XXX_sizecache         int32                     `json:"-"`
}

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

func (*CVSSv3) Descriptor Uses

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

func (*CVSSv3) GetAttackComplexity Uses

func (m *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity

func (*CVSSv3) GetAttackVector Uses

func (m *CVSSv3) GetAttackVector() CVSSv3_AttackVector

func (*CVSSv3) GetAvailabilityImpact Uses

func (m *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact

func (*CVSSv3) GetBaseScore Uses

func (m *CVSSv3) GetBaseScore() float32

func (*CVSSv3) GetConfidentialityImpact Uses

func (m *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact

func (*CVSSv3) GetExploitabilityScore Uses

func (m *CVSSv3) GetExploitabilityScore() float32

func (*CVSSv3) GetImpactScore Uses

func (m *CVSSv3) GetImpactScore() float32

func (*CVSSv3) GetIntegrityImpact Uses

func (m *CVSSv3) GetIntegrityImpact() CVSSv3_Impact

func (*CVSSv3) GetPrivilegesRequired Uses

func (m *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired

func (*CVSSv3) GetScope Uses

func (m *CVSSv3) GetScope() CVSSv3_Scope

func (*CVSSv3) GetUserInteraction Uses

func (m *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction

func (*CVSSv3) ProtoMessage Uses

func (*CVSSv3) ProtoMessage()

func (*CVSSv3) Reset Uses

func (m *CVSSv3) Reset()

func (*CVSSv3) String Uses

func (m *CVSSv3) String() string

func (*CVSSv3) XXX_DiscardUnknown Uses

func (m *CVSSv3) XXX_DiscardUnknown()

func (*CVSSv3) XXX_Marshal Uses

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

func (*CVSSv3) XXX_Merge Uses

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

func (*CVSSv3) XXX_Size Uses

func (m *CVSSv3) XXX_Size() int

func (*CVSSv3) XXX_Unmarshal Uses

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

type CVSSv3_AttackComplexity Uses

type CVSSv3_AttackComplexity int32
const (
    CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0
    CVSSv3_ATTACK_COMPLEXITY_LOW         CVSSv3_AttackComplexity = 1
    CVSSv3_ATTACK_COMPLEXITY_HIGH        CVSSv3_AttackComplexity = 2
)

func (CVSSv3_AttackComplexity) EnumDescriptor Uses

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

func (CVSSv3_AttackComplexity) String Uses

func (x CVSSv3_AttackComplexity) String() string

type CVSSv3_AttackVector Uses

type CVSSv3_AttackVector int32
const (
    CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0
    CVSSv3_ATTACK_VECTOR_NETWORK     CVSSv3_AttackVector = 1
    CVSSv3_ATTACK_VECTOR_ADJACENT    CVSSv3_AttackVector = 2
    CVSSv3_ATTACK_VECTOR_LOCAL       CVSSv3_AttackVector = 3
    CVSSv3_ATTACK_VECTOR_PHYSICAL    CVSSv3_AttackVector = 4
)

func (CVSSv3_AttackVector) EnumDescriptor Uses

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

func (CVSSv3_AttackVector) String Uses

func (x CVSSv3_AttackVector) String() string

type CVSSv3_Impact Uses

type CVSSv3_Impact int32
const (
    CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0
    CVSSv3_IMPACT_HIGH        CVSSv3_Impact = 1
    CVSSv3_IMPACT_LOW         CVSSv3_Impact = 2
    CVSSv3_IMPACT_NONE        CVSSv3_Impact = 3
)

func (CVSSv3_Impact) EnumDescriptor Uses

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

func (CVSSv3_Impact) String Uses

func (x CVSSv3_Impact) String() string

type CVSSv3_PrivilegesRequired Uses

type CVSSv3_PrivilegesRequired int32
const (
    CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0
    CVSSv3_PRIVILEGES_REQUIRED_NONE        CVSSv3_PrivilegesRequired = 1
    CVSSv3_PRIVILEGES_REQUIRED_LOW         CVSSv3_PrivilegesRequired = 2
    CVSSv3_PRIVILEGES_REQUIRED_HIGH        CVSSv3_PrivilegesRequired = 3
)

func (CVSSv3_PrivilegesRequired) EnumDescriptor Uses

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

func (CVSSv3_PrivilegesRequired) String Uses

func (x CVSSv3_PrivilegesRequired) String() string

type CVSSv3_Scope Uses

type CVSSv3_Scope int32
const (
    CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0
    CVSSv3_SCOPE_UNCHANGED   CVSSv3_Scope = 1
    CVSSv3_SCOPE_CHANGED     CVSSv3_Scope = 2
)

func (CVSSv3_Scope) EnumDescriptor Uses

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

func (CVSSv3_Scope) String Uses

func (x CVSSv3_Scope) String() string

type CVSSv3_UserInteraction Uses

type CVSSv3_UserInteraction int32
const (
    CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0
    CVSSv3_USER_INTERACTION_NONE        CVSSv3_UserInteraction = 1
    CVSSv3_USER_INTERACTION_REQUIRED    CVSSv3_UserInteraction = 2
)

func (CVSSv3_UserInteraction) EnumDescriptor Uses

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

func (CVSSv3_UserInteraction) String Uses

func (x CVSSv3_UserInteraction) String() string

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 {
    // Required. Name of the command, as presented on the command line, or if the
    // command is packaged as a Docker container, as presented to `docker pull`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Environment variables set before running this command.
    Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
    // Command-line arguments used when executing this command.
    Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
    // Working directory (relative to project source root) used when running this
    // command.
    Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`
    // Optional unique identifier for this command, used in wait_for to reference
    // this command as a dependency.
    Id  string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
    // The ID(s) of the command(s) that this command depends on.
    WaitFor              []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"`
    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 CreateNoteRequest Uses

type CreateNoteRequest struct {
    // The name of the project in the form of `projects/[PROJECT_ID]`, under which
    // the note is to be created.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The ID to use for this note.
    NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"`
    // The note to create.
    Note                 *Note    `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request to create a new note.

func (*CreateNoteRequest) Descriptor Uses

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

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 in the form of `projects/[PROJECT_ID]`, under which
    // the occurrence is to be created.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The occurrence to create.
    Occurrence           *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

Request to create a new occurrence.

func (*CreateOccurrenceRequest) Descriptor Uses

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

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 DeleteNoteRequest Uses

type DeleteNoteRequest struct {
    // The name of the note in the form of
    // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    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 DeploymentNote Uses

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

An artifact that can be deployed in some runtime.

func (*DeploymentNote) Descriptor Uses

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

func (*DeploymentNote) GetResourceUri Uses

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

func (*DeploymentNote) ProtoMessage Uses

func (*DeploymentNote) ProtoMessage()

func (*DeploymentNote) Reset Uses

func (m *DeploymentNote) Reset()

func (*DeploymentNote) String Uses

func (m *DeploymentNote) String() string

func (*DeploymentNote) XXX_DiscardUnknown Uses

func (m *DeploymentNote) XXX_DiscardUnknown()

func (*DeploymentNote) XXX_Marshal Uses

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

func (*DeploymentNote) XXX_Merge Uses

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

func (*DeploymentNote) XXX_Size Uses

func (m *DeploymentNote) XXX_Size() int

func (*DeploymentNote) XXX_Unmarshal Uses

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

type DeploymentOccurrence Uses

type DeploymentOccurrence struct {
    // Identity of the user that triggered this deployment.
    UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
    // Required. Beginning of the lifetime of this deployment.
    DeployTime *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,4,opt,name=config,proto3" json:"config,omitempty"`
    // Address of the runtime element hosting this deployment.
    Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
    // Output only. Resource URI for the artifact being deployed taken from
    // the deployable field with the same name.
    ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
    // Platform hosting this deployment.
    Platform             DeploymentOccurrence_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1.DeploymentOccurrence_Platform" json:"platform,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
    XXX_unrecognized     []byte                        `json:"-"`
    XXX_sizecache        int32                         `json:"-"`
}

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

func (*DeploymentOccurrence) Descriptor Uses

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

func (*DeploymentOccurrence) GetAddress Uses

func (m *DeploymentOccurrence) GetAddress() string

func (*DeploymentOccurrence) GetConfig Uses

func (m *DeploymentOccurrence) GetConfig() string

func (*DeploymentOccurrence) GetDeployTime Uses

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

func (*DeploymentOccurrence) GetPlatform Uses

func (m *DeploymentOccurrence) GetPlatform() DeploymentOccurrence_Platform

func (*DeploymentOccurrence) GetResourceUri Uses

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

func (*DeploymentOccurrence) GetUndeployTime Uses

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

func (*DeploymentOccurrence) GetUserEmail Uses

func (m *DeploymentOccurrence) GetUserEmail() string

func (*DeploymentOccurrence) ProtoMessage Uses

func (*DeploymentOccurrence) ProtoMessage()

func (*DeploymentOccurrence) Reset Uses

func (m *DeploymentOccurrence) Reset()

func (*DeploymentOccurrence) String Uses

func (m *DeploymentOccurrence) String() string

func (*DeploymentOccurrence) XXX_DiscardUnknown Uses

func (m *DeploymentOccurrence) XXX_DiscardUnknown()

func (*DeploymentOccurrence) XXX_Marshal Uses

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

func (*DeploymentOccurrence) XXX_Merge Uses

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

func (*DeploymentOccurrence) XXX_Size Uses

func (m *DeploymentOccurrence) XXX_Size() int

func (*DeploymentOccurrence) XXX_Unmarshal Uses

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

type DeploymentOccurrence_Platform Uses

type DeploymentOccurrence_Platform int32

Types of platforms.

const (
    // Unknown.
    DeploymentOccurrence_PLATFORM_UNSPECIFIED DeploymentOccurrence_Platform = 0
    // Google Container Engine.
    DeploymentOccurrence_GKE DeploymentOccurrence_Platform = 1
    // Google App Engine: Flexible Environment.
    DeploymentOccurrence_FLEX DeploymentOccurrence_Platform = 2
    // Custom user-defined platform.
    DeploymentOccurrence_CUSTOM DeploymentOccurrence_Platform = 3
)

func (DeploymentOccurrence_Platform) EnumDescriptor Uses

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

func (DeploymentOccurrence_Platform) String Uses

func (x DeploymentOccurrence_Platform) String() string

type DiscoveryNote Uses

type DiscoveryNote struct {
    // Required. Immutable. The kind of analysis that is handled by this
    // discovery.
    AnalysisKind         NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1.NoteKind" json:"analysis_kind,omitempty"`
    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.

func (*DiscoveryNote) Descriptor Uses

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

func (*DiscoveryNote) GetAnalysisKind Uses

func (m *DiscoveryNote) GetAnalysisKind() NoteKind

func (*DiscoveryNote) ProtoMessage Uses

func (*DiscoveryNote) ProtoMessage()

func (*DiscoveryNote) Reset Uses

func (m *DiscoveryNote) Reset()

func (*DiscoveryNote) String Uses

func (m *DiscoveryNote) String() string

func (*DiscoveryNote) XXX_DiscardUnknown Uses

func (m *DiscoveryNote) XXX_DiscardUnknown()

func (*DiscoveryNote) XXX_Marshal Uses

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

func (*DiscoveryNote) XXX_Merge Uses

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

func (*DiscoveryNote) XXX_Size Uses

func (m *DiscoveryNote) XXX_Size() int

func (*DiscoveryNote) XXX_Unmarshal Uses

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

type DiscoveryOccurrence Uses

type DiscoveryOccurrence struct {
    // Whether the resource is continuously analyzed.
    ContinuousAnalysis DiscoveryOccurrence_ContinuousAnalysis `protobuf:"varint,1,opt,name=continuous_analysis,json=continuousAnalysis,proto3,enum=grafeas.v1.DiscoveryOccurrence_ContinuousAnalysis" json:"continuous_analysis,omitempty"`
    // The status of discovery for the resource.
    AnalysisStatus DiscoveryOccurrence_AnalysisStatus `protobuf:"varint,2,opt,name=analysis_status,json=analysisStatus,proto3,enum=grafeas.v1.DiscoveryOccurrence_AnalysisStatus" json:"analysis_status,omitempty"`
    // When an error is encountered this will contain a LocalizedMessage under
    // details to show to the user. The LocalizedMessage is output only and
    // populated by the API.
    AnalysisStatusError  *status.Status `protobuf:"bytes,3,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

Provides information about the analysis status of a discovered resource.

func (*DiscoveryOccurrence) Descriptor Uses

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

func (*DiscoveryOccurrence) GetAnalysisStatus Uses

func (m *DiscoveryOccurrence) GetAnalysisStatus() DiscoveryOccurrence_AnalysisStatus

func (*DiscoveryOccurrence) GetAnalysisStatusError Uses

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

func (*DiscoveryOccurrence) GetContinuousAnalysis Uses

func (m *DiscoveryOccurrence) GetContinuousAnalysis() DiscoveryOccurrence_ContinuousAnalysis

func (*DiscoveryOccurrence) ProtoMessage Uses

func (*DiscoveryOccurrence) ProtoMessage()

func (*DiscoveryOccurrence) Reset Uses

func (m *DiscoveryOccurrence) Reset()

func (*DiscoveryOccurrence) String Uses

func (m *DiscoveryOccurrence) String() string

func (*DiscoveryOccurrence) XXX_DiscardUnknown Uses

func (m *DiscoveryOccurrence) XXX_DiscardUnknown()

func (*DiscoveryOccurrence) XXX_Marshal Uses

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

func (*DiscoveryOccurrence) XXX_Merge Uses

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

func (*DiscoveryOccurrence) XXX_Size Uses

func (m *DiscoveryOccurrence) XXX_Size() int

func (*DiscoveryOccurrence) XXX_Unmarshal Uses

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

type DiscoveryOccurrence_AnalysisStatus Uses

type DiscoveryOccurrence_AnalysisStatus int32

Analysis status for a resource. Currently for initial analysis only (not updated in continuous analysis).

const (
    // Unknown.
    DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED DiscoveryOccurrence_AnalysisStatus = 0
    // Resource is known but no action has been taken yet.
    DiscoveryOccurrence_PENDING DiscoveryOccurrence_AnalysisStatus = 1
    // Resource is being analyzed.
    DiscoveryOccurrence_SCANNING DiscoveryOccurrence_AnalysisStatus = 2
    // Analysis has finished successfully.
    DiscoveryOccurrence_FINISHED_SUCCESS DiscoveryOccurrence_AnalysisStatus = 3
    // Analysis has finished unsuccessfully, the analysis itself is in a bad
    // state.
    DiscoveryOccurrence_FINISHED_FAILED DiscoveryOccurrence_AnalysisStatus = 4
    // The resource is known not to be supported
    DiscoveryOccurrence_FINISHED_UNSUPPORTED DiscoveryOccurrence_AnalysisStatus = 5
)

func (DiscoveryOccurrence_AnalysisStatus) EnumDescriptor Uses

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

func (DiscoveryOccurrence_AnalysisStatus) String Uses

func (x DiscoveryOccurrence_AnalysisStatus) String() string

type DiscoveryOccurrence_ContinuousAnalysis Uses

type DiscoveryOccurrence_ContinuousAnalysis int32

Whether the resource is continuously analyzed.

const (
    // Unknown.
    DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED DiscoveryOccurrence_ContinuousAnalysis = 0
    // The resource is continuously analyzed.
    DiscoveryOccurrence_ACTIVE DiscoveryOccurrence_ContinuousAnalysis = 1
    // The resource is ignored for continuous analysis.
    DiscoveryOccurrence_INACTIVE DiscoveryOccurrence_ContinuousAnalysis = 2
)

func (DiscoveryOccurrence_ContinuousAnalysis) EnumDescriptor Uses

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

func (DiscoveryOccurrence_ContinuousAnalysis) String Uses

func (x DiscoveryOccurrence_ContinuousAnalysis) String() string

type Distribution Uses

type Distribution struct {
    // Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
    // denoting the package manager version distributing a package.
    CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
    // The CPU architecture for which packages in this distribution channel were
    // built.
    Architecture Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
    // The latest available version of this package in this distribution channel.
    LatestVersion *Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
    // A freeform string denoting the maintainer of this package.
    Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
    // The distribution channel-specific homepage for this package.
    Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
    // The distribution channel-specific description of this package.
    Description          string   `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    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 (*Distribution) Descriptor Uses

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

func (*Distribution) GetArchitecture Uses

func (m *Distribution) GetArchitecture() Architecture

func (*Distribution) GetCpeUri Uses

func (m *Distribution) GetCpeUri() string

func (*Distribution) GetDescription Uses

func (m *Distribution) GetDescription() string

func (*Distribution) GetLatestVersion Uses

func (m *Distribution) GetLatestVersion() *Version

func (*Distribution) GetMaintainer Uses

func (m *Distribution) GetMaintainer() string

func (*Distribution) GetUrl Uses

func (m *Distribution) GetUrl() string

func (*Distribution) ProtoMessage Uses

func (*Distribution) ProtoMessage()

func (*Distribution) Reset Uses

func (m *Distribution) Reset()

func (*Distribution) String Uses

func (m *Distribution) String() string

func (*Distribution) XXX_DiscardUnknown Uses

func (m *Distribution) XXX_DiscardUnknown()

func (*Distribution) XXX_Marshal Uses

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

func (*Distribution) XXX_Merge Uses

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

func (*Distribution) XXX_Size Uses

func (m *Distribution) XXX_Size() int

func (*Distribution) XXX_Unmarshal Uses

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

type FileHashes Uses

type FileHashes struct {
    // Required. 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 Fingerprint Uses

type Fingerprint struct {
    // Required. The layer ID of the final layer in the Docker image's v1
    // representation.
    V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"`
    // Required. The ordered list of v2 blobs that represent a given image.
    V2Blob []string `protobuf:"bytes,2,rep,name=v2_blob,json=v2Blob,proto3" json:"v2_blob,omitempty"`
    // Output only. The name of the image's v2 blobs computed via:
    //   [bottom] := v2_blob[bottom]
    //   [N] := sha256(v2_blob[N] + " " + v2_name[N+1])
    // Only the name of the final blob is kept.
    V2Name               string   `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*Fingerprint) Descriptor Uses

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

func (*Fingerprint) GetV1Name Uses

func (m *Fingerprint) GetV1Name() string

func (*Fingerprint) GetV2Blob Uses

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

func (*Fingerprint) GetV2Name Uses

func (m *Fingerprint) GetV2Name() string

func (*Fingerprint) ProtoMessage Uses

func (*Fingerprint) ProtoMessage()

func (*Fingerprint) Reset Uses

func (m *Fingerprint) Reset()

func (*Fingerprint) String Uses

func (m *Fingerprint) String() string

func (*Fingerprint) XXX_DiscardUnknown Uses

func (m *Fingerprint) XXX_DiscardUnknown()

func (*Fingerprint) XXX_Marshal Uses

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

func (*Fingerprint) XXX_Merge Uses

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

func (*Fingerprint) XXX_Size Uses

func (m *Fingerprint) XXX_Size() int

func (*Fingerprint) XXX_Unmarshal Uses

func (m *Fingerprint) 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
    // `projects/[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 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 get the note to which the specified 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 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 get an 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 GitSourceContext Uses

type GitSourceContext struct {
    // Git repository URL.
    Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    // 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 GrafeasClient Uses

type GrafeasClient interface {
    // Gets the specified occurrence.
    GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
    // Lists occurrences for the specified project.
    ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
    // Deletes the specified occurrence. For example, use this method to delete an
    // occurrence when the 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.
    CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
    // Creates new occurrences in batch.
    BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error)
    // Updates the specified occurrence.
    UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
    // Gets the note attached to the specified occurrence. Consumer projects can
    // use this method to get a note that belongs to a provider project.
    GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
    // Gets the specified note.
    GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
    // Lists notes for the specified project.
    ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
    // Deletes the specified note.
    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)
    // Creates new notes in batch.
    BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error)
    // Updates the specified note.
    UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
    // Lists occurrences referencing the specified note. Provider projects can use
    // this method to get all occurrences across consumer projects referencing the
    // specified note.
    ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
}

GrafeasClient is the client API for Grafeas service.

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

func NewGrafeasClient Uses

func NewGrafeasClient(cc grpc.ClientConnInterface) GrafeasClient

type GrafeasServer Uses

type GrafeasServer interface {
    // Gets the specified occurrence.
    GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
    // Lists occurrences for the specified project.
    ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
    // Deletes the specified occurrence. For example, use this method to delete an
    // occurrence when the occurrence is no longer applicable for the given
    // resource.
    DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error)
    // Creates a new occurrence.
    CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
    // Creates new occurrences in batch.
    BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)
    // Updates the specified occurrence.
    UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
    // Gets the note attached to the specified occurrence. Consumer projects can
    // use this method to get a note that belongs to a provider project.
    GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
    // Gets the specified note.
    GetNote(context.Context, *GetNoteRequest) (*Note, error)
    // Lists notes for the specified project.
    ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
    // Deletes the specified note.
    DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error)
    // Creates a new note.
    CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
    // Creates new notes in batch.
    BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)
    // Updates the specified note.
    UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
    // Lists occurrences referencing the specified note. Provider projects can use
    // this method to get all occurrences across consumer projects referencing the
    // specified note.
    ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
}

GrafeasServer is the server API for Grafeas service.

type Hash Uses

type Hash struct {
    // Required. The type of hash that was performed, e.g. "SHA-256".
    Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    // Required. 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() string

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 ImageNote Uses

type ImageNote struct {
    // Required. Immutable. 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"`
    // Required. Immutable. The fingerprint of the base image.
    Fingerprint          *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 (*ImageNote) Descriptor Uses

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

func (*ImageNote) GetFingerprint Uses

func (m *ImageNote) GetFingerprint() *Fingerprint

func (*ImageNote) GetResourceUrl Uses

func (m *ImageNote) GetResourceUrl() string

func (*ImageNote) ProtoMessage Uses

func (*ImageNote) ProtoMessage()

func (*ImageNote) Reset Uses

func (m *ImageNote) Reset()

func (*ImageNote) String Uses

func (m *ImageNote) String() string

func (*ImageNote) XXX_DiscardUnknown Uses

func (m *ImageNote) XXX_DiscardUnknown()

func (*ImageNote) XXX_Marshal Uses

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

func (*ImageNote) XXX_Merge Uses

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

func (*ImageNote) XXX_Size Uses

func (m *ImageNote) XXX_Size() int

func (*ImageNote) XXX_Unmarshal Uses

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

type ImageOccurrence Uses

type ImageOccurrence struct {
    // Required. The fingerprint of the derived image.
    Fingerprint *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 int32 `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 []*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:"-"`
}

Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

func (*ImageOccurrence) Descriptor Uses

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

func (*ImageOccurrence) GetBaseResourceUrl Uses

func (m *ImageOccurrence) GetBaseResourceUrl() string

func (*ImageOccurrence) GetDistance Uses

func (m *ImageOccurrence) GetDistance() int32

func (*ImageOccurrence) GetFingerprint Uses

func (m *ImageOccurrence) GetFingerprint() *Fingerprint

func (*ImageOccurrence) GetLayerInfo Uses

func (m *ImageOccurrence) GetLayerInfo() []*Layer

func (*ImageOccurrence) ProtoMessage Uses

func (*ImageOccurrence) ProtoMessage()

func (*ImageOccurrence) Reset Uses

func (m *ImageOccurrence) Reset()

func (*ImageOccurrence) String Uses

func (m *ImageOccurrence) String() string

func (*ImageOccurrence) XXX_DiscardUnknown Uses

func (m *ImageOccurrence) XXX_DiscardUnknown()

func (*ImageOccurrence) XXX_Marshal Uses

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

func (*ImageOccurrence) XXX_Merge Uses

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

func (*ImageOccurrence) XXX_Size Uses

func (m *ImageOccurrence) XXX_Size() int

func (*ImageOccurrence) XXX_Unmarshal Uses

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

type Layer Uses

type Layer struct {
    // Required. The recovered Dockerfile directive used to construct this layer.
    // See https://docs.docker.com/engine/reference/builder/ for more information.
    Directive string `protobuf:"bytes,1,opt,name=directive,proto3" 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 (*Layer) Descriptor Uses

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

func (*Layer) GetArguments Uses

func (m *Layer) GetArguments() string

func (*Layer) GetDirective Uses

func (m *Layer) GetDirective() string

func (*Layer) ProtoMessage Uses

func (*Layer) ProtoMessage()

func (*Layer) Reset Uses

func (m *Layer) Reset()

func (*Layer) String Uses

func (m *Layer) String() string

func (*Layer) XXX_DiscardUnknown Uses

func (m *Layer) XXX_DiscardUnknown()

func (*Layer) XXX_Marshal Uses

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

func (*Layer) XXX_Merge Uses

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

func (*Layer) XXX_Size Uses

func (m *Layer) XXX_Size() int

func (*Layer) XXX_Unmarshal Uses

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

type ListNoteOccurrencesRequest Uses

type ListNoteOccurrencesRequest struct {
    // The name of the note to list occurrences for in the form of
    // `projects/[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 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request to list occurrences for a note.

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 provide to skip to a particular spot in the list.
    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 for listing 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 of the project to list notes for in the form of
    // `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"`
    // Number of notes to return in the list. Must be positive. Max allowed page
    // size is 1000. If not specified, page size defaults to 20.
    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) 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 notes 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
    // 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 for listing 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 of the project to list occurrences for in the form of
    // `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"`
    // Number of occurrences to return in the list. Must be positive. Max allowed
    // page size is 1000. If not specified, page size defaults to 20.
    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 (*ListOccurrencesRequest) Descriptor Uses

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

func (*ListOccurrencesRequest) GetFilter Uses

func (m *ListOccurrencesRequest) GetFilter() 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 for listing 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 Location Uses

type Location struct {
    // Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
    // denoting the package manager version distributing a package.
    CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
    // The version installed at this location.
    Version *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 (*Location) Descriptor Uses

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

func (*Location) GetCpeUri Uses

func (m *Location) GetCpeUri() string

func (*Location) GetPath Uses

func (m *Location) GetPath() string

func (*Location) GetVersion Uses

func (m *Location) GetVersion() *Version

func (*Location) ProtoMessage Uses

func (*Location) ProtoMessage()

func (*Location) Reset Uses

func (m *Location) Reset()

func (*Location) String Uses

func (m *Location) String() string

func (*Location) XXX_DiscardUnknown Uses

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal Uses

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

func (*Location) XXX_Merge Uses

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

func (*Location) XXX_Size Uses

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal Uses

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

type Note Uses

type Note struct {
    // Output only. The name of the note in the form of
    // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A one sentence description of this note.
    ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
    // A detailed description of this note.
    LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
    // Output only. The type of analysis. This field can be used as a filter in
    // list requests.
    Kind NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.NoteKind" json:"kind,omitempty"`
    // URLs associated with this note.
    RelatedUrl []*RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
    // Time of expiration for this note. Empty if note does not expire.
    ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,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,7,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,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Other notes related to this note.
    RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"`
    // Required. Immutable. The type of analysis this note represents.
    //
    // Types that are valid to be assigned to Type:
    //	*Note_Vulnerability
    //	*Note_Build
    //	*Note_Image
    //	*Note_Package
    //	*Note_Deployment
    //	*Note_Discovery
    //	*Note_Attestation
    Type                 isNote_Type `protobuf_oneof:"type"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

A type of analysis that can be done for a resource.

func (*Note) Descriptor Uses

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

func (*Note) GetAttestation Uses

func (m *Note) GetAttestation() *AttestationNote

func (*Note) GetBuild Uses

func (m *Note) GetBuild() *BuildNote

func (*Note) GetCreateTime Uses

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

func (*Note) GetDeployment Uses

func (m *Note) GetDeployment() *DeploymentNote

func (*Note) GetDiscovery Uses

func (m *Note) GetDiscovery() *DiscoveryNote

func (*Note) GetExpirationTime Uses

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

func (*Note) GetImage Uses

func (m *Note) GetImage() *ImageNote

func (*Note) GetKind Uses

func (m *Note) GetKind() NoteKind

func (*Note) GetLongDescription Uses

func (m *Note) GetLongDescription() string

func (*Note) GetName Uses

func (m *Note) GetName() string

func (*Note) GetPackage Uses

func (m *Note) GetPackage() *PackageNote

func (*Note) GetRelatedNoteNames Uses

func (m *Note) GetRelatedNoteNames() []string

func (*Note) GetRelatedUrl Uses

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

func (*Note) GetShortDescription Uses

func (m *Note) GetShortDescription() string

func (*Note) GetType Uses

func (m *Note) GetType() isNote_Type

func (*Note) GetUpdateTime Uses

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

func (*Note) GetVulnerability Uses

func (m *Note) GetVulnerability() *VulnerabilityNote

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 NoteKind Uses

type NoteKind int32

Kind represents the kinds of notes supported.

const (
    // Unknown.
    NoteKind_NOTE_KIND_UNSPECIFIED NoteKind = 0
    // The note and occurrence represent a package vulnerability.
    NoteKind_VULNERABILITY NoteKind = 1
    // The note and occurrence assert build provenance.
    NoteKind_BUILD NoteKind = 2
    // This represents an image basis relationship.
    NoteKind_IMAGE NoteKind = 3
    // This represents a package installed via a package manager.
    NoteKind_PACKAGE NoteKind = 4
    // The note and occurrence track deployment events.
    NoteKind_DEPLOYMENT NoteKind = 5
    // The note and occurrence track the initial discovery status of a resource.
    NoteKind_DISCOVERY NoteKind = 6
    // This represents a logical "role" that can attest to artifacts.
    NoteKind_ATTESTATION NoteKind = 7
)

func (NoteKind) EnumDescriptor Uses

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

func (NoteKind) String Uses

func (x NoteKind) String() string

type Note_Attestation Uses

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

type Note_Build Uses

type Note_Build struct {
    Build *BuildNote `protobuf:"bytes,11,opt,name=build,proto3,oneof"`
}

type Note_Deployment Uses

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

type Note_Discovery Uses

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

type Note_Image Uses

type Note_Image struct {
    Image *ImageNote `protobuf:"bytes,12,opt,name=image,proto3,oneof"`
}

type Note_Package Uses

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

type Note_Vulnerability Uses

type Note_Vulnerability struct {
    Vulnerability *VulnerabilityNote `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"`
}

type Occurrence Uses

type Occurrence struct {
    // Output only. 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"`
    // Required. Immutable. A URI that represents the resource for which the
    // occurrence applies. For example,
    // `https://gcr.io/project/image@sha256:123abc` for a Docker image.
    ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
    // Required. Immutable. The analysis note associated with this occurrence, in
    // the form of `projects/[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 NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.NoteKind" json:"kind,omitempty"`
    // 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,6,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,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Required. Immutable. Describes the details of the note kind found on this
    // resource.
    //
    // Types that are valid to be assigned to Details:
    //	*Occurrence_Vulnerability
    //	*Occurrence_Build
    //	*Occurrence_Image
    //	*Occurrence_Package
    //	*Occurrence_Deployment
    //	*Occurrence_Discovery
    //	*Occurrence_Attestation
    Details              isOccurrence_Details `protobuf_oneof:"details"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

An instance of an analysis type that has been found on a resource.

func (*Occurrence) Descriptor Uses

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

func (*Occurrence) GetAttestation Uses

func (m *Occurrence) GetAttestation() *AttestationOccurrence

func (*Occurrence) GetBuild Uses

func (m *Occurrence) GetBuild() *BuildOccurrence

func (*Occurrence) GetCreateTime Uses

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

func (*Occurrence) GetDeployment Uses

func (m *Occurrence) GetDeployment() *DeploymentOccurrence

func (*Occurrence) GetDetails Uses

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovery Uses

func (m *Occurrence) GetDiscovery() *DiscoveryOccurrence

func (*Occurrence) GetImage Uses

func (m *Occurrence) GetImage() *ImageOccurrence

func (*Occurrence) GetKind Uses

func (m *Occurrence) GetKind() NoteKind

func (*Occurrence) GetName Uses

func (m *Occurrence) GetName() string

func (*Occurrence) GetNoteName Uses

func (m *Occurrence) GetNoteName() string

func (*Occurrence) GetPackage Uses

func (m *Occurrence) GetPackage() *PackageOccurrence

func (*Occurrence) GetRemediation Uses

func (m *Occurrence) GetRemediation() string

func (*Occurrence) GetResourceUri Uses

func (m *Occurrence) GetResourceUri() string

func (*Occurrence) GetUpdateTime Uses

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

func (*Occurrence) GetVulnerability Uses

func (m *Occurrence) GetVulnerability() *VulnerabilityOccurrence

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 *AttestationOccurrence `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"`
}

type Occurrence_Build Uses

type Occurrence_Build struct {
    Build *BuildOccurrence `protobuf:"bytes,9,opt,name=build,proto3,oneof"`
}

type Occurrence_Deployment Uses

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

type Occurrence_Discovery Uses

type Occurrence_Discovery struct {
    Discovery *DiscoveryOccurrence `protobuf:"bytes,13,opt,name=discovery,proto3,oneof"`
}

type Occurrence_Image Uses

type Occurrence_Image struct {
    Image *ImageOccurrence `protobuf:"bytes,10,opt,name=image,proto3,oneof"`
}

type Occurrence_Package Uses

type Occurrence_Package struct {
    Package *PackageOccurrence `protobuf:"bytes,11,opt,name=package,proto3,oneof"`
}

type Occurrence_Vulnerability Uses

type Occurrence_Vulnerability struct {
    Vulnerability *VulnerabilityOccurrence `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"`
}

type PackageNote Uses

type PackageNote struct {
    // Required. Immutable. 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         []*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 (*PackageNote) Descriptor Uses

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

func (*PackageNote) GetDistribution Uses

func (m *PackageNote) GetDistribution() []*Distribution

func (*PackageNote) GetName Uses

func (m *PackageNote) GetName() string

func (*PackageNote) ProtoMessage Uses

func (*PackageNote) ProtoMessage()

func (*PackageNote) Reset Uses

func (m *PackageNote) Reset()

func (*PackageNote) String Uses

func (m *PackageNote) String() string

func (*PackageNote) XXX_DiscardUnknown Uses

func (m *PackageNote) XXX_DiscardUnknown()

func (*PackageNote) XXX_Marshal Uses

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

func (*PackageNote) XXX_Merge Uses

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

func (*PackageNote) XXX_Size Uses

func (m *PackageNote) XXX_Size() int

func (*PackageNote) XXX_Unmarshal Uses

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

type PackageOccurrence Uses

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

Details on how a particular software package was installed on a system.

func (*PackageOccurrence) Descriptor Uses

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

func (*PackageOccurrence) GetLocation Uses

func (m *PackageOccurrence) GetLocation() []*Location

func (*PackageOccurrence) GetName Uses

func (m *PackageOccurrence) GetName() string

func (*PackageOccurrence) ProtoMessage Uses

func (*PackageOccurrence) ProtoMessage()

func (*PackageOccurrence) Reset Uses

func (m *PackageOccurrence) Reset()

func (*PackageOccurrence) String Uses

func (m *PackageOccurrence) String() string

func (*PackageOccurrence) XXX_DiscardUnknown Uses

func (m *PackageOccurrence) XXX_DiscardUnknown()

func (*PackageOccurrence) XXX_Marshal Uses

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

func (*PackageOccurrence) XXX_Merge Uses

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

func (*PackageOccurrence) XXX_Size Uses

func (m *PackageOccurrence) XXX_Size() int

func (*PackageOccurrence) XXX_Unmarshal Uses

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

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 RelatedUrl Uses

type RelatedUrl struct {
    // Specific URL associated with the resource.
    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 (*RelatedUrl) Descriptor Uses

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

func (*RelatedUrl) GetLabel Uses

func (m *RelatedUrl) GetLabel() string

func (*RelatedUrl) GetUrl Uses

func (m *RelatedUrl) GetUrl() string

func (*RelatedUrl) ProtoMessage Uses

func (*RelatedUrl) ProtoMessage()

func (*RelatedUrl) Reset Uses

func (m *RelatedUrl) Reset()

func (*RelatedUrl) String Uses

func (m *RelatedUrl) String() string

func (*RelatedUrl) XXX_DiscardUnknown Uses

func (m *RelatedUrl) XXX_DiscardUnknown()

func (*RelatedUrl) XXX_Marshal Uses

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

func (*RelatedUrl) XXX_Merge Uses

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

func (*RelatedUrl) XXX_Size Uses

func (m *RelatedUrl) XXX_Size() int

func (*RelatedUrl) XXX_Unmarshal Uses

func (m *RelatedUrl) 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 Severity Uses

type Severity int32

Note provider assigned severity/impact ranking.

const (
    // Unknown.
    Severity_SEVERITY_UNSPECIFIED Severity = 0
    // Minimal severity.
    Severity_MINIMAL Severity = 1
    // Low severity.
    Severity_LOW Severity = 2
    // Medium severity.
    Severity_MEDIUM Severity = 3
    // High severity.
    Severity_HIGH Severity = 4
    // Critical severity.
    Severity_CRITICAL Severity = 5
)

func (Severity) EnumDescriptor Uses

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

func (Severity) String Uses

func (x Severity) String() string

type Signature Uses

type Signature struct {
    // The content of the signature, an opaque bytestring.
    // The payload that this signature verifies MUST be unambiguously provided
    // with the Signature during verification. A wrapper message might provide
    // the payload explicitly. Alternatively, a message might have a canonical
    // serialization that can always be unambiguously computed to derive the
    // payload.
    Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
    // The identifier for the public key that verifies this signature.
    //   * The `public_key_id` is required.
    //   * The `public_key_id` MUST be an RFC3986 conformant URI.
    //   * When possible, the `public_key_id` SHOULD be an immutable reference,
    //     such as a cryptographic digest.
    //
    // Examples of valid `public_key_id`s:
    //
    // OpenPGP V4 public key fingerprint:
    //   * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA"
    // See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more
    // details on this scheme.
    //
    // RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER
    // serialization):
    //   * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
    //   * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
    PublicKeyId          string   `protobuf:"bytes,2,opt,name=public_key_id,json=publicKeyId,proto3" json:"public_key_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm).

In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances:

* The `public_key_id` is not recognized by the verifier.
* The public key that `public_key_id` refers to does not verify the
  signature with respect to the payload.

The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).

func (*Signature) Descriptor Uses

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

func (*Signature) GetPublicKeyId Uses

func (m *Signature) GetPublicKeyId() string

func (*Signature) GetSignature Uses

func (m *Signature) GetSignature() []byte

func (*Signature) ProtoMessage Uses

func (*Signature) ProtoMessage()

func (*Signature) Reset Uses

func (m *Signature) Reset()

func (*Signature) String Uses

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown Uses

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal Uses

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

func (*Signature) XXX_Merge Uses

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

func (*Signature) XXX_Size Uses

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal Uses

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

type Source Uses

type Source struct {
    // If provided, the input binary artifacts for the build came from this
    // location.
    ArtifactStorageSourceUri string `protobuf:"bytes,1,opt,name=artifact_storage_source_uri,json=artifactStorageSourceUri,proto3" json:"artifact_storage_source_uri,omitempty"`
    // Hash(es) of the build source, which can be used to verify that the original
    // source integrity was maintained in the build.
    //
    // The keys to this map are file paths used as build source and the values
    // contain the hash values for those files.
    //
    // If the build source came in a single package such as a gzipped tarfile
    // (.tar.gz), the FileHash will be for the single path to that file.
    FileHashes map[string]*FileHashes `protobuf:"bytes,2,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // If provided, the source code used for the build came from this location.
    Context *SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
    // If provided, some of the source code used for the build may be found in
    // these locations, in the case where the source repository had multiple
    // remotes or submodules. This list will not include the context specified in
    // the context field.
    AdditionalContexts   []*SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

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

func (*Source) Descriptor Uses

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

func (*Source) GetAdditionalContexts Uses

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

func (*Source) GetArtifactStorageSourceUri Uses

func (m *Source) GetArtifactStorageSourceUri() string

func (*Source) GetContext Uses

func (m *Source) GetContext() *SourceContext

func (*Source) GetFileHashes Uses

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

func (*Source) ProtoMessage Uses

func (*Source) ProtoMessage()

func (*Source) Reset Uses

func (m *Source) Reset()

func (*Source) String Uses

func (m *Source) String() string

func (*Source) XXX_DiscardUnknown Uses

func (m *Source) XXX_DiscardUnknown()

func (*Source) XXX_Marshal Uses

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

func (*Source) XXX_Merge Uses

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

func (*Source) XXX_Size Uses

func (m *Source) XXX_Size() int

func (*Source) XXX_Unmarshal Uses

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

type SourceContext Uses

type SourceContext struct {
    // A SourceContext can refer any one of the following types of repositories.
    //
    // Types that are valid to be assigned to Context:
    //	*SourceContext_CloudRepo
    //	*SourceContext_Gerrit
    //	*SourceContext_Git
    Context isSourceContext_Context `protobuf_oneof:"context"`
    // Labels with user defined metadata.
    Labels               map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

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

func (*SourceContext) Descriptor Uses

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

func (*SourceContext) GetCloudRepo Uses

func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext

func (*SourceContext) GetContext Uses

func (m *SourceContext) GetContext() isSourceContext_Context

func (*SourceContext) GetGerrit Uses

func (m *SourceContext) GetGerrit() *GerritSourceContext

func (*SourceContext) GetGit Uses

func (m *SourceContext) GetGit() *GitSourceContext

func (*SourceContext) GetLabels Uses

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

func (*SourceContext) ProtoMessage Uses

func (*SourceContext) ProtoMessage()

func (*SourceContext) Reset Uses

func (m *SourceContext) Reset()

func (*SourceContext) String Uses

func (m *SourceContext) String() string

func (*SourceContext) XXX_DiscardUnknown Uses

func (m *SourceContext) XXX_DiscardUnknown()

func (*SourceContext) XXX_Marshal Uses

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

func (*SourceContext) XXX_Merge Uses

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

func (*SourceContext) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SourceContext) XXX_Size Uses

func (m *SourceContext) XXX_Size() int

func (*SourceContext) XXX_Unmarshal Uses

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

type SourceContext_CloudRepo Uses

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

type SourceContext_Gerrit Uses

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

type SourceContext_Git Uses

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

type UnimplementedGrafeasServer Uses

type UnimplementedGrafeasServer struct {
}

UnimplementedGrafeasServer can be embedded to have forward compatible implementations.

func (*UnimplementedGrafeasServer) BatchCreateNotes Uses

func (*UnimplementedGrafeasServer) BatchCreateNotes(ctx context.Context, req *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)

func (*UnimplementedGrafeasServer) BatchCreateOccurrences Uses

func (*UnimplementedGrafeasServer) BatchCreateOccurrences(ctx context.Context, req *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)

func (*UnimplementedGrafeasServer) CreateNote Uses

func (*UnimplementedGrafeasServer) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error)

func (*UnimplementedGrafeasServer) CreateOccurrence Uses

func (*UnimplementedGrafeasServer) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error)

func (*UnimplementedGrafeasServer) DeleteNote Uses

func (*UnimplementedGrafeasServer) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error)

func (*UnimplementedGrafeasServer) DeleteOccurrence Uses

func (*UnimplementedGrafeasServer) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error)

func (*UnimplementedGrafeasServer) GetNote Uses

func (*UnimplementedGrafeasServer) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error)

func (*UnimplementedGrafeasServer) GetOccurrence Uses

func (*UnimplementedGrafeasServer) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error)

func (*UnimplementedGrafeasServer) GetOccurrenceNote Uses

func (*UnimplementedGrafeasServer) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error)

func (*UnimplementedGrafeasServer) ListNoteOccurrences Uses

func (*UnimplementedGrafeasServer) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)

func (*UnimplementedGrafeasServer) ListNotes Uses

func (*UnimplementedGrafeasServer) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error)

func (*UnimplementedGrafeasServer) ListOccurrences Uses

func (*UnimplementedGrafeasServer) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error)

func (*UnimplementedGrafeasServer) UpdateNote Uses

func (*UnimplementedGrafeasServer) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error)

func (*UnimplementedGrafeasServer) UpdateOccurrence Uses

func (*UnimplementedGrafeasServer) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error)

type UpdateNoteRequest Uses

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

Request to update a note.

func (*UpdateNoteRequest) Descriptor Uses

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

func (*UpdateNoteRequest) GetName Uses

func (m *UpdateNoteRequest) GetName() string

func (*UpdateNoteRequest) GetNote Uses

func (m *UpdateNoteRequest) GetNote() *Note

func (*UpdateNoteRequest) GetUpdateMask Uses

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

func (*UpdateNoteRequest) ProtoMessage Uses

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) Reset Uses

func (m *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String Uses

func (m *UpdateNoteRequest) String() string

func (*UpdateNoteRequest) XXX_DiscardUnknown Uses

func (m *UpdateNoteRequest) XXX_DiscardUnknown()

func (*UpdateNoteRequest) XXX_Marshal Uses

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

func (*UpdateNoteRequest) XXX_Merge Uses

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

func (*UpdateNoteRequest) XXX_Size Uses

func (m *UpdateNoteRequest) XXX_Size() int

func (*UpdateNoteRequest) XXX_Unmarshal Uses

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

type UpdateOccurrenceRequest Uses

type UpdateOccurrenceRequest 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"`
    // The updated occurrence.
    Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
    // The fields to update.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Request to update an occurrence.

func (*UpdateOccurrenceRequest) Descriptor Uses

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

func (*UpdateOccurrenceRequest) GetName Uses

func (m *UpdateOccurrenceRequest) GetName() string

func (*UpdateOccurrenceRequest) GetOccurrence Uses

func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence

func (*UpdateOccurrenceRequest) GetUpdateMask Uses

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

func (*UpdateOccurrenceRequest) ProtoMessage Uses

func (*UpdateOccurrenceRequest) ProtoMessage()

func (*UpdateOccurrenceRequest) Reset Uses

func (m *UpdateOccurrenceRequest) Reset()

func (*UpdateOccurrenceRequest) String Uses

func (m *UpdateOccurrenceRequest) String() string

func (*UpdateOccurrenceRequest) XXX_DiscardUnknown Uses

func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown()

func (*UpdateOccurrenceRequest) XXX_Marshal Uses

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

func (*UpdateOccurrenceRequest) XXX_Merge Uses

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

func (*UpdateOccurrenceRequest) XXX_Size Uses

func (m *UpdateOccurrenceRequest) XXX_Size() int

func (*UpdateOccurrenceRequest) XXX_Unmarshal Uses

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

type Version Uses

type Version struct {
    // Used to correct mistakes in the version numbering scheme.
    Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
    // Required only when version kind is NORMAL. The main part of the version
    // name.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // The iteration of the package build from the above version.
    Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
    // Required. Distinguishes between sentinel MIN/MAX versions and normal
    // versions.
    Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.Version_VersionKind" json:"kind,omitempty"`
    // Human readable version string. This string is of the form
    // <epoch>:<name>-<revision> and is only set when kind is NORMAL.
    FullName             string   `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Version contains structured information about the version of a package.

func (*Version) Descriptor Uses

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

func (*Version) GetEpoch Uses

func (m *Version) GetEpoch() int32

func (*Version) GetFullName Uses

func (m *Version) GetFullName() string

func (*Version) GetKind Uses

func (m *Version) GetKind() Version_VersionKind

func (*Version) GetName Uses

func (m *Version) GetName() string

func (*Version) GetRevision Uses

func (m *Version) GetRevision() string

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) String Uses

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

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

func (*Version) XXX_Merge Uses

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

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

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

type Version_VersionKind Uses

type Version_VersionKind int32

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

const (
    // Unknown.
    Version_VERSION_KIND_UNSPECIFIED Version_VersionKind = 0
    // A standard package version.
    Version_NORMAL Version_VersionKind = 1
    // A special version representing negative infinity.
    Version_MINIMUM Version_VersionKind = 2
    // A special version representing positive infinity.
    Version_MAXIMUM Version_VersionKind = 3
)

func (Version_VersionKind) EnumDescriptor Uses

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

func (Version_VersionKind) String Uses

func (x Version_VersionKind) String() string

type VulnerabilityNote Uses

type VulnerabilityNote struct {
    // The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
    // where 0 indicates low severity and 10 indicates high severity.
    CvssScore float32 `protobuf:"fixed32,1,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
    // The note provider assigned severity of this vulnerability.
    Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"`
    // Details of all known distros and packages affected by this vulnerability.
    Details []*VulnerabilityNote_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
    // The full description of the CVSSv3 for this vulnerability.
    CvssV3 *CVSSv3 `protobuf:"bytes,4,opt,name=cvss_v3,json=cvssV3,proto3" json:"cvss_v3,omitempty"`
    // Windows details get their own format because the information format and
    // model don't match a normal detail. Specifically Windows updates are done as
    // patches, thus Windows vulnerabilities really are a missing package, rather
    // than a package being at an incorrect version.
    WindowsDetails       []*VulnerabilityNote_WindowsDetail `protobuf:"bytes,5,rep,name=windows_details,json=windowsDetails,proto3" json:"windows_details,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

A security vulnerability that can be found in resources.

func (*VulnerabilityNote) Descriptor Uses

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

func (*VulnerabilityNote) GetCvssScore Uses

func (m *VulnerabilityNote) GetCvssScore() float32

func (*VulnerabilityNote) GetCvssV3 Uses

func (m *VulnerabilityNote) GetCvssV3() *CVSSv3

func (*VulnerabilityNote) GetDetails Uses

func (m *VulnerabilityNote) GetDetails() []*VulnerabilityNote_Detail

func (*VulnerabilityNote) GetSeverity Uses

func (m *VulnerabilityNote) GetSeverity() Severity

func (*VulnerabilityNote) GetWindowsDetails Uses

func (m *VulnerabilityNote) GetWindowsDetails() []*VulnerabilityNote_WindowsDetail

func (*VulnerabilityNote) ProtoMessage Uses

func (*VulnerabilityNote) ProtoMessage()

func (*VulnerabilityNote) Reset Uses

func (m *VulnerabilityNote) Reset()

func (*VulnerabilityNote) String Uses

func (m *VulnerabilityNote) String() string

func (*VulnerabilityNote) XXX_DiscardUnknown Uses

func (m *VulnerabilityNote) XXX_DiscardUnknown()

func (*VulnerabilityNote) XXX_Marshal Uses

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

func (*VulnerabilityNote) XXX_Merge Uses

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

func (*VulnerabilityNote) XXX_Size Uses

func (m *VulnerabilityNote) XXX_Size() int

func (*VulnerabilityNote) XXX_Unmarshal Uses

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

type VulnerabilityNote_Detail Uses

type VulnerabilityNote_Detail struct {
    // The distro assigned severity of this vulnerability.
    SeverityName string `protobuf:"bytes,1,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"`
    // A vendor-specific description of this vulnerability.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The type of package; whether native or non native (e.g., ruby gems,
    // node.js packages, etc.).
    PackageType string `protobuf:"bytes,3,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
    // Required. The [CPE URI](https://cpe.mitre.org/specification/) this
    // vulnerability affects.
    AffectedCpeUri string `protobuf:"bytes,4,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"`
    // Required. The package this vulnerability affects.
    AffectedPackage string `protobuf:"bytes,5,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"`
    // The version number at the start of an interval in which this
    // vulnerability exists. A vulnerability can affect a package between
    // version numbers that are disjoint sets of intervals (example:
    // [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be
    // represented in its own Detail. If a specific affected version is provided
    // by a vulnerability database, affected_version_start and
    // affected_version_end will be the same in that Detail.
    AffectedVersionStart *Version `protobuf:"bytes,6,opt,name=affected_version_start,json=affectedVersionStart,proto3" json:"affected_version_start,omitempty"`
    // The version number at the end of an interval in which this vulnerability
    // exists. A vulnerability can affect a package between version numbers
    // that are disjoint sets of intervals (example: [1.0.0-1.1.0],
    // [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its
    // own Detail. If a specific affected version is provided by a vulnerability
    // database, affected_version_start and affected_version_end will be the
    // same in that Detail.
    AffectedVersionEnd *Version `protobuf:"bytes,7,opt,name=affected_version_end,json=affectedVersionEnd,proto3" json:"affected_version_end,omitempty"`
    // The distro recommended [CPE URI](https://cpe.mitre.org/specification/)
    // to update to that contains a fix for this vulnerability. It is possible
    // for this to be different from the affected_cpe_uri.
    FixedCpeUri string `protobuf:"bytes,8,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`
    // The distro recommended package to update to that contains a fix for this
    // vulnerability. It is possible for this to be different from the
    // affected_package.
    FixedPackage string `protobuf:"bytes,9,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"`
    // The distro recommended version to update to that contains a
    // fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no
    // such version is yet available.
    FixedVersion *Version `protobuf:"bytes,10,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"`
    // Whether this detail is obsolete. Occurrences are expected not to point to
    // obsolete details.
    IsObsolete           bool     `protobuf:"varint,11,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).

func (*VulnerabilityNote_Detail) Descriptor Uses

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

func (*VulnerabilityNote_Detail) GetAffectedCpeUri Uses

func (m *VulnerabilityNote_Detail) GetAffectedCpeUri() string

func (*VulnerabilityNote_Detail) GetAffectedPackage Uses

func (m *VulnerabilityNote_Detail) GetAffectedPackage() string

func (*VulnerabilityNote_Detail) GetAffectedVersionEnd Uses

func (m *VulnerabilityNote_Detail) GetAffectedVersionEnd() *Version

func (*VulnerabilityNote_Detail) GetAffectedVersionStart Uses

func (m *VulnerabilityNote_Detail) GetAffectedVersionStart() *Version

func (*VulnerabilityNote_Detail) GetDescription Uses

func (m *VulnerabilityNote_Detail) GetDescription() string

func (*VulnerabilityNote_Detail) GetFixedCpeUri Uses

func (m *VulnerabilityNote_Detail) GetFixedCpeUri() string

func (*VulnerabilityNote_Detail) GetFixedPackage Uses

func (m *VulnerabilityNote_Detail) GetFixedPackage() string

func (*VulnerabilityNote_Detail) GetFixedVersion Uses

func (m *VulnerabilityNote_Detail) GetFixedVersion() *Version

func (*VulnerabilityNote_Detail) GetIsObsolete Uses

func (m *VulnerabilityNote_Detail) GetIsObsolete() bool

func (*VulnerabilityNote_Detail) GetPackageType Uses

func (m *VulnerabilityNote_Detail) GetPackageType() string

func (*VulnerabilityNote_Detail) GetSeverityName Uses

func (m *VulnerabilityNote_Detail) GetSeverityName() string

func (*VulnerabilityNote_Detail) ProtoMessage Uses

func (*VulnerabilityNote_Detail) ProtoMessage()

func (*VulnerabilityNote_Detail) Reset Uses

func (m *VulnerabilityNote_Detail) Reset()

func (*VulnerabilityNote_Detail) String Uses

func (m *VulnerabilityNote_Detail) String() string

func (*VulnerabilityNote_Detail) XXX_DiscardUnknown Uses

func (m *VulnerabilityNote_Detail) XXX_DiscardUnknown()

func (*VulnerabilityNote_Detail) XXX_Marshal Uses

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

func (*VulnerabilityNote_Detail) XXX_Merge Uses

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

func (*VulnerabilityNote_Detail) XXX_Size Uses

func (m *VulnerabilityNote_Detail) XXX_Size() int

func (*VulnerabilityNote_Detail) XXX_Unmarshal Uses

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

type VulnerabilityNote_WindowsDetail Uses

type VulnerabilityNote_WindowsDetail struct {
    // Required. The [CPE URI](https://cpe.mitre.org/specification/) this
    // vulnerability affects.
    CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
    // Required. The name of this vulnerability.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // The description of this vulnerability.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // Required. The names of the KBs which have hotfixes to mitigate this
    // vulnerability. Note that there may be multiple hotfixes (and thus
    // multiple KBs) that mitigate a given vulnerability. Currently any listed
    // KBs presence is considered a fix.
    FixingKbs            []*VulnerabilityNote_WindowsDetail_KnowledgeBase `protobuf:"bytes,4,rep,name=fixing_kbs,json=fixingKbs,proto3" json:"fixing_kbs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                         `json:"-"`
    XXX_unrecognized     []byte                                           `json:"-"`
    XXX_sizecache        int32                                            `json:"-"`
}

func (*VulnerabilityNote_WindowsDetail) Descriptor Uses

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

func (*VulnerabilityNote_WindowsDetail) GetCpeUri Uses

func (m *VulnerabilityNote_WindowsDetail) GetCpeUri() string

func (*VulnerabilityNote_WindowsDetail) GetDescription Uses

func (m *VulnerabilityNote_WindowsDetail) GetDescription() string

func (*VulnerabilityNote_WindowsDetail) GetFixingKbs Uses

func (m *VulnerabilityNote_WindowsDetail) GetFixingKbs() []*VulnerabilityNote_WindowsDetail_KnowledgeBase

func (*VulnerabilityNote_WindowsDetail) GetName Uses

func (m *VulnerabilityNote_WindowsDetail) GetName() string

func (*VulnerabilityNote_WindowsDetail) ProtoMessage Uses

func (*VulnerabilityNote_WindowsDetail) ProtoMessage()

func (*VulnerabilityNote_WindowsDetail) Reset Uses

func (m *VulnerabilityNote_WindowsDetail) Reset()

func (*VulnerabilityNote_WindowsDetail) String Uses

func (m *VulnerabilityNote_WindowsDetail) String() string

func (*VulnerabilityNote_WindowsDetail) XXX_DiscardUnknown Uses

func (m *VulnerabilityNote_WindowsDetail) XXX_DiscardUnknown()

func (*VulnerabilityNote_WindowsDetail) XXX_Marshal Uses

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

func (*VulnerabilityNote_WindowsDetail) XXX_Merge Uses

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

func (*VulnerabilityNote_WindowsDetail) XXX_Size Uses

func (m *VulnerabilityNote_WindowsDetail) XXX_Size() int

func (*VulnerabilityNote_WindowsDetail) XXX_Unmarshal Uses

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

type VulnerabilityNote_WindowsDetail_KnowledgeBase Uses

type VulnerabilityNote_WindowsDetail_KnowledgeBase struct {
    // The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A link to the KB in the [Windows update catalog]
    // (https://www.catalog.update.microsoft.com/).
    Url                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) Descriptor Uses

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

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) GetName Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) GetName() string

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) GetUrl Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) GetUrl() string

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) ProtoMessage Uses

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) ProtoMessage()

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) Reset Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) Reset()

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) String Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) String() string

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_DiscardUnknown Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_DiscardUnknown()

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Marshal Uses

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

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Merge Uses

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

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Size Uses

func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Size() int

func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Unmarshal Uses

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

type VulnerabilityOccurrence Uses

type VulnerabilityOccurrence struct {
    // The type of package; whether native or non native (e.g., ruby gems, node.js
    // packages, etc.).
    Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    // Output only. The note provider assigned severity of this vulnerability.
    Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"`
    // Output only. The CVSS score of this vulnerability. CVSS score is on a
    // scale of 0 - 10 where 0 indicates low severity and 10 indicates high
    // severity.
    CvssScore float32 `protobuf:"fixed32,3,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
    // Required. The set of affected locations and their fixes (if available)
    // within the associated resource.
    PackageIssue []*VulnerabilityOccurrence_PackageIssue `protobuf:"bytes,4,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"`
    // Output only. A one sentence description of this vulnerability.
    ShortDescription string `protobuf:"bytes,5,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
    // Output only. A detailed description of this vulnerability.
    LongDescription string `protobuf:"bytes,6,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
    // Output only. URLs related to this vulnerability.
    RelatedUrls []*RelatedUrl `protobuf:"bytes,7,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
    // The distro assigned severity for this vulnerability when it is available,
    // and note provider assigned severity when distro has not yet assigned a
    // severity for this vulnerability.
    EffectiveSeverity Severity `protobuf:"varint,8,opt,name=effective_severity,json=effectiveSeverity,proto3,enum=grafeas.v1.Severity" json:"effective_severity,omitempty"`
    // Output only. Whether at least one of the affected packages has a fix
    // available.
    FixAvailable         bool     `protobuf:"varint,9,opt,name=fix_available,json=fixAvailable,proto3" json:"fix_available,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An occurrence of a severity vulnerability on a resource.

func (*VulnerabilityOccurrence) Descriptor Uses

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

func (*VulnerabilityOccurrence) GetCvssScore Uses

func (m *VulnerabilityOccurrence) GetCvssScore() float32

func (*VulnerabilityOccurrence) GetEffectiveSeverity Uses

func (m *VulnerabilityOccurrence) GetEffectiveSeverity() Severity

func (*VulnerabilityOccurrence) GetFixAvailable Uses

func (m *VulnerabilityOccurrence) GetFixAvailable() bool

func (*VulnerabilityOccurrence) GetLongDescription Uses

func (m *VulnerabilityOccurrence) GetLongDescription() string

func (*VulnerabilityOccurrence) GetPackageIssue Uses

func (m *VulnerabilityOccurrence) GetPackageIssue() []*VulnerabilityOccurrence_PackageIssue

func (*VulnerabilityOccurrence) GetRelatedUrls Uses

func (m *VulnerabilityOccurrence) GetRelatedUrls() []*RelatedUrl

func (*VulnerabilityOccurrence) GetSeverity Uses

func (m *VulnerabilityOccurrence) GetSeverity() Severity

func (*VulnerabilityOccurrence) GetShortDescription Uses

func (m *VulnerabilityOccurrence) GetShortDescription() string

func (*VulnerabilityOccurrence) GetType Uses

func (m *VulnerabilityOccurrence) GetType() string

func (*VulnerabilityOccurrence) ProtoMessage Uses

func (*VulnerabilityOccurrence) ProtoMessage()

func (*VulnerabilityOccurrence) Reset Uses

func (m *VulnerabilityOccurrence) Reset()

func (*VulnerabilityOccurrence) String Uses

func (m *VulnerabilityOccurrence) String() string

func (*VulnerabilityOccurrence) XXX_DiscardUnknown Uses

func (m *VulnerabilityOccurrence) XXX_DiscardUnknown()

func (*VulnerabilityOccurrence) XXX_Marshal Uses

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

func (*VulnerabilityOccurrence) XXX_Merge Uses

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

func (*VulnerabilityOccurrence) XXX_Size Uses

func (m *VulnerabilityOccurrence) XXX_Size() int

func (*VulnerabilityOccurrence) XXX_Unmarshal Uses

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

type VulnerabilityOccurrence_PackageIssue Uses

type VulnerabilityOccurrence_PackageIssue struct {
    // Required. The [CPE URI](https://cpe.mitre.org/specification/) this
    // vulnerability was found in.
    AffectedCpeUri string `protobuf:"bytes,1,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"`
    // Required. The package this vulnerability was found in.
    AffectedPackage string `protobuf:"bytes,2,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"`
    // Required. The version of the package that is installed on the resource
    // affected by this vulnerability.
    AffectedVersion *Version `protobuf:"bytes,3,opt,name=affected_version,json=affectedVersion,proto3" json:"affected_version,omitempty"`
    // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability
    // was fixed in. It is possible for this to be different from the
    // affected_cpe_uri.
    FixedCpeUri string `protobuf:"bytes,4,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`
    // The package this vulnerability was fixed in. It is possible for this to
    // be different from the affected_package.
    FixedPackage string `protobuf:"bytes,5,opt,name=fixed_package,json=fixedPackage,proto3"