Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterFindingServiceServer(s *grpc.Server, srv FindingServiceServer)
- type BatchListFindingRequest
- func (*BatchListFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchListFindingRequest) GetDataSource() []string
- func (x *BatchListFindingRequest) GetFindingId() uint64
- func (x *BatchListFindingRequest) GetFromAt() int64
- func (x *BatchListFindingRequest) GetFromScore() float32
- func (x *BatchListFindingRequest) GetProjectId() uint32
- func (x *BatchListFindingRequest) GetResourceName() []string
- func (x *BatchListFindingRequest) GetStatus() FindingStatus
- func (x *BatchListFindingRequest) GetTag() []string
- func (x *BatchListFindingRequest) GetToAt() int64
- func (x *BatchListFindingRequest) GetToScore() float32
- func (*BatchListFindingRequest) ProtoMessage()
- func (x *BatchListFindingRequest) ProtoReflect() protoreflect.Message
- func (x *BatchListFindingRequest) Reset()
- func (x *BatchListFindingRequest) String() string
- func (b *BatchListFindingRequest) Validate() error
- type BatchListFindingResponse
- func (*BatchListFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchListFindingResponse) GetCount() uint32
- func (x *BatchListFindingResponse) GetFindingId() []uint64
- func (x *BatchListFindingResponse) GetTotal() uint32
- func (*BatchListFindingResponse) ProtoMessage()
- func (x *BatchListFindingResponse) ProtoReflect() protoreflect.Message
- func (x *BatchListFindingResponse) Reset()
- func (x *BatchListFindingResponse) String() string
- type ClearScoreRequest
- func (*ClearScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearScoreRequest) GetDataSource() string
- func (x *ClearScoreRequest) GetFindingId() uint64
- func (x *ClearScoreRequest) GetProjectId() uint32
- func (x *ClearScoreRequest) GetTag() []string
- func (*ClearScoreRequest) ProtoMessage()
- func (x *ClearScoreRequest) ProtoReflect() protoreflect.Message
- func (x *ClearScoreRequest) Reset()
- func (x *ClearScoreRequest) String() string
- func (c *ClearScoreRequest) Validate() error
- type DeleteFindingRequest
- func (*DeleteFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFindingRequest) GetFindingId() uint64
- func (x *DeleteFindingRequest) GetProjectId() uint32
- func (*DeleteFindingRequest) ProtoMessage()
- func (x *DeleteFindingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFindingRequest) Reset()
- func (x *DeleteFindingRequest) String() string
- func (d *DeleteFindingRequest) Validate() error
- type DeleteFindingSettingRequest
- func (*DeleteFindingSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFindingSettingRequest) GetFindingSettingId() uint32
- func (x *DeleteFindingSettingRequest) GetProjectId() uint32
- func (*DeleteFindingSettingRequest) ProtoMessage()
- func (x *DeleteFindingSettingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFindingSettingRequest) Reset()
- func (x *DeleteFindingSettingRequest) String() string
- func (d *DeleteFindingSettingRequest) Validate() error
- type DeletePendFindingRequest
- func (*DeletePendFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePendFindingRequest) GetFindingId() uint64
- func (x *DeletePendFindingRequest) GetProjectId() uint32
- func (*DeletePendFindingRequest) ProtoMessage()
- func (x *DeletePendFindingRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePendFindingRequest) Reset()
- func (x *DeletePendFindingRequest) String() string
- func (d *DeletePendFindingRequest) Validate() error
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetProjectId() uint32
- func (x *DeleteResourceRequest) GetResourceId() uint64
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (x *DeleteResourceRequest) String() string
- func (d *DeleteResourceRequest) Validate() error
- type Finding
- func (*Finding) Descriptor() ([]byte, []int)deprecated
- func (x *Finding) GetCreatedAt() int64
- func (x *Finding) GetData() string
- func (x *Finding) GetDataSource() string
- func (x *Finding) GetDataSourceId() string
- func (x *Finding) GetDescription() string
- func (x *Finding) GetFindingId() uint64
- func (x *Finding) GetOriginalMaxScore() float32
- func (x *Finding) GetOriginalScore() float32
- func (x *Finding) GetProjectId() uint32
- func (x *Finding) GetResourceName() string
- func (x *Finding) GetScore() float32
- func (x *Finding) GetUpdatedAt() int64
- func (*Finding) ProtoMessage()
- func (x *Finding) ProtoReflect() protoreflect.Message
- func (x *Finding) Reset()
- func (x *Finding) String() string
- type FindingBatchForUpsert
- func (*FindingBatchForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *FindingBatchForUpsert) GetFinding() *FindingForUpsert
- func (x *FindingBatchForUpsert) GetRecommend() *RecommendForBatch
- func (x *FindingBatchForUpsert) GetTag() []*FindingTagForBatch
- func (*FindingBatchForUpsert) ProtoMessage()
- func (x *FindingBatchForUpsert) ProtoReflect() protoreflect.Message
- func (x *FindingBatchForUpsert) Reset()
- func (x *FindingBatchForUpsert) String() string
- type FindingForUpsert
- func (*FindingForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *FindingForUpsert) GetData() string
- func (x *FindingForUpsert) GetDataSource() string
- func (x *FindingForUpsert) GetDataSourceId() string
- func (x *FindingForUpsert) GetDescription() string
- func (x *FindingForUpsert) GetOriginalMaxScore() float32
- func (x *FindingForUpsert) GetOriginalScore() float32
- func (x *FindingForUpsert) GetProjectId() uint32
- func (x *FindingForUpsert) GetResourceName() string
- func (*FindingForUpsert) ProtoMessage()
- func (x *FindingForUpsert) ProtoReflect() protoreflect.Message
- func (x *FindingForUpsert) Reset()
- func (x *FindingForUpsert) String() string
- func (f *FindingForUpsert) Validate() error
- type FindingServiceClient
- type FindingServiceServer
- type FindingSetting
- func (*FindingSetting) Descriptor() ([]byte, []int)deprecated
- func (x *FindingSetting) GetCreatedAt() int64
- func (x *FindingSetting) GetFindingSettingId() uint32
- func (x *FindingSetting) GetProjectId() uint32
- func (x *FindingSetting) GetResourceName() string
- func (x *FindingSetting) GetSetting() string
- func (x *FindingSetting) GetStatus() FindingSettingStatus
- func (x *FindingSetting) GetUpdatedAt() int64
- func (*FindingSetting) ProtoMessage()
- func (x *FindingSetting) ProtoReflect() protoreflect.Message
- func (x *FindingSetting) Reset()
- func (x *FindingSetting) String() string
- type FindingSettingForUpsert
- func (*FindingSettingForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *FindingSettingForUpsert) GetProjectId() uint32
- func (x *FindingSettingForUpsert) GetResourceName() string
- func (x *FindingSettingForUpsert) GetSetting() string
- func (x *FindingSettingForUpsert) GetStatus() FindingSettingStatus
- func (*FindingSettingForUpsert) ProtoMessage()
- func (x *FindingSettingForUpsert) ProtoReflect() protoreflect.Message
- func (x *FindingSettingForUpsert) Reset()
- func (x *FindingSettingForUpsert) String() string
- func (f *FindingSettingForUpsert) Validate() error
- type FindingSettingStatus
- func (FindingSettingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x FindingSettingStatus) Enum() *FindingSettingStatus
- func (FindingSettingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindingSettingStatus) Number() protoreflect.EnumNumber
- func (x FindingSettingStatus) String() string
- func (FindingSettingStatus) Type() protoreflect.EnumType
- type FindingStatus
- func (FindingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x FindingStatus) Enum() *FindingStatus
- func (FindingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindingStatus) Number() protoreflect.EnumNumber
- func (x FindingStatus) String() string
- func (FindingStatus) Type() protoreflect.EnumType
- type FindingTag
- func (*FindingTag) Descriptor() ([]byte, []int)deprecated
- func (x *FindingTag) GetCreatedAt() int64
- func (x *FindingTag) GetFindingId() uint64
- func (x *FindingTag) GetFindingTagId() uint64
- func (x *FindingTag) GetProjectId() uint32
- func (x *FindingTag) GetTag() string
- func (x *FindingTag) GetUpdatedAt() int64
- func (*FindingTag) ProtoMessage()
- func (x *FindingTag) ProtoReflect() protoreflect.Message
- func (x *FindingTag) Reset()
- func (x *FindingTag) String() string
- type FindingTagForBatch
- func (*FindingTagForBatch) Descriptor() ([]byte, []int)deprecated
- func (x *FindingTagForBatch) GetTag() string
- func (*FindingTagForBatch) ProtoMessage()
- func (x *FindingTagForBatch) ProtoReflect() protoreflect.Message
- func (x *FindingTagForBatch) Reset()
- func (x *FindingTagForBatch) String() string
- func (f *FindingTagForBatch) Validate() error
- type FindingTagForUpsert
- func (*FindingTagForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *FindingTagForUpsert) GetFindingId() uint64
- func (x *FindingTagForUpsert) GetProjectId() uint32
- func (x *FindingTagForUpsert) GetTag() string
- func (*FindingTagForUpsert) ProtoMessage()
- func (x *FindingTagForUpsert) ProtoReflect() protoreflect.Message
- func (x *FindingTagForUpsert) Reset()
- func (x *FindingTagForUpsert) String() string
- func (f *FindingTagForUpsert) Validate() error
- type GetFindingRequest
- func (*GetFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFindingRequest) GetFindingId() uint64
- func (x *GetFindingRequest) GetProjectId() uint32
- func (*GetFindingRequest) ProtoMessage()
- func (x *GetFindingRequest) ProtoReflect() protoreflect.Message
- func (x *GetFindingRequest) Reset()
- func (x *GetFindingRequest) String() string
- func (g *GetFindingRequest) Validate() error
- type GetFindingResponse
- func (*GetFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFindingResponse) GetFinding() *Finding
- func (*GetFindingResponse) ProtoMessage()
- func (x *GetFindingResponse) ProtoReflect() protoreflect.Message
- func (x *GetFindingResponse) Reset()
- func (x *GetFindingResponse) String() string
- type GetFindingSettingRequest
- func (*GetFindingSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFindingSettingRequest) GetFindingSettingId() uint32
- func (x *GetFindingSettingRequest) GetProjectId() uint32
- func (x *GetFindingSettingRequest) GetStatus() FindingSettingStatus
- func (*GetFindingSettingRequest) ProtoMessage()
- func (x *GetFindingSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetFindingSettingRequest) Reset()
- func (x *GetFindingSettingRequest) String() string
- func (g *GetFindingSettingRequest) Validate() error
- type GetFindingSettingResponse
- func (*GetFindingSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFindingSettingResponse) GetFindingSetting() *FindingSetting
- func (*GetFindingSettingResponse) ProtoMessage()
- func (x *GetFindingSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetFindingSettingResponse) Reset()
- func (x *GetFindingSettingResponse) String() string
- type GetPendFindingRequest
- func (*GetPendFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPendFindingRequest) GetFindingId() uint64
- func (x *GetPendFindingRequest) GetProjectId() uint32
- func (*GetPendFindingRequest) ProtoMessage()
- func (x *GetPendFindingRequest) ProtoReflect() protoreflect.Message
- func (x *GetPendFindingRequest) Reset()
- func (x *GetPendFindingRequest) String() string
- func (g *GetPendFindingRequest) Validate() error
- type GetPendFindingResponse
- func (*GetPendFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPendFindingResponse) GetPendFinding() *PendFinding
- func (*GetPendFindingResponse) ProtoMessage()
- func (x *GetPendFindingResponse) ProtoReflect() protoreflect.Message
- func (x *GetPendFindingResponse) Reset()
- func (x *GetPendFindingResponse) String() string
- type GetRecommendRequest
- func (*GetRecommendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendRequest) GetFindingId() uint64
- func (x *GetRecommendRequest) GetProjectId() uint32
- func (*GetRecommendRequest) ProtoMessage()
- func (x *GetRecommendRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecommendRequest) Reset()
- func (x *GetRecommendRequest) String() string
- func (g *GetRecommendRequest) Validate() error
- type GetRecommendResponse
- func (*GetRecommendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendResponse) GetRecommend() *Recommend
- func (*GetRecommendResponse) ProtoMessage()
- func (x *GetRecommendResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecommendResponse) Reset()
- func (x *GetRecommendResponse) String() string
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRequest) GetProjectId() uint32
- func (x *GetResourceRequest) GetResourceId() uint64
- func (*GetResourceRequest) ProtoMessage()
- func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRequest) Reset()
- func (x *GetResourceRequest) String() string
- func (g *GetResourceRequest) Validate() error
- type GetResourceResponse
- func (*GetResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceResponse) GetResource() *Resource
- func (*GetResourceResponse) ProtoMessage()
- func (x *GetResourceResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceResponse) Reset()
- func (x *GetResourceResponse) String() string
- type ListFindingRequest
- func (*ListFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingRequest) GetDataSource() []string
- func (x *ListFindingRequest) GetDirection() string
- func (x *ListFindingRequest) GetFindingId() uint64
- func (x *ListFindingRequest) GetFromAt() int64
- func (x *ListFindingRequest) GetFromScore() float32
- func (x *ListFindingRequest) GetLimit() int32
- func (x *ListFindingRequest) GetOffset() int32
- func (x *ListFindingRequest) GetProjectId() uint32
- func (x *ListFindingRequest) GetResourceName() []string
- func (x *ListFindingRequest) GetSort() string
- func (x *ListFindingRequest) GetStatus() FindingStatus
- func (x *ListFindingRequest) GetTag() []string
- func (x *ListFindingRequest) GetToAt() int64
- func (x *ListFindingRequest) GetToScore() float32
- func (*ListFindingRequest) ProtoMessage()
- func (x *ListFindingRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingRequest) Reset()
- func (x *ListFindingRequest) String() string
- func (l *ListFindingRequest) Validate() error
- type ListFindingResponse
- func (*ListFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingResponse) GetCount() uint32
- func (x *ListFindingResponse) GetFindingId() []uint64
- func (x *ListFindingResponse) GetTotal() uint32
- func (*ListFindingResponse) ProtoMessage()
- func (x *ListFindingResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingResponse) Reset()
- func (x *ListFindingResponse) String() string
- type ListFindingSettingRequest
- func (*ListFindingSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingSettingRequest) GetProjectId() uint32
- func (x *ListFindingSettingRequest) GetStatus() FindingSettingStatus
- func (*ListFindingSettingRequest) ProtoMessage()
- func (x *ListFindingSettingRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingSettingRequest) Reset()
- func (x *ListFindingSettingRequest) String() string
- func (l *ListFindingSettingRequest) Validate() error
- type ListFindingSettingResponse
- func (*ListFindingSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingSettingResponse) GetFindingSetting() []*FindingSetting
- func (*ListFindingSettingResponse) ProtoMessage()
- func (x *ListFindingSettingResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingSettingResponse) Reset()
- func (x *ListFindingSettingResponse) String() string
- type ListFindingTagNameRequest
- func (*ListFindingTagNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTagNameRequest) GetDirection() string
- func (x *ListFindingTagNameRequest) GetFromAt() int64
- func (x *ListFindingTagNameRequest) GetLimit() int32
- func (x *ListFindingTagNameRequest) GetOffset() int32
- func (x *ListFindingTagNameRequest) GetProjectId() uint32
- func (x *ListFindingTagNameRequest) GetSort() string
- func (x *ListFindingTagNameRequest) GetToAt() int64
- func (*ListFindingTagNameRequest) ProtoMessage()
- func (x *ListFindingTagNameRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingTagNameRequest) Reset()
- func (x *ListFindingTagNameRequest) String() string
- func (l *ListFindingTagNameRequest) Validate() error
- type ListFindingTagNameResponse
- func (*ListFindingTagNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTagNameResponse) GetCount() uint32
- func (x *ListFindingTagNameResponse) GetTag() []string
- func (x *ListFindingTagNameResponse) GetTotal() uint32
- func (*ListFindingTagNameResponse) ProtoMessage()
- func (x *ListFindingTagNameResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingTagNameResponse) Reset()
- func (x *ListFindingTagNameResponse) String() string
- type ListFindingTagRequest
- func (*ListFindingTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTagRequest) GetDirection() string
- func (x *ListFindingTagRequest) GetFindingId() uint64
- func (x *ListFindingTagRequest) GetLimit() int32
- func (x *ListFindingTagRequest) GetOffset() int32
- func (x *ListFindingTagRequest) GetProjectId() uint32
- func (x *ListFindingTagRequest) GetSort() string
- func (*ListFindingTagRequest) ProtoMessage()
- func (x *ListFindingTagRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingTagRequest) Reset()
- func (x *ListFindingTagRequest) String() string
- func (l *ListFindingTagRequest) Validate() error
- type ListFindingTagResponse
- func (*ListFindingTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTagResponse) GetCount() uint32
- func (x *ListFindingTagResponse) GetTag() []*FindingTag
- func (x *ListFindingTagResponse) GetTotal() uint32
- func (*ListFindingTagResponse) ProtoMessage()
- func (x *ListFindingTagResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingTagResponse) Reset()
- func (x *ListFindingTagResponse) String() string
- type ListResourceRequest
- func (*ListResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceRequest) GetDirection() string
- func (x *ListResourceRequest) GetFromAt() int64
- func (x *ListResourceRequest) GetFromSumScore() float32
- func (x *ListResourceRequest) GetLimit() int32
- func (x *ListResourceRequest) GetOffset() int32
- func (x *ListResourceRequest) GetProjectId() uint32
- func (x *ListResourceRequest) GetResourceId() uint64
- func (x *ListResourceRequest) GetResourceName() []string
- func (x *ListResourceRequest) GetSort() string
- func (x *ListResourceRequest) GetTag() []string
- func (x *ListResourceRequest) GetToAt() int64
- func (x *ListResourceRequest) GetToSumScore() float32
- func (*ListResourceRequest) ProtoMessage()
- func (x *ListResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceRequest) Reset()
- func (x *ListResourceRequest) String() string
- func (l *ListResourceRequest) Validate() error
- type ListResourceResponse
- func (*ListResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceResponse) GetCount() uint32
- func (x *ListResourceResponse) GetResourceId() []uint64
- func (x *ListResourceResponse) GetTotal() uint32
- func (*ListResourceResponse) ProtoMessage()
- func (x *ListResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceResponse) Reset()
- func (x *ListResourceResponse) String() string
- type ListResourceTagNameRequest
- func (*ListResourceTagNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceTagNameRequest) GetDirection() string
- func (x *ListResourceTagNameRequest) GetFromAt() int64
- func (x *ListResourceTagNameRequest) GetLimit() int32
- func (x *ListResourceTagNameRequest) GetOffset() int32
- func (x *ListResourceTagNameRequest) GetProjectId() uint32
- func (x *ListResourceTagNameRequest) GetSort() string
- func (x *ListResourceTagNameRequest) GetToAt() int64
- func (*ListResourceTagNameRequest) ProtoMessage()
- func (x *ListResourceTagNameRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceTagNameRequest) Reset()
- func (x *ListResourceTagNameRequest) String() string
- func (l *ListResourceTagNameRequest) Validate() error
- type ListResourceTagNameResponse
- func (*ListResourceTagNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceTagNameResponse) GetCount() uint32
- func (x *ListResourceTagNameResponse) GetTag() []string
- func (x *ListResourceTagNameResponse) GetTotal() uint32
- func (*ListResourceTagNameResponse) ProtoMessage()
- func (x *ListResourceTagNameResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceTagNameResponse) Reset()
- func (x *ListResourceTagNameResponse) String() string
- type ListResourceTagRequest
- func (*ListResourceTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceTagRequest) GetDirection() string
- func (x *ListResourceTagRequest) GetLimit() int32
- func (x *ListResourceTagRequest) GetOffset() int32
- func (x *ListResourceTagRequest) GetProjectId() uint32
- func (x *ListResourceTagRequest) GetResourceId() uint64
- func (x *ListResourceTagRequest) GetSort() string
- func (*ListResourceTagRequest) ProtoMessage()
- func (x *ListResourceTagRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceTagRequest) Reset()
- func (x *ListResourceTagRequest) String() string
- func (l *ListResourceTagRequest) Validate() error
- type ListResourceTagResponse
- func (*ListResourceTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceTagResponse) GetCount() uint32
- func (x *ListResourceTagResponse) GetTag() []*ResourceTag
- func (x *ListResourceTagResponse) GetTotal() uint32
- func (*ListResourceTagResponse) ProtoMessage()
- func (x *ListResourceTagResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceTagResponse) Reset()
- func (x *ListResourceTagResponse) String() string
- type PendFinding
- func (*PendFinding) Descriptor() ([]byte, []int)deprecated
- func (x *PendFinding) GetCreatedAt() int64
- func (x *PendFinding) GetFindingId() uint64
- func (x *PendFinding) GetNote() string
- func (x *PendFinding) GetProjectId() uint32
- func (x *PendFinding) GetUpdatedAt() int64
- func (*PendFinding) ProtoMessage()
- func (x *PendFinding) ProtoReflect() protoreflect.Message
- func (x *PendFinding) Reset()
- func (x *PendFinding) String() string
- type PendFindingForUpsert
- func (*PendFindingForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *PendFindingForUpsert) GetFindingId() uint64
- func (x *PendFindingForUpsert) GetNote() string
- func (x *PendFindingForUpsert) GetProjectId() uint32
- func (*PendFindingForUpsert) ProtoMessage()
- func (x *PendFindingForUpsert) ProtoReflect() protoreflect.Message
- func (x *PendFindingForUpsert) Reset()
- func (x *PendFindingForUpsert) String() string
- func (p *PendFindingForUpsert) Validate() error
- type PutFindingBatchRequest
- func (*PutFindingBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutFindingBatchRequest) GetFinding() []*FindingBatchForUpsert
- func (x *PutFindingBatchRequest) GetProjectId() uint32
- func (*PutFindingBatchRequest) ProtoMessage()
- func (x *PutFindingBatchRequest) ProtoReflect() protoreflect.Message
- func (x *PutFindingBatchRequest) Reset()
- func (x *PutFindingBatchRequest) String() string
- func (p *PutFindingBatchRequest) Validate() error
- type PutFindingRequest
- func (*PutFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutFindingRequest) GetFinding() *FindingForUpsert
- func (x *PutFindingRequest) GetProjectId() uint32
- func (*PutFindingRequest) ProtoMessage()
- func (x *PutFindingRequest) ProtoReflect() protoreflect.Message
- func (x *PutFindingRequest) Reset()
- func (x *PutFindingRequest) String() string
- func (p *PutFindingRequest) Validate() error
- type PutFindingResponse
- func (*PutFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutFindingResponse) GetFinding() *Finding
- func (*PutFindingResponse) ProtoMessage()
- func (x *PutFindingResponse) ProtoReflect() protoreflect.Message
- func (x *PutFindingResponse) Reset()
- func (x *PutFindingResponse) String() string
- type PutFindingSettingRequest
- func (*PutFindingSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutFindingSettingRequest) GetFindingSetting() *FindingSettingForUpsert
- func (x *PutFindingSettingRequest) GetProjectId() uint32
- func (*PutFindingSettingRequest) ProtoMessage()
- func (x *PutFindingSettingRequest) ProtoReflect() protoreflect.Message
- func (x *PutFindingSettingRequest) Reset()
- func (x *PutFindingSettingRequest) String() string
- func (p *PutFindingSettingRequest) Validate() error
- type PutFindingSettingResponse
- func (*PutFindingSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutFindingSettingResponse) GetFindingSetting() *FindingSetting
- func (*PutFindingSettingResponse) ProtoMessage()
- func (x *PutFindingSettingResponse) ProtoReflect() protoreflect.Message
- func (x *PutFindingSettingResponse) Reset()
- func (x *PutFindingSettingResponse) String() string
- type PutPendFindingRequest
- func (*PutPendFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutPendFindingRequest) GetPendFinding() *PendFindingForUpsert
- func (x *PutPendFindingRequest) GetProjectId() uint32
- func (*PutPendFindingRequest) ProtoMessage()
- func (x *PutPendFindingRequest) ProtoReflect() protoreflect.Message
- func (x *PutPendFindingRequest) Reset()
- func (x *PutPendFindingRequest) String() string
- func (p *PutPendFindingRequest) Validate() error
- type PutPendFindingResponse
- func (*PutPendFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutPendFindingResponse) GetPendFinding() *PendFinding
- func (*PutPendFindingResponse) ProtoMessage()
- func (x *PutPendFindingResponse) ProtoReflect() protoreflect.Message
- func (x *PutPendFindingResponse) Reset()
- func (x *PutPendFindingResponse) String() string
- type PutRecommendRequest
- func (*PutRecommendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutRecommendRequest) GetDataSource() string
- func (x *PutRecommendRequest) GetFindingId() uint64
- func (x *PutRecommendRequest) GetProjectId() uint32
- func (x *PutRecommendRequest) GetRecommendation() string
- func (x *PutRecommendRequest) GetRisk() string
- func (x *PutRecommendRequest) GetType() string
- func (*PutRecommendRequest) ProtoMessage()
- func (x *PutRecommendRequest) ProtoReflect() protoreflect.Message
- func (x *PutRecommendRequest) Reset()
- func (x *PutRecommendRequest) String() string
- func (p *PutRecommendRequest) Validate() error
- type PutRecommendResponse
- func (*PutRecommendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutRecommendResponse) GetRecommend() *Recommend
- func (*PutRecommendResponse) ProtoMessage()
- func (x *PutRecommendResponse) ProtoReflect() protoreflect.Message
- func (x *PutRecommendResponse) Reset()
- func (x *PutRecommendResponse) String() string
- type PutResourceBatchRequest
- func (*PutResourceBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutResourceBatchRequest) GetProjectId() uint32
- func (x *PutResourceBatchRequest) GetResource() []*ResourceBatchForUpsert
- func (*PutResourceBatchRequest) ProtoMessage()
- func (x *PutResourceBatchRequest) ProtoReflect() protoreflect.Message
- func (x *PutResourceBatchRequest) Reset()
- func (x *PutResourceBatchRequest) String() string
- func (p *PutResourceBatchRequest) Validate() error
- type PutResourceRequest
- func (*PutResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutResourceRequest) GetProjectId() uint32
- func (x *PutResourceRequest) GetResource() *ResourceForUpsert
- func (*PutResourceRequest) ProtoMessage()
- func (x *PutResourceRequest) ProtoReflect() protoreflect.Message
- func (x *PutResourceRequest) Reset()
- func (x *PutResourceRequest) String() string
- func (p *PutResourceRequest) Validate() error
- type PutResourceResponse
- func (*PutResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutResourceResponse) GetResource() *Resource
- func (*PutResourceResponse) ProtoMessage()
- func (x *PutResourceResponse) ProtoReflect() protoreflect.Message
- func (x *PutResourceResponse) Reset()
- func (x *PutResourceResponse) String() string
- type Recommend
- func (*Recommend) Descriptor() ([]byte, []int)deprecated
- func (x *Recommend) GetCreatedAt() int64
- func (x *Recommend) GetDataSource() string
- func (x *Recommend) GetFindingId() uint64
- func (x *Recommend) GetRecommendId() uint32
- func (x *Recommend) GetRecommendation() string
- func (x *Recommend) GetRisk() string
- func (x *Recommend) GetType() string
- func (x *Recommend) GetUpdatedAt() int64
- func (*Recommend) ProtoMessage()
- func (x *Recommend) ProtoReflect() protoreflect.Message
- func (x *Recommend) Reset()
- func (x *Recommend) String() string
- type RecommendForBatch
- func (*RecommendForBatch) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendForBatch) GetRecommendation() string
- func (x *RecommendForBatch) GetRisk() string
- func (x *RecommendForBatch) GetType() string
- func (*RecommendForBatch) ProtoMessage()
- func (x *RecommendForBatch) ProtoReflect() protoreflect.Message
- func (x *RecommendForBatch) Reset()
- func (x *RecommendForBatch) String() string
- func (r *RecommendForBatch) Validate() error
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCreatedAt() int64
- func (x *Resource) GetProjectId() uint32
- func (x *Resource) GetResourceId() uint64
- func (x *Resource) GetResourceName() string
- func (x *Resource) GetUpdatedAt() int64
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceBatchForUpsert
- func (*ResourceBatchForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceBatchForUpsert) GetResource() *ResourceForUpsert
- func (x *ResourceBatchForUpsert) GetTag() []*ResourceTagForBatch
- func (*ResourceBatchForUpsert) ProtoMessage()
- func (x *ResourceBatchForUpsert) ProtoReflect() protoreflect.Message
- func (x *ResourceBatchForUpsert) Reset()
- func (x *ResourceBatchForUpsert) String() string
- type ResourceForUpsert
- func (*ResourceForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceForUpsert) GetProjectId() uint32
- func (x *ResourceForUpsert) GetResourceName() string
- func (*ResourceForUpsert) ProtoMessage()
- func (x *ResourceForUpsert) ProtoReflect() protoreflect.Message
- func (x *ResourceForUpsert) Reset()
- func (x *ResourceForUpsert) String() string
- func (r *ResourceForUpsert) Validate() error
- type ResourceTag
- func (*ResourceTag) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTag) GetCreatedAt() int64
- func (x *ResourceTag) GetProjectId() uint32
- func (x *ResourceTag) GetResourceId() uint64
- func (x *ResourceTag) GetResourceTagId() uint64
- func (x *ResourceTag) GetTag() string
- func (x *ResourceTag) GetUpdatedAt() int64
- func (*ResourceTag) ProtoMessage()
- func (x *ResourceTag) ProtoReflect() protoreflect.Message
- func (x *ResourceTag) Reset()
- func (x *ResourceTag) String() string
- type ResourceTagForBatch
- func (*ResourceTagForBatch) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTagForBatch) GetTag() string
- func (*ResourceTagForBatch) ProtoMessage()
- func (x *ResourceTagForBatch) ProtoReflect() protoreflect.Message
- func (x *ResourceTagForBatch) Reset()
- func (x *ResourceTagForBatch) String() string
- func (r *ResourceTagForBatch) Validate() error
- type ResourceTagForUpsert
- func (*ResourceTagForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTagForUpsert) GetProjectId() uint32
- func (x *ResourceTagForUpsert) GetResourceId() uint64
- func (x *ResourceTagForUpsert) GetTag() string
- func (*ResourceTagForUpsert) ProtoMessage()
- func (x *ResourceTagForUpsert) ProtoReflect() protoreflect.Message
- func (x *ResourceTagForUpsert) Reset()
- func (x *ResourceTagForUpsert) String() string
- func (r *ResourceTagForUpsert) Validate() error
- type TagFindingRequest
- func (*TagFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TagFindingRequest) GetProjectId() uint32
- func (x *TagFindingRequest) GetTag() *FindingTagForUpsert
- func (*TagFindingRequest) ProtoMessage()
- func (x *TagFindingRequest) ProtoReflect() protoreflect.Message
- func (x *TagFindingRequest) Reset()
- func (x *TagFindingRequest) String() string
- func (t *TagFindingRequest) Validate() error
- type TagFindingResponse
- func (*TagFindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TagFindingResponse) GetTag() *FindingTag
- func (*TagFindingResponse) ProtoMessage()
- func (x *TagFindingResponse) ProtoReflect() protoreflect.Message
- func (x *TagFindingResponse) Reset()
- func (x *TagFindingResponse) String() string
- type TagResourceRequest
- func (*TagResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TagResourceRequest) GetProjectId() uint32
- func (x *TagResourceRequest) GetTag() *ResourceTagForUpsert
- func (*TagResourceRequest) ProtoMessage()
- func (x *TagResourceRequest) ProtoReflect() protoreflect.Message
- func (x *TagResourceRequest) Reset()
- func (x *TagResourceRequest) String() string
- func (t *TagResourceRequest) Validate() error
- type TagResourceResponse
- func (*TagResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TagResourceResponse) GetTag() *ResourceTag
- func (*TagResourceResponse) ProtoMessage()
- func (x *TagResourceResponse) ProtoReflect() protoreflect.Message
- func (x *TagResourceResponse) Reset()
- func (x *TagResourceResponse) String() string
- type UnimplementedFindingServiceServer
- func (*UnimplementedFindingServiceServer) BatchListFinding(context.Context, *BatchListFindingRequest) (*BatchListFindingResponse, error)
- func (*UnimplementedFindingServiceServer) ClearScore(context.Context, *ClearScoreRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) DeleteFinding(context.Context, *DeleteFindingRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) DeleteFindingSetting(context.Context, *DeleteFindingSettingRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) DeletePendFinding(context.Context, *DeletePendFindingRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) GetFinding(context.Context, *GetFindingRequest) (*GetFindingResponse, error)
- func (*UnimplementedFindingServiceServer) GetFindingSetting(context.Context, *GetFindingSettingRequest) (*GetFindingSettingResponse, error)
- func (*UnimplementedFindingServiceServer) GetPendFinding(context.Context, *GetPendFindingRequest) (*GetPendFindingResponse, error)
- func (*UnimplementedFindingServiceServer) GetRecommend(context.Context, *GetRecommendRequest) (*GetRecommendResponse, error)
- func (*UnimplementedFindingServiceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
- func (*UnimplementedFindingServiceServer) ListFinding(context.Context, *ListFindingRequest) (*ListFindingResponse, error)
- func (*UnimplementedFindingServiceServer) ListFindingSetting(context.Context, *ListFindingSettingRequest) (*ListFindingSettingResponse, error)
- func (*UnimplementedFindingServiceServer) ListFindingTag(context.Context, *ListFindingTagRequest) (*ListFindingTagResponse, error)
- func (*UnimplementedFindingServiceServer) ListFindingTagName(context.Context, *ListFindingTagNameRequest) (*ListFindingTagNameResponse, error)
- func (*UnimplementedFindingServiceServer) ListResource(context.Context, *ListResourceRequest) (*ListResourceResponse, error)
- func (*UnimplementedFindingServiceServer) ListResourceTag(context.Context, *ListResourceTagRequest) (*ListResourceTagResponse, error)
- func (*UnimplementedFindingServiceServer) ListResourceTagName(context.Context, *ListResourceTagNameRequest) (*ListResourceTagNameResponse, error)
- func (*UnimplementedFindingServiceServer) PutFinding(context.Context, *PutFindingRequest) (*PutFindingResponse, error)
- func (*UnimplementedFindingServiceServer) PutFindingBatch(context.Context, *PutFindingBatchRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) PutFindingSetting(context.Context, *PutFindingSettingRequest) (*PutFindingSettingResponse, error)
- func (*UnimplementedFindingServiceServer) PutPendFinding(context.Context, *PutPendFindingRequest) (*PutPendFindingResponse, error)
- func (*UnimplementedFindingServiceServer) PutRecommend(context.Context, *PutRecommendRequest) (*PutRecommendResponse, error)
- func (*UnimplementedFindingServiceServer) PutResource(context.Context, *PutResourceRequest) (*PutResourceResponse, error)
- func (*UnimplementedFindingServiceServer) PutResourceBatch(context.Context, *PutResourceBatchRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) TagFinding(context.Context, *TagFindingRequest) (*TagFindingResponse, error)
- func (*UnimplementedFindingServiceServer) TagResource(context.Context, *TagResourceRequest) (*TagResourceResponse, error)
- func (*UnimplementedFindingServiceServer) UntagFinding(context.Context, *UntagFindingRequest) (*emptypb.Empty, error)
- func (*UnimplementedFindingServiceServer) UntagResource(context.Context, *UntagResourceRequest) (*emptypb.Empty, error)
- type UntagFindingRequest
- func (*UntagFindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UntagFindingRequest) GetFindingTagId() uint64
- func (x *UntagFindingRequest) GetProjectId() uint32
- func (*UntagFindingRequest) ProtoMessage()
- func (x *UntagFindingRequest) ProtoReflect() protoreflect.Message
- func (x *UntagFindingRequest) Reset()
- func (x *UntagFindingRequest) String() string
- func (u *UntagFindingRequest) Validate() error
- type UntagResourceRequest
- func (*UntagResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UntagResourceRequest) GetProjectId() uint32
- func (x *UntagResourceRequest) GetResourceTagId() uint64
- func (*UntagResourceRequest) ProtoMessage()
- func (x *UntagResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UntagResourceRequest) Reset()
- func (x *UntagResourceRequest) String() string
- func (u *UntagResourceRequest) Validate() error
Constants ¶
const ( // PutFindingBatchMaxLength is the max number of `finding` data per request. PutFindingBatchMaxLength = 50 // PutResourceBatchMaxLength is the max number of `resource` data per request. PutResourceBatchMaxLength = 50 )
Variables ¶
var ( FindingStatus_name = map[int32]string{ 0: "FINDING_UNKNOWN", 1: "FINDING_ACTIVE", 2: "FINDING_PENDING", } FindingStatus_value = map[string]int32{ "FINDING_UNKNOWN": 0, "FINDING_ACTIVE": 1, "FINDING_PENDING": 2, } )
Enum value maps for FindingStatus.
var ( FindingSettingStatus_name = map[int32]string{ 0: "SETTING_UNKNOWN", 1: "SETTING_ACTIVE", 2: "SETTING_DEACTIVE", } FindingSettingStatus_value = map[string]int32{ "SETTING_UNKNOWN": 0, "SETTING_ACTIVE": 1, "SETTING_DEACTIVE": 2, } )
Enum value maps for FindingSettingStatus.
var File_finding_entity_proto protoreflect.FileDescriptor
var File_finding_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFindingServiceServer ¶
func RegisterFindingServiceServer(s *grpc.Server, srv FindingServiceServer)
Types ¶
type BatchListFindingRequest ¶
type BatchListFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` DataSource []string `protobuf:"bytes,2,rep,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` ResourceName []string `protobuf:"bytes,3,rep,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` FromScore float32 `protobuf:"fixed32,4,opt,name=from_score,json=fromScore,proto3" json:"from_score,omitempty"` ToScore float32 `protobuf:"fixed32,5,opt,name=to_score,json=toScore,proto3" json:"to_score,omitempty"` FromAt int64 `protobuf:"varint,6,opt,name=from_at,json=fromAt,proto3" json:"from_at,omitempty"` ToAt int64 `protobuf:"varint,7,opt,name=to_at,json=toAt,proto3" json:"to_at,omitempty"` Tag []string `protobuf:"bytes,8,rep,name=tag,proto3" json:"tag,omitempty"` Status FindingStatus `protobuf:"varint,9,opt,name=status,proto3,enum=core.finding.FindingStatus" json:"status,omitempty"` FindingId uint64 `protobuf:"varint,10,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*BatchListFindingRequest) Descriptor
deprecated
func (*BatchListFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchListFindingRequest.ProtoReflect.Descriptor instead.
func (*BatchListFindingRequest) GetDataSource ¶
func (x *BatchListFindingRequest) GetDataSource() []string
func (*BatchListFindingRequest) GetFindingId ¶
func (x *BatchListFindingRequest) GetFindingId() uint64
func (*BatchListFindingRequest) GetFromAt ¶
func (x *BatchListFindingRequest) GetFromAt() int64
func (*BatchListFindingRequest) GetFromScore ¶
func (x *BatchListFindingRequest) GetFromScore() float32
func (*BatchListFindingRequest) GetProjectId ¶
func (x *BatchListFindingRequest) GetProjectId() uint32
func (*BatchListFindingRequest) GetResourceName ¶
func (x *BatchListFindingRequest) GetResourceName() []string
func (*BatchListFindingRequest) GetStatus ¶
func (x *BatchListFindingRequest) GetStatus() FindingStatus
func (*BatchListFindingRequest) GetTag ¶
func (x *BatchListFindingRequest) GetTag() []string
func (*BatchListFindingRequest) GetToAt ¶
func (x *BatchListFindingRequest) GetToAt() int64
func (*BatchListFindingRequest) GetToScore ¶
func (x *BatchListFindingRequest) GetToScore() float32
func (*BatchListFindingRequest) ProtoMessage ¶
func (*BatchListFindingRequest) ProtoMessage()
func (*BatchListFindingRequest) ProtoReflect ¶
func (x *BatchListFindingRequest) ProtoReflect() protoreflect.Message
func (*BatchListFindingRequest) Reset ¶
func (x *BatchListFindingRequest) Reset()
func (*BatchListFindingRequest) String ¶
func (x *BatchListFindingRequest) String() string
func (*BatchListFindingRequest) Validate ¶
func (b *BatchListFindingRequest) Validate() error
Validate BatchListFindingRequest
type BatchListFindingResponse ¶
type BatchListFindingResponse struct { FindingId []uint64 `protobuf:"varint,1,rep,packed,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*BatchListFindingResponse) Descriptor
deprecated
func (*BatchListFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchListFindingResponse.ProtoReflect.Descriptor instead.
func (*BatchListFindingResponse) GetCount ¶
func (x *BatchListFindingResponse) GetCount() uint32
func (*BatchListFindingResponse) GetFindingId ¶
func (x *BatchListFindingResponse) GetFindingId() []uint64
func (*BatchListFindingResponse) GetTotal ¶
func (x *BatchListFindingResponse) GetTotal() uint32
func (*BatchListFindingResponse) ProtoMessage ¶
func (*BatchListFindingResponse) ProtoMessage()
func (*BatchListFindingResponse) ProtoReflect ¶
func (x *BatchListFindingResponse) ProtoReflect() protoreflect.Message
func (*BatchListFindingResponse) Reset ¶
func (x *BatchListFindingResponse) Reset()
func (*BatchListFindingResponse) String ¶
func (x *BatchListFindingResponse) String() string
type ClearScoreRequest ¶
type ClearScoreRequest struct { DataSource string `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag []string `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` FindingId uint64 `protobuf:"varint,4,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*ClearScoreRequest) Descriptor
deprecated
func (*ClearScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearScoreRequest.ProtoReflect.Descriptor instead.
func (*ClearScoreRequest) GetDataSource ¶
func (x *ClearScoreRequest) GetDataSource() string
func (*ClearScoreRequest) GetFindingId ¶
func (x *ClearScoreRequest) GetFindingId() uint64
func (*ClearScoreRequest) GetProjectId ¶
func (x *ClearScoreRequest) GetProjectId() uint32
func (*ClearScoreRequest) GetTag ¶
func (x *ClearScoreRequest) GetTag() []string
func (*ClearScoreRequest) ProtoMessage ¶
func (*ClearScoreRequest) ProtoMessage()
func (*ClearScoreRequest) ProtoReflect ¶
func (x *ClearScoreRequest) ProtoReflect() protoreflect.Message
func (*ClearScoreRequest) Reset ¶
func (x *ClearScoreRequest) Reset()
func (*ClearScoreRequest) String ¶
func (x *ClearScoreRequest) String() string
func (*ClearScoreRequest) Validate ¶
func (c *ClearScoreRequest) Validate() error
Validate ClearScoreRequest
type DeleteFindingRequest ¶
type DeleteFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFindingRequest) Descriptor
deprecated
func (*DeleteFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteFindingRequest) GetFindingId ¶
func (x *DeleteFindingRequest) GetFindingId() uint64
func (*DeleteFindingRequest) GetProjectId ¶
func (x *DeleteFindingRequest) GetProjectId() uint32
func (*DeleteFindingRequest) ProtoMessage ¶
func (*DeleteFindingRequest) ProtoMessage()
func (*DeleteFindingRequest) ProtoReflect ¶
func (x *DeleteFindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteFindingRequest) Reset ¶
func (x *DeleteFindingRequest) Reset()
func (*DeleteFindingRequest) String ¶
func (x *DeleteFindingRequest) String() string
func (*DeleteFindingRequest) Validate ¶
func (d *DeleteFindingRequest) Validate() error
Validate DeleteFindingRequest
type DeleteFindingSettingRequest ¶
type DeleteFindingSettingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingSettingId uint32 `protobuf:"varint,2,opt,name=finding_setting_id,json=findingSettingId,proto3" json:"finding_setting_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFindingSettingRequest) Descriptor
deprecated
func (*DeleteFindingSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFindingSettingRequest.ProtoReflect.Descriptor instead.
func (*DeleteFindingSettingRequest) GetFindingSettingId ¶
func (x *DeleteFindingSettingRequest) GetFindingSettingId() uint32
func (*DeleteFindingSettingRequest) GetProjectId ¶
func (x *DeleteFindingSettingRequest) GetProjectId() uint32
func (*DeleteFindingSettingRequest) ProtoMessage ¶
func (*DeleteFindingSettingRequest) ProtoMessage()
func (*DeleteFindingSettingRequest) ProtoReflect ¶
func (x *DeleteFindingSettingRequest) ProtoReflect() protoreflect.Message
func (*DeleteFindingSettingRequest) Reset ¶
func (x *DeleteFindingSettingRequest) Reset()
func (*DeleteFindingSettingRequest) String ¶
func (x *DeleteFindingSettingRequest) String() string
func (*DeleteFindingSettingRequest) Validate ¶
func (d *DeleteFindingSettingRequest) Validate() error
Validate for DeleteFindingSettingRequest
type DeletePendFindingRequest ¶
type DeletePendFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePendFindingRequest) Descriptor
deprecated
func (*DeletePendFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePendFindingRequest.ProtoReflect.Descriptor instead.
func (*DeletePendFindingRequest) GetFindingId ¶
func (x *DeletePendFindingRequest) GetFindingId() uint64
func (*DeletePendFindingRequest) GetProjectId ¶
func (x *DeletePendFindingRequest) GetProjectId() uint32
func (*DeletePendFindingRequest) ProtoMessage ¶
func (*DeletePendFindingRequest) ProtoMessage()
func (*DeletePendFindingRequest) ProtoReflect ¶
func (x *DeletePendFindingRequest) ProtoReflect() protoreflect.Message
func (*DeletePendFindingRequest) Reset ¶
func (x *DeletePendFindingRequest) Reset()
func (*DeletePendFindingRequest) String ¶
func (x *DeletePendFindingRequest) String() string
func (*DeletePendFindingRequest) Validate ¶
func (d *DeletePendFindingRequest) Validate() error
Validate for DeletePendFindingRequest
type DeleteResourceRequest ¶
type DeleteResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceId uint64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceRequest) Descriptor
deprecated
func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceRequest) GetProjectId ¶
func (x *DeleteResourceRequest) GetProjectId() uint32
func (*DeleteResourceRequest) GetResourceId ¶
func (x *DeleteResourceRequest) GetResourceId() uint64
func (*DeleteResourceRequest) ProtoMessage ¶
func (*DeleteResourceRequest) ProtoMessage()
func (*DeleteResourceRequest) ProtoReflect ¶
func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceRequest) Reset ¶
func (x *DeleteResourceRequest) Reset()
func (*DeleteResourceRequest) String ¶
func (x *DeleteResourceRequest) String() string
func (*DeleteResourceRequest) Validate ¶
func (d *DeleteResourceRequest) Validate() error
Validate DeleteResourceRequest
type Finding ¶
type Finding struct { FindingId uint64 `protobuf:"varint,1,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` DataSourceId string `protobuf:"bytes,4,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"` ResourceName string `protobuf:"bytes,5,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` ProjectId uint32 `protobuf:"varint,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OriginalScore float32 `protobuf:"fixed32,7,opt,name=original_score,json=originalScore,proto3" json:"original_score,omitempty"` OriginalMaxScore float32 `protobuf:"fixed32,8,opt,name=original_max_score,json=originalMaxScore,proto3" json:"original_max_score,omitempty"` Score float32 `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"` Data string `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Finding
func (*Finding) Descriptor
deprecated
func (*Finding) GetCreatedAt ¶
func (*Finding) GetDataSource ¶
func (*Finding) GetDataSourceId ¶
func (*Finding) GetDescription ¶
func (*Finding) GetFindingId ¶
func (*Finding) GetOriginalMaxScore ¶
func (*Finding) GetOriginalScore ¶
func (*Finding) GetProjectId ¶
func (*Finding) GetResourceName ¶
func (*Finding) GetUpdatedAt ¶
func (*Finding) ProtoMessage ¶
func (*Finding) ProtoMessage()
func (*Finding) ProtoReflect ¶
func (x *Finding) ProtoReflect() protoreflect.Message
type FindingBatchForUpsert ¶
type FindingBatchForUpsert struct { Finding *FindingForUpsert `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` Recommend *RecommendForBatch `protobuf:"bytes,2,opt,name=recommend,proto3" json:"recommend,omitempty"` Tag []*FindingTagForBatch `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*FindingBatchForUpsert) Descriptor
deprecated
func (*FindingBatchForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use FindingBatchForUpsert.ProtoReflect.Descriptor instead.
func (*FindingBatchForUpsert) GetFinding ¶
func (x *FindingBatchForUpsert) GetFinding() *FindingForUpsert
func (*FindingBatchForUpsert) GetRecommend ¶
func (x *FindingBatchForUpsert) GetRecommend() *RecommendForBatch
func (*FindingBatchForUpsert) GetTag ¶
func (x *FindingBatchForUpsert) GetTag() []*FindingTagForBatch
func (*FindingBatchForUpsert) ProtoMessage ¶
func (*FindingBatchForUpsert) ProtoMessage()
func (*FindingBatchForUpsert) ProtoReflect ¶
func (x *FindingBatchForUpsert) ProtoReflect() protoreflect.Message
func (*FindingBatchForUpsert) Reset ¶
func (x *FindingBatchForUpsert) Reset()
func (*FindingBatchForUpsert) String ¶
func (x *FindingBatchForUpsert) String() string
type FindingForUpsert ¶
type FindingForUpsert struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` DataSource string `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` DataSourceId string `protobuf:"bytes,3,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"` ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` ProjectId uint32 `protobuf:"varint,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OriginalScore float32 `protobuf:"fixed32,6,opt,name=original_score,json=originalScore,proto3" json:"original_score,omitempty"` OriginalMaxScore float32 `protobuf:"fixed32,7,opt,name=original_max_score,json=originalMaxScore,proto3" json:"original_max_score,omitempty"` Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Finding For Upsert (Unique keys: project_id, data_source, data_source_id)
func (*FindingForUpsert) Descriptor
deprecated
func (*FindingForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use FindingForUpsert.ProtoReflect.Descriptor instead.
func (*FindingForUpsert) GetData ¶
func (x *FindingForUpsert) GetData() string
func (*FindingForUpsert) GetDataSource ¶
func (x *FindingForUpsert) GetDataSource() string
func (*FindingForUpsert) GetDataSourceId ¶
func (x *FindingForUpsert) GetDataSourceId() string
func (*FindingForUpsert) GetDescription ¶
func (x *FindingForUpsert) GetDescription() string
func (*FindingForUpsert) GetOriginalMaxScore ¶
func (x *FindingForUpsert) GetOriginalMaxScore() float32
func (*FindingForUpsert) GetOriginalScore ¶
func (x *FindingForUpsert) GetOriginalScore() float32
func (*FindingForUpsert) GetProjectId ¶
func (x *FindingForUpsert) GetProjectId() uint32
func (*FindingForUpsert) GetResourceName ¶
func (x *FindingForUpsert) GetResourceName() string
func (*FindingForUpsert) ProtoMessage ¶
func (*FindingForUpsert) ProtoMessage()
func (*FindingForUpsert) ProtoReflect ¶
func (x *FindingForUpsert) ProtoReflect() protoreflect.Message
func (*FindingForUpsert) Reset ¶
func (x *FindingForUpsert) Reset()
func (*FindingForUpsert) String ¶
func (x *FindingForUpsert) String() string
func (*FindingForUpsert) Validate ¶
func (f *FindingForUpsert) Validate() error
Validate FindingForUpsert
type FindingServiceClient ¶
type FindingServiceClient interface { // fiding ListFinding(ctx context.Context, in *ListFindingRequest, opts ...grpc.CallOption) (*ListFindingResponse, error) BatchListFinding(ctx context.Context, in *BatchListFindingRequest, opts ...grpc.CallOption) (*BatchListFindingResponse, error) GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*GetFindingResponse, error) PutFinding(ctx context.Context, in *PutFindingRequest, opts ...grpc.CallOption) (*PutFindingResponse, error) PutFindingBatch(ctx context.Context, in *PutFindingBatchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteFinding(ctx context.Context, in *DeleteFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListFindingTag(ctx context.Context, in *ListFindingTagRequest, opts ...grpc.CallOption) (*ListFindingTagResponse, error) ListFindingTagName(ctx context.Context, in *ListFindingTagNameRequest, opts ...grpc.CallOption) (*ListFindingTagNameResponse, error) TagFinding(ctx context.Context, in *TagFindingRequest, opts ...grpc.CallOption) (*TagFindingResponse, error) UntagFinding(ctx context.Context, in *UntagFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ClearScore(ctx context.Context, in *ClearScoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // resource ListResource(ctx context.Context, in *ListResourceRequest, opts ...grpc.CallOption) (*ListResourceResponse, error) GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error) PutResource(ctx context.Context, in *PutResourceRequest, opts ...grpc.CallOption) (*PutResourceResponse, error) PutResourceBatch(ctx context.Context, in *PutResourceBatchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListResourceTag(ctx context.Context, in *ListResourceTagRequest, opts ...grpc.CallOption) (*ListResourceTagResponse, error) ListResourceTagName(ctx context.Context, in *ListResourceTagNameRequest, opts ...grpc.CallOption) (*ListResourceTagNameResponse, error) TagResource(ctx context.Context, in *TagResourceRequest, opts ...grpc.CallOption) (*TagResourceResponse, error) UntagResource(ctx context.Context, in *UntagResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // pend_finding GetPendFinding(ctx context.Context, in *GetPendFindingRequest, opts ...grpc.CallOption) (*GetPendFindingResponse, error) PutPendFinding(ctx context.Context, in *PutPendFindingRequest, opts ...grpc.CallOption) (*PutPendFindingResponse, error) DeletePendFinding(ctx context.Context, in *DeletePendFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // finding_setting ListFindingSetting(ctx context.Context, in *ListFindingSettingRequest, opts ...grpc.CallOption) (*ListFindingSettingResponse, error) GetFindingSetting(ctx context.Context, in *GetFindingSettingRequest, opts ...grpc.CallOption) (*GetFindingSettingResponse, error) PutFindingSetting(ctx context.Context, in *PutFindingSettingRequest, opts ...grpc.CallOption) (*PutFindingSettingResponse, error) DeleteFindingSetting(ctx context.Context, in *DeleteFindingSettingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // recommend GetRecommend(ctx context.Context, in *GetRecommendRequest, opts ...grpc.CallOption) (*GetRecommendResponse, error) PutRecommend(ctx context.Context, in *PutRecommendRequest, opts ...grpc.CallOption) (*PutRecommendResponse, error) }
FindingServiceClient is the client API for FindingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFindingServiceClient ¶
func NewFindingServiceClient(cc grpc.ClientConnInterface) FindingServiceClient
type FindingServiceServer ¶
type FindingServiceServer interface { // fiding ListFinding(context.Context, *ListFindingRequest) (*ListFindingResponse, error) BatchListFinding(context.Context, *BatchListFindingRequest) (*BatchListFindingResponse, error) GetFinding(context.Context, *GetFindingRequest) (*GetFindingResponse, error) PutFinding(context.Context, *PutFindingRequest) (*PutFindingResponse, error) PutFindingBatch(context.Context, *PutFindingBatchRequest) (*emptypb.Empty, error) DeleteFinding(context.Context, *DeleteFindingRequest) (*emptypb.Empty, error) ListFindingTag(context.Context, *ListFindingTagRequest) (*ListFindingTagResponse, error) ListFindingTagName(context.Context, *ListFindingTagNameRequest) (*ListFindingTagNameResponse, error) TagFinding(context.Context, *TagFindingRequest) (*TagFindingResponse, error) UntagFinding(context.Context, *UntagFindingRequest) (*emptypb.Empty, error) ClearScore(context.Context, *ClearScoreRequest) (*emptypb.Empty, error) // resource ListResource(context.Context, *ListResourceRequest) (*ListResourceResponse, error) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error) PutResource(context.Context, *PutResourceRequest) (*PutResourceResponse, error) PutResourceBatch(context.Context, *PutResourceBatchRequest) (*emptypb.Empty, error) DeleteResource(context.Context, *DeleteResourceRequest) (*emptypb.Empty, error) ListResourceTag(context.Context, *ListResourceTagRequest) (*ListResourceTagResponse, error) ListResourceTagName(context.Context, *ListResourceTagNameRequest) (*ListResourceTagNameResponse, error) TagResource(context.Context, *TagResourceRequest) (*TagResourceResponse, error) UntagResource(context.Context, *UntagResourceRequest) (*emptypb.Empty, error) // pend_finding GetPendFinding(context.Context, *GetPendFindingRequest) (*GetPendFindingResponse, error) PutPendFinding(context.Context, *PutPendFindingRequest) (*PutPendFindingResponse, error) DeletePendFinding(context.Context, *DeletePendFindingRequest) (*emptypb.Empty, error) // finding_setting ListFindingSetting(context.Context, *ListFindingSettingRequest) (*ListFindingSettingResponse, error) GetFindingSetting(context.Context, *GetFindingSettingRequest) (*GetFindingSettingResponse, error) PutFindingSetting(context.Context, *PutFindingSettingRequest) (*PutFindingSettingResponse, error) DeleteFindingSetting(context.Context, *DeleteFindingSettingRequest) (*emptypb.Empty, error) // recommend GetRecommend(context.Context, *GetRecommendRequest) (*GetRecommendResponse, error) PutRecommend(context.Context, *PutRecommendRequest) (*PutRecommendResponse, error) }
FindingServiceServer is the server API for FindingService service.
type FindingSetting ¶
type FindingSetting struct { FindingSettingId uint32 `protobuf:"varint,1,opt,name=finding_setting_id,json=findingSettingId,proto3" json:"finding_setting_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` Setting string `protobuf:"bytes,4,opt,name=setting,proto3" json:"setting,omitempty"` Status FindingSettingStatus `protobuf:"varint,5,opt,name=status,proto3,enum=core.finding.FindingSettingStatus" json:"status,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
FindingSetting
func (*FindingSetting) Descriptor
deprecated
func (*FindingSetting) Descriptor() ([]byte, []int)
Deprecated: Use FindingSetting.ProtoReflect.Descriptor instead.
func (*FindingSetting) GetCreatedAt ¶
func (x *FindingSetting) GetCreatedAt() int64
func (*FindingSetting) GetFindingSettingId ¶
func (x *FindingSetting) GetFindingSettingId() uint32
func (*FindingSetting) GetProjectId ¶
func (x *FindingSetting) GetProjectId() uint32
func (*FindingSetting) GetResourceName ¶
func (x *FindingSetting) GetResourceName() string
func (*FindingSetting) GetSetting ¶
func (x *FindingSetting) GetSetting() string
func (*FindingSetting) GetStatus ¶
func (x *FindingSetting) GetStatus() FindingSettingStatus
func (*FindingSetting) GetUpdatedAt ¶
func (x *FindingSetting) GetUpdatedAt() int64
func (*FindingSetting) ProtoMessage ¶
func (*FindingSetting) ProtoMessage()
func (*FindingSetting) ProtoReflect ¶
func (x *FindingSetting) ProtoReflect() protoreflect.Message
func (*FindingSetting) Reset ¶
func (x *FindingSetting) Reset()
func (*FindingSetting) String ¶
func (x *FindingSetting) String() string
type FindingSettingForUpsert ¶
type FindingSettingForUpsert struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` Setting string `protobuf:"bytes,3,opt,name=setting,proto3" json:"setting,omitempty"` Status FindingSettingStatus `protobuf:"varint,4,opt,name=status,proto3,enum=core.finding.FindingSettingStatus" json:"status,omitempty"` // contains filtered or unexported fields }
FindingSettingForUpsert
func (*FindingSettingForUpsert) Descriptor
deprecated
func (*FindingSettingForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use FindingSettingForUpsert.ProtoReflect.Descriptor instead.
func (*FindingSettingForUpsert) GetProjectId ¶
func (x *FindingSettingForUpsert) GetProjectId() uint32
func (*FindingSettingForUpsert) GetResourceName ¶
func (x *FindingSettingForUpsert) GetResourceName() string
func (*FindingSettingForUpsert) GetSetting ¶
func (x *FindingSettingForUpsert) GetSetting() string
func (*FindingSettingForUpsert) GetStatus ¶
func (x *FindingSettingForUpsert) GetStatus() FindingSettingStatus
func (*FindingSettingForUpsert) ProtoMessage ¶
func (*FindingSettingForUpsert) ProtoMessage()
func (*FindingSettingForUpsert) ProtoReflect ¶
func (x *FindingSettingForUpsert) ProtoReflect() protoreflect.Message
func (*FindingSettingForUpsert) Reset ¶
func (x *FindingSettingForUpsert) Reset()
func (*FindingSettingForUpsert) String ¶
func (x *FindingSettingForUpsert) String() string
func (*FindingSettingForUpsert) Validate ¶
func (f *FindingSettingForUpsert) Validate() error
Validate for FindingSettingForUpsert
type FindingSettingStatus ¶
type FindingSettingStatus int32
FindingSettingStatus
const ( FindingSettingStatus_SETTING_UNKNOWN FindingSettingStatus = 0 FindingSettingStatus_SETTING_ACTIVE FindingSettingStatus = 1 FindingSettingStatus_SETTING_DEACTIVE FindingSettingStatus = 2 )
func (FindingSettingStatus) Descriptor ¶
func (FindingSettingStatus) Descriptor() protoreflect.EnumDescriptor
func (FindingSettingStatus) Enum ¶
func (x FindingSettingStatus) Enum() *FindingSettingStatus
func (FindingSettingStatus) EnumDescriptor
deprecated
func (FindingSettingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindingSettingStatus.Descriptor instead.
func (FindingSettingStatus) Number ¶
func (x FindingSettingStatus) Number() protoreflect.EnumNumber
func (FindingSettingStatus) String ¶
func (x FindingSettingStatus) String() string
func (FindingSettingStatus) Type ¶
func (FindingSettingStatus) Type() protoreflect.EnumType
type FindingStatus ¶
type FindingStatus int32
FindingStatus
const ( FindingStatus_FINDING_UNKNOWN FindingStatus = 0 FindingStatus_FINDING_ACTIVE FindingStatus = 1 FindingStatus_FINDING_PENDING FindingStatus = 2 )
func (FindingStatus) Descriptor ¶
func (FindingStatus) Descriptor() protoreflect.EnumDescriptor
func (FindingStatus) Enum ¶
func (x FindingStatus) Enum() *FindingStatus
func (FindingStatus) EnumDescriptor
deprecated
func (FindingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindingStatus.Descriptor instead.
func (FindingStatus) Number ¶
func (x FindingStatus) Number() protoreflect.EnumNumber
func (FindingStatus) String ¶
func (x FindingStatus) String() string
func (FindingStatus) Type ¶
func (FindingStatus) Type() protoreflect.EnumType
type FindingTag ¶
type FindingTag struct { FindingTagId uint64 `protobuf:"varint,1,opt,name=finding_tag_id,json=findingTagId,proto3" json:"finding_tag_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
FindingTag
func (*FindingTag) Descriptor
deprecated
func (*FindingTag) Descriptor() ([]byte, []int)
Deprecated: Use FindingTag.ProtoReflect.Descriptor instead.
func (*FindingTag) GetCreatedAt ¶
func (x *FindingTag) GetCreatedAt() int64
func (*FindingTag) GetFindingId ¶
func (x *FindingTag) GetFindingId() uint64
func (*FindingTag) GetFindingTagId ¶
func (x *FindingTag) GetFindingTagId() uint64
func (*FindingTag) GetProjectId ¶
func (x *FindingTag) GetProjectId() uint32
func (*FindingTag) GetTag ¶
func (x *FindingTag) GetTag() string
func (*FindingTag) GetUpdatedAt ¶
func (x *FindingTag) GetUpdatedAt() int64
func (*FindingTag) ProtoMessage ¶
func (*FindingTag) ProtoMessage()
func (*FindingTag) ProtoReflect ¶
func (x *FindingTag) ProtoReflect() protoreflect.Message
func (*FindingTag) Reset ¶
func (x *FindingTag) Reset()
func (*FindingTag) String ¶
func (x *FindingTag) String() string
type FindingTagForBatch ¶
type FindingTagForBatch struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
FindingTagForBatch
func (*FindingTagForBatch) Descriptor
deprecated
func (*FindingTagForBatch) Descriptor() ([]byte, []int)
Deprecated: Use FindingTagForBatch.ProtoReflect.Descriptor instead.
func (*FindingTagForBatch) GetTag ¶
func (x *FindingTagForBatch) GetTag() string
func (*FindingTagForBatch) ProtoMessage ¶
func (*FindingTagForBatch) ProtoMessage()
func (*FindingTagForBatch) ProtoReflect ¶
func (x *FindingTagForBatch) ProtoReflect() protoreflect.Message
func (*FindingTagForBatch) Reset ¶
func (x *FindingTagForBatch) Reset()
func (*FindingTagForBatch) String ¶
func (x *FindingTagForBatch) String() string
func (*FindingTagForBatch) Validate ¶
func (f *FindingTagForBatch) Validate() error
Validate for FindingTagForBatch
type FindingTagForUpsert ¶
type FindingTagForUpsert struct { FindingId uint64 `protobuf:"varint,1,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
FindingTag For Upsert (Unique keys: finding_id, tag_key)
func (*FindingTagForUpsert) Descriptor
deprecated
func (*FindingTagForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use FindingTagForUpsert.ProtoReflect.Descriptor instead.
func (*FindingTagForUpsert) GetFindingId ¶
func (x *FindingTagForUpsert) GetFindingId() uint64
func (*FindingTagForUpsert) GetProjectId ¶
func (x *FindingTagForUpsert) GetProjectId() uint32
func (*FindingTagForUpsert) GetTag ¶
func (x *FindingTagForUpsert) GetTag() string
func (*FindingTagForUpsert) ProtoMessage ¶
func (*FindingTagForUpsert) ProtoMessage()
func (*FindingTagForUpsert) ProtoReflect ¶
func (x *FindingTagForUpsert) ProtoReflect() protoreflect.Message
func (*FindingTagForUpsert) Reset ¶
func (x *FindingTagForUpsert) Reset()
func (*FindingTagForUpsert) String ¶
func (x *FindingTagForUpsert) String() string
func (*FindingTagForUpsert) Validate ¶
func (f *FindingTagForUpsert) Validate() error
Validate FindingTagForUpsert
type GetFindingRequest ¶
type GetFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*GetFindingRequest) Descriptor
deprecated
func (*GetFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFindingRequest.ProtoReflect.Descriptor instead.
func (*GetFindingRequest) GetFindingId ¶
func (x *GetFindingRequest) GetFindingId() uint64
func (*GetFindingRequest) GetProjectId ¶
func (x *GetFindingRequest) GetProjectId() uint32
func (*GetFindingRequest) ProtoMessage ¶
func (*GetFindingRequest) ProtoMessage()
func (*GetFindingRequest) ProtoReflect ¶
func (x *GetFindingRequest) ProtoReflect() protoreflect.Message
func (*GetFindingRequest) Reset ¶
func (x *GetFindingRequest) Reset()
func (*GetFindingRequest) String ¶
func (x *GetFindingRequest) String() string
func (*GetFindingRequest) Validate ¶
func (g *GetFindingRequest) Validate() error
Validate GetFinding
type GetFindingResponse ¶
type GetFindingResponse struct { Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` // contains filtered or unexported fields }
func (*GetFindingResponse) Descriptor
deprecated
func (*GetFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFindingResponse.ProtoReflect.Descriptor instead.
func (*GetFindingResponse) GetFinding ¶
func (x *GetFindingResponse) GetFinding() *Finding
func (*GetFindingResponse) ProtoMessage ¶
func (*GetFindingResponse) ProtoMessage()
func (*GetFindingResponse) ProtoReflect ¶
func (x *GetFindingResponse) ProtoReflect() protoreflect.Message
func (*GetFindingResponse) Reset ¶
func (x *GetFindingResponse) Reset()
func (*GetFindingResponse) String ¶
func (x *GetFindingResponse) String() string
type GetFindingSettingRequest ¶
type GetFindingSettingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingSettingId uint32 `protobuf:"varint,2,opt,name=finding_setting_id,json=findingSettingId,proto3" json:"finding_setting_id,omitempty"` Status FindingSettingStatus `protobuf:"varint,3,opt,name=status,proto3,enum=core.finding.FindingSettingStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GetFindingSettingRequest) Descriptor
deprecated
func (*GetFindingSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFindingSettingRequest.ProtoReflect.Descriptor instead.
func (*GetFindingSettingRequest) GetFindingSettingId ¶
func (x *GetFindingSettingRequest) GetFindingSettingId() uint32
func (*GetFindingSettingRequest) GetProjectId ¶
func (x *GetFindingSettingRequest) GetProjectId() uint32
func (*GetFindingSettingRequest) GetStatus ¶
func (x *GetFindingSettingRequest) GetStatus() FindingSettingStatus
func (*GetFindingSettingRequest) ProtoMessage ¶
func (*GetFindingSettingRequest) ProtoMessage()
func (*GetFindingSettingRequest) ProtoReflect ¶
func (x *GetFindingSettingRequest) ProtoReflect() protoreflect.Message
func (*GetFindingSettingRequest) Reset ¶
func (x *GetFindingSettingRequest) Reset()
func (*GetFindingSettingRequest) String ¶
func (x *GetFindingSettingRequest) String() string
func (*GetFindingSettingRequest) Validate ¶
func (g *GetFindingSettingRequest) Validate() error
Validate for GetFindingSettingRequest
type GetFindingSettingResponse ¶
type GetFindingSettingResponse struct { FindingSetting *FindingSetting `protobuf:"bytes,1,opt,name=finding_setting,json=findingSetting,proto3" json:"finding_setting,omitempty"` // contains filtered or unexported fields }
func (*GetFindingSettingResponse) Descriptor
deprecated
func (*GetFindingSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFindingSettingResponse.ProtoReflect.Descriptor instead.
func (*GetFindingSettingResponse) GetFindingSetting ¶
func (x *GetFindingSettingResponse) GetFindingSetting() *FindingSetting
func (*GetFindingSettingResponse) ProtoMessage ¶
func (*GetFindingSettingResponse) ProtoMessage()
func (*GetFindingSettingResponse) ProtoReflect ¶
func (x *GetFindingSettingResponse) ProtoReflect() protoreflect.Message
func (*GetFindingSettingResponse) Reset ¶
func (x *GetFindingSettingResponse) Reset()
func (*GetFindingSettingResponse) String ¶
func (x *GetFindingSettingResponse) String() string
type GetPendFindingRequest ¶
type GetPendFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*GetPendFindingRequest) Descriptor
deprecated
func (*GetPendFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPendFindingRequest.ProtoReflect.Descriptor instead.
func (*GetPendFindingRequest) GetFindingId ¶
func (x *GetPendFindingRequest) GetFindingId() uint64
func (*GetPendFindingRequest) GetProjectId ¶
func (x *GetPendFindingRequest) GetProjectId() uint32
func (*GetPendFindingRequest) ProtoMessage ¶
func (*GetPendFindingRequest) ProtoMessage()
func (*GetPendFindingRequest) ProtoReflect ¶
func (x *GetPendFindingRequest) ProtoReflect() protoreflect.Message
func (*GetPendFindingRequest) Reset ¶
func (x *GetPendFindingRequest) Reset()
func (*GetPendFindingRequest) String ¶
func (x *GetPendFindingRequest) String() string
func (*GetPendFindingRequest) Validate ¶
func (g *GetPendFindingRequest) Validate() error
Validate for GetPendFindingRequest
type GetPendFindingResponse ¶
type GetPendFindingResponse struct { PendFinding *PendFinding `protobuf:"bytes,1,opt,name=pend_finding,json=pendFinding,proto3" json:"pend_finding,omitempty"` // contains filtered or unexported fields }
func (*GetPendFindingResponse) Descriptor
deprecated
func (*GetPendFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPendFindingResponse.ProtoReflect.Descriptor instead.
func (*GetPendFindingResponse) GetPendFinding ¶
func (x *GetPendFindingResponse) GetPendFinding() *PendFinding
func (*GetPendFindingResponse) ProtoMessage ¶
func (*GetPendFindingResponse) ProtoMessage()
func (*GetPendFindingResponse) ProtoReflect ¶
func (x *GetPendFindingResponse) ProtoReflect() protoreflect.Message
func (*GetPendFindingResponse) Reset ¶
func (x *GetPendFindingResponse) Reset()
func (*GetPendFindingResponse) String ¶
func (x *GetPendFindingResponse) String() string
type GetRecommendRequest ¶
type GetRecommendRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendRequest) Descriptor
deprecated
func (*GetRecommendRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendRequest.ProtoReflect.Descriptor instead.
func (*GetRecommendRequest) GetFindingId ¶
func (x *GetRecommendRequest) GetFindingId() uint64
func (*GetRecommendRequest) GetProjectId ¶
func (x *GetRecommendRequest) GetProjectId() uint32
func (*GetRecommendRequest) ProtoMessage ¶
func (*GetRecommendRequest) ProtoMessage()
func (*GetRecommendRequest) ProtoReflect ¶
func (x *GetRecommendRequest) ProtoReflect() protoreflect.Message
func (*GetRecommendRequest) Reset ¶
func (x *GetRecommendRequest) Reset()
func (*GetRecommendRequest) String ¶
func (x *GetRecommendRequest) String() string
func (*GetRecommendRequest) Validate ¶
func (g *GetRecommendRequest) Validate() error
Validate for GetRecommendRequest
type GetRecommendResponse ¶
type GetRecommendResponse struct { Recommend *Recommend `protobuf:"bytes,1,opt,name=recommend,proto3" json:"recommend,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendResponse) Descriptor
deprecated
func (*GetRecommendResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendResponse.ProtoReflect.Descriptor instead.
func (*GetRecommendResponse) GetRecommend ¶
func (x *GetRecommendResponse) GetRecommend() *Recommend
func (*GetRecommendResponse) ProtoMessage ¶
func (*GetRecommendResponse) ProtoMessage()
func (*GetRecommendResponse) ProtoReflect ¶
func (x *GetRecommendResponse) ProtoReflect() protoreflect.Message
func (*GetRecommendResponse) Reset ¶
func (x *GetRecommendResponse) Reset()
func (*GetRecommendResponse) String ¶
func (x *GetRecommendResponse) String() string
type GetResourceRequest ¶
type GetResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceId uint64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*GetResourceRequest) Descriptor
deprecated
func (*GetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.
func (*GetResourceRequest) GetProjectId ¶
func (x *GetResourceRequest) GetProjectId() uint32
func (*GetResourceRequest) GetResourceId ¶
func (x *GetResourceRequest) GetResourceId() uint64
func (*GetResourceRequest) ProtoMessage ¶
func (*GetResourceRequest) ProtoMessage()
func (*GetResourceRequest) ProtoReflect ¶
func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
func (*GetResourceRequest) Reset ¶
func (x *GetResourceRequest) Reset()
func (*GetResourceRequest) String ¶
func (x *GetResourceRequest) String() string
func (*GetResourceRequest) Validate ¶
func (g *GetResourceRequest) Validate() error
Validate GetResourceRequest
type GetResourceResponse ¶
type GetResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*GetResourceResponse) Descriptor
deprecated
func (*GetResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.
func (*GetResourceResponse) GetResource ¶
func (x *GetResourceResponse) GetResource() *Resource
func (*GetResourceResponse) ProtoMessage ¶
func (*GetResourceResponse) ProtoMessage()
func (*GetResourceResponse) ProtoReflect ¶
func (x *GetResourceResponse) ProtoReflect() protoreflect.Message
func (*GetResourceResponse) Reset ¶
func (x *GetResourceResponse) Reset()
func (*GetResourceResponse) String ¶
func (x *GetResourceResponse) String() string
type ListFindingRequest ¶
type ListFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` DataSource []string `protobuf:"bytes,2,rep,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` ResourceName []string `protobuf:"bytes,3,rep,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` FromScore float32 `protobuf:"fixed32,4,opt,name=from_score,json=fromScore,proto3" json:"from_score,omitempty"` ToScore float32 `protobuf:"fixed32,5,opt,name=to_score,json=toScore,proto3" json:"to_score,omitempty"` FromAt int64 `protobuf:"varint,6,opt,name=from_at,json=fromAt,proto3" json:"from_at,omitempty"` ToAt int64 `protobuf:"varint,7,opt,name=to_at,json=toAt,proto3" json:"to_at,omitempty"` Tag []string `protobuf:"bytes,8,rep,name=tag,proto3" json:"tag,omitempty"` Sort string `protobuf:"bytes,9,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,10,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,11,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,12,opt,name=limit,proto3" json:"limit,omitempty"` Status FindingStatus `protobuf:"varint,13,opt,name=status,proto3,enum=core.finding.FindingStatus" json:"status,omitempty"` FindingId uint64 `protobuf:"varint,14,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
func (*ListFindingRequest) Descriptor
deprecated
func (*ListFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingRequest.ProtoReflect.Descriptor instead.
func (*ListFindingRequest) GetDataSource ¶
func (x *ListFindingRequest) GetDataSource() []string
func (*ListFindingRequest) GetDirection ¶
func (x *ListFindingRequest) GetDirection() string
func (*ListFindingRequest) GetFindingId ¶
func (x *ListFindingRequest) GetFindingId() uint64
func (*ListFindingRequest) GetFromAt ¶
func (x *ListFindingRequest) GetFromAt() int64
func (*ListFindingRequest) GetFromScore ¶
func (x *ListFindingRequest) GetFromScore() float32
func (*ListFindingRequest) GetLimit ¶
func (x *ListFindingRequest) GetLimit() int32
func (*ListFindingRequest) GetOffset ¶
func (x *ListFindingRequest) GetOffset() int32
func (*ListFindingRequest) GetProjectId ¶
func (x *ListFindingRequest) GetProjectId() uint32
func (*ListFindingRequest) GetResourceName ¶
func (x *ListFindingRequest) GetResourceName() []string
func (*ListFindingRequest) GetSort ¶
func (x *ListFindingRequest) GetSort() string
func (*ListFindingRequest) GetStatus ¶
func (x *ListFindingRequest) GetStatus() FindingStatus
func (*ListFindingRequest) GetTag ¶
func (x *ListFindingRequest) GetTag() []string
func (*ListFindingRequest) GetToAt ¶
func (x *ListFindingRequest) GetToAt() int64
func (*ListFindingRequest) GetToScore ¶
func (x *ListFindingRequest) GetToScore() float32
func (*ListFindingRequest) ProtoMessage ¶
func (*ListFindingRequest) ProtoMessage()
func (*ListFindingRequest) ProtoReflect ¶
func (x *ListFindingRequest) ProtoReflect() protoreflect.Message
func (*ListFindingRequest) Reset ¶
func (x *ListFindingRequest) Reset()
func (*ListFindingRequest) String ¶
func (x *ListFindingRequest) String() string
func (*ListFindingRequest) Validate ¶
func (l *ListFindingRequest) Validate() error
Validate ListFindingRequest
type ListFindingResponse ¶
type ListFindingResponse struct { FindingId []uint64 `protobuf:"varint,1,rep,packed,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListFindingResponse) Descriptor
deprecated
func (*ListFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingResponse.ProtoReflect.Descriptor instead.
func (*ListFindingResponse) GetCount ¶
func (x *ListFindingResponse) GetCount() uint32
func (*ListFindingResponse) GetFindingId ¶
func (x *ListFindingResponse) GetFindingId() []uint64
func (*ListFindingResponse) GetTotal ¶
func (x *ListFindingResponse) GetTotal() uint32
func (*ListFindingResponse) ProtoMessage ¶
func (*ListFindingResponse) ProtoMessage()
func (*ListFindingResponse) ProtoReflect ¶
func (x *ListFindingResponse) ProtoReflect() protoreflect.Message
func (*ListFindingResponse) Reset ¶
func (x *ListFindingResponse) Reset()
func (*ListFindingResponse) String ¶
func (x *ListFindingResponse) String() string
type ListFindingSettingRequest ¶
type ListFindingSettingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Status FindingSettingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=core.finding.FindingSettingStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListFindingSettingRequest) Descriptor
deprecated
func (*ListFindingSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingSettingRequest.ProtoReflect.Descriptor instead.
func (*ListFindingSettingRequest) GetProjectId ¶
func (x *ListFindingSettingRequest) GetProjectId() uint32
func (*ListFindingSettingRequest) GetStatus ¶
func (x *ListFindingSettingRequest) GetStatus() FindingSettingStatus
func (*ListFindingSettingRequest) ProtoMessage ¶
func (*ListFindingSettingRequest) ProtoMessage()
func (*ListFindingSettingRequest) ProtoReflect ¶
func (x *ListFindingSettingRequest) ProtoReflect() protoreflect.Message
func (*ListFindingSettingRequest) Reset ¶
func (x *ListFindingSettingRequest) Reset()
func (*ListFindingSettingRequest) String ¶
func (x *ListFindingSettingRequest) String() string
func (*ListFindingSettingRequest) Validate ¶
func (l *ListFindingSettingRequest) Validate() error
Validate for ListFindingSettingRequest
type ListFindingSettingResponse ¶
type ListFindingSettingResponse struct { FindingSetting []*FindingSetting `protobuf:"bytes,1,rep,name=finding_setting,json=findingSetting,proto3" json:"finding_setting,omitempty"` // contains filtered or unexported fields }
func (*ListFindingSettingResponse) Descriptor
deprecated
func (*ListFindingSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingSettingResponse.ProtoReflect.Descriptor instead.
func (*ListFindingSettingResponse) GetFindingSetting ¶
func (x *ListFindingSettingResponse) GetFindingSetting() []*FindingSetting
func (*ListFindingSettingResponse) ProtoMessage ¶
func (*ListFindingSettingResponse) ProtoMessage()
func (*ListFindingSettingResponse) ProtoReflect ¶
func (x *ListFindingSettingResponse) ProtoReflect() protoreflect.Message
func (*ListFindingSettingResponse) Reset ¶
func (x *ListFindingSettingResponse) Reset()
func (*ListFindingSettingResponse) String ¶
func (x *ListFindingSettingResponse) String() string
type ListFindingTagNameRequest ¶
type ListFindingTagNameRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FromAt int64 `protobuf:"varint,2,opt,name=from_at,json=fromAt,proto3" json:"from_at,omitempty"` ToAt int64 `protobuf:"varint,3,opt,name=to_at,json=toAt,proto3" json:"to_at,omitempty"` Sort string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,5,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListFindingTagNameRequest) Descriptor
deprecated
func (*ListFindingTagNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTagNameRequest.ProtoReflect.Descriptor instead.
func (*ListFindingTagNameRequest) GetDirection ¶
func (x *ListFindingTagNameRequest) GetDirection() string
func (*ListFindingTagNameRequest) GetFromAt ¶
func (x *ListFindingTagNameRequest) GetFromAt() int64
func (*ListFindingTagNameRequest) GetLimit ¶
func (x *ListFindingTagNameRequest) GetLimit() int32
func (*ListFindingTagNameRequest) GetOffset ¶
func (x *ListFindingTagNameRequest) GetOffset() int32
func (*ListFindingTagNameRequest) GetProjectId ¶
func (x *ListFindingTagNameRequest) GetProjectId() uint32
func (*ListFindingTagNameRequest) GetSort ¶
func (x *ListFindingTagNameRequest) GetSort() string
func (*ListFindingTagNameRequest) GetToAt ¶
func (x *ListFindingTagNameRequest) GetToAt() int64
func (*ListFindingTagNameRequest) ProtoMessage ¶
func (*ListFindingTagNameRequest) ProtoMessage()
func (*ListFindingTagNameRequest) ProtoReflect ¶
func (x *ListFindingTagNameRequest) ProtoReflect() protoreflect.Message
func (*ListFindingTagNameRequest) Reset ¶
func (x *ListFindingTagNameRequest) Reset()
func (*ListFindingTagNameRequest) String ¶
func (x *ListFindingTagNameRequest) String() string
func (*ListFindingTagNameRequest) Validate ¶
func (l *ListFindingTagNameRequest) Validate() error
Validate ListFindingTagNameRequest
type ListFindingTagNameResponse ¶
type ListFindingTagNameResponse struct { Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListFindingTagNameResponse) Descriptor
deprecated
func (*ListFindingTagNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTagNameResponse.ProtoReflect.Descriptor instead.
func (*ListFindingTagNameResponse) GetCount ¶
func (x *ListFindingTagNameResponse) GetCount() uint32
func (*ListFindingTagNameResponse) GetTag ¶
func (x *ListFindingTagNameResponse) GetTag() []string
func (*ListFindingTagNameResponse) GetTotal ¶
func (x *ListFindingTagNameResponse) GetTotal() uint32
func (*ListFindingTagNameResponse) ProtoMessage ¶
func (*ListFindingTagNameResponse) ProtoMessage()
func (*ListFindingTagNameResponse) ProtoReflect ¶
func (x *ListFindingTagNameResponse) ProtoReflect() protoreflect.Message
func (*ListFindingTagNameResponse) Reset ¶
func (x *ListFindingTagNameResponse) Reset()
func (*ListFindingTagNameResponse) String ¶
func (x *ListFindingTagNameResponse) String() string
type ListFindingTagRequest ¶
type ListFindingTagRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListFindingTagRequest) Descriptor
deprecated
func (*ListFindingTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTagRequest.ProtoReflect.Descriptor instead.
func (*ListFindingTagRequest) GetDirection ¶
func (x *ListFindingTagRequest) GetDirection() string
func (*ListFindingTagRequest) GetFindingId ¶
func (x *ListFindingTagRequest) GetFindingId() uint64
func (*ListFindingTagRequest) GetLimit ¶
func (x *ListFindingTagRequest) GetLimit() int32
func (*ListFindingTagRequest) GetOffset ¶
func (x *ListFindingTagRequest) GetOffset() int32
func (*ListFindingTagRequest) GetProjectId ¶
func (x *ListFindingTagRequest) GetProjectId() uint32
func (*ListFindingTagRequest) GetSort ¶
func (x *ListFindingTagRequest) GetSort() string
func (*ListFindingTagRequest) ProtoMessage ¶
func (*ListFindingTagRequest) ProtoMessage()
func (*ListFindingTagRequest) ProtoReflect ¶
func (x *ListFindingTagRequest) ProtoReflect() protoreflect.Message
func (*ListFindingTagRequest) Reset ¶
func (x *ListFindingTagRequest) Reset()
func (*ListFindingTagRequest) String ¶
func (x *ListFindingTagRequest) String() string
func (*ListFindingTagRequest) Validate ¶
func (l *ListFindingTagRequest) Validate() error
Validate ListFindingTagRequest
type ListFindingTagResponse ¶
type ListFindingTagResponse struct { Tag []*FindingTag `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListFindingTagResponse) Descriptor
deprecated
func (*ListFindingTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTagResponse.ProtoReflect.Descriptor instead.
func (*ListFindingTagResponse) GetCount ¶
func (x *ListFindingTagResponse) GetCount() uint32
func (*ListFindingTagResponse) GetTag ¶
func (x *ListFindingTagResponse) GetTag() []*FindingTag
func (*ListFindingTagResponse) GetTotal ¶
func (x *ListFindingTagResponse) GetTotal() uint32
func (*ListFindingTagResponse) ProtoMessage ¶
func (*ListFindingTagResponse) ProtoMessage()
func (*ListFindingTagResponse) ProtoReflect ¶
func (x *ListFindingTagResponse) ProtoReflect() protoreflect.Message
func (*ListFindingTagResponse) Reset ¶
func (x *ListFindingTagResponse) Reset()
func (*ListFindingTagResponse) String ¶
func (x *ListFindingTagResponse) String() string
type ListResourceRequest ¶
type ListResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceName []string `protobuf:"bytes,2,rep,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` FromSumScore float32 `protobuf:"fixed32,3,opt,name=from_sum_score,json=fromSumScore,proto3" json:"from_sum_score,omitempty"` ToSumScore float32 `protobuf:"fixed32,4,opt,name=to_sum_score,json=toSumScore,proto3" json:"to_sum_score,omitempty"` FromAt int64 `protobuf:"varint,5,opt,name=from_at,json=fromAt,proto3" json:"from_at,omitempty"` ToAt int64 `protobuf:"varint,6,opt,name=to_at,json=toAt,proto3" json:"to_at,omitempty"` Tag []string `protobuf:"bytes,7,rep,name=tag,proto3" json:"tag,omitempty"` Sort string `protobuf:"bytes,8,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,9,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` ResourceId uint64 `protobuf:"varint,12,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*ListResourceRequest) Descriptor
deprecated
func (*ListResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceRequest.ProtoReflect.Descriptor instead.
func (*ListResourceRequest) GetDirection ¶
func (x *ListResourceRequest) GetDirection() string
func (*ListResourceRequest) GetFromAt ¶
func (x *ListResourceRequest) GetFromAt() int64
func (*ListResourceRequest) GetFromSumScore ¶
func (x *ListResourceRequest) GetFromSumScore() float32
func (*ListResourceRequest) GetLimit ¶
func (x *ListResourceRequest) GetLimit() int32
func (*ListResourceRequest) GetOffset ¶
func (x *ListResourceRequest) GetOffset() int32
func (*ListResourceRequest) GetProjectId ¶
func (x *ListResourceRequest) GetProjectId() uint32
func (*ListResourceRequest) GetResourceId ¶
func (x *ListResourceRequest) GetResourceId() uint64
func (*ListResourceRequest) GetResourceName ¶
func (x *ListResourceRequest) GetResourceName() []string
func (*ListResourceRequest) GetSort ¶
func (x *ListResourceRequest) GetSort() string
func (*ListResourceRequest) GetTag ¶
func (x *ListResourceRequest) GetTag() []string
func (*ListResourceRequest) GetToAt ¶
func (x *ListResourceRequest) GetToAt() int64
func (*ListResourceRequest) GetToSumScore ¶
func (x *ListResourceRequest) GetToSumScore() float32
func (*ListResourceRequest) ProtoMessage ¶
func (*ListResourceRequest) ProtoMessage()
func (*ListResourceRequest) ProtoReflect ¶
func (x *ListResourceRequest) ProtoReflect() protoreflect.Message
func (*ListResourceRequest) Reset ¶
func (x *ListResourceRequest) Reset()
func (*ListResourceRequest) String ¶
func (x *ListResourceRequest) String() string
func (*ListResourceRequest) Validate ¶
func (l *ListResourceRequest) Validate() error
Validate ListResourceRequest
type ListResourceResponse ¶
type ListResourceResponse struct { ResourceId []uint64 `protobuf:"varint,1,rep,packed,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResourceResponse) Descriptor
deprecated
func (*ListResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceResponse.ProtoReflect.Descriptor instead.
func (*ListResourceResponse) GetCount ¶
func (x *ListResourceResponse) GetCount() uint32
func (*ListResourceResponse) GetResourceId ¶
func (x *ListResourceResponse) GetResourceId() []uint64
func (*ListResourceResponse) GetTotal ¶
func (x *ListResourceResponse) GetTotal() uint32
func (*ListResourceResponse) ProtoMessage ¶
func (*ListResourceResponse) ProtoMessage()
func (*ListResourceResponse) ProtoReflect ¶
func (x *ListResourceResponse) ProtoReflect() protoreflect.Message
func (*ListResourceResponse) Reset ¶
func (x *ListResourceResponse) Reset()
func (*ListResourceResponse) String ¶
func (x *ListResourceResponse) String() string
type ListResourceTagNameRequest ¶
type ListResourceTagNameRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FromAt int64 `protobuf:"varint,2,opt,name=from_at,json=fromAt,proto3" json:"from_at,omitempty"` ToAt int64 `protobuf:"varint,3,opt,name=to_at,json=toAt,proto3" json:"to_at,omitempty"` Sort string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,5,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListResourceTagNameRequest) Descriptor
deprecated
func (*ListResourceTagNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceTagNameRequest.ProtoReflect.Descriptor instead.
func (*ListResourceTagNameRequest) GetDirection ¶
func (x *ListResourceTagNameRequest) GetDirection() string
func (*ListResourceTagNameRequest) GetFromAt ¶
func (x *ListResourceTagNameRequest) GetFromAt() int64
func (*ListResourceTagNameRequest) GetLimit ¶
func (x *ListResourceTagNameRequest) GetLimit() int32
func (*ListResourceTagNameRequest) GetOffset ¶
func (x *ListResourceTagNameRequest) GetOffset() int32
func (*ListResourceTagNameRequest) GetProjectId ¶
func (x *ListResourceTagNameRequest) GetProjectId() uint32
func (*ListResourceTagNameRequest) GetSort ¶
func (x *ListResourceTagNameRequest) GetSort() string
func (*ListResourceTagNameRequest) GetToAt ¶
func (x *ListResourceTagNameRequest) GetToAt() int64
func (*ListResourceTagNameRequest) ProtoMessage ¶
func (*ListResourceTagNameRequest) ProtoMessage()
func (*ListResourceTagNameRequest) ProtoReflect ¶
func (x *ListResourceTagNameRequest) ProtoReflect() protoreflect.Message
func (*ListResourceTagNameRequest) Reset ¶
func (x *ListResourceTagNameRequest) Reset()
func (*ListResourceTagNameRequest) String ¶
func (x *ListResourceTagNameRequest) String() string
func (*ListResourceTagNameRequest) Validate ¶
func (l *ListResourceTagNameRequest) Validate() error
Validate ListResourceTagNameRequest
type ListResourceTagNameResponse ¶
type ListResourceTagNameResponse struct { Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResourceTagNameResponse) Descriptor
deprecated
func (*ListResourceTagNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceTagNameResponse.ProtoReflect.Descriptor instead.
func (*ListResourceTagNameResponse) GetCount ¶
func (x *ListResourceTagNameResponse) GetCount() uint32
func (*ListResourceTagNameResponse) GetTag ¶
func (x *ListResourceTagNameResponse) GetTag() []string
func (*ListResourceTagNameResponse) GetTotal ¶
func (x *ListResourceTagNameResponse) GetTotal() uint32
func (*ListResourceTagNameResponse) ProtoMessage ¶
func (*ListResourceTagNameResponse) ProtoMessage()
func (*ListResourceTagNameResponse) ProtoReflect ¶
func (x *ListResourceTagNameResponse) ProtoReflect() protoreflect.Message
func (*ListResourceTagNameResponse) Reset ¶
func (x *ListResourceTagNameResponse) Reset()
func (*ListResourceTagNameResponse) String ¶
func (x *ListResourceTagNameResponse) String() string
type ListResourceTagRequest ¶
type ListResourceTagRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceId uint64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListResourceTagRequest) Descriptor
deprecated
func (*ListResourceTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceTagRequest.ProtoReflect.Descriptor instead.
func (*ListResourceTagRequest) GetDirection ¶
func (x *ListResourceTagRequest) GetDirection() string
func (*ListResourceTagRequest) GetLimit ¶
func (x *ListResourceTagRequest) GetLimit() int32
func (*ListResourceTagRequest) GetOffset ¶
func (x *ListResourceTagRequest) GetOffset() int32
func (*ListResourceTagRequest) GetProjectId ¶
func (x *ListResourceTagRequest) GetProjectId() uint32
func (*ListResourceTagRequest) GetResourceId ¶
func (x *ListResourceTagRequest) GetResourceId() uint64
func (*ListResourceTagRequest) GetSort ¶
func (x *ListResourceTagRequest) GetSort() string
func (*ListResourceTagRequest) ProtoMessage ¶
func (*ListResourceTagRequest) ProtoMessage()
func (*ListResourceTagRequest) ProtoReflect ¶
func (x *ListResourceTagRequest) ProtoReflect() protoreflect.Message
func (*ListResourceTagRequest) Reset ¶
func (x *ListResourceTagRequest) Reset()
func (*ListResourceTagRequest) String ¶
func (x *ListResourceTagRequest) String() string
func (*ListResourceTagRequest) Validate ¶
func (l *ListResourceTagRequest) Validate() error
Validate ListResourceTagRequest
type ListResourceTagResponse ¶
type ListResourceTagResponse struct { Tag []*ResourceTag `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResourceTagResponse) Descriptor
deprecated
func (*ListResourceTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceTagResponse.ProtoReflect.Descriptor instead.
func (*ListResourceTagResponse) GetCount ¶
func (x *ListResourceTagResponse) GetCount() uint32
func (*ListResourceTagResponse) GetTag ¶
func (x *ListResourceTagResponse) GetTag() []*ResourceTag
func (*ListResourceTagResponse) GetTotal ¶
func (x *ListResourceTagResponse) GetTotal() uint32
func (*ListResourceTagResponse) ProtoMessage ¶
func (*ListResourceTagResponse) ProtoMessage()
func (*ListResourceTagResponse) ProtoReflect ¶
func (x *ListResourceTagResponse) ProtoReflect() protoreflect.Message
func (*ListResourceTagResponse) Reset ¶
func (x *ListResourceTagResponse) Reset()
func (*ListResourceTagResponse) String ¶
func (x *ListResourceTagResponse) String() string
type PendFinding ¶
type PendFinding struct { FindingId uint64 `protobuf:"varint,1,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
PendFinding
func (*PendFinding) Descriptor
deprecated
func (*PendFinding) Descriptor() ([]byte, []int)
Deprecated: Use PendFinding.ProtoReflect.Descriptor instead.
func (*PendFinding) GetCreatedAt ¶
func (x *PendFinding) GetCreatedAt() int64
func (*PendFinding) GetFindingId ¶
func (x *PendFinding) GetFindingId() uint64
func (*PendFinding) GetNote ¶
func (x *PendFinding) GetNote() string
func (*PendFinding) GetProjectId ¶
func (x *PendFinding) GetProjectId() uint32
func (*PendFinding) GetUpdatedAt ¶
func (x *PendFinding) GetUpdatedAt() int64
func (*PendFinding) ProtoMessage ¶
func (*PendFinding) ProtoMessage()
func (*PendFinding) ProtoReflect ¶
func (x *PendFinding) ProtoReflect() protoreflect.Message
func (*PendFinding) Reset ¶
func (x *PendFinding) Reset()
func (*PendFinding) String ¶
func (x *PendFinding) String() string
type PendFindingForUpsert ¶
type PendFindingForUpsert struct { FindingId uint64 `protobuf:"varint,1,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
PendFinding For upsert
func (*PendFindingForUpsert) Descriptor
deprecated
func (*PendFindingForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use PendFindingForUpsert.ProtoReflect.Descriptor instead.
func (*PendFindingForUpsert) GetFindingId ¶
func (x *PendFindingForUpsert) GetFindingId() uint64
func (*PendFindingForUpsert) GetNote ¶
func (x *PendFindingForUpsert) GetNote() string
func (*PendFindingForUpsert) GetProjectId ¶
func (x *PendFindingForUpsert) GetProjectId() uint32
func (*PendFindingForUpsert) ProtoMessage ¶
func (*PendFindingForUpsert) ProtoMessage()
func (*PendFindingForUpsert) ProtoReflect ¶
func (x *PendFindingForUpsert) ProtoReflect() protoreflect.Message
func (*PendFindingForUpsert) Reset ¶
func (x *PendFindingForUpsert) Reset()
func (*PendFindingForUpsert) String ¶
func (x *PendFindingForUpsert) String() string
func (*PendFindingForUpsert) Validate ¶
func (p *PendFindingForUpsert) Validate() error
Validate for PendFindingForUpsert
type PutFindingBatchRequest ¶
type PutFindingBatchRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Finding []*FindingBatchForUpsert `protobuf:"bytes,2,rep,name=finding,proto3" json:"finding,omitempty"` // contains filtered or unexported fields }
func (*PutFindingBatchRequest) Descriptor
deprecated
func (*PutFindingBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutFindingBatchRequest.ProtoReflect.Descriptor instead.
func (*PutFindingBatchRequest) GetFinding ¶
func (x *PutFindingBatchRequest) GetFinding() []*FindingBatchForUpsert
func (*PutFindingBatchRequest) GetProjectId ¶
func (x *PutFindingBatchRequest) GetProjectId() uint32
func (*PutFindingBatchRequest) ProtoMessage ¶
func (*PutFindingBatchRequest) ProtoMessage()
func (*PutFindingBatchRequest) ProtoReflect ¶
func (x *PutFindingBatchRequest) ProtoReflect() protoreflect.Message
func (*PutFindingBatchRequest) Reset ¶
func (x *PutFindingBatchRequest) Reset()
func (*PutFindingBatchRequest) String ¶
func (x *PutFindingBatchRequest) String() string
func (*PutFindingBatchRequest) Validate ¶
func (p *PutFindingBatchRequest) Validate() error
Validate PutFindingBatchRequest
type PutFindingRequest ¶
type PutFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Finding *FindingForUpsert `protobuf:"bytes,2,opt,name=finding,proto3" json:"finding,omitempty"` // contains filtered or unexported fields }
func (*PutFindingRequest) Descriptor
deprecated
func (*PutFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutFindingRequest.ProtoReflect.Descriptor instead.
func (*PutFindingRequest) GetFinding ¶
func (x *PutFindingRequest) GetFinding() *FindingForUpsert
func (*PutFindingRequest) GetProjectId ¶
func (x *PutFindingRequest) GetProjectId() uint32
func (*PutFindingRequest) ProtoMessage ¶
func (*PutFindingRequest) ProtoMessage()
func (*PutFindingRequest) ProtoReflect ¶
func (x *PutFindingRequest) ProtoReflect() protoreflect.Message
func (*PutFindingRequest) Reset ¶
func (x *PutFindingRequest) Reset()
func (*PutFindingRequest) String ¶
func (x *PutFindingRequest) String() string
func (*PutFindingRequest) Validate ¶
func (p *PutFindingRequest) Validate() error
Validate PutFindingRequest
type PutFindingResponse ¶
type PutFindingResponse struct { Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` // contains filtered or unexported fields }
func (*PutFindingResponse) Descriptor
deprecated
func (*PutFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutFindingResponse.ProtoReflect.Descriptor instead.
func (*PutFindingResponse) GetFinding ¶
func (x *PutFindingResponse) GetFinding() *Finding
func (*PutFindingResponse) ProtoMessage ¶
func (*PutFindingResponse) ProtoMessage()
func (*PutFindingResponse) ProtoReflect ¶
func (x *PutFindingResponse) ProtoReflect() protoreflect.Message
func (*PutFindingResponse) Reset ¶
func (x *PutFindingResponse) Reset()
func (*PutFindingResponse) String ¶
func (x *PutFindingResponse) String() string
type PutFindingSettingRequest ¶
type PutFindingSettingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingSetting *FindingSettingForUpsert `protobuf:"bytes,2,opt,name=finding_setting,json=findingSetting,proto3" json:"finding_setting,omitempty"` // contains filtered or unexported fields }
func (*PutFindingSettingRequest) Descriptor
deprecated
func (*PutFindingSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutFindingSettingRequest.ProtoReflect.Descriptor instead.
func (*PutFindingSettingRequest) GetFindingSetting ¶
func (x *PutFindingSettingRequest) GetFindingSetting() *FindingSettingForUpsert
func (*PutFindingSettingRequest) GetProjectId ¶
func (x *PutFindingSettingRequest) GetProjectId() uint32
func (*PutFindingSettingRequest) ProtoMessage ¶
func (*PutFindingSettingRequest) ProtoMessage()
func (*PutFindingSettingRequest) ProtoReflect ¶
func (x *PutFindingSettingRequest) ProtoReflect() protoreflect.Message
func (*PutFindingSettingRequest) Reset ¶
func (x *PutFindingSettingRequest) Reset()
func (*PutFindingSettingRequest) String ¶
func (x *PutFindingSettingRequest) String() string
func (*PutFindingSettingRequest) Validate ¶
func (p *PutFindingSettingRequest) Validate() error
Validate for PutFindingSettingRequest
type PutFindingSettingResponse ¶
type PutFindingSettingResponse struct { FindingSetting *FindingSetting `protobuf:"bytes,1,opt,name=finding_setting,json=findingSetting,proto3" json:"finding_setting,omitempty"` // contains filtered or unexported fields }
func (*PutFindingSettingResponse) Descriptor
deprecated
func (*PutFindingSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutFindingSettingResponse.ProtoReflect.Descriptor instead.
func (*PutFindingSettingResponse) GetFindingSetting ¶
func (x *PutFindingSettingResponse) GetFindingSetting() *FindingSetting
func (*PutFindingSettingResponse) ProtoMessage ¶
func (*PutFindingSettingResponse) ProtoMessage()
func (*PutFindingSettingResponse) ProtoReflect ¶
func (x *PutFindingSettingResponse) ProtoReflect() protoreflect.Message
func (*PutFindingSettingResponse) Reset ¶
func (x *PutFindingSettingResponse) Reset()
func (*PutFindingSettingResponse) String ¶
func (x *PutFindingSettingResponse) String() string
type PutPendFindingRequest ¶
type PutPendFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` PendFinding *PendFindingForUpsert `protobuf:"bytes,2,opt,name=pend_finding,json=pendFinding,proto3" json:"pend_finding,omitempty"` // contains filtered or unexported fields }
func (*PutPendFindingRequest) Descriptor
deprecated
func (*PutPendFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutPendFindingRequest.ProtoReflect.Descriptor instead.
func (*PutPendFindingRequest) GetPendFinding ¶
func (x *PutPendFindingRequest) GetPendFinding() *PendFindingForUpsert
func (*PutPendFindingRequest) GetProjectId ¶
func (x *PutPendFindingRequest) GetProjectId() uint32
func (*PutPendFindingRequest) ProtoMessage ¶
func (*PutPendFindingRequest) ProtoMessage()
func (*PutPendFindingRequest) ProtoReflect ¶
func (x *PutPendFindingRequest) ProtoReflect() protoreflect.Message
func (*PutPendFindingRequest) Reset ¶
func (x *PutPendFindingRequest) Reset()
func (*PutPendFindingRequest) String ¶
func (x *PutPendFindingRequest) String() string
func (*PutPendFindingRequest) Validate ¶
func (p *PutPendFindingRequest) Validate() error
Validate for PutPendFindingRequest
type PutPendFindingResponse ¶
type PutPendFindingResponse struct { PendFinding *PendFinding `protobuf:"bytes,1,opt,name=pend_finding,json=pendFinding,proto3" json:"pend_finding,omitempty"` // contains filtered or unexported fields }
func (*PutPendFindingResponse) Descriptor
deprecated
func (*PutPendFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutPendFindingResponse.ProtoReflect.Descriptor instead.
func (*PutPendFindingResponse) GetPendFinding ¶
func (x *PutPendFindingResponse) GetPendFinding() *PendFinding
func (*PutPendFindingResponse) ProtoMessage ¶
func (*PutPendFindingResponse) ProtoMessage()
func (*PutPendFindingResponse) ProtoReflect ¶
func (x *PutPendFindingResponse) ProtoReflect() protoreflect.Message
func (*PutPendFindingResponse) Reset ¶
func (x *PutPendFindingResponse) Reset()
func (*PutPendFindingResponse) String ¶
func (x *PutPendFindingResponse) String() string
type PutRecommendRequest ¶
type PutRecommendRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingId uint64 `protobuf:"varint,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Risk string `protobuf:"bytes,5,opt,name=risk,proto3" json:"risk,omitempty"` Recommendation string `protobuf:"bytes,6,opt,name=recommendation,proto3" json:"recommendation,omitempty"` // contains filtered or unexported fields }
func (*PutRecommendRequest) Descriptor
deprecated
func (*PutRecommendRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutRecommendRequest.ProtoReflect.Descriptor instead.
func (*PutRecommendRequest) GetDataSource ¶
func (x *PutRecommendRequest) GetDataSource() string
func (*PutRecommendRequest) GetFindingId ¶
func (x *PutRecommendRequest) GetFindingId() uint64
func (*PutRecommendRequest) GetProjectId ¶
func (x *PutRecommendRequest) GetProjectId() uint32
func (*PutRecommendRequest) GetRecommendation ¶
func (x *PutRecommendRequest) GetRecommendation() string
func (*PutRecommendRequest) GetRisk ¶
func (x *PutRecommendRequest) GetRisk() string
func (*PutRecommendRequest) GetType ¶
func (x *PutRecommendRequest) GetType() string
func (*PutRecommendRequest) ProtoMessage ¶
func (*PutRecommendRequest) ProtoMessage()
func (*PutRecommendRequest) ProtoReflect ¶
func (x *PutRecommendRequest) ProtoReflect() protoreflect.Message
func (*PutRecommendRequest) Reset ¶
func (x *PutRecommendRequest) Reset()
func (*PutRecommendRequest) String ¶
func (x *PutRecommendRequest) String() string
func (*PutRecommendRequest) Validate ¶
func (p *PutRecommendRequest) Validate() error
Validate for PutRecommendRequest
type PutRecommendResponse ¶
type PutRecommendResponse struct { Recommend *Recommend `protobuf:"bytes,1,opt,name=recommend,proto3" json:"recommend,omitempty"` // contains filtered or unexported fields }
func (*PutRecommendResponse) Descriptor
deprecated
func (*PutRecommendResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutRecommendResponse.ProtoReflect.Descriptor instead.
func (*PutRecommendResponse) GetRecommend ¶
func (x *PutRecommendResponse) GetRecommend() *Recommend
func (*PutRecommendResponse) ProtoMessage ¶
func (*PutRecommendResponse) ProtoMessage()
func (*PutRecommendResponse) ProtoReflect ¶
func (x *PutRecommendResponse) ProtoReflect() protoreflect.Message
func (*PutRecommendResponse) Reset ¶
func (x *PutRecommendResponse) Reset()
func (*PutRecommendResponse) String ¶
func (x *PutRecommendResponse) String() string
type PutResourceBatchRequest ¶
type PutResourceBatchRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Resource []*ResourceBatchForUpsert `protobuf:"bytes,2,rep,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*PutResourceBatchRequest) Descriptor
deprecated
func (*PutResourceBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutResourceBatchRequest.ProtoReflect.Descriptor instead.
func (*PutResourceBatchRequest) GetProjectId ¶
func (x *PutResourceBatchRequest) GetProjectId() uint32
func (*PutResourceBatchRequest) GetResource ¶
func (x *PutResourceBatchRequest) GetResource() []*ResourceBatchForUpsert
func (*PutResourceBatchRequest) ProtoMessage ¶
func (*PutResourceBatchRequest) ProtoMessage()
func (*PutResourceBatchRequest) ProtoReflect ¶
func (x *PutResourceBatchRequest) ProtoReflect() protoreflect.Message
func (*PutResourceBatchRequest) Reset ¶
func (x *PutResourceBatchRequest) Reset()
func (*PutResourceBatchRequest) String ¶
func (x *PutResourceBatchRequest) String() string
func (*PutResourceBatchRequest) Validate ¶
func (p *PutResourceBatchRequest) Validate() error
Validate PutResourceBatchRequest
type PutResourceRequest ¶
type PutResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Resource *ResourceForUpsert `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*PutResourceRequest) Descriptor
deprecated
func (*PutResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutResourceRequest.ProtoReflect.Descriptor instead.
func (*PutResourceRequest) GetProjectId ¶
func (x *PutResourceRequest) GetProjectId() uint32
func (*PutResourceRequest) GetResource ¶
func (x *PutResourceRequest) GetResource() *ResourceForUpsert
func (*PutResourceRequest) ProtoMessage ¶
func (*PutResourceRequest) ProtoMessage()
func (*PutResourceRequest) ProtoReflect ¶
func (x *PutResourceRequest) ProtoReflect() protoreflect.Message
func (*PutResourceRequest) Reset ¶
func (x *PutResourceRequest) Reset()
func (*PutResourceRequest) String ¶
func (x *PutResourceRequest) String() string
func (*PutResourceRequest) Validate ¶
func (p *PutResourceRequest) Validate() error
Validate PutResourceRequest
type PutResourceResponse ¶
type PutResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*PutResourceResponse) Descriptor
deprecated
func (*PutResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutResourceResponse.ProtoReflect.Descriptor instead.
func (*PutResourceResponse) GetResource ¶
func (x *PutResourceResponse) GetResource() *Resource
func (*PutResourceResponse) ProtoMessage ¶
func (*PutResourceResponse) ProtoMessage()
func (*PutResourceResponse) ProtoReflect ¶
func (x *PutResourceResponse) ProtoReflect() protoreflect.Message
func (*PutResourceResponse) Reset ¶
func (x *PutResourceResponse) Reset()
func (*PutResourceResponse) String ¶
func (x *PutResourceResponse) String() string
type Recommend ¶
type Recommend struct { FindingId uint64 `protobuf:"varint,1,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` RecommendId uint32 `protobuf:"varint,2,opt,name=recommend_id,json=recommendId,proto3" json:"recommend_id,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Risk string `protobuf:"bytes,5,opt,name=risk,proto3" json:"risk,omitempty"` Recommendation string `protobuf:"bytes,6,opt,name=recommendation,proto3" json:"recommendation,omitempty"` CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Recommend
func (*Recommend) Descriptor
deprecated
func (*Recommend) GetCreatedAt ¶
func (*Recommend) GetDataSource ¶
func (*Recommend) GetFindingId ¶
func (*Recommend) GetRecommendId ¶
func (*Recommend) GetRecommendation ¶
func (*Recommend) GetUpdatedAt ¶
func (*Recommend) ProtoMessage ¶
func (*Recommend) ProtoMessage()
func (*Recommend) ProtoReflect ¶
func (x *Recommend) ProtoReflect() protoreflect.Message
type RecommendForBatch ¶
type RecommendForBatch struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Risk string `protobuf:"bytes,2,opt,name=risk,proto3" json:"risk,omitempty"` Recommendation string `protobuf:"bytes,3,opt,name=recommendation,proto3" json:"recommendation,omitempty"` // contains filtered or unexported fields }
RecommendForBatch
func (*RecommendForBatch) Descriptor
deprecated
func (*RecommendForBatch) Descriptor() ([]byte, []int)
Deprecated: Use RecommendForBatch.ProtoReflect.Descriptor instead.
func (*RecommendForBatch) GetRecommendation ¶
func (x *RecommendForBatch) GetRecommendation() string
func (*RecommendForBatch) GetRisk ¶
func (x *RecommendForBatch) GetRisk() string
func (*RecommendForBatch) GetType ¶
func (x *RecommendForBatch) GetType() string
func (*RecommendForBatch) ProtoMessage ¶
func (*RecommendForBatch) ProtoMessage()
func (*RecommendForBatch) ProtoReflect ¶
func (x *RecommendForBatch) ProtoReflect() protoreflect.Message
func (*RecommendForBatch) Reset ¶
func (x *RecommendForBatch) Reset()
func (*RecommendForBatch) String ¶
func (x *RecommendForBatch) String() string
func (*RecommendForBatch) Validate ¶
func (r *RecommendForBatch) Validate() error
Validate for RecommendForBatch
type Resource ¶
type Resource struct { ResourceId uint64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Resource
func (*Resource) Descriptor
deprecated
func (*Resource) GetCreatedAt ¶
func (*Resource) GetProjectId ¶
func (*Resource) GetResourceId ¶
func (*Resource) GetResourceName ¶
func (*Resource) GetUpdatedAt ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceBatchForUpsert ¶
type ResourceBatchForUpsert struct { Resource *ResourceForUpsert `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Tag []*ResourceTagForBatch `protobuf:"bytes,2,rep,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
ResourceBatchForUpsert
func (*ResourceBatchForUpsert) Descriptor
deprecated
func (*ResourceBatchForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use ResourceBatchForUpsert.ProtoReflect.Descriptor instead.
func (*ResourceBatchForUpsert) GetResource ¶
func (x *ResourceBatchForUpsert) GetResource() *ResourceForUpsert
func (*ResourceBatchForUpsert) GetTag ¶
func (x *ResourceBatchForUpsert) GetTag() []*ResourceTagForBatch
func (*ResourceBatchForUpsert) ProtoMessage ¶
func (*ResourceBatchForUpsert) ProtoMessage()
func (*ResourceBatchForUpsert) ProtoReflect ¶
func (x *ResourceBatchForUpsert) ProtoReflect() protoreflect.Message
func (*ResourceBatchForUpsert) Reset ¶
func (x *ResourceBatchForUpsert) Reset()
func (*ResourceBatchForUpsert) String ¶
func (x *ResourceBatchForUpsert) String() string
type ResourceForUpsert ¶
type ResourceForUpsert struct { ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
Resource For upsert (Unique keys: project_id, resource_name)
func (*ResourceForUpsert) Descriptor
deprecated
func (*ResourceForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use ResourceForUpsert.ProtoReflect.Descriptor instead.
func (*ResourceForUpsert) GetProjectId ¶
func (x *ResourceForUpsert) GetProjectId() uint32
func (*ResourceForUpsert) GetResourceName ¶
func (x *ResourceForUpsert) GetResourceName() string
func (*ResourceForUpsert) ProtoMessage ¶
func (*ResourceForUpsert) ProtoMessage()
func (*ResourceForUpsert) ProtoReflect ¶
func (x *ResourceForUpsert) ProtoReflect() protoreflect.Message
func (*ResourceForUpsert) Reset ¶
func (x *ResourceForUpsert) Reset()
func (*ResourceForUpsert) String ¶
func (x *ResourceForUpsert) String() string
func (*ResourceForUpsert) Validate ¶
func (r *ResourceForUpsert) Validate() error
Validate ResourceForUpsert
type ResourceTag ¶
type ResourceTag struct { ResourceTagId uint64 `protobuf:"varint,1,opt,name=resource_tag_id,json=resourceTagId,proto3" json:"resource_tag_id,omitempty"` ResourceId uint64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
ResourceTag
func (*ResourceTag) Descriptor
deprecated
func (*ResourceTag) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTag.ProtoReflect.Descriptor instead.
func (*ResourceTag) GetCreatedAt ¶
func (x *ResourceTag) GetCreatedAt() int64
func (*ResourceTag) GetProjectId ¶
func (x *ResourceTag) GetProjectId() uint32
func (*ResourceTag) GetResourceId ¶
func (x *ResourceTag) GetResourceId() uint64
func (*ResourceTag) GetResourceTagId ¶
func (x *ResourceTag) GetResourceTagId() uint64
func (*ResourceTag) GetTag ¶
func (x *ResourceTag) GetTag() string
func (*ResourceTag) GetUpdatedAt ¶
func (x *ResourceTag) GetUpdatedAt() int64
func (*ResourceTag) ProtoMessage ¶
func (*ResourceTag) ProtoMessage()
func (*ResourceTag) ProtoReflect ¶
func (x *ResourceTag) ProtoReflect() protoreflect.Message
func (*ResourceTag) Reset ¶
func (x *ResourceTag) Reset()
func (*ResourceTag) String ¶
func (x *ResourceTag) String() string
type ResourceTagForBatch ¶
type ResourceTagForBatch struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
ResourceTagForBatch
func (*ResourceTagForBatch) Descriptor
deprecated
func (*ResourceTagForBatch) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTagForBatch.ProtoReflect.Descriptor instead.
func (*ResourceTagForBatch) GetTag ¶
func (x *ResourceTagForBatch) GetTag() string
func (*ResourceTagForBatch) ProtoMessage ¶
func (*ResourceTagForBatch) ProtoMessage()
func (*ResourceTagForBatch) ProtoReflect ¶
func (x *ResourceTagForBatch) ProtoReflect() protoreflect.Message
func (*ResourceTagForBatch) Reset ¶
func (x *ResourceTagForBatch) Reset()
func (*ResourceTagForBatch) String ¶
func (x *ResourceTagForBatch) String() string
func (*ResourceTagForBatch) Validate ¶
func (r *ResourceTagForBatch) Validate() error
Validate for ResourceTagForBatch
type ResourceTagForUpsert ¶
type ResourceTagForUpsert struct { ResourceId uint64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
ResourceTag For upsert (Unique keys: resource_id, tag_key)
func (*ResourceTagForUpsert) Descriptor
deprecated
func (*ResourceTagForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTagForUpsert.ProtoReflect.Descriptor instead.
func (*ResourceTagForUpsert) GetProjectId ¶
func (x *ResourceTagForUpsert) GetProjectId() uint32
func (*ResourceTagForUpsert) GetResourceId ¶
func (x *ResourceTagForUpsert) GetResourceId() uint64
func (*ResourceTagForUpsert) GetTag ¶
func (x *ResourceTagForUpsert) GetTag() string
func (*ResourceTagForUpsert) ProtoMessage ¶
func (*ResourceTagForUpsert) ProtoMessage()
func (*ResourceTagForUpsert) ProtoReflect ¶
func (x *ResourceTagForUpsert) ProtoReflect() protoreflect.Message
func (*ResourceTagForUpsert) Reset ¶
func (x *ResourceTagForUpsert) Reset()
func (*ResourceTagForUpsert) String ¶
func (x *ResourceTagForUpsert) String() string
func (*ResourceTagForUpsert) Validate ¶
func (r *ResourceTagForUpsert) Validate() error
Validate ResourceTagForUpsert
type TagFindingRequest ¶
type TagFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag *FindingTagForUpsert `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*TagFindingRequest) Descriptor
deprecated
func (*TagFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use TagFindingRequest.ProtoReflect.Descriptor instead.
func (*TagFindingRequest) GetProjectId ¶
func (x *TagFindingRequest) GetProjectId() uint32
func (*TagFindingRequest) GetTag ¶
func (x *TagFindingRequest) GetTag() *FindingTagForUpsert
func (*TagFindingRequest) ProtoMessage ¶
func (*TagFindingRequest) ProtoMessage()
func (*TagFindingRequest) ProtoReflect ¶
func (x *TagFindingRequest) ProtoReflect() protoreflect.Message
func (*TagFindingRequest) Reset ¶
func (x *TagFindingRequest) Reset()
func (*TagFindingRequest) String ¶
func (x *TagFindingRequest) String() string
func (*TagFindingRequest) Validate ¶
func (t *TagFindingRequest) Validate() error
Validate TagFindingRequest
type TagFindingResponse ¶
type TagFindingResponse struct { Tag *FindingTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*TagFindingResponse) Descriptor
deprecated
func (*TagFindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use TagFindingResponse.ProtoReflect.Descriptor instead.
func (*TagFindingResponse) GetTag ¶
func (x *TagFindingResponse) GetTag() *FindingTag
func (*TagFindingResponse) ProtoMessage ¶
func (*TagFindingResponse) ProtoMessage()
func (*TagFindingResponse) ProtoReflect ¶
func (x *TagFindingResponse) ProtoReflect() protoreflect.Message
func (*TagFindingResponse) Reset ¶
func (x *TagFindingResponse) Reset()
func (*TagFindingResponse) String ¶
func (x *TagFindingResponse) String() string
type TagResourceRequest ¶
type TagResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag *ResourceTagForUpsert `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*TagResourceRequest) Descriptor
deprecated
func (*TagResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TagResourceRequest.ProtoReflect.Descriptor instead.
func (*TagResourceRequest) GetProjectId ¶
func (x *TagResourceRequest) GetProjectId() uint32
func (*TagResourceRequest) GetTag ¶
func (x *TagResourceRequest) GetTag() *ResourceTagForUpsert
func (*TagResourceRequest) ProtoMessage ¶
func (*TagResourceRequest) ProtoMessage()
func (*TagResourceRequest) ProtoReflect ¶
func (x *TagResourceRequest) ProtoReflect() protoreflect.Message
func (*TagResourceRequest) Reset ¶
func (x *TagResourceRequest) Reset()
func (*TagResourceRequest) String ¶
func (x *TagResourceRequest) String() string
func (*TagResourceRequest) Validate ¶
func (t *TagResourceRequest) Validate() error
Validate TagResourceRequest
type TagResourceResponse ¶
type TagResourceResponse struct { Tag *ResourceTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*TagResourceResponse) Descriptor
deprecated
func (*TagResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use TagResourceResponse.ProtoReflect.Descriptor instead.
func (*TagResourceResponse) GetTag ¶
func (x *TagResourceResponse) GetTag() *ResourceTag
func (*TagResourceResponse) ProtoMessage ¶
func (*TagResourceResponse) ProtoMessage()
func (*TagResourceResponse) ProtoReflect ¶
func (x *TagResourceResponse) ProtoReflect() protoreflect.Message
func (*TagResourceResponse) Reset ¶
func (x *TagResourceResponse) Reset()
func (*TagResourceResponse) String ¶
func (x *TagResourceResponse) String() string
type UnimplementedFindingServiceServer ¶
type UnimplementedFindingServiceServer struct { }
UnimplementedFindingServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFindingServiceServer) BatchListFinding ¶
func (*UnimplementedFindingServiceServer) BatchListFinding(context.Context, *BatchListFindingRequest) (*BatchListFindingResponse, error)
func (*UnimplementedFindingServiceServer) ClearScore ¶
func (*UnimplementedFindingServiceServer) ClearScore(context.Context, *ClearScoreRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) DeleteFinding ¶
func (*UnimplementedFindingServiceServer) DeleteFinding(context.Context, *DeleteFindingRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) DeleteFindingSetting ¶
func (*UnimplementedFindingServiceServer) DeleteFindingSetting(context.Context, *DeleteFindingSettingRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) DeletePendFinding ¶
func (*UnimplementedFindingServiceServer) DeletePendFinding(context.Context, *DeletePendFindingRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) DeleteResource ¶
func (*UnimplementedFindingServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) GetFinding ¶
func (*UnimplementedFindingServiceServer) GetFinding(context.Context, *GetFindingRequest) (*GetFindingResponse, error)
func (*UnimplementedFindingServiceServer) GetFindingSetting ¶
func (*UnimplementedFindingServiceServer) GetFindingSetting(context.Context, *GetFindingSettingRequest) (*GetFindingSettingResponse, error)
func (*UnimplementedFindingServiceServer) GetPendFinding ¶
func (*UnimplementedFindingServiceServer) GetPendFinding(context.Context, *GetPendFindingRequest) (*GetPendFindingResponse, error)
func (*UnimplementedFindingServiceServer) GetRecommend ¶
func (*UnimplementedFindingServiceServer) GetRecommend(context.Context, *GetRecommendRequest) (*GetRecommendResponse, error)
func (*UnimplementedFindingServiceServer) GetResource ¶
func (*UnimplementedFindingServiceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
func (*UnimplementedFindingServiceServer) ListFinding ¶
func (*UnimplementedFindingServiceServer) ListFinding(context.Context, *ListFindingRequest) (*ListFindingResponse, error)
func (*UnimplementedFindingServiceServer) ListFindingSetting ¶
func (*UnimplementedFindingServiceServer) ListFindingSetting(context.Context, *ListFindingSettingRequest) (*ListFindingSettingResponse, error)
func (*UnimplementedFindingServiceServer) ListFindingTag ¶
func (*UnimplementedFindingServiceServer) ListFindingTag(context.Context, *ListFindingTagRequest) (*ListFindingTagResponse, error)
func (*UnimplementedFindingServiceServer) ListFindingTagName ¶
func (*UnimplementedFindingServiceServer) ListFindingTagName(context.Context, *ListFindingTagNameRequest) (*ListFindingTagNameResponse, error)
func (*UnimplementedFindingServiceServer) ListResource ¶
func (*UnimplementedFindingServiceServer) ListResource(context.Context, *ListResourceRequest) (*ListResourceResponse, error)
func (*UnimplementedFindingServiceServer) ListResourceTag ¶
func (*UnimplementedFindingServiceServer) ListResourceTag(context.Context, *ListResourceTagRequest) (*ListResourceTagResponse, error)
func (*UnimplementedFindingServiceServer) ListResourceTagName ¶
func (*UnimplementedFindingServiceServer) ListResourceTagName(context.Context, *ListResourceTagNameRequest) (*ListResourceTagNameResponse, error)
func (*UnimplementedFindingServiceServer) PutFinding ¶
func (*UnimplementedFindingServiceServer) PutFinding(context.Context, *PutFindingRequest) (*PutFindingResponse, error)
func (*UnimplementedFindingServiceServer) PutFindingBatch ¶
func (*UnimplementedFindingServiceServer) PutFindingBatch(context.Context, *PutFindingBatchRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) PutFindingSetting ¶
func (*UnimplementedFindingServiceServer) PutFindingSetting(context.Context, *PutFindingSettingRequest) (*PutFindingSettingResponse, error)
func (*UnimplementedFindingServiceServer) PutPendFinding ¶
func (*UnimplementedFindingServiceServer) PutPendFinding(context.Context, *PutPendFindingRequest) (*PutPendFindingResponse, error)
func (*UnimplementedFindingServiceServer) PutRecommend ¶
func (*UnimplementedFindingServiceServer) PutRecommend(context.Context, *PutRecommendRequest) (*PutRecommendResponse, error)
func (*UnimplementedFindingServiceServer) PutResource ¶
func (*UnimplementedFindingServiceServer) PutResource(context.Context, *PutResourceRequest) (*PutResourceResponse, error)
func (*UnimplementedFindingServiceServer) PutResourceBatch ¶
func (*UnimplementedFindingServiceServer) PutResourceBatch(context.Context, *PutResourceBatchRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) TagFinding ¶
func (*UnimplementedFindingServiceServer) TagFinding(context.Context, *TagFindingRequest) (*TagFindingResponse, error)
func (*UnimplementedFindingServiceServer) TagResource ¶
func (*UnimplementedFindingServiceServer) TagResource(context.Context, *TagResourceRequest) (*TagResourceResponse, error)
func (*UnimplementedFindingServiceServer) UntagFinding ¶
func (*UnimplementedFindingServiceServer) UntagFinding(context.Context, *UntagFindingRequest) (*emptypb.Empty, error)
func (*UnimplementedFindingServiceServer) UntagResource ¶
func (*UnimplementedFindingServiceServer) UntagResource(context.Context, *UntagResourceRequest) (*emptypb.Empty, error)
type UntagFindingRequest ¶
type UntagFindingRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` FindingTagId uint64 `protobuf:"varint,2,opt,name=finding_tag_id,json=findingTagId,proto3" json:"finding_tag_id,omitempty"` // contains filtered or unexported fields }
func (*UntagFindingRequest) Descriptor
deprecated
func (*UntagFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UntagFindingRequest.ProtoReflect.Descriptor instead.
func (*UntagFindingRequest) GetFindingTagId ¶
func (x *UntagFindingRequest) GetFindingTagId() uint64
func (*UntagFindingRequest) GetProjectId ¶
func (x *UntagFindingRequest) GetProjectId() uint32
func (*UntagFindingRequest) ProtoMessage ¶
func (*UntagFindingRequest) ProtoMessage()
func (*UntagFindingRequest) ProtoReflect ¶
func (x *UntagFindingRequest) ProtoReflect() protoreflect.Message
func (*UntagFindingRequest) Reset ¶
func (x *UntagFindingRequest) Reset()
func (*UntagFindingRequest) String ¶
func (x *UntagFindingRequest) String() string
func (*UntagFindingRequest) Validate ¶
func (u *UntagFindingRequest) Validate() error
Validate UntagFindingRequest
type UntagResourceRequest ¶
type UntagResourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ResourceTagId uint64 `protobuf:"varint,2,opt,name=resource_tag_id,json=resourceTagId,proto3" json:"resource_tag_id,omitempty"` // contains filtered or unexported fields }
func (*UntagResourceRequest) Descriptor
deprecated
func (*UntagResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UntagResourceRequest.ProtoReflect.Descriptor instead.
func (*UntagResourceRequest) GetProjectId ¶
func (x *UntagResourceRequest) GetProjectId() uint32
func (*UntagResourceRequest) GetResourceTagId ¶
func (x *UntagResourceRequest) GetResourceTagId() uint64
func (*UntagResourceRequest) ProtoMessage ¶
func (*UntagResourceRequest) ProtoMessage()
func (*UntagResourceRequest) ProtoReflect ¶
func (x *UntagResourceRequest) ProtoReflect() protoreflect.Message
func (*UntagResourceRequest) Reset ¶
func (x *UntagResourceRequest) Reset()
func (*UntagResourceRequest) String ¶
func (x *UntagResourceRequest) String() string
func (*UntagResourceRequest) Validate ¶
func (u *UntagResourceRequest) Validate() error
Validate UntagResourceRequest