Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: actuator service return features (#10235)

p0ny1d8015d3f8c1
diff --git a/backend/api/v1/actuator_service.go b/backend/api/v1/actuator_service.go
index 821cc1eea0..f5f9f0571e 100644
--- a/backend/api/v1/actuator_service.go
+++ b/backend/api/v1/actuator_service.go
@@ -10,8 +10,12 @@ import (
"google.golang.org/protobuf/types/known/emptypb"
"google.golang.org/protobuf/types/known/timestamppb"
+ "github.com/pkg/errors"
+
+ "github.com/bytebase/bytebase/backend/api/auth"
"github.com/bytebase/bytebase/backend/common/log"
"github.com/bytebase/bytebase/backend/component/config"
+ enterprise "github.com/bytebase/bytebase/backend/enterprise/api"
api "github.com/bytebase/bytebase/backend/legacyapi"
"github.com/bytebase/bytebase/backend/store"
v1pb "github.com/bytebase/bytebase/proto/generated-go/v1"
@@ -23,14 +27,16 @@ type ActuatorService struct {
store *store.Store
profile *config.Profile
errorRecordRing *api.ErrorRecordRing
+ licenseService enterprise.LicenseService
}
// NewActuatorService creates a new ActuatorService.
-func NewActuatorService(store *store.Store, profile *config.Profile, errorRecordRing *api.ErrorRecordRing) *ActuatorService {
+func NewActuatorService(store *store.Store, profile *config.Profile, errorRecordRing *api.ErrorRecordRing, licenseService enterprise.LicenseService) *ActuatorService {
return &ActuatorService{
store: store,
profile: profile,
errorRecordRing: errorRecordRing,
+ licenseService: licenseService,
}
}
@@ -97,24 +103,125 @@ func (s *ActuatorService) getServerInfo(ctx context.Context) (*v1pb.ActuatorInfo
return nil, status.Errorf(codes.Internal, err.Error())
}
+ usedFeatures, err := s.getUsedFeatures(ctx)
+ if err != nil {
+ return nil, status.Errorf(codes.Internal, "failed to get used features, error: %v", err)
+ }
+ unlicensedFeatures := s.getUnlicensedFeatures(usedFeatures)
+ var unlicensedFeaturesString []string
+ for _, f := range unlicensedFeatures {
+ unlicensedFeaturesString = append(unlicensedFeaturesString, f.String())
+ }
+
serverInfo := v1pb.ActuatorInfo{
- Version: s.profile.Version,
- GitCommit: s.profile.GitCommit,
- Readonly: s.profile.Readonly,
- Saas: s.profile.SaaS,
- DemoName: s.profile.DemoName,
- NeedAdminSetup: count == 0,
- ExternalUrl: setting.ExternalUrl,
- DisallowSignup: setting.DisallowSignup,
- Require_2Fa: setting.Require_2Fa,
- LastActiveTime: timestamppb.New(time.Unix(s.profile.LastActiveTs, 0)),
- WorkspaceId: workspaceID,
- GitopsWebhookUrl: setting.GitopsWebhookUrl,
- Debug: slog.Default().Enabled(ctx, slog.LevelDebug),
- Lsp: s.profile.Lsp,
- PreUpdateBackup: s.profile.PreUpdateBackup,
- IamGuard: s.profile.DevelopmentIAM,
+ Version: s.profile.Version,
+ GitCommit: s.profile.GitCommit,
+ Readonly: s.profile.Readonly,
+ Saas: s.profile.SaaS,
+ DemoName: s.profile.DemoName,
+ NeedAdminSetup: count == 0,
+ ExternalUrl: setting.ExternalUrl,
+ DisallowSignup: setting.DisallowSignup,
+ Require_2Fa: setting.Require_2Fa,
+ LastActiveTime: timestamppb.New(time.Unix(s.profile.LastActiveTs, 0)),
+ WorkspaceId: workspaceID,
+ GitopsWebhookUrl: setting.GitopsWebhookUrl,
+ Debug: slog.Default().Enabled(ctx, slog.LevelDebug),
+ Lsp: s.profile.Lsp,
+ PreUpdateBackup: s.profile.PreUpdateBackup,
+ IamGuard: s.profile.DevelopmentIAM,
+ UnlicensedFeatures: unlicensedFeaturesString,
}
return &serverInfo, nil
}
+
+func (s *ActuatorService) getUsedFeatures(ctx context.Context) ([]api.FeatureType, error) {
+ var features []api.FeatureType
+
+ // idp
+ idps, err := s.store.ListIdentityProviders(ctx, &store.FindIdentityProviderMessage{})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to list identity providers")
+ }
+ if len(idps) > 0 {
+ features = append(features, api.FeatureSSO)
+ }
+
+ // setting
+ settingName := api.SettingBrandingLogo
+ brandingLogo, err := s.store.GetSettingV2(ctx, &store.FindSettingMessage{Name: &settingName})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to get branding logo setting")
+ }
+ if brandingLogo != nil && brandingLogo.Value != "" {
+ features = append(features, api.FeatureBranding)
+ }
+
+ settingName = api.SettingWatermark
+ watermark, err := s.store.GetSettingV2(ctx, &store.FindSettingMessage{Name: &settingName})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to get watermark setting")
+ }
+ if watermark != nil && watermark.Value == "1" {
+ features = append(features, api.FeatureWatermark)
+ }
+
+ settingName = api.SettingPluginOpenAIKey
+ openAIKey, err := s.store.GetSettingV2(ctx, &store.FindSettingMessage{Name: &settingName})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to get openai key setting")
+ }
+ if openAIKey != nil && openAIKey.Value != "" {
+ features = append(features, api.FeaturePluginOpenAI)
+ }
+
+ setting, err := s.store.GetWorkspaceGeneralSetting(ctx)
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to get workspace general setting")
+ }
+ if setting.DisallowSignup && !s.profile.SaaS {
+ features = append(features, api.FeatureDisallowSignup)
+ }
+ if setting.Require_2Fa {
+ features = append(features, api.Feature2FA)
+ }
+ if setting.GetTokenDuration().GetSeconds() > 0 && float64(setting.GetTokenDuration().GetSeconds()) != auth.DefaultTokenDuration.Seconds() {
+ features = append(features, api.FeatureSecureToken)
+ }
+ if setting.GetAnnouncement().GetText() != "" {
+ features = append(features, api.FeatureAnnouncement)
+ }
+
+ // environment tier
+ environments, err := s.store.ListEnvironmentV2(ctx, &store.FindEnvironmentMessage{})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to list environments")
+ }
+ for _, env := range environments {
+ if env.Protected {
+ features = append(features, api.FeatureEnvironmentTierPolicy)
+ break
+ }
+ }
+
+ // database group
+ databaseGroups, err := s.store.ListDatabaseGroups(ctx, &store.FindDatabaseGroupMessage{})
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to list database groups")
+ }
+ if len(databaseGroups) > 0 {
+ features = append(features, api.FeatureDatabaseGrouping)
+ }
+ return features, nil
+}
+
+func (s *ActuatorService) getUnlicensedFeatures(features []api.FeatureType) []api.FeatureType {
+ var unlicensedFeatures []api.FeatureType
+ for _, feature := range features {
+ if err := s.licenseService.IsFeatureEnabled(feature); err != nil {
+ unlicensedFeatures = append(unlicensedFeatures, feature)
+ }
+ }
+ return unlicensedFeatures
+}
diff --git a/backend/legacyapi/plan.go b/backend/legacyapi/plan.go
index 85b0ed525f..4bdc03321b 100644
--- a/backend/legacyapi/plan.go
+++ b/backend/legacyapi/plan.go
@@ -192,6 +192,10 @@ const (
FeaturePluginOpenAI FeatureType = "bb.feature.plugin.openai"
)
+func (e FeatureType) String() string {
+ return string(e)
+}
+
// Name returns a readable name of the feature.
func (e FeatureType) Name() string {
switch e {
diff --git a/backend/server/grpc_routes.go b/backend/server/grpc_routes.go
index 4a2aed8772..8ba0c324dc 100644
--- a/backend/server/grpc_routes.go
+++ b/backend/server/grpc_routes.go
@@ -53,7 +53,7 @@ func configureGrpcRouters(
return nil, nil, err
}
v1pb.RegisterAuthServiceServer(grpcServer, authService)
- v1pb.RegisterActuatorServiceServer(grpcServer, apiv1.NewActuatorService(stores, profile, errorRecordRing))
+ v1pb.RegisterActuatorServiceServer(grpcServer, apiv1.NewActuatorService(stores, profile, errorRecordRing, licenseService))
v1pb.RegisterSubscriptionServiceServer(grpcServer, apiv1.NewSubscriptionService(
stores,
profile,
diff --git a/frontend/src/types/proto/v1/actuator_service.ts b/frontend/src/types/proto/v1/actuator_service.ts
index 1be3cb464e..7acb56b6a9 100644
--- a/frontend/src/types/proto/v1/actuator_service.ts
+++ b/frontend/src/types/proto/v1/actuator_service.ts
@@ -101,6 +101,7 @@ export interface ActuatorInfo {
preUpdateBackup: boolean;
/** iam_guard is the enablement of IAM checks. */
iamGuard: boolean;
+ unlicensedFeatures: string[];
}
function createBaseGetActuatorInfoRequest(): GetActuatorInfoRequest {
@@ -552,6 +553,7 @@ function createBaseActuatorInfo(): ActuatorInfo {
lsp: false,
preUpdateBackup: false,
iamGuard: false,
+ unlicensedFeatures: [],
};
}
@@ -611,6 +613,9 @@ export const ActuatorInfo = {
if (message.iamGuard === true) {
writer.uint32(144).bool(message.iamGuard);
}
+ for (const v of message.unlicensedFeatures) {
+ writer.uint32(154).string(v!);
+ }
return writer;
},
@@ -747,6 +752,13 @@ export const ActuatorInfo = {
message.iamGuard = reader.bool();
continue;
+ case 19:
+ if (tag !== 154) {
+ break;
+ }
+
+ message.unlicensedFeatures.push(reader.string());
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -776,6 +788,9 @@ export const ActuatorInfo = {
lsp: isSet(object.lsp) ? globalThis.Boolean(object.lsp) : false,
preUpdateBackup: isSet(object.preUpdateBackup) ? globalThis.Boolean(object.preUpdateBackup) : false,
iamGuard: isSet(object.iamGuard) ? globalThis.Boolean(object.iamGuard) : false,
+ unlicensedFeatures: globalThis.Array.isArray(object?.unlicensedFeatures)
+ ? object.unlicensedFeatures.map((e: any) => globalThis.String(e))
+ : [],
};
},
@@ -835,6 +850,9 @@ export const ActuatorInfo = {
if (message.iamGuard === true) {
obj.iamGuard = message.iamGuard;
}
+ if (message.unlicensedFeatures?.length) {
+ obj.unlicensedFeatures = message.unlicensedFeatures;
+ }
return obj;
},
@@ -861,6 +879,7 @@ export const ActuatorInfo = {
message.lsp = object.lsp ?? false;
message.preUpdateBackup = object.preUpdateBackup ?? false;
message.iamGuard = object.iamGuard ?? false;
+ message.unlicensedFeatures = object.unlicensedFeatures?.map((e) => e) || [];
return message;
},
};
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 815730552c..d73c332370 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -666,6 +666,7 @@ Actuator concept is similar to the Spring Boot Actuator.
| lsp | [bool](#bool) | | lsp is the enablement of lsp in SQL Editor. |
| pre_update_backup | [bool](#bool) | | lsp is the enablement of data backup prior to data update. |
| iam_guard | [bool](#bool) | | iam_guard is the enablement of IAM checks. |
+| unlicensed_features | [string](#string) | repeated | |
diff --git a/proto/generated-go/v1/actuator_service.pb.go b/proto/generated-go/v1/actuator_service.pb.go
index 5b36b8d06d..a5042b475f 100644
--- a/proto/generated-go/v1/actuator_service.pb.go
+++ b/proto/generated-go/v1/actuator_service.pb.go
@@ -400,7 +400,8 @@ type ActuatorInfo struct {
// lsp is the enablement of data backup prior to data update.
PreUpdateBackup bool `protobuf:"varint,17,opt,name=pre_update_backup,json=preUpdateBackup,proto3" json:"pre_update_backup,omitempty"`
// iam_guard is the enablement of IAM checks.
- IamGuard bool `protobuf:"varint,18,opt,name=iam_guard,json=iamGuard,proto3" json:"iam_guard,omitempty"`
+ IamGuard bool `protobuf:"varint,18,opt,name=iam_guard,json=iamGuard,proto3" json:"iam_guard,omitempty"`
+ UnlicensedFeatures []string `protobuf:"bytes,19,rep,name=unlicensed_features,json=unlicensedFeatures,proto3" json:"unlicensed_features,omitempty"`
}
func (x *ActuatorInfo) Reset() {
@@ -561,6 +562,13 @@ func (x *ActuatorInfo) GetIamGuard() bool {
return false
}
+func (x *ActuatorInfo) GetUnlicensedFeatures() []string {
+ if x != nil {
+ return x.UnlicensedFeatures
+ }
+ return nil
+}
+
var File_v1_actuator_service_proto protoreflect.FileDescriptor
var file_v1_actuator_service_proto_rawDesc = []byte{
@@ -614,7 +622,7 @@ var file_v1_actuator_service_proto_rawDesc = []byte{
0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x22, 0xa1, 0x05, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
+ 0x73, 0x74, 0x22, 0xd2, 0x05, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
@@ -656,40 +664,43 @@ var file_v1_actuator_service_proto_rawDesc = []byte{
0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x61, 0x6d,
0x5f, 0x67, 0x75, 0x61, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x61,
- 0x6d, 0x47, 0x75, 0x61, 0x72, 0x64, 0x32, 0xf0, 0x03, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x0f, 0x47, 0x65,
- 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41,
- 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0xda,
- 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63,
- 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x93, 0x01, 0x0a, 0x12,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e,
- 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
- 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0xda, 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74,
- 0x6f, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x32, 0x11,
- 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66,
- 0x6f, 0x12, 0x62, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65,
- 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f,
- 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x72, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62,
- 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c,
- 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xda, 0x41, 0x00, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61,
- 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e,
- 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
+ 0x6d, 0x47, 0x75, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x75, 0x6e, 0x6c, 0x69, 0x63, 0x65,
+ 0x6e, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x13, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x12, 0x75, 0x6e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x64, 0x46,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x32, 0xf0, 0x03, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x75,
+ 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x0f, 0x47,
+ 0x65, 0x74, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
+ 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c,
+ 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61,
+ 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x93, 0x01, 0x0a,
+ 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x75, 0x61, 0x74,
+ 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0xda, 0x41, 0x14, 0x61, 0x63, 0x74, 0x75, 0x61,
+ 0x74, 0x6f, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x32,
+ 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x69, 0x6e,
+ 0x66, 0x6f, 0x12, 0x62, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68,
+ 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75, 0x61, 0x74, 0x6f, 0x72,
+ 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x72, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65,
+ 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f,
+ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67,
+ 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xda, 0x41, 0x00,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x75,
+ 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65,
+ 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/proto/v1/actuator_service.proto b/proto/v1/actuator_service.proto
index abe3ad8c1e..82b8891542 100644
--- a/proto/v1/actuator_service.proto
+++ b/proto/v1/actuator_service.proto
@@ -139,4 +139,6 @@ message ActuatorInfo {
// iam_guard is the enablement of IAM checks.
bool iam_guard = 18;
+
+ repeated string unlicensed_features = 19;
}