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

package grafeas

import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas"

Index

Package Files

grafeas.pb.go

Variables

var File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto protoreflect.FileDescriptor

func RegisterGrafeasV1Beta1Server Uses

func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server)

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.
    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"`
    // contains filtered or unexported fields
}

Request to create notes in batch.

func (*BatchCreateNotesRequest) Descriptor Uses

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

Deprecated: Use BatchCreateNotesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesRequest) GetNotes Uses

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

func (*BatchCreateNotesRequest) GetParent Uses

func (x *BatchCreateNotesRequest) GetParent() string

func (*BatchCreateNotesRequest) ProtoMessage Uses

func (*BatchCreateNotesRequest) ProtoMessage()

func (*BatchCreateNotesRequest) ProtoReflect Uses

func (x *BatchCreateNotesRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesRequest) Reset Uses

func (x *BatchCreateNotesRequest) Reset()

func (*BatchCreateNotesRequest) String Uses

func (x *BatchCreateNotesRequest) String() string

type BatchCreateNotesResponse Uses

type BatchCreateNotesResponse struct {

    // The notes that were created.
    Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
    // contains filtered or unexported fields
}

Response for creating notes in batch.

func (*BatchCreateNotesResponse) Descriptor Uses

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

Deprecated: Use BatchCreateNotesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesResponse) GetNotes Uses

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

func (*BatchCreateNotesResponse) ProtoMessage Uses

func (*BatchCreateNotesResponse) ProtoMessage()

func (*BatchCreateNotesResponse) ProtoReflect Uses

func (x *BatchCreateNotesResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesResponse) Reset Uses

func (x *BatchCreateNotesResponse) Reset()

func (*BatchCreateNotesResponse) String Uses

func (x *BatchCreateNotesResponse) String() string

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.
    Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
    // contains filtered or unexported fields
}

Request to create occurrences in batch.

func (*BatchCreateOccurrencesRequest) Descriptor Uses

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

Deprecated: Use BatchCreateOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesRequest) GetOccurrences Uses

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

func (*BatchCreateOccurrencesRequest) GetParent Uses

func (x *BatchCreateOccurrencesRequest) GetParent() string

func (*BatchCreateOccurrencesRequest) ProtoMessage Uses

func (*BatchCreateOccurrencesRequest) ProtoMessage()

func (*BatchCreateOccurrencesRequest) ProtoReflect Uses

func (x *BatchCreateOccurrencesRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateOccurrencesRequest) Reset Uses

func (x *BatchCreateOccurrencesRequest) Reset()

func (*BatchCreateOccurrencesRequest) String Uses

func (x *BatchCreateOccurrencesRequest) String() string

type BatchCreateOccurrencesResponse Uses

type BatchCreateOccurrencesResponse struct {

    // The occurrences that were created.
    Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
    // contains filtered or unexported fields
}

Response for creating occurrences in batch.

func (*BatchCreateOccurrencesResponse) Descriptor Uses

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

Deprecated: Use BatchCreateOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesResponse) GetOccurrences Uses

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

func (*BatchCreateOccurrencesResponse) ProtoMessage Uses

func (*BatchCreateOccurrencesResponse) ProtoMessage()

func (*BatchCreateOccurrencesResponse) ProtoReflect Uses

func (x *BatchCreateOccurrencesResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateOccurrencesResponse) Reset Uses

func (x *BatchCreateOccurrencesResponse) Reset()

func (*BatchCreateOccurrencesResponse) String Uses

func (x *BatchCreateOccurrencesResponse) String() string

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"`
    // contains filtered or unexported fields
}

Request to create a new note.

func (*CreateNoteRequest) Descriptor Uses

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

Deprecated: Use CreateNoteRequest.ProtoReflect.Descriptor instead.

func (*CreateNoteRequest) GetNote Uses

func (x *CreateNoteRequest) GetNote() *Note

func (*CreateNoteRequest) GetNoteId Uses

func (x *CreateNoteRequest) GetNoteId() string

func (*CreateNoteRequest) GetParent Uses

func (x *CreateNoteRequest) GetParent() string

func (*CreateNoteRequest) ProtoMessage Uses

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) ProtoReflect Uses

func (x *CreateNoteRequest) ProtoReflect() protoreflect.Message

func (*CreateNoteRequest) Reset Uses

func (x *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String Uses

func (x *CreateNoteRequest) String() string

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"`
    // contains filtered or unexported fields
}

Request to create a new occurrence.

func (*CreateOccurrenceRequest) Descriptor Uses

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

Deprecated: Use CreateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*CreateOccurrenceRequest) GetOccurrence Uses

func (x *CreateOccurrenceRequest) GetOccurrence() *Occurrence

func (*CreateOccurrenceRequest) GetParent Uses

func (x *CreateOccurrenceRequest) GetParent() string

func (*CreateOccurrenceRequest) ProtoMessage Uses

func (*CreateOccurrenceRequest) ProtoMessage()

func (*CreateOccurrenceRequest) ProtoReflect Uses

func (x *CreateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*CreateOccurrenceRequest) Reset Uses

func (x *CreateOccurrenceRequest) Reset()

func (*CreateOccurrenceRequest) String Uses

func (x *CreateOccurrenceRequest) String() string

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"`
    // contains filtered or unexported fields
}

Request to delete a note.

func (*DeleteNoteRequest) Descriptor Uses

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

Deprecated: Use DeleteNoteRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoteRequest) GetName Uses

func (x *DeleteNoteRequest) GetName() string

func (*DeleteNoteRequest) ProtoMessage Uses

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) ProtoReflect Uses

func (x *DeleteNoteRequest) ProtoReflect() protoreflect.Message

func (*DeleteNoteRequest) Reset Uses

func (x *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String Uses

func (x *DeleteNoteRequest) String() string

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"`
    // contains filtered or unexported fields
}

Request to delete a occurrence.

func (*DeleteOccurrenceRequest) Descriptor Uses

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

Deprecated: Use DeleteOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*DeleteOccurrenceRequest) GetName Uses

func (x *DeleteOccurrenceRequest) GetName() string

func (*DeleteOccurrenceRequest) ProtoMessage Uses

func (*DeleteOccurrenceRequest) ProtoMessage()

func (*DeleteOccurrenceRequest) ProtoReflect Uses

func (x *DeleteOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*DeleteOccurrenceRequest) Reset Uses

func (x *DeleteOccurrenceRequest) Reset()

func (*DeleteOccurrenceRequest) String Uses

func (x *DeleteOccurrenceRequest) String() string

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"`
    // contains filtered or unexported fields
}

Request to get a note.

func (*GetNoteRequest) Descriptor Uses

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

Deprecated: Use GetNoteRequest.ProtoReflect.Descriptor instead.

func (*GetNoteRequest) GetName Uses

func (x *GetNoteRequest) GetName() string

func (*GetNoteRequest) ProtoMessage Uses

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) ProtoReflect Uses

func (x *GetNoteRequest) ProtoReflect() protoreflect.Message

func (*GetNoteRequest) Reset Uses

func (x *GetNoteRequest) Reset()

func (*GetNoteRequest) String Uses

func (x *GetNoteRequest) String() string

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"`
    // contains filtered or unexported fields
}

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

func (*GetOccurrenceNoteRequest) Descriptor Uses

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

Deprecated: Use GetOccurrenceNoteRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceNoteRequest) GetName Uses

func (x *GetOccurrenceNoteRequest) GetName() string

func (*GetOccurrenceNoteRequest) ProtoMessage Uses

func (*GetOccurrenceNoteRequest) ProtoMessage()

func (*GetOccurrenceNoteRequest) ProtoReflect Uses

func (x *GetOccurrenceNoteRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceNoteRequest) Reset Uses

func (x *GetOccurrenceNoteRequest) Reset()

func (*GetOccurrenceNoteRequest) String Uses

func (x *GetOccurrenceNoteRequest) String() string

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"`
    // contains filtered or unexported fields
}

Request to get an occurrence.

func (*GetOccurrenceRequest) Descriptor Uses

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

Deprecated: Use GetOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceRequest) GetName Uses

func (x *GetOccurrenceRequest) GetName() string

func (*GetOccurrenceRequest) ProtoMessage Uses

func (*GetOccurrenceRequest) ProtoMessage()

func (*GetOccurrenceRequest) ProtoReflect Uses

func (x *GetOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceRequest) Reset Uses

func (x *GetOccurrenceRequest) Reset()

func (*GetOccurrenceRequest) String Uses

func (x *GetOccurrenceRequest) String() string

type GetVulnerabilityOccurrencesSummaryRequest Uses

type GetVulnerabilityOccurrencesSummaryRequest struct {

    // The name of the project to get a vulnerability summary 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"`
    // contains filtered or unexported fields
}

Request to get a vulnerability summary for some set of occurrences.

func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor Uses

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

Deprecated: Use GetVulnerabilityOccurrencesSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetVulnerabilityOccurrencesSummaryRequest) GetFilter Uses

func (x *GetVulnerabilityOccurrencesSummaryRequest) GetFilter() string

func (*GetVulnerabilityOccurrencesSummaryRequest) GetParent Uses

func (x *GetVulnerabilityOccurrencesSummaryRequest) GetParent() string

func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage Uses

func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage()

func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoReflect Uses

func (x *GetVulnerabilityOccurrencesSummaryRequest) ProtoReflect() protoreflect.Message

func (*GetVulnerabilityOccurrencesSummaryRequest) Reset Uses

func (x *GetVulnerabilityOccurrencesSummaryRequest) Reset()

func (*GetVulnerabilityOccurrencesSummaryRequest) String Uses

func (x *GetVulnerabilityOccurrencesSummaryRequest) String() string

type GrafeasV1Beta1Client Uses

type GrafeasV1Beta1Client 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) (*emptypb.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) (*emptypb.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)
    // Gets a summary of the number and severity of occurrences.
    GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error)
}

GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service.

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

func NewGrafeasV1Beta1Client Uses

func NewGrafeasV1Beta1Client(cc grpc.ClientConnInterface) GrafeasV1Beta1Client

type GrafeasV1Beta1Server Uses

type GrafeasV1Beta1Server 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) (*emptypb.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) (*emptypb.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)
    // Gets a summary of the number and severity of occurrences.
    GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error)
}

GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service.

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"`
    // contains filtered or unexported fields
}

Request to list occurrences for a note.

func (*ListNoteOccurrencesRequest) Descriptor Uses

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

Deprecated: Use ListNoteOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesRequest) GetFilter Uses

func (x *ListNoteOccurrencesRequest) GetFilter() string

func (*ListNoteOccurrencesRequest) GetName Uses

func (x *ListNoteOccurrencesRequest) GetName() string

func (*ListNoteOccurrencesRequest) GetPageSize Uses

func (x *ListNoteOccurrencesRequest) GetPageSize() int32

func (*ListNoteOccurrencesRequest) GetPageToken Uses

func (x *ListNoteOccurrencesRequest) GetPageToken() string

func (*ListNoteOccurrencesRequest) ProtoMessage Uses

func (*ListNoteOccurrencesRequest) ProtoMessage()

func (*ListNoteOccurrencesRequest) ProtoReflect Uses

func (x *ListNoteOccurrencesRequest) ProtoReflect() protoreflect.Message

func (*ListNoteOccurrencesRequest) Reset Uses

func (x *ListNoteOccurrencesRequest) Reset()

func (*ListNoteOccurrencesRequest) String Uses

func (x *ListNoteOccurrencesRequest) String() string

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"`
    // contains filtered or unexported fields
}

Response for listing occurrences for a note.

func (*ListNoteOccurrencesResponse) Descriptor Uses

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

Deprecated: Use ListNoteOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesResponse) GetNextPageToken Uses

func (x *ListNoteOccurrencesResponse) GetNextPageToken() string

func (*ListNoteOccurrencesResponse) GetOccurrences Uses

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

func (*ListNoteOccurrencesResponse) ProtoMessage Uses

func (*ListNoteOccurrencesResponse) ProtoMessage()

func (*ListNoteOccurrencesResponse) ProtoReflect Uses

func (x *ListNoteOccurrencesResponse) ProtoReflect() protoreflect.Message

func (*ListNoteOccurrencesResponse) Reset Uses

func (x *ListNoteOccurrencesResponse) Reset()

func (*ListNoteOccurrencesResponse) String Uses

func (x *ListNoteOccurrencesResponse) String() string

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.
    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"`
    // contains filtered or unexported fields
}

Request to list notes.

func (*ListNotesRequest) Descriptor Uses

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

Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.

func (*ListNotesRequest) GetFilter Uses

func (x *ListNotesRequest) GetFilter() string

func (*ListNotesRequest) GetPageSize Uses

func (x *ListNotesRequest) GetPageSize() int32

func (*ListNotesRequest) GetPageToken Uses

func (x *ListNotesRequest) GetPageToken() string

func (*ListNotesRequest) GetParent Uses

func (x *ListNotesRequest) GetParent() string

func (*ListNotesRequest) ProtoMessage Uses

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) ProtoReflect Uses

func (x *ListNotesRequest) ProtoReflect() protoreflect.Message

func (*ListNotesRequest) Reset Uses

func (x *ListNotesRequest) Reset()

func (*ListNotesRequest) String Uses

func (x *ListNotesRequest) String() string

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"`
    // contains filtered or unexported fields
}

Response for listing notes.

func (*ListNotesResponse) Descriptor Uses

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

Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.

func (*ListNotesResponse) GetNextPageToken Uses

func (x *ListNotesResponse) GetNextPageToken() string

func (*ListNotesResponse) GetNotes Uses

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

func (*ListNotesResponse) ProtoMessage Uses

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) ProtoReflect Uses

func (x *ListNotesResponse) ProtoReflect() protoreflect.Message

func (*ListNotesResponse) Reset Uses

func (x *ListNotesResponse) Reset()

func (*ListNotesResponse) String Uses

func (x *ListNotesResponse) String() string

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.
    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"`
    // contains filtered or unexported fields
}

Request to list occurrences.

func (*ListOccurrencesRequest) Descriptor Uses

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

Deprecated: Use ListOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListOccurrencesRequest) GetFilter Uses

func (x *ListOccurrencesRequest) GetFilter() string

func (*ListOccurrencesRequest) GetPageSize Uses

func (x *ListOccurrencesRequest) GetPageSize() int32

func (*ListOccurrencesRequest) GetPageToken Uses

func (x *ListOccurrencesRequest) GetPageToken() string

func (*ListOccurrencesRequest) GetParent Uses

func (x *ListOccurrencesRequest) GetParent() string

func (*ListOccurrencesRequest) ProtoMessage Uses

func (*ListOccurrencesRequest) ProtoMessage()

func (*ListOccurrencesRequest) ProtoReflect Uses

func (x *ListOccurrencesRequest) ProtoReflect() protoreflect.Message

func (*ListOccurrencesRequest) Reset Uses

func (x *ListOccurrencesRequest) Reset()

func (*ListOccurrencesRequest) String Uses

func (x *ListOccurrencesRequest) String() string

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"`
    // contains filtered or unexported fields
}

Response for listing occurrences.

func (*ListOccurrencesResponse) Descriptor Uses

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

Deprecated: Use ListOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListOccurrencesResponse) GetNextPageToken Uses

func (x *ListOccurrencesResponse) GetNextPageToken() string

func (*ListOccurrencesResponse) GetOccurrences Uses

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

func (*ListOccurrencesResponse) ProtoMessage Uses

func (*ListOccurrencesResponse) ProtoMessage()

func (*ListOccurrencesResponse) ProtoReflect Uses

func (x *ListOccurrencesResponse) ProtoReflect() protoreflect.Message

func (*ListOccurrencesResponse) Reset Uses

func (x *ListOccurrencesResponse) Reset()

func (*ListOccurrencesResponse) String Uses

func (x *ListOccurrencesResponse) String() string

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 common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"`
    // URLs associated with this note.
    RelatedUrl []*common.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 *timestamppb.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 *timestamppb.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 *timestamppb.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 assignable to Type:
    //	*Note_Vulnerability
    //	*Note_Build
    //	*Note_BaseImage
    //	*Note_Package
    //	*Note_Deployable
    //	*Note_Discovery
    //	*Note_AttestationAuthority
    Type isNote_Type `protobuf_oneof:"type"`
    // contains filtered or unexported fields
}

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

func (*Note) Descriptor Uses

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

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetAttestationAuthority Uses

func (x *Note) GetAttestationAuthority() *attestation.Authority

func (*Note) GetBaseImage Uses

func (x *Note) GetBaseImage() *image.Basis

func (*Note) GetBuild Uses

func (x *Note) GetBuild() *build.Build

func (*Note) GetCreateTime Uses

func (x *Note) GetCreateTime() *timestamppb.Timestamp

func (*Note) GetDeployable Uses

func (x *Note) GetDeployable() *deployment.Deployable

func (*Note) GetDiscovery Uses

func (x *Note) GetDiscovery() *discovery.Discovery

func (*Note) GetExpirationTime Uses

func (x *Note) GetExpirationTime() *timestamppb.Timestamp

func (*Note) GetKind Uses

func (x *Note) GetKind() common.NoteKind

func (*Note) GetLongDescription Uses

func (x *Note) GetLongDescription() string

func (*Note) GetName Uses

func (x *Note) GetName() string

func (*Note) GetPackage Uses

func (x *Note) GetPackage() *_package.Package

func (*Note) GetRelatedNoteNames Uses

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

func (*Note) GetRelatedUrl Uses

func (x *Note) GetRelatedUrl() []*common.RelatedUrl

func (*Note) GetShortDescription Uses

func (x *Note) GetShortDescription() string

func (*Note) GetType Uses

func (m *Note) GetType() isNote_Type

func (*Note) GetUpdateTime Uses

func (x *Note) GetUpdateTime() *timestamppb.Timestamp

func (*Note) GetVulnerability Uses

func (x *Note) GetVulnerability() *vulnerability.Vulnerability

func (*Note) ProtoMessage Uses

func (*Note) ProtoMessage()

func (*Note) ProtoReflect Uses

func (x *Note) ProtoReflect() protoreflect.Message

func (*Note) Reset Uses

func (x *Note) Reset()

func (*Note) String Uses

func (x *Note) String() string

type Note_AttestationAuthority Uses

type Note_AttestationAuthority struct {
    // A note describing an attestation role.
    AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}

type Note_BaseImage Uses

type Note_BaseImage struct {
    // A note describing a base image.
    BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"`
}

type Note_Build Uses

type Note_Build struct {
    // A note describing build provenance for a verifiable build.
    Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"`
}

type Note_Deployable Uses

type Note_Deployable struct {
    // A note describing something that can be deployed.
    Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"`
}

type Note_Discovery Uses

type Note_Discovery struct {
    // A note describing the initial analysis of a resource.
    Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"`
}

type Note_Package Uses

type Note_Package struct {
    // A note describing a package hosted by various package managers.
    Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"`
}

type Note_Vulnerability Uses

type Note_Vulnerability struct {
    // A note describing a package vulnerability.
    Vulnerability *vulnerability.Vulnerability `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. The resource for which the occurrence applies.
    Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,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 common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.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 *timestamppb.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 *timestamppb.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 assignable to Details:
    //	*Occurrence_Vulnerability
    //	*Occurrence_Build
    //	*Occurrence_DerivedImage
    //	*Occurrence_Installation
    //	*Occurrence_Deployment
    //	*Occurrence_Discovered
    //	*Occurrence_Attestation
    Details isOccurrence_Details `protobuf_oneof:"details"`
    // contains filtered or unexported fields
}

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

func (*Occurrence) Descriptor Uses

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

Deprecated: Use Occurrence.ProtoReflect.Descriptor instead.

func (*Occurrence) GetAttestation Uses

func (x *Occurrence) GetAttestation() *attestation.Details

func (*Occurrence) GetBuild Uses

func (x *Occurrence) GetBuild() *build.Details

func (*Occurrence) GetCreateTime Uses

func (x *Occurrence) GetCreateTime() *timestamppb.Timestamp

func (*Occurrence) GetDeployment Uses

func (x *Occurrence) GetDeployment() *deployment.Details

func (*Occurrence) GetDerivedImage Uses

func (x *Occurrence) GetDerivedImage() *image.Details

func (*Occurrence) GetDetails Uses

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovered Uses

func (x *Occurrence) GetDiscovered() *discovery.Details

func (*Occurrence) GetInstallation Uses

func (x *Occurrence) GetInstallation() *_package.Details

func (*Occurrence) GetKind Uses

func (x *Occurrence) GetKind() common.NoteKind

func (*Occurrence) GetName Uses

func (x *Occurrence) GetName() string

func (*Occurrence) GetNoteName Uses

func (x *Occurrence) GetNoteName() string

func (*Occurrence) GetRemediation Uses

func (x *Occurrence) GetRemediation() string

func (*Occurrence) GetResource Uses

func (x *Occurrence) GetResource() *Resource

func (*Occurrence) GetUpdateTime Uses

func (x *Occurrence) GetUpdateTime() *timestamppb.Timestamp

func (*Occurrence) GetVulnerability Uses

func (x *Occurrence) GetVulnerability() *vulnerability.Details

func (*Occurrence) ProtoMessage Uses

func (*Occurrence) ProtoMessage()

func (*Occurrence) ProtoReflect Uses

func (x *Occurrence) ProtoReflect() protoreflect.Message

func (*Occurrence) Reset Uses

func (x *Occurrence) Reset()

func (*Occurrence) String Uses

func (x *Occurrence) String() string

type Occurrence_Attestation Uses

type Occurrence_Attestation struct {
    // Describes an attestation of an artifact.
    Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"`
}

type Occurrence_Build Uses

type Occurrence_Build struct {
    // Describes a verifiable build.
    Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"`
}

type Occurrence_Deployment Uses

type Occurrence_Deployment struct {
    // Describes the deployment of an artifact on a runtime.
    Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"`
}

type Occurrence_DerivedImage Uses

type Occurrence_DerivedImage struct {
    // Describes how this resource derives from the basis in the associated
    // note.
    DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"`
}

type Occurrence_Discovered Uses

type Occurrence_Discovered struct {
    // Describes when a resource was discovered.
    Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"`
}

type Occurrence_Installation Uses

type Occurrence_Installation struct {
    // Describes the installation of a package on the linked resource.
    Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"`
}

type Occurrence_Vulnerability Uses

type Occurrence_Vulnerability struct {
    // Describes a security vulnerability.
    Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"`
}

type Resource Uses

type Resource struct {

    // The name of the resource. For example, the name of a Docker image -
    // "Debian".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The unique URI of the resource. For example,
    // `https://gcr.io/project/image@sha256:foo` for a Docker image.
    Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
    // The hash of the resource content. For example, the Docker digest.
    ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
    // contains filtered or unexported fields
}

An entity that can have metadata. For example, a Docker image.

func (*Resource) Descriptor Uses

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetContentHash Uses

func (x *Resource) GetContentHash() *provenance.Hash

func (*Resource) GetName Uses

func (x *Resource) GetName() string

func (*Resource) GetUri Uses

func (x *Resource) GetUri() string

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect Uses

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset Uses

func (x *Resource) Reset()

func (*Resource) String Uses

func (x *Resource) String() string

type UnimplementedGrafeasV1Beta1Server Uses

type UnimplementedGrafeasV1Beta1Server struct {
}

UnimplementedGrafeasV1Beta1Server can be embedded to have forward compatible implementations.

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateNotes Uses

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateOccurrences Uses

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)

func (*UnimplementedGrafeasV1Beta1Server) CreateNote Uses

func (*UnimplementedGrafeasV1Beta1Server) CreateNote(context.Context, *CreateNoteRequest) (*Note, error)

func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence Uses

func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)

func (*UnimplementedGrafeasV1Beta1Server) DeleteNote Uses

func (*UnimplementedGrafeasV1Beta1Server) DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error)

func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence Uses

func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error)

func (*UnimplementedGrafeasV1Beta1Server) GetNote Uses

func (*UnimplementedGrafeasV1Beta1Server) GetNote(context.Context, *GetNoteRequest) (*Note, error)

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence Uses

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrenceNote Uses

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)

func (*UnimplementedGrafeasV1Beta1Server) GetVulnerabilityOccurrencesSummary Uses

func (*UnimplementedGrafeasV1Beta1Server) GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error)

func (*UnimplementedGrafeasV1Beta1Server) ListNoteOccurrences Uses

func (*UnimplementedGrafeasV1Beta1Server) ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)

func (*UnimplementedGrafeasV1Beta1Server) ListNotes Uses

func (*UnimplementedGrafeasV1Beta1Server) ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)

func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences Uses

func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)

func (*UnimplementedGrafeasV1Beta1Server) UpdateNote Uses

func (*UnimplementedGrafeasV1Beta1Server) UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)

func (*UnimplementedGrafeasV1Beta1Server) UpdateOccurrence Uses

func (*UnimplementedGrafeasV1Beta1Server) UpdateOccurrence(context.Context, *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 *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request to update a note.

func (*UpdateNoteRequest) Descriptor Uses

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

Deprecated: Use UpdateNoteRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoteRequest) GetName Uses

func (x *UpdateNoteRequest) GetName() string

func (*UpdateNoteRequest) GetNote Uses

func (x *UpdateNoteRequest) GetNote() *Note

func (*UpdateNoteRequest) GetUpdateMask Uses

func (x *UpdateNoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNoteRequest) ProtoMessage Uses

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) ProtoReflect Uses

func (x *UpdateNoteRequest) ProtoReflect() protoreflect.Message

func (*UpdateNoteRequest) Reset Uses

func (x *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String Uses

func (x *UpdateNoteRequest) String() string

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 *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request to update an occurrence.

func (*UpdateOccurrenceRequest) Descriptor Uses

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

Deprecated: Use UpdateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*UpdateOccurrenceRequest) GetName Uses

func (x *UpdateOccurrenceRequest) GetName() string

func (*UpdateOccurrenceRequest) GetOccurrence Uses

func (x *UpdateOccurrenceRequest) GetOccurrence() *Occurrence

func (*UpdateOccurrenceRequest) GetUpdateMask Uses

func (x *UpdateOccurrenceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateOccurrenceRequest) ProtoMessage Uses

func (*UpdateOccurrenceRequest) ProtoMessage()

func (*UpdateOccurrenceRequest) ProtoReflect Uses

func (x *UpdateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*UpdateOccurrenceRequest) Reset Uses

func (x *UpdateOccurrenceRequest) Reset()

func (*UpdateOccurrenceRequest) String Uses

func (x *UpdateOccurrenceRequest) String() string

type VulnerabilityOccurrencesSummary Uses

type VulnerabilityOccurrencesSummary struct {

    // A listing by resource of the number of fixable and total vulnerabilities.
    Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
    // contains filtered or unexported fields
}

A summary of how many vulnerability occurrences there are per resource and severity type.

func (*VulnerabilityOccurrencesSummary) Descriptor Uses

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

Deprecated: Use VulnerabilityOccurrencesSummary.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrencesSummary) GetCounts Uses

func (x *VulnerabilityOccurrencesSummary) GetCounts() []*VulnerabilityOccurrencesSummary_FixableTotalByDigest

func (*VulnerabilityOccurrencesSummary) ProtoMessage Uses

func (*VulnerabilityOccurrencesSummary) ProtoMessage()

func (*VulnerabilityOccurrencesSummary) ProtoReflect Uses

func (x *VulnerabilityOccurrencesSummary) ProtoReflect() protoreflect.Message

func (*VulnerabilityOccurrencesSummary) Reset Uses

func (x *VulnerabilityOccurrencesSummary) Reset()

func (*VulnerabilityOccurrencesSummary) String Uses

func (x *VulnerabilityOccurrencesSummary) String() string

type VulnerabilityOccurrencesSummary_FixableTotalByDigest Uses

type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct {

    // The affected resource.
    Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
    // The severity for this count. SEVERITY_UNSPECIFIED indicates total across
    // all severities.
    Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"`
    // The number of fixable vulnerabilities associated with this resource.
    FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"`
    // The total number of vulnerabilities associated with this resource.
    TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
    // contains filtered or unexported fields
}

Per resource and severity counts of fixable and total vulnerabilities.

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor Uses

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

Deprecated: Use VulnerabilityOccurrencesSummary_FixableTotalByDigest.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount() int64

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource() *Resource

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity() vulnerability.Severity

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount() int64

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage Uses

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage()

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoReflect Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoReflect() protoreflect.Message

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset()

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) String Uses

func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) String() string

Package grafeas imports 22 packages (graph) and is imported by 6 packages. Updated 2020-09-07. Refresh now. Tools for package owners.