secreportsv1

package
v0.0.0-...-d4d0d1c Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecReportsService_UpsertAuditQuery_FullMethodName    = "/teleport.secreports.v1.SecReportsService/UpsertAuditQuery"
	SecReportsService_GetAuditQuery_FullMethodName       = "/teleport.secreports.v1.SecReportsService/GetAuditQuery"
	SecReportsService_ListAuditQueries_FullMethodName    = "/teleport.secreports.v1.SecReportsService/ListAuditQueries"
	SecReportsService_DeleteAuditQuery_FullMethodName    = "/teleport.secreports.v1.SecReportsService/DeleteAuditQuery"
	SecReportsService_UpsertReport_FullMethodName        = "/teleport.secreports.v1.SecReportsService/UpsertReport"
	SecReportsService_GetReport_FullMethodName           = "/teleport.secreports.v1.SecReportsService/GetReport"
	SecReportsService_ListReports_FullMethodName         = "/teleport.secreports.v1.SecReportsService/ListReports"
	SecReportsService_DeleteReport_FullMethodName        = "/teleport.secreports.v1.SecReportsService/DeleteReport"
	SecReportsService_RunAuditQuery_FullMethodName       = "/teleport.secreports.v1.SecReportsService/RunAuditQuery"
	SecReportsService_GetAuditQueryResult_FullMethodName = "/teleport.secreports.v1.SecReportsService/GetAuditQueryResult"
	SecReportsService_RunReport_FullMethodName           = "/teleport.secreports.v1.SecReportsService/RunReport"
	SecReportsService_GetReportResult_FullMethodName     = "/teleport.secreports.v1.SecReportsService/GetReportResult"
	SecReportsService_GetReportState_FullMethodName      = "/teleport.secreports.v1.SecReportsService/GetReportState"
	SecReportsService_GetSchema_FullMethodName           = "/teleport.secreports.v1.SecReportsService/GetSchema"
)

Variables

View Source
var (
	ReportSate_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_ERROR",
		2: "STATE_SUCCESS",
		3: "STATE_RUNNING",
	}
	ReportSate_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_ERROR":       1,
		"STATE_SUCCESS":     2,
		"STATE_RUNNING":     3,
	}
)

Enum value maps for ReportSate_State.

View Source
var File_teleport_secreports_v1_secreports_proto protoreflect.FileDescriptor
View Source
var File_teleport_secreports_v1_secreports_service_proto protoreflect.FileDescriptor
View Source
var SecReportsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "teleport.secreports.v1.SecReportsService",
	HandlerType: (*SecReportsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertAuditQuery",
			Handler:    _SecReportsService_UpsertAuditQuery_Handler,
		},
		{
			MethodName: "GetAuditQuery",
			Handler:    _SecReportsService_GetAuditQuery_Handler,
		},
		{
			MethodName: "ListAuditQueries",
			Handler:    _SecReportsService_ListAuditQueries_Handler,
		},
		{
			MethodName: "DeleteAuditQuery",
			Handler:    _SecReportsService_DeleteAuditQuery_Handler,
		},
		{
			MethodName: "UpsertReport",
			Handler:    _SecReportsService_UpsertReport_Handler,
		},
		{
			MethodName: "GetReport",
			Handler:    _SecReportsService_GetReport_Handler,
		},
		{
			MethodName: "ListReports",
			Handler:    _SecReportsService_ListReports_Handler,
		},
		{
			MethodName: "DeleteReport",
			Handler:    _SecReportsService_DeleteReport_Handler,
		},
		{
			MethodName: "RunAuditQuery",
			Handler:    _SecReportsService_RunAuditQuery_Handler,
		},
		{
			MethodName: "GetAuditQueryResult",
			Handler:    _SecReportsService_GetAuditQueryResult_Handler,
		},
		{
			MethodName: "RunReport",
			Handler:    _SecReportsService_RunReport_Handler,
		},
		{
			MethodName: "GetReportResult",
			Handler:    _SecReportsService_GetReportResult_Handler,
		},
		{
			MethodName: "GetReportState",
			Handler:    _SecReportsService_GetReportState_Handler,
		},
		{
			MethodName: "GetSchema",
			Handler:    _SecReportsService_GetSchema_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "teleport/secreports/v1/secreports_service.proto",
}

SecReportsService_ServiceDesc is the grpc.ServiceDesc for SecReportsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSecReportsServiceServer

func RegisterSecReportsServiceServer(s grpc.ServiceRegistrar, srv SecReportsServiceServer)

Types

type AuditQuery

type AuditQuery struct {

	// header is the header for //the resource.
	Header *v1.ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// spec is audit query spec.
	Spec *AuditQuerySpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

AuditQuery is audit query resource.

func (*AuditQuery) Descriptor deprecated

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

Deprecated: Use AuditQuery.ProtoReflect.Descriptor instead.

func (*AuditQuery) GetHeader

func (x *AuditQuery) GetHeader() *v1.ResourceHeader

func (*AuditQuery) GetSpec

func (x *AuditQuery) GetSpec() *AuditQuerySpec

func (*AuditQuery) ProtoMessage

func (*AuditQuery) ProtoMessage()

func (*AuditQuery) ProtoReflect

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

func (*AuditQuery) Reset

func (x *AuditQuery) Reset()

func (*AuditQuery) String

func (x *AuditQuery) String() string

type AuditQuerySpec

type AuditQuerySpec struct {

	// name is the name of the audit query.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// title is the title of the audit query.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// query is the SQL Query for the audit query.
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// description is the description of the audit query.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

AuditQuerySpec is audit query spec.

func (*AuditQuerySpec) Descriptor deprecated

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

Deprecated: Use AuditQuerySpec.ProtoReflect.Descriptor instead.

func (*AuditQuerySpec) GetDescription

func (x *AuditQuerySpec) GetDescription() string

func (*AuditQuerySpec) GetName

func (x *AuditQuerySpec) GetName() string

func (*AuditQuerySpec) GetQuery

func (x *AuditQuerySpec) GetQuery() string

func (*AuditQuerySpec) GetTitle

func (x *AuditQuerySpec) GetTitle() string

func (*AuditQuerySpec) ProtoMessage

func (*AuditQuerySpec) ProtoMessage()

func (*AuditQuerySpec) ProtoReflect

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

func (*AuditQuerySpec) Reset

func (x *AuditQuerySpec) Reset()

func (*AuditQuerySpec) String

func (x *AuditQuerySpec) String() string

type DeleteAuditQueryRequest

type DeleteAuditQueryRequest struct {

	// name is the name of the audit query to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteAuditQueryRequest is audit query delete request.

func (*DeleteAuditQueryRequest) Descriptor deprecated

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

Deprecated: Use DeleteAuditQueryRequest.ProtoReflect.Descriptor instead.

func (*DeleteAuditQueryRequest) GetName

func (x *DeleteAuditQueryRequest) GetName() string

func (*DeleteAuditQueryRequest) ProtoMessage

func (*DeleteAuditQueryRequest) ProtoMessage()

func (*DeleteAuditQueryRequest) ProtoReflect

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

func (*DeleteAuditQueryRequest) Reset

func (x *DeleteAuditQueryRequest) Reset()

func (*DeleteAuditQueryRequest) String

func (x *DeleteAuditQueryRequest) String() string

type DeleteReportRequest

type DeleteReportRequest struct {

	// name is the name of the security report to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteReportRequest is security report delete request.

func (*DeleteReportRequest) Descriptor deprecated

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

Deprecated: Use DeleteReportRequest.ProtoReflect.Descriptor instead.

func (*DeleteReportRequest) GetName

func (x *DeleteReportRequest) GetName() string

func (*DeleteReportRequest) ProtoMessage

func (*DeleteReportRequest) ProtoMessage()

func (*DeleteReportRequest) ProtoReflect

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

func (*DeleteReportRequest) Reset

func (x *DeleteReportRequest) Reset()

func (*DeleteReportRequest) String

func (x *DeleteReportRequest) String() string

type GetAuditQueryRequest

type GetAuditQueryRequest struct {

	// name is the name of the audit query to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetAuditQueryRequest is audit query get request.

func (*GetAuditQueryRequest) Descriptor deprecated

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

Deprecated: Use GetAuditQueryRequest.ProtoReflect.Descriptor instead.

func (*GetAuditQueryRequest) GetName

func (x *GetAuditQueryRequest) GetName() string

func (*GetAuditQueryRequest) ProtoMessage

func (*GetAuditQueryRequest) ProtoMessage()

func (*GetAuditQueryRequest) ProtoReflect

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

func (*GetAuditQueryRequest) Reset

func (x *GetAuditQueryRequest) Reset()

func (*GetAuditQueryRequest) String

func (x *GetAuditQueryRequest) String() string

type GetAuditQueryResultRequest

type GetAuditQueryResultRequest struct {

	// result_id is a unique id of the result.
	ResultId string `protobuf:"bytes,1,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// next_token is a token for pagination.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// max_results is a maximum number of results to return.
	MaxResults int32 `protobuf:"varint,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// contains filtered or unexported fields
}

GetAuditQueryResultRequest is a request for GetAuditQueryResult.

func (*GetAuditQueryResultRequest) Descriptor deprecated

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

Deprecated: Use GetAuditQueryResultRequest.ProtoReflect.Descriptor instead.

func (*GetAuditQueryResultRequest) GetMaxResults

func (x *GetAuditQueryResultRequest) GetMaxResults() int32

func (*GetAuditQueryResultRequest) GetNextToken

func (x *GetAuditQueryResultRequest) GetNextToken() string

func (*GetAuditQueryResultRequest) GetResultId

func (x *GetAuditQueryResultRequest) GetResultId() string

func (*GetAuditQueryResultRequest) ProtoMessage

func (*GetAuditQueryResultRequest) ProtoMessage()

func (*GetAuditQueryResultRequest) ProtoReflect

func (*GetAuditQueryResultRequest) Reset

func (x *GetAuditQueryResultRequest) Reset()

func (*GetAuditQueryResultRequest) String

func (x *GetAuditQueryResultRequest) String() string

type GetAuditQueryResultResponse

type GetAuditQueryResultResponse struct {

	// result is a result set.
	Result *QueryResultSet `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// next_token is a token for pagination.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// result_id is a unique id of the result.
	ResultId string `protobuf:"bytes,3,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// contains filtered or unexported fields
}

GetAuditQueryResultResponse contains an audit query result.

func (*GetAuditQueryResultResponse) Descriptor deprecated

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

Deprecated: Use GetAuditQueryResultResponse.ProtoReflect.Descriptor instead.

func (*GetAuditQueryResultResponse) GetNextToken

func (x *GetAuditQueryResultResponse) GetNextToken() string

func (*GetAuditQueryResultResponse) GetResult

func (*GetAuditQueryResultResponse) GetResultId

func (x *GetAuditQueryResultResponse) GetResultId() string

func (*GetAuditQueryResultResponse) ProtoMessage

func (*GetAuditQueryResultResponse) ProtoMessage()

func (*GetAuditQueryResultResponse) ProtoReflect

func (*GetAuditQueryResultResponse) Reset

func (x *GetAuditQueryResultResponse) Reset()

func (*GetAuditQueryResultResponse) String

func (x *GetAuditQueryResultResponse) String() string

type GetReportRequest

type GetReportRequest struct {

	// name is the name of the security report to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetReportRequest is security report get request.

func (*GetReportRequest) Descriptor deprecated

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

Deprecated: Use GetReportRequest.ProtoReflect.Descriptor instead.

func (*GetReportRequest) GetName

func (x *GetReportRequest) GetName() string

func (*GetReportRequest) ProtoMessage

func (*GetReportRequest) ProtoMessage()

func (*GetReportRequest) ProtoReflect

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

func (*GetReportRequest) Reset

func (x *GetReportRequest) Reset()

func (*GetReportRequest) String

func (x *GetReportRequest) String() string

type GetReportResultRequest

type GetReportResultRequest struct {

	// name is the name of the security report to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// days is a time range is days.
	Days uint32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// execution_id is a unique id of the execution.
	ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// contains filtered or unexported fields
}

GetReportResultRequest is report get request.

func (*GetReportResultRequest) Descriptor deprecated

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

Deprecated: Use GetReportResultRequest.ProtoReflect.Descriptor instead.

func (*GetReportResultRequest) GetDays

func (x *GetReportResultRequest) GetDays() uint32

func (*GetReportResultRequest) GetExecutionId

func (x *GetReportResultRequest) GetExecutionId() string

func (*GetReportResultRequest) GetName

func (x *GetReportResultRequest) GetName() string

func (*GetReportResultRequest) ProtoMessage

func (*GetReportResultRequest) ProtoMessage()

func (*GetReportResultRequest) ProtoReflect

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

func (*GetReportResultRequest) Reset

func (x *GetReportResultRequest) Reset()

func (*GetReportResultRequest) String

func (x *GetReportResultRequest) String() string

type GetReportResultResponse

type GetReportResultResponse struct {

	// result is a report execution result.
	Result *ReportResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

GetReportResultResponse is report result get response.

func (*GetReportResultResponse) Descriptor deprecated

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

Deprecated: Use GetReportResultResponse.ProtoReflect.Descriptor instead.

func (*GetReportResultResponse) GetResult

func (x *GetReportResultResponse) GetResult() *ReportResult

func (*GetReportResultResponse) ProtoMessage

func (*GetReportResultResponse) ProtoMessage()

func (*GetReportResultResponse) ProtoReflect

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

func (*GetReportResultResponse) Reset

func (x *GetReportResultResponse) Reset()

func (*GetReportResultResponse) String

func (x *GetReportResultResponse) String() string

type GetReportStateRequest

type GetReportStateRequest struct {

	// name is a name of the security report.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// days is a time range is days.
	Days uint32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

GetStateRequest is a request for GetReportState.

func (*GetReportStateRequest) Descriptor deprecated

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

Deprecated: Use GetReportStateRequest.ProtoReflect.Descriptor instead.

func (*GetReportStateRequest) GetDays

func (x *GetReportStateRequest) GetDays() uint32

func (*GetReportStateRequest) GetName

func (x *GetReportStateRequest) GetName() string

func (*GetReportStateRequest) ProtoMessage

func (*GetReportStateRequest) ProtoMessage()

func (*GetReportStateRequest) ProtoReflect

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

func (*GetReportStateRequest) Reset

func (x *GetReportStateRequest) Reset()

func (*GetReportStateRequest) String

func (x *GetReportStateRequest) String() string

type GetSchemaRequest

type GetSchemaRequest struct {
	// contains filtered or unexported fields
}

GetSchemaRequest is a request for GetSchema.

func (*GetSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) ProtoReflect

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

func (*GetSchemaRequest) Reset

func (x *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (x *GetSchemaRequest) String() string

type GetSchemaResponse

type GetSchemaResponse struct {

	// views is the list of views.
	Views []*GetSchemaResponse_ViewDesc `protobuf:"bytes,1,rep,name=views,proto3" json:"views,omitempty"`
	// contains filtered or unexported fields
}

GetSchemaResponse is a response for GetSchema.

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetViews

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect

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

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

type GetSchemaResponse_ViewDesc

type GetSchemaResponse_ViewDesc struct {

	// name is the name of the view.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// desc is the description of the view.
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// columns is the list of columns.
	Columns []*GetSchemaResponse_ViewDesc_ColumnDesc `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"`
	// contains filtered or unexported fields
}

ViewDesc is a description of view.

func (*GetSchemaResponse_ViewDesc) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse_ViewDesc.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse_ViewDesc) GetColumns

func (*GetSchemaResponse_ViewDesc) GetDesc

func (x *GetSchemaResponse_ViewDesc) GetDesc() string

func (*GetSchemaResponse_ViewDesc) GetName

func (x *GetSchemaResponse_ViewDesc) GetName() string

func (*GetSchemaResponse_ViewDesc) ProtoMessage

func (*GetSchemaResponse_ViewDesc) ProtoMessage()

func (*GetSchemaResponse_ViewDesc) ProtoReflect

func (*GetSchemaResponse_ViewDesc) Reset

func (x *GetSchemaResponse_ViewDesc) Reset()

func (*GetSchemaResponse_ViewDesc) String

func (x *GetSchemaResponse_ViewDesc) String() string

type GetSchemaResponse_ViewDesc_ColumnDesc

type GetSchemaResponse_ViewDesc_ColumnDesc struct {

	// name is the name of the column.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type is the type of the column.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// desc is the description of the column.
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

ColumnDesc is a description of column.

func (*GetSchemaResponse_ViewDesc_ColumnDesc) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse_ViewDesc_ColumnDesc.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse_ViewDesc_ColumnDesc) GetDesc

func (*GetSchemaResponse_ViewDesc_ColumnDesc) GetName

func (*GetSchemaResponse_ViewDesc_ColumnDesc) GetType

func (*GetSchemaResponse_ViewDesc_ColumnDesc) ProtoMessage

func (*GetSchemaResponse_ViewDesc_ColumnDesc) ProtoMessage()

func (*GetSchemaResponse_ViewDesc_ColumnDesc) ProtoReflect

func (*GetSchemaResponse_ViewDesc_ColumnDesc) Reset

func (*GetSchemaResponse_ViewDesc_ColumnDesc) String

type ListAuditQueriesRequest

type ListAuditQueriesRequest struct {

	// page_size is the number of results to return.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// page_token is the next_token value returned from a previous List request if any.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListAuditQueriesRequest is audit query list request.

func (*ListAuditQueriesRequest) Descriptor deprecated

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

Deprecated: Use ListAuditQueriesRequest.ProtoReflect.Descriptor instead.

func (*ListAuditQueriesRequest) GetPageSize

func (x *ListAuditQueriesRequest) GetPageSize() int32

func (*ListAuditQueriesRequest) GetPageToken

func (x *ListAuditQueriesRequest) GetPageToken() string

func (*ListAuditQueriesRequest) ProtoMessage

func (*ListAuditQueriesRequest) ProtoMessage()

func (*ListAuditQueriesRequest) ProtoReflect

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

func (*ListAuditQueriesRequest) Reset

func (x *ListAuditQueriesRequest) Reset()

func (*ListAuditQueriesRequest) String

func (x *ListAuditQueriesRequest) String() string

type ListAuditQueriesResponse

type ListAuditQueriesResponse struct {

	// queries is a list of audit queries.
	Queries []*AuditQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
	// next_page_token is the next page token. If there are no more results, it will be empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListAuditQueriesResponse is audit query list response.

func (*ListAuditQueriesResponse) Descriptor deprecated

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

Deprecated: Use ListAuditQueriesResponse.ProtoReflect.Descriptor instead.

func (*ListAuditQueriesResponse) GetNextPageToken

func (x *ListAuditQueriesResponse) GetNextPageToken() string

func (*ListAuditQueriesResponse) GetQueries

func (x *ListAuditQueriesResponse) GetQueries() []*AuditQuery

func (*ListAuditQueriesResponse) ProtoMessage

func (*ListAuditQueriesResponse) ProtoMessage()

func (*ListAuditQueriesResponse) ProtoReflect

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

func (*ListAuditQueriesResponse) Reset

func (x *ListAuditQueriesResponse) Reset()

func (*ListAuditQueriesResponse) String

func (x *ListAuditQueriesResponse) String() string

type ListReportsRequest

type ListReportsRequest struct {

	// page_size is the number of results to return.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// page_token is the next_token value returned from a previous List request if any.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListAuditQueryResponse is audit query list response.

func (*ListReportsRequest) Descriptor deprecated

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

Deprecated: Use ListReportsRequest.ProtoReflect.Descriptor instead.

func (*ListReportsRequest) GetPageSize

func (x *ListReportsRequest) GetPageSize() int32

func (*ListReportsRequest) GetPageToken

func (x *ListReportsRequest) GetPageToken() string

func (*ListReportsRequest) ProtoMessage

func (*ListReportsRequest) ProtoMessage()

func (*ListReportsRequest) ProtoReflect

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

func (*ListReportsRequest) Reset

func (x *ListReportsRequest) Reset()

func (*ListReportsRequest) String

func (x *ListReportsRequest) String() string

type ListReportsResponse

type ListReportsResponse struct {

	// reports is a list of security reports.
	Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// next_page_token is the next page token. If there are no more results, it will be empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListReportResponse is security report list response.

func (*ListReportsResponse) Descriptor deprecated

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

Deprecated: Use ListReportsResponse.ProtoReflect.Descriptor instead.

func (*ListReportsResponse) GetNextPageToken

func (x *ListReportsResponse) GetNextPageToken() string

func (*ListReportsResponse) GetReports

func (x *ListReportsResponse) GetReports() []*Report

func (*ListReportsResponse) ProtoMessage

func (*ListReportsResponse) ProtoMessage()

func (*ListReportsResponse) ProtoReflect

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

func (*ListReportsResponse) Reset

func (x *ListReportsResponse) Reset()

func (*ListReportsResponse) String

func (x *ListReportsResponse) String() string

type QueryResultColumnInfo

type QueryResultColumnInfo struct {

	// name is name of the column.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type is type of the column.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

QueryResultColumnInfo is a column info.

func (*QueryResultColumnInfo) Descriptor deprecated

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

Deprecated: Use QueryResultColumnInfo.ProtoReflect.Descriptor instead.

func (*QueryResultColumnInfo) GetName

func (x *QueryResultColumnInfo) GetName() string

func (*QueryResultColumnInfo) GetType

func (x *QueryResultColumnInfo) GetType() string

func (*QueryResultColumnInfo) ProtoMessage

func (*QueryResultColumnInfo) ProtoMessage()

func (*QueryResultColumnInfo) ProtoReflect

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

func (*QueryResultColumnInfo) Reset

func (x *QueryResultColumnInfo) Reset()

func (*QueryResultColumnInfo) String

func (x *QueryResultColumnInfo) String() string

type QueryResultSet

type QueryResultSet struct {

	// column_info contains information about columns.
	ColumnInfo []*QueryResultColumnInfo `protobuf:"bytes,1,rep,name=column_info,json=columnInfo,proto3" json:"column_info,omitempty"`
	// rows  is a list of rows containing values.
	Rows []*QueryRowResult `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

QueryResultSet is a result set.

func (*QueryResultSet) Descriptor deprecated

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

Deprecated: Use QueryResultSet.ProtoReflect.Descriptor instead.

func (*QueryResultSet) GetColumnInfo

func (x *QueryResultSet) GetColumnInfo() []*QueryResultColumnInfo

func (*QueryResultSet) GetRows

func (x *QueryResultSet) GetRows() []*QueryRowResult

func (*QueryResultSet) ProtoMessage

func (*QueryResultSet) ProtoMessage()

func (*QueryResultSet) ProtoReflect

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

func (*QueryResultSet) Reset

func (x *QueryResultSet) Reset()

func (*QueryResultSet) String

func (x *QueryResultSet) String() string

type QueryRowResult

type QueryRowResult struct {

	// data is a list of values.
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

QueryRowResult is a row result.

func (*QueryRowResult) Descriptor deprecated

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

Deprecated: Use QueryRowResult.ProtoReflect.Descriptor instead.

func (*QueryRowResult) GetData

func (x *QueryRowResult) GetData() []string

func (*QueryRowResult) ProtoMessage

func (*QueryRowResult) ProtoMessage()

func (*QueryRowResult) ProtoReflect

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

func (*QueryRowResult) Reset

func (x *QueryRowResult) Reset()

func (*QueryRowResult) String

func (x *QueryRowResult) String() string

type Report

type Report struct {

	// header is the header for the resource.
	Header *v1.ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// spec is the security report spec.
	Spec *ReportSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Report is security report resource.

func (*Report) Descriptor deprecated

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

Deprecated: Use Report.ProtoReflect.Descriptor instead.

func (*Report) GetHeader

func (x *Report) GetHeader() *v1.ResourceHeader

func (*Report) GetSpec

func (x *Report) GetSpec() *ReportSpec

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) ProtoReflect

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

func (*Report) Reset

func (x *Report) Reset()

func (*Report) String

func (x *Report) String() string

type ReportResult

type ReportResult struct {

	// name is a name of the security report.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// description is a description of the security report.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// audit_query_results is a list of audit query results.
	AuditQueryResults []*ReportResult_AuditQueryResult `protobuf:"bytes,3,rep,name=audit_query_results,json=auditQueryResults,proto3" json:"audit_query_results,omitempty"`
	// updated_at is a time when the security report was updated.
	UpdatedAt string `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// total_execution_time_in_millis is a time in milliseconds when the security report was executed.
	TotalExecutionTimeInMillis int64 `` /* 146-byte string literal not displayed */
	// total_data_scanned_in_bytes is a number of bytes scanned.
	TotalDataScannedInBytes int64 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Report is the result of security report.

func (*ReportResult) Descriptor deprecated

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

Deprecated: Use ReportResult.ProtoReflect.Descriptor instead.

func (*ReportResult) GetAuditQueryResults

func (x *ReportResult) GetAuditQueryResults() []*ReportResult_AuditQueryResult

func (*ReportResult) GetDescription

func (x *ReportResult) GetDescription() string

func (*ReportResult) GetName

func (x *ReportResult) GetName() string

func (*ReportResult) GetTotalDataScannedInBytes

func (x *ReportResult) GetTotalDataScannedInBytes() int64

func (*ReportResult) GetTotalExecutionTimeInMillis

func (x *ReportResult) GetTotalExecutionTimeInMillis() int64

func (*ReportResult) GetUpdatedAt

func (x *ReportResult) GetUpdatedAt() string

func (*ReportResult) ProtoMessage

func (*ReportResult) ProtoMessage()

func (*ReportResult) ProtoReflect

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

func (*ReportResult) Reset

func (x *ReportResult) Reset()

func (*ReportResult) String

func (x *ReportResult) String() string

type ReportResult_AuditQueryResult

type ReportResult_AuditQueryResult struct {

	// audit_query is the audit query spec containing information about audit query.
	AuditQuery *AuditQuerySpec `protobuf:"bytes,1,opt,name=audit_query,json=auditQuery,proto3" json:"audit_query,omitempty"`
	// result is the result set.
	Result *QueryResultSet `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// result_id is a unique id of the result.
	ResultId string `protobuf:"bytes,3,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// execution_time_in_millis is a time in milliseconds when the audit query was executed.
	ExecutionTimeInMillis int64 `` /* 129-byte string literal not displayed */
	// data_scanned_in_bytes is a number of bytes scanned.
	DataScannedInBytes int64 `protobuf:"varint,5,opt,name=data_scanned_in_bytes,json=dataScannedInBytes,proto3" json:"data_scanned_in_bytes,omitempty"`
	// contains filtered or unexported fields
}

AuditQueryResult is a result of audit query.

func (*ReportResult_AuditQueryResult) Descriptor deprecated

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

Deprecated: Use ReportResult_AuditQueryResult.ProtoReflect.Descriptor instead.

func (*ReportResult_AuditQueryResult) GetAuditQuery

func (x *ReportResult_AuditQueryResult) GetAuditQuery() *AuditQuerySpec

func (*ReportResult_AuditQueryResult) GetDataScannedInBytes

func (x *ReportResult_AuditQueryResult) GetDataScannedInBytes() int64

func (*ReportResult_AuditQueryResult) GetExecutionTimeInMillis

func (x *ReportResult_AuditQueryResult) GetExecutionTimeInMillis() int64

func (*ReportResult_AuditQueryResult) GetResult

func (*ReportResult_AuditQueryResult) GetResultId

func (x *ReportResult_AuditQueryResult) GetResultId() string

func (*ReportResult_AuditQueryResult) ProtoMessage

func (*ReportResult_AuditQueryResult) ProtoMessage()

func (*ReportResult_AuditQueryResult) ProtoReflect

func (*ReportResult_AuditQueryResult) Reset

func (x *ReportResult_AuditQueryResult) Reset()

func (*ReportResult_AuditQueryResult) String

type ReportSate

type ReportSate struct {

	// header is a resource header.
	Header *v1.ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// state is a state of the security report.
	State ReportSate_State `protobuf:"varint,2,opt,name=state,proto3,enum=teleport.secreports.v1.ReportSate_State" json:"state,omitempty"`
	// updated_at is a time when the security report state was updated.
	UpdatedAt string `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Report is a security report.

func (*ReportSate) Descriptor deprecated

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

Deprecated: Use ReportSate.ProtoReflect.Descriptor instead.

func (*ReportSate) GetHeader

func (x *ReportSate) GetHeader() *v1.ResourceHeader

func (*ReportSate) GetState

func (x *ReportSate) GetState() ReportSate_State

func (*ReportSate) GetUpdatedAt

func (x *ReportSate) GetUpdatedAt() string

func (*ReportSate) ProtoMessage

func (*ReportSate) ProtoMessage()

func (*ReportSate) ProtoReflect

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

func (*ReportSate) Reset

func (x *ReportSate) Reset()

func (*ReportSate) String

func (x *ReportSate) String() string

type ReportSate_State

type ReportSate_State int32

name is a name of the security report.

const (
	// STATE_UNSPECIFIED is an unspecified state.
	ReportSate_STATE_UNSPECIFIED ReportSate_State = 0
	// STATE_ERROR is an error state.
	ReportSate_STATE_ERROR ReportSate_State = 1
	// STATE_SUCCESS is a success state.
	ReportSate_STATE_SUCCESS ReportSate_State = 2
	// STATE_RUNNING is a running state.
	ReportSate_STATE_RUNNING ReportSate_State = 3
)

func (ReportSate_State) Descriptor

func (ReportSate_State) Enum

func (ReportSate_State) EnumDescriptor deprecated

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

Deprecated: Use ReportSate_State.Descriptor instead.

func (ReportSate_State) Number

func (ReportSate_State) String

func (x ReportSate_State) String() string

func (ReportSate_State) Type

type ReportSpec

type ReportSpec struct {

	// name is the name of the security report.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// title is the title of the security report.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// description is the description of the security report
	AuditQueries []*AuditQuerySpec `protobuf:"bytes,3,rep,name=audit_queries,json=auditQueries,proto3" json:"audit_queries,omitempty"`
	// title is the title of the security report.
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// version is the version of the security report.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

ReportSpec is security report spec.

func (*ReportSpec) Descriptor deprecated

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

Deprecated: Use ReportSpec.ProtoReflect.Descriptor instead.

func (*ReportSpec) GetAuditQueries

func (x *ReportSpec) GetAuditQueries() []*AuditQuerySpec

func (*ReportSpec) GetDescription

func (x *ReportSpec) GetDescription() string

func (*ReportSpec) GetName

func (x *ReportSpec) GetName() string

func (*ReportSpec) GetTitle

func (x *ReportSpec) GetTitle() string

func (*ReportSpec) GetVersion

func (x *ReportSpec) GetVersion() string

func (*ReportSpec) ProtoMessage

func (*ReportSpec) ProtoMessage()

func (*ReportSpec) ProtoReflect

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

func (*ReportSpec) Reset

func (x *ReportSpec) Reset()

func (*ReportSpec) String

func (x *ReportSpec) String() string

type ReportState

type ReportState struct {

	// header is the header for the resource.
	Header *v1.ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// spec is the security report state spec.
	Spec *ReportStateSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

ReportState is security report state resource.

func (*ReportState) Descriptor deprecated

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

Deprecated: Use ReportState.ProtoReflect.Descriptor instead.

func (*ReportState) GetHeader

func (x *ReportState) GetHeader() *v1.ResourceHeader

func (*ReportState) GetSpec

func (x *ReportState) GetSpec() *ReportStateSpec

func (*ReportState) ProtoMessage

func (*ReportState) ProtoMessage()

func (*ReportState) ProtoReflect

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

func (*ReportState) Reset

func (x *ReportState) Reset()

func (*ReportState) String

func (x *ReportState) String() string

type ReportStateSpec

type ReportStateSpec struct {

	// state is the state of the security report.
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// updated_at is the time when the security report state was updated.
	UpdatedAt string `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

ReportStateSpec is security report state spec.

func (*ReportStateSpec) Descriptor deprecated

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

Deprecated: Use ReportStateSpec.ProtoReflect.Descriptor instead.

func (*ReportStateSpec) GetState

func (x *ReportStateSpec) GetState() string

func (*ReportStateSpec) GetUpdatedAt

func (x *ReportStateSpec) GetUpdatedAt() string

func (*ReportStateSpec) ProtoMessage

func (*ReportStateSpec) ProtoMessage()

func (*ReportStateSpec) ProtoReflect

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

func (*ReportStateSpec) Reset

func (x *ReportStateSpec) Reset()

func (*ReportStateSpec) String

func (x *ReportStateSpec) String() string

type RunAuditQueryRequest

type RunAuditQueryRequest struct {

	// name is the name of the audit query to run.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// days is a time range is days.
	Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

RunAuditQueryRequest is audit query run request.

func (*RunAuditQueryRequest) Descriptor deprecated

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

Deprecated: Use RunAuditQueryRequest.ProtoReflect.Descriptor instead.

func (*RunAuditQueryRequest) GetDays

func (x *RunAuditQueryRequest) GetDays() int32

func (*RunAuditQueryRequest) GetQuery

func (x *RunAuditQueryRequest) GetQuery() string

func (*RunAuditQueryRequest) ProtoMessage

func (*RunAuditQueryRequest) ProtoMessage()

func (*RunAuditQueryRequest) ProtoReflect

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

func (*RunAuditQueryRequest) Reset

func (x *RunAuditQueryRequest) Reset()

func (*RunAuditQueryRequest) String

func (x *RunAuditQueryRequest) String() string

type RunAuditQueryResponse

type RunAuditQueryResponse struct {

	// result_id is a unique id of the result.
	ResultId string `protobuf:"bytes,1,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// contains filtered or unexported fields
}

RunAuditQueryResponse is audit query run response.

func (*RunAuditQueryResponse) Descriptor deprecated

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

Deprecated: Use RunAuditQueryResponse.ProtoReflect.Descriptor instead.

func (*RunAuditQueryResponse) GetResultId

func (x *RunAuditQueryResponse) GetResultId() string

func (*RunAuditQueryResponse) ProtoMessage

func (*RunAuditQueryResponse) ProtoMessage()

func (*RunAuditQueryResponse) ProtoReflect

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

func (*RunAuditQueryResponse) Reset

func (x *RunAuditQueryResponse) Reset()

func (*RunAuditQueryResponse) String

func (x *RunAuditQueryResponse) String() string

type RunReportRequest

type RunReportRequest struct {

	// name is a name of the security report.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// days is a time range is days.
	Days uint32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

RunReportRequest is a request for RunReport.

func (*RunReportRequest) Descriptor deprecated

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

Deprecated: Use RunReportRequest.ProtoReflect.Descriptor instead.

func (*RunReportRequest) GetDays

func (x *RunReportRequest) GetDays() uint32

func (*RunReportRequest) GetName

func (x *RunReportRequest) GetName() string

func (*RunReportRequest) ProtoMessage

func (*RunReportRequest) ProtoMessage()

func (*RunReportRequest) ProtoReflect

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

func (*RunReportRequest) Reset

func (x *RunReportRequest) Reset()

func (*RunReportRequest) String

func (x *RunReportRequest) String() string

type SecReportsServiceClient

type SecReportsServiceClient interface {
	// UpsertAuditQuery upsets an audit query.
	UpsertAuditQuery(ctx context.Context, in *UpsertAuditQueryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetAuditQuery returns an audit query.
	GetAuditQuery(ctx context.Context, in *GetAuditQueryRequest, opts ...grpc.CallOption) (*AuditQuery, error)
	// ListAuditQueries returns a paginated list of all Okta import rule resources.
	ListAuditQueries(ctx context.Context, in *ListAuditQueriesRequest, opts ...grpc.CallOption) (*ListAuditQueriesResponse, error)
	// DeleteAuditQuery deletes an audit query.
	DeleteAuditQuery(ctx context.Context, in *DeleteAuditQueryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UpsertReport upsets a report.
	UpsertReport(ctx context.Context, in *UpsertReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetReport returns a report.
	GetReport(ctx context.Context, in *GetReportRequest, opts ...grpc.CallOption) (*Report, error)
	// ListReports returns a paginated list of all Okta import rule resources.
	ListReports(ctx context.Context, in *ListReportsRequest, opts ...grpc.CallOption) (*ListReportsResponse, error)
	// DeleteReport deletes a security report.
	DeleteReport(ctx context.Context, in *DeleteReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// RunAuditQuery runs an audit query.
	RunAuditQuery(ctx context.Context, in *RunAuditQueryRequest, opts ...grpc.CallOption) (*RunAuditQueryResponse, error)
	// GetAuditQueryResult returns an audit query result.
	GetAuditQueryResult(ctx context.Context, in *GetAuditQueryResultRequest, opts ...grpc.CallOption) (*GetAuditQueryResultResponse, error)
	// RunReport runs a security report.
	RunReport(ctx context.Context, in *RunReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetReportResult returns a security report result.
	GetReportResult(ctx context.Context, in *GetReportResultRequest, opts ...grpc.CallOption) (*GetReportResultResponse, error)
	// GetReportState returns a security report state.
	GetReportState(ctx context.Context, in *GetReportStateRequest, opts ...grpc.CallOption) (*ReportState, error)
	// GetSchema returns a schema of audit query.
	GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error)
}

SecReportsServiceClient is the client API for SecReportsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

SecReportsService is a service that manages security reports.

type SecReportsServiceServer

type SecReportsServiceServer interface {
	// UpsertAuditQuery upsets an audit query.
	UpsertAuditQuery(context.Context, *UpsertAuditQueryRequest) (*emptypb.Empty, error)
	// GetAuditQuery returns an audit query.
	GetAuditQuery(context.Context, *GetAuditQueryRequest) (*AuditQuery, error)
	// ListAuditQueries returns a paginated list of all Okta import rule resources.
	ListAuditQueries(context.Context, *ListAuditQueriesRequest) (*ListAuditQueriesResponse, error)
	// DeleteAuditQuery deletes an audit query.
	DeleteAuditQuery(context.Context, *DeleteAuditQueryRequest) (*emptypb.Empty, error)
	// UpsertReport upsets a report.
	UpsertReport(context.Context, *UpsertReportRequest) (*emptypb.Empty, error)
	// GetReport returns a report.
	GetReport(context.Context, *GetReportRequest) (*Report, error)
	// ListReports returns a paginated list of all Okta import rule resources.
	ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error)
	// DeleteReport deletes a security report.
	DeleteReport(context.Context, *DeleteReportRequest) (*emptypb.Empty, error)
	// RunAuditQuery runs an audit query.
	RunAuditQuery(context.Context, *RunAuditQueryRequest) (*RunAuditQueryResponse, error)
	// GetAuditQueryResult returns an audit query result.
	GetAuditQueryResult(context.Context, *GetAuditQueryResultRequest) (*GetAuditQueryResultResponse, error)
	// RunReport runs a security report.
	RunReport(context.Context, *RunReportRequest) (*emptypb.Empty, error)
	// GetReportResult returns a security report result.
	GetReportResult(context.Context, *GetReportResultRequest) (*GetReportResultResponse, error)
	// GetReportState returns a security report state.
	GetReportState(context.Context, *GetReportStateRequest) (*ReportState, error)
	// GetSchema returns a schema of audit query.
	GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
	// contains filtered or unexported methods
}

SecReportsServiceServer is the server API for SecReportsService service. All implementations must embed UnimplementedSecReportsServiceServer for forward compatibility.

SecReportsService is a service that manages security reports.

type UnimplementedSecReportsServiceServer

type UnimplementedSecReportsServiceServer struct{}

UnimplementedSecReportsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSecReportsServiceServer) DeleteAuditQuery

func (UnimplementedSecReportsServiceServer) DeleteReport

func (UnimplementedSecReportsServiceServer) GetAuditQuery

func (UnimplementedSecReportsServiceServer) GetAuditQueryResult

func (UnimplementedSecReportsServiceServer) GetReport

func (UnimplementedSecReportsServiceServer) GetReportResult

func (UnimplementedSecReportsServiceServer) GetReportState

func (UnimplementedSecReportsServiceServer) GetSchema

func (UnimplementedSecReportsServiceServer) ListAuditQueries

func (UnimplementedSecReportsServiceServer) ListReports

func (UnimplementedSecReportsServiceServer) RunAuditQuery

func (UnimplementedSecReportsServiceServer) RunReport

func (UnimplementedSecReportsServiceServer) UpsertAuditQuery

func (UnimplementedSecReportsServiceServer) UpsertReport

type UnsafeSecReportsServiceServer

type UnsafeSecReportsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSecReportsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecReportsServiceServer will result in compilation errors.

type UpsertAuditQueryRequest

type UpsertAuditQueryRequest struct {

	// audit_query is the audit query to upsert.
	AuditQuery *AuditQuery `protobuf:"bytes,1,opt,name=audit_query,json=auditQuery,proto3" json:"audit_query,omitempty"`
	// contains filtered or unexported fields
}

UpsertAuditQueryRequest is audit query upsert request.

func (*UpsertAuditQueryRequest) Descriptor deprecated

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

Deprecated: Use UpsertAuditQueryRequest.ProtoReflect.Descriptor instead.

func (*UpsertAuditQueryRequest) GetAuditQuery

func (x *UpsertAuditQueryRequest) GetAuditQuery() *AuditQuery

func (*UpsertAuditQueryRequest) ProtoMessage

func (*UpsertAuditQueryRequest) ProtoMessage()

func (*UpsertAuditQueryRequest) ProtoReflect

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

func (*UpsertAuditQueryRequest) Reset

func (x *UpsertAuditQueryRequest) Reset()

func (*UpsertAuditQueryRequest) String

func (x *UpsertAuditQueryRequest) String() string

type UpsertReportRequest

type UpsertReportRequest struct {

	// report is the security report to upsert.
	Report *Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	// contains filtered or unexported fields
}

UpsertReportRequest is security report upsert request.

func (*UpsertReportRequest) Descriptor deprecated

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

Deprecated: Use UpsertReportRequest.ProtoReflect.Descriptor instead.

func (*UpsertReportRequest) GetReport

func (x *UpsertReportRequest) GetReport() *Report

func (*UpsertReportRequest) ProtoMessage

func (*UpsertReportRequest) ProtoMessage()

func (*UpsertReportRequest) ProtoReflect

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

func (*UpsertReportRequest) Reset

func (x *UpsertReportRequest) Reset()

func (*UpsertReportRequest) String

func (x *UpsertReportRequest) String() string

Jump to

Keyboard shortcuts

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