Documentation ¶
Index ¶
- Variables
- type AccessPath
- type DownloadEntitlementUsageReportRequest
- func (*DownloadEntitlementUsageReportRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadEntitlementUsageReportRequest) ProtoMessage()
- func (x *DownloadEntitlementUsageReportRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadEntitlementUsageReportRequest) Reset()
- func (x *DownloadEntitlementUsageReportRequest) String() string
- type DownloadEntitlementUsageReportResponse
- func (*DownloadEntitlementUsageReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadEntitlementUsageReportResponse) GetDownloadUrl() string
- func (*DownloadEntitlementUsageReportResponse) ProtoMessage()
- func (x *DownloadEntitlementUsageReportResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadEntitlementUsageReportResponse) Reset()
- func (x *DownloadEntitlementUsageReportResponse) String() string
- type EntitlementUsage
- func (*EntitlementUsage) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementUsage) GetAccessPaths() []*AccessPath
- func (x *EntitlementUsage) GetLastUsed() *timestamppb.Timestamp
- func (x *EntitlementUsage) GetPrincipal() *v1alpha1.User
- func (x *EntitlementUsage) GetRole() *v1alpha1.NamedEID
- func (x *EntitlementUsage) GetTarget() *v1alpha1.NamedEID
- func (x *EntitlementUsage) GetUsage() Usage
- func (x *EntitlementUsage) GetUsageReason() string
- func (*EntitlementUsage) ProtoMessage()
- func (x *EntitlementUsage) ProtoReflect() protoreflect.Message
- func (x *EntitlementUsage) Reset()
- func (x *EntitlementUsage) String() string
- type GetHistoricalReportsRequest
- type GetHistoricalReportsResponse
- func (*GetHistoricalReportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoricalReportsResponse) GetReports() []*Report
- func (*GetHistoricalReportsResponse) ProtoMessage()
- func (x *GetHistoricalReportsResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalReportsResponse) Reset()
- func (x *GetHistoricalReportsResponse) String() string
- type GetLatestReportRequest
- type GetLatestReportResponse
- func (*GetLatestReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestReportResponse) GetReport() *Report
- func (*GetLatestReportResponse) ProtoMessage()
- func (x *GetLatestReportResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestReportResponse) Reset()
- func (x *GetLatestReportResponse) String() string
- type Report
- func (*Report) Descriptor() ([]byte, []int)deprecated
- func (x *Report) GetCreatedAt() *timestamppb.Timestamp
- func (x *Report) GetTimestamp() *timestamppb.Timestamp
- func (x *Report) GetUsageCutoffTime() *timestamppb.Timestamp
- func (x *Report) GetUsageSummaries() []*UsageSummary
- func (*Report) ProtoMessage()
- func (x *Report) ProtoReflect() protoreflect.Message
- func (x *Report) Reset()
- func (x *Report) String() string
- type Usage
- type UsageSummary
- func (*UsageSummary) Descriptor() ([]byte, []int)deprecated
- func (x *UsageSummary) GetInUseCount() int32
- func (x *UsageSummary) GetIndeterminateCount() int32
- func (x *UsageSummary) GetLabel() string
- func (x *UsageSummary) GetUnusedCount() int32
- func (*UsageSummary) ProtoMessage()
- func (x *UsageSummary) ProtoReflect() protoreflect.Message
- func (x *UsageSummary) Reset()
- func (x *UsageSummary) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Usage_name = map[int32]string{ 0: "USAGE_UNSPECIFIED", 3: "USAGE_IN_USE", 4: "USAGE_UNUSED", } Usage_value = map[string]int32{ "USAGE_UNSPECIFIED": 0, "USAGE_IN_USE": 3, "USAGE_UNUSED": 4, } )
Enum value maps for Usage.
var File_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto protoreflect.FileDescriptor
var File_commonfate_leastprivilege_v1alpha1_leastprivilege_proto protoreflect.FileDescriptor
var File_commonfate_leastprivilege_v1alpha1_report_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessPath ¶
type AccessPath struct { Path []*v1alpha1.NamedEID `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*AccessPath) Descriptor
deprecated
func (*AccessPath) Descriptor() ([]byte, []int)
Deprecated: Use AccessPath.ProtoReflect.Descriptor instead.
func (*AccessPath) GetPath ¶
func (x *AccessPath) GetPath() []*v1alpha1.NamedEID
func (*AccessPath) ProtoMessage ¶
func (*AccessPath) ProtoMessage()
func (*AccessPath) ProtoReflect ¶
func (x *AccessPath) ProtoReflect() protoreflect.Message
func (*AccessPath) Reset ¶
func (x *AccessPath) Reset()
func (*AccessPath) String ¶
func (x *AccessPath) String() string
type DownloadEntitlementUsageReportRequest ¶
type DownloadEntitlementUsageReportRequest struct {
// contains filtered or unexported fields
}
func (*DownloadEntitlementUsageReportRequest) Descriptor
deprecated
func (*DownloadEntitlementUsageReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadEntitlementUsageReportRequest.ProtoReflect.Descriptor instead.
func (*DownloadEntitlementUsageReportRequest) ProtoMessage ¶
func (*DownloadEntitlementUsageReportRequest) ProtoMessage()
func (*DownloadEntitlementUsageReportRequest) ProtoReflect ¶
func (x *DownloadEntitlementUsageReportRequest) ProtoReflect() protoreflect.Message
func (*DownloadEntitlementUsageReportRequest) Reset ¶
func (x *DownloadEntitlementUsageReportRequest) Reset()
func (*DownloadEntitlementUsageReportRequest) String ¶
func (x *DownloadEntitlementUsageReportRequest) String() string
type DownloadEntitlementUsageReportResponse ¶
type DownloadEntitlementUsageReportResponse struct { DownloadUrl string `protobuf:"bytes,1,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // contains filtered or unexported fields }
func (*DownloadEntitlementUsageReportResponse) Descriptor
deprecated
func (*DownloadEntitlementUsageReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadEntitlementUsageReportResponse.ProtoReflect.Descriptor instead.
func (*DownloadEntitlementUsageReportResponse) GetDownloadUrl ¶
func (x *DownloadEntitlementUsageReportResponse) GetDownloadUrl() string
func (*DownloadEntitlementUsageReportResponse) ProtoMessage ¶
func (*DownloadEntitlementUsageReportResponse) ProtoMessage()
func (*DownloadEntitlementUsageReportResponse) ProtoReflect ¶
func (x *DownloadEntitlementUsageReportResponse) ProtoReflect() protoreflect.Message
func (*DownloadEntitlementUsageReportResponse) Reset ¶
func (x *DownloadEntitlementUsageReportResponse) Reset()
func (*DownloadEntitlementUsageReportResponse) String ¶
func (x *DownloadEntitlementUsageReportResponse) String() string
type EntitlementUsage ¶
type EntitlementUsage struct { Target *v1alpha1.NamedEID `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Role *v1alpha1.NamedEID `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` Principal *v1alpha1.User `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` Usage Usage `protobuf:"varint,4,opt,name=Usage,proto3,enum=commonfate.leastprivilege.v1alpha1.Usage" json:"Usage,omitempty"` UsageReason string `protobuf:"bytes,5,opt,name=usage_reason,json=usageReason,proto3" json:"usage_reason,omitempty"` AccessPaths []*AccessPath `protobuf:"bytes,6,rep,name=access_paths,json=accessPaths,proto3" json:"access_paths,omitempty"` LastUsed *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_used,json=lastUsed,proto3,oneof" json:"last_used,omitempty"` // contains filtered or unexported fields }
func (*EntitlementUsage) Descriptor
deprecated
func (*EntitlementUsage) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementUsage.ProtoReflect.Descriptor instead.
func (*EntitlementUsage) GetAccessPaths ¶
func (x *EntitlementUsage) GetAccessPaths() []*AccessPath
func (*EntitlementUsage) GetLastUsed ¶
func (x *EntitlementUsage) GetLastUsed() *timestamppb.Timestamp
func (*EntitlementUsage) GetPrincipal ¶
func (x *EntitlementUsage) GetPrincipal() *v1alpha1.User
func (*EntitlementUsage) GetRole ¶
func (x *EntitlementUsage) GetRole() *v1alpha1.NamedEID
func (*EntitlementUsage) GetTarget ¶
func (x *EntitlementUsage) GetTarget() *v1alpha1.NamedEID
func (*EntitlementUsage) GetUsage ¶
func (x *EntitlementUsage) GetUsage() Usage
func (*EntitlementUsage) GetUsageReason ¶
func (x *EntitlementUsage) GetUsageReason() string
func (*EntitlementUsage) ProtoMessage ¶
func (*EntitlementUsage) ProtoMessage()
func (*EntitlementUsage) ProtoReflect ¶
func (x *EntitlementUsage) ProtoReflect() protoreflect.Message
func (*EntitlementUsage) Reset ¶
func (x *EntitlementUsage) Reset()
func (*EntitlementUsage) String ¶
func (x *EntitlementUsage) String() string
type GetHistoricalReportsRequest ¶
type GetHistoricalReportsRequest struct {
// contains filtered or unexported fields
}
func (*GetHistoricalReportsRequest) Descriptor
deprecated
func (*GetHistoricalReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalReportsRequest.ProtoReflect.Descriptor instead.
func (*GetHistoricalReportsRequest) ProtoMessage ¶
func (*GetHistoricalReportsRequest) ProtoMessage()
func (*GetHistoricalReportsRequest) ProtoReflect ¶
func (x *GetHistoricalReportsRequest) ProtoReflect() protoreflect.Message
func (*GetHistoricalReportsRequest) Reset ¶
func (x *GetHistoricalReportsRequest) Reset()
func (*GetHistoricalReportsRequest) String ¶
func (x *GetHistoricalReportsRequest) String() string
type GetHistoricalReportsResponse ¶
type GetHistoricalReportsResponse struct { Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
func (*GetHistoricalReportsResponse) Descriptor
deprecated
func (*GetHistoricalReportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalReportsResponse.ProtoReflect.Descriptor instead.
func (*GetHistoricalReportsResponse) GetReports ¶
func (x *GetHistoricalReportsResponse) GetReports() []*Report
func (*GetHistoricalReportsResponse) ProtoMessage ¶
func (*GetHistoricalReportsResponse) ProtoMessage()
func (*GetHistoricalReportsResponse) ProtoReflect ¶
func (x *GetHistoricalReportsResponse) ProtoReflect() protoreflect.Message
func (*GetHistoricalReportsResponse) Reset ¶
func (x *GetHistoricalReportsResponse) Reset()
func (*GetHistoricalReportsResponse) String ¶
func (x *GetHistoricalReportsResponse) String() string
type GetLatestReportRequest ¶
type GetLatestReportRequest struct {
// contains filtered or unexported fields
}
func (*GetLatestReportRequest) Descriptor
deprecated
func (*GetLatestReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestReportRequest.ProtoReflect.Descriptor instead.
func (*GetLatestReportRequest) ProtoMessage ¶
func (*GetLatestReportRequest) ProtoMessage()
func (*GetLatestReportRequest) ProtoReflect ¶
func (x *GetLatestReportRequest) ProtoReflect() protoreflect.Message
func (*GetLatestReportRequest) Reset ¶
func (x *GetLatestReportRequest) Reset()
func (*GetLatestReportRequest) String ¶
func (x *GetLatestReportRequest) String() string
type GetLatestReportResponse ¶
type GetLatestReportResponse struct { Report *Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` // contains filtered or unexported fields }
func (*GetLatestReportResponse) Descriptor
deprecated
func (*GetLatestReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestReportResponse.ProtoReflect.Descriptor instead.
func (*GetLatestReportResponse) GetReport ¶
func (x *GetLatestReportResponse) GetReport() *Report
func (*GetLatestReportResponse) ProtoMessage ¶
func (*GetLatestReportResponse) ProtoMessage()
func (*GetLatestReportResponse) ProtoReflect ¶
func (x *GetLatestReportResponse) ProtoReflect() protoreflect.Message
func (*GetLatestReportResponse) Reset ¶
func (x *GetLatestReportResponse) Reset()
func (*GetLatestReportResponse) String ¶
func (x *GetLatestReportResponse) String() string
type Report ¶
type Report struct { UsageSummaries []*UsageSummary `protobuf:"bytes,1,rep,name=usage_summaries,json=usageSummaries,proto3" json:"usage_summaries,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` UsageCutoffTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=usage_cutoff_time,json=usageCutoffTime,proto3" json:"usage_cutoff_time,omitempty"` // contains filtered or unexported fields }
func (*Report) Descriptor
deprecated
func (*Report) GetCreatedAt ¶
func (x *Report) GetCreatedAt() *timestamppb.Timestamp
func (*Report) GetTimestamp ¶
func (x *Report) GetTimestamp() *timestamppb.Timestamp
func (*Report) GetUsageCutoffTime ¶
func (x *Report) GetUsageCutoffTime() *timestamppb.Timestamp
func (*Report) GetUsageSummaries ¶
func (x *Report) GetUsageSummaries() []*UsageSummary
func (*Report) ProtoMessage ¶
func (*Report) ProtoMessage()
func (*Report) ProtoReflect ¶
func (x *Report) ProtoReflect() protoreflect.Message
type Usage ¶
type Usage int32
func (Usage) Descriptor ¶
func (Usage) Descriptor() protoreflect.EnumDescriptor
func (Usage) EnumDescriptor
deprecated
func (Usage) Number ¶
func (x Usage) Number() protoreflect.EnumNumber
func (Usage) Type ¶
func (Usage) Type() protoreflect.EnumType
type UsageSummary ¶
type UsageSummary struct { Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` InUseCount int32 `protobuf:"varint,3,opt,name=in_use_count,json=inUseCount,proto3" json:"in_use_count,omitempty"` UnusedCount int32 `protobuf:"varint,4,opt,name=unused_count,json=unusedCount,proto3" json:"unused_count,omitempty"` IndeterminateCount int32 `protobuf:"varint,5,opt,name=indeterminate_count,json=indeterminateCount,proto3" json:"indeterminate_count,omitempty"` // contains filtered or unexported fields }
func (*UsageSummary) Descriptor
deprecated
func (*UsageSummary) Descriptor() ([]byte, []int)
Deprecated: Use UsageSummary.ProtoReflect.Descriptor instead.
func (*UsageSummary) GetInUseCount ¶
func (x *UsageSummary) GetInUseCount() int32
func (*UsageSummary) GetIndeterminateCount ¶
func (x *UsageSummary) GetIndeterminateCount() int32
func (*UsageSummary) GetLabel ¶
func (x *UsageSummary) GetLabel() string
func (*UsageSummary) GetUnusedCount ¶
func (x *UsageSummary) GetUnusedCount() int32
func (*UsageSummary) ProtoMessage ¶
func (*UsageSummary) ProtoMessage()
func (*UsageSummary) ProtoReflect ¶
func (x *UsageSummary) ProtoReflect() protoreflect.Message
func (*UsageSummary) Reset ¶
func (x *UsageSummary) Reset()
func (*UsageSummary) String ¶
func (x *UsageSummary) String() string