finding

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 12 Imported by: 45

Documentation

Index

Constants

View Source
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

View Source
var (
	PendReason_name = map[int32]string{
		0: "PEND_REASON_UNKNOWN",
		1: "PEND_REASON_FALSE_POSITIVE",
	}
	PendReason_value = map[string]int32{
		"PEND_REASON_UNKNOWN":        0,
		"PEND_REASON_FALSE_POSITIVE": 1,
	}
)

Enum value maps for PendReason.

View Source
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.

View Source
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.

View Source
var File_finding_entity_proto protoreflect.FileDescriptor
View Source
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"`
	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"`
	AlertId      uint32        `protobuf:"varint,11,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchListFindingRequest) Descriptor deprecated

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

Deprecated: Use BatchListFindingRequest.ProtoReflect.Descriptor instead.

func (*BatchListFindingRequest) GetAlertId added in v0.5.0

func (x *BatchListFindingRequest) GetAlertId() uint32

func (*BatchListFindingRequest) GetDataSource

func (x *BatchListFindingRequest) GetDataSource() []string

func (*BatchListFindingRequest) GetFindingId

func (x *BatchListFindingRequest) GetFindingId() uint64

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) 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"`
	BeforeAt   int64    `protobuf:"varint,5,opt,name=before_at,json=beforeAt,proto3" json:"before_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearScoreRequest) Descriptor deprecated

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

Deprecated: Use ClearScoreRequest.ProtoReflect.Descriptor instead.

func (*ClearScoreRequest) GetBeforeAt added in v0.6.0

func (x *ClearScoreRequest) GetBeforeAt() int64

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Finding.ProtoReflect.Descriptor instead.

func (*Finding) GetCreatedAt

func (x *Finding) GetCreatedAt() int64

func (*Finding) GetData

func (x *Finding) GetData() string

func (*Finding) GetDataSource

func (x *Finding) GetDataSource() string

func (*Finding) GetDataSourceId

func (x *Finding) GetDataSourceId() string

func (*Finding) GetDescription

func (x *Finding) GetDescription() string

func (*Finding) GetFindingId

func (x *Finding) GetFindingId() uint64

func (*Finding) GetOriginalMaxScore

func (x *Finding) GetOriginalMaxScore() float32

func (*Finding) GetOriginalScore

func (x *Finding) GetOriginalScore() float32

func (*Finding) GetProjectId

func (x *Finding) GetProjectId() uint32

func (*Finding) GetResourceName

func (x *Finding) GetResourceName() string

func (*Finding) GetScore

func (x *Finding) GetScore() float32

func (*Finding) GetUpdatedAt

func (x *Finding) GetUpdatedAt() int64

func (*Finding) ProtoMessage

func (*Finding) ProtoMessage()

func (*Finding) ProtoReflect

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

func (*Finding) Reset

func (x *Finding) Reset()

func (*Finding) String

func (x *Finding) String() string

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 (*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)
	// AI
	GetAISummary(ctx context.Context, in *GetAISummaryRequest, opts ...grpc.CallOption) (*GetAISummaryResponse, error)
	GetAISummaryStream(ctx context.Context, in *GetAISummaryRequest, opts ...grpc.CallOption) (FindingService_GetAISummaryStreamClient, error)
	// finding/resource common
	UntagByResourceName(ctx context.Context, in *UntagByResourceNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CleanOldResource(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, 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.

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)
	// AI
	GetAISummary(context.Context, *GetAISummaryRequest) (*GetAISummaryResponse, error)
	GetAISummaryStream(*GetAISummaryRequest, FindingService_GetAISummaryStreamServer) error
	// finding/resource common
	UntagByResourceName(context.Context, *UntagByResourceNameRequest) (*emptypb.Empty, error)
	CleanOldResource(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
}

FindingServiceServer is the server API for FindingService service.

type FindingService_GetAISummaryStreamClient added in v0.10.0

type FindingService_GetAISummaryStreamClient interface {
	Recv() (*GetAISummaryResponse, error)
	grpc.ClientStream
}

type FindingService_GetAISummaryStreamServer added in v0.10.0

type FindingService_GetAISummaryStreamServer interface {
	Send(*GetAISummaryResponse) error
	grpc.ServerStream
}

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 (*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) Enum

func (FindingSettingStatus) EnumDescriptor deprecated

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

Deprecated: Use FindingSettingStatus.Descriptor instead.

func (FindingSettingStatus) Number

func (FindingSettingStatus) String

func (x FindingSettingStatus) String() string

func (FindingSettingStatus) Type

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) Enum

func (x FindingStatus) Enum() *FindingStatus

func (FindingStatus) EnumDescriptor deprecated

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

Deprecated: Use FindingStatus.Descriptor instead.

func (FindingStatus) Number

func (FindingStatus) String

func (x FindingStatus) String() string

func (FindingStatus) Type

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 GetAISummaryRequest added in v0.6.0

type GetAISummaryRequest 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"`
	Lang      string `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAISummaryRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetAISummaryRequest.ProtoReflect.Descriptor instead.

func (*GetAISummaryRequest) GetFindingId added in v0.6.0

func (x *GetAISummaryRequest) GetFindingId() uint64

func (*GetAISummaryRequest) GetLang added in v0.6.0

func (x *GetAISummaryRequest) GetLang() string

func (*GetAISummaryRequest) GetProjectId added in v0.6.0

func (x *GetAISummaryRequest) GetProjectId() uint32

func (*GetAISummaryRequest) ProtoMessage added in v0.6.0

func (*GetAISummaryRequest) ProtoMessage()

func (*GetAISummaryRequest) ProtoReflect added in v0.6.0

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

func (*GetAISummaryRequest) Reset added in v0.6.0

func (x *GetAISummaryRequest) Reset()

func (*GetAISummaryRequest) String added in v0.6.0

func (x *GetAISummaryRequest) String() string

func (*GetAISummaryRequest) Validate added in v0.6.0

func (a *GetAISummaryRequest) Validate() error

Validate for GetAISummaryRequest

type GetAISummaryResponse added in v0.6.0

type GetAISummaryResponse struct {
	Answer string `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAISummaryResponse) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetAISummaryResponse.ProtoReflect.Descriptor instead.

func (*GetAISummaryResponse) GetAnswer added in v0.6.0

func (x *GetAISummaryResponse) GetAnswer() string

func (*GetAISummaryResponse) ProtoMessage added in v0.6.0

func (*GetAISummaryResponse) ProtoMessage()

func (*GetAISummaryResponse) ProtoReflect added in v0.6.0

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

func (*GetAISummaryResponse) Reset added in v0.6.0

func (x *GetAISummaryResponse) Reset()

func (*GetAISummaryResponse) String added in v0.6.0

func (x *GetAISummaryResponse) String() string

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 (*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 (*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"`
	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"`
	AlertId      uint32        `protobuf:"varint,15,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFindingRequest) Descriptor deprecated

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

Deprecated: Use ListFindingRequest.ProtoReflect.Descriptor instead.

func (*ListFindingRequest) GetAlertId added in v0.5.0

func (x *ListFindingRequest) GetAlertId() uint32

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) 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) 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 (*ListFindingSettingRequest) ProtoMessage

func (*ListFindingSettingRequest) ProtoMessage()

func (*ListFindingSettingRequest) ProtoReflect

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 (*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"`
	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) 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) ProtoMessage

func (*ListFindingTagNameRequest) ProtoMessage()

func (*ListFindingTagNameRequest) ProtoReflect

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 (*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"`
	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"`
	Namespace    string   `protobuf:"bytes,13,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ResourceType string   `protobuf:"bytes,14,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,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) GetLimit

func (x *ListResourceRequest) GetLimit() int32

func (*ListResourceRequest) GetNamespace added in v0.6.0

func (x *ListResourceRequest) GetNamespace() string

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) GetResourceType added in v0.6.0

func (x *ListResourceRequest) GetResourceType() string

func (*ListResourceRequest) GetSort

func (x *ListResourceRequest) GetSort() string

func (*ListResourceRequest) GetTag

func (x *ListResourceRequest) GetTag() []string

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"`
	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) 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) ProtoMessage

func (*ListResourceTagNameRequest) ProtoMessage()

func (*ListResourceTagNameRequest) ProtoReflect

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 (*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"`
	ExpiredAt  int64      `protobuf:"varint,6,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	Reason     PendReason `protobuf:"varint,7,opt,name=reason,proto3,enum=core.finding.PendReason" json:"reason,omitempty"`
	PendUserId uint32     `protobuf:"varint,8,opt,name=pend_user_id,json=pendUserId,proto3" json:"pend_user_id,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) GetExpiredAt added in v0.6.0

func (x *PendFinding) GetExpiredAt() int64

func (*PendFinding) GetFindingId

func (x *PendFinding) GetFindingId() uint64

func (*PendFinding) GetNote

func (x *PendFinding) GetNote() string

func (*PendFinding) GetPendUserId added in v0.11.0

func (x *PendFinding) GetPendUserId() uint32

func (*PendFinding) GetProjectId

func (x *PendFinding) GetProjectId() uint32

func (*PendFinding) GetReason added in v0.10.0

func (x *PendFinding) GetReason() PendReason

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"`
	ExpiredAt  int64      `protobuf:"varint,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	Reason     PendReason `protobuf:"varint,5,opt,name=reason,proto3,enum=core.finding.PendReason" json:"reason,omitempty"`
	PendUserId uint32     `protobuf:"varint,6,opt,name=pend_user_id,json=pendUserId,proto3" json:"pend_user_id,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) GetExpiredAt added in v0.6.0

func (x *PendFindingForUpsert) GetExpiredAt() int64

func (*PendFindingForUpsert) GetFindingId

func (x *PendFindingForUpsert) GetFindingId() uint64

func (*PendFindingForUpsert) GetNote

func (x *PendFindingForUpsert) GetNote() string

func (*PendFindingForUpsert) GetPendUserId added in v0.11.0

func (x *PendFindingForUpsert) GetPendUserId() uint32

func (*PendFindingForUpsert) GetProjectId

func (x *PendFindingForUpsert) GetProjectId() uint32

func (*PendFindingForUpsert) GetReason added in v0.10.0

func (x *PendFindingForUpsert) GetReason() PendReason

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 PendReason added in v0.10.0

type PendReason int32

PendReason

const (
	PendReason_PEND_REASON_UNKNOWN        PendReason = 0
	PendReason_PEND_REASON_FALSE_POSITIVE PendReason = 1
)

func (PendReason) Descriptor added in v0.10.0

func (PendReason) Descriptor() protoreflect.EnumDescriptor

func (PendReason) Enum added in v0.10.0

func (x PendReason) Enum() *PendReason

func (PendReason) EnumDescriptor deprecated added in v0.10.0

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

Deprecated: Use PendReason.Descriptor instead.

func (PendReason) Number added in v0.10.0

func (x PendReason) Number() protoreflect.EnumNumber

func (PendReason) String added in v0.10.0

func (x PendReason) String() string

func (PendReason) Type added in v0.10.0

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Recommend.ProtoReflect.Descriptor instead.

func (*Recommend) GetCreatedAt

func (x *Recommend) GetCreatedAt() int64

func (*Recommend) GetDataSource

func (x *Recommend) GetDataSource() string

func (*Recommend) GetFindingId

func (x *Recommend) GetFindingId() uint64

func (*Recommend) GetRecommendId

func (x *Recommend) GetRecommendId() uint32

func (*Recommend) GetRecommendation

func (x *Recommend) GetRecommendation() string

func (*Recommend) GetRisk

func (x *Recommend) GetRisk() string

func (*Recommend) GetType

func (x *Recommend) GetType() string

func (*Recommend) GetUpdatedAt

func (x *Recommend) GetUpdatedAt() int64

func (*Recommend) ProtoMessage

func (*Recommend) ProtoMessage()

func (*Recommend) ProtoReflect

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

func (*Recommend) Reset

func (x *Recommend) Reset()

func (*Recommend) String

func (x *Recommend) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCreatedAt

func (x *Resource) GetCreatedAt() int64

func (*Resource) GetProjectId

func (x *Resource) GetProjectId() uint32

func (*Resource) GetResourceId

func (x *Resource) GetResourceId() uint64

func (*Resource) GetResourceName

func (x *Resource) GetResourceName() string

func (*Resource) GetUpdatedAt

func (x *Resource) GetUpdatedAt() int64

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

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 (*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 (*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 (*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) CleanOldResource added in v0.9.0

func (*UnimplementedFindingServiceServer) ClearScore

func (*UnimplementedFindingServiceServer) DeleteFinding

func (*UnimplementedFindingServiceServer) DeleteFindingSetting

func (*UnimplementedFindingServiceServer) DeletePendFinding

func (*UnimplementedFindingServiceServer) DeleteResource

func (*UnimplementedFindingServiceServer) GetAISummary added in v0.6.0

func (*UnimplementedFindingServiceServer) GetAISummaryStream added in v0.10.0

func (*UnimplementedFindingServiceServer) GetFinding

func (*UnimplementedFindingServiceServer) GetFindingSetting

func (*UnimplementedFindingServiceServer) GetPendFinding

func (*UnimplementedFindingServiceServer) GetRecommend

func (*UnimplementedFindingServiceServer) GetResource

func (*UnimplementedFindingServiceServer) ListFinding

func (*UnimplementedFindingServiceServer) ListFindingSetting

func (*UnimplementedFindingServiceServer) ListFindingTag

func (*UnimplementedFindingServiceServer) ListFindingTagName

func (*UnimplementedFindingServiceServer) ListResource

func (*UnimplementedFindingServiceServer) ListResourceTag

func (*UnimplementedFindingServiceServer) ListResourceTagName

func (*UnimplementedFindingServiceServer) PutFinding

func (*UnimplementedFindingServiceServer) PutFindingBatch

func (*UnimplementedFindingServiceServer) PutFindingSetting

func (*UnimplementedFindingServiceServer) PutPendFinding

func (*UnimplementedFindingServiceServer) PutRecommend

func (*UnimplementedFindingServiceServer) PutResource

func (*UnimplementedFindingServiceServer) PutResourceBatch

func (*UnimplementedFindingServiceServer) TagFinding

func (*UnimplementedFindingServiceServer) TagResource

func (*UnimplementedFindingServiceServer) UntagByResourceName added in v0.9.0

func (*UnimplementedFindingServiceServer) UntagFinding

func (*UnimplementedFindingServiceServer) UntagResource

type UntagByResourceNameRequest added in v0.9.0

type UntagByResourceNameRequest 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"`
	Tag          string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*UntagByResourceNameRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use UntagByResourceNameRequest.ProtoReflect.Descriptor instead.

func (*UntagByResourceNameRequest) GetProjectId added in v0.9.0

func (x *UntagByResourceNameRequest) GetProjectId() uint32

func (*UntagByResourceNameRequest) GetResourceName added in v0.9.0

func (x *UntagByResourceNameRequest) GetResourceName() string

func (*UntagByResourceNameRequest) GetTag added in v0.9.0

func (x *UntagByResourceNameRequest) GetTag() string

func (*UntagByResourceNameRequest) ProtoMessage added in v0.9.0

func (*UntagByResourceNameRequest) ProtoMessage()

func (*UntagByResourceNameRequest) ProtoReflect added in v0.9.0

func (*UntagByResourceNameRequest) Reset added in v0.9.0

func (x *UntagByResourceNameRequest) Reset()

func (*UntagByResourceNameRequest) String added in v0.9.0

func (x *UntagByResourceNameRequest) String() string

func (*UntagByResourceNameRequest) Validate added in v0.9.0

func (u *UntagByResourceNameRequest) Validate() error

Validate UntagResourceRequest

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL