@liujitcn/kratos-admin-system 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package/declarations/src/api/system/admin/v1/base_redact_output_policy.d.ts +19 -0
- package/dist/package/declarations/src/api/system/{base_redact_rule.d.ts → admin/v1/base_redact_rule.d.ts} +1 -1
- package/dist/package/declarations/src/api/system/admin/v1/base_redact_storage_policy.d.ts +19 -0
- package/dist/package/declarations/src/locales/generated.d.ts +292 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/base_redact_output_policy.d.ts +135 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/base_redact_rule.d.ts +0 -4
- package/dist/package/declarations/src/rpc/system/admin/v1/base_redact_storage_policy.d.ts +114 -0
- package/dist/package/src/api/system/admin/v1/base_redact_output_policy.ts +51 -0
- package/dist/package/src/api/system/{base_redact_rule.ts → admin/v1/base_redact_rule.ts} +1 -1
- package/dist/package/src/api/system/admin/v1/base_redact_storage_policy.ts +51 -0
- package/dist/package/src/locales/en-US.json +74 -1
- package/dist/package/src/locales/ja-JP.json +74 -1
- package/dist/package/src/locales/zh-CN.json +74 -1
- package/dist/package/src/locales/zh-TW.json +74 -1
- package/dist/package/src/rpc/base/v1/ai_message.ts +1 -1
- package/dist/package/src/rpc/base/v1/ai_session.ts +1 -1
- package/dist/package/src/rpc/base/v1/ai_tool.ts +1 -1
- package/dist/package/src/rpc/base/v1/config.ts +1 -1
- package/dist/package/src/rpc/base/v1/login.ts +1 -1
- package/dist/package/src/rpc/base/v1/notification.ts +1 -1
- package/dist/package/src/rpc/base/v1/oauth.ts +1 -1
- package/dist/package/src/rpc/base/v1/oauth_client.ts +1 -1
- package/dist/package/src/rpc/base/v1/sse.ts +1 -1
- package/dist/package/src/rpc/common/v1/analytics.ts +1 -1
- package/dist/package/src/rpc/common/v1/common.ts +1 -1
- package/dist/package/src/rpc/common/v1/enum.ts +1 -1
- package/dist/package/src/rpc/common/v1/types.ts +1 -1
- package/dist/package/src/rpc/google/protobuf/empty.ts +1 -1
- package/dist/package/src/rpc/google/protobuf/timestamp.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/auth.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_api.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_api_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_area.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_config.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_dashboard.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_data_access_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_dept.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_dict.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_dict_item.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_file.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_i18n.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_job.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_job_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_language.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_login_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_login_policy.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_menu.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_message.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_message_category.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_migration.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_operation_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_permission_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_policy_evaluation_log.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_post.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_redact_common.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_redact_output_policy.ts +157 -0
- package/dist/package/src/rpc/system/admin/v1/base_redact_rule.ts +1 -5
- package/dist/package/src/rpc/system/admin/v1/base_redact_storage_policy.ts +137 -0
- package/dist/package/src/rpc/system/admin/v1/base_role.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_session.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_archive.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_archive_record.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_archive_restore.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_backup.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_backup_record.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_backup_restore.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_table_source.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_tenant.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_third_account.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/base_user.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/cache.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/code_gen.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/code_gen_column.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/code_gen_proto.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/code_gen_table.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/common.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/oauth_client.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/ops_monitoring.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/project_document.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/runtime_log.ts +1 -1
- package/dist/package/src/rpc/system/common/v1/common.ts +1 -1
- package/dist/package/src/rpc/system/config/v1/system_config.ts +1 -1
- package/dist/package/src/views/base/redact-output-policy/index.vue +324 -0
- package/dist/package/src/views/base/redact-rule/index.vue +339 -29
- package/dist/package/src/views/base/redact-storage-policy/index.vue +276 -0
- package/package.json +2 -2
- package/dist/package/declarations/src/api/system/base_redact_field.d.ts +0 -20
- package/dist/package/declarations/src/api/system/base_redact_policy.d.ts +0 -19
- package/dist/package/declarations/src/rpc/system/admin/v1/base_redact_field.d.ts +0 -161
- package/dist/package/declarations/src/rpc/system/admin/v1/base_redact_policy.d.ts +0 -150
- package/dist/package/src/api/system/base_redact_field.ts +0 -25
- package/dist/package/src/api/system/base_redact_policy.ts +0 -24
- package/dist/package/src/rpc/system/admin/v1/base_redact_field.ts +0 -182
- package/dist/package/src/rpc/system/admin/v1/base_redact_policy.ts +0 -174
- package/dist/package/src/views/base/redact-field/index.vue +0 -59
- package/dist/package/src/views/base/redact-policy/index.vue +0 -92
- /package/dist/package/declarations/src/views/base/{redact-field → redact-output-policy}/index.vue.d.ts +0 -0
- /package/dist/package/declarations/src/views/base/{redact-policy → redact-storage-policy}/index.vue.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BaseRedactOutputPolicyForm, BaseRedactOutputPolicyService, CreateBaseRedactOutputPolicyRequest, DeleteBaseRedactOutputPolicyRequest, GetBaseRedactOutputPolicyRequest, PageBaseRedactOutputPolicyRequest, PageBaseRedactOutputPolicyResponse, SetBaseRedactOutputPolicyStatusRequest, UpdateBaseRedactOutputPolicyRequest } from "@liujitcn/kratos-admin-system/rpc/system/admin/v1/base_redact_output_policy";
|
|
2
|
+
import type { Empty } from "@liujitcn/kratos-admin-system/rpc/google/protobuf/empty";
|
|
3
|
+
/** 管理端出库脱敏策略服务。 */
|
|
4
|
+
export declare class BaseRedactOutputPolicyServiceImpl implements BaseRedactOutputPolicyService {
|
|
5
|
+
/** 查询出库脱敏策略分页列表。 */
|
|
6
|
+
PageBaseRedactOutputPolicy(request: PageBaseRedactOutputPolicyRequest): Promise<PageBaseRedactOutputPolicyResponse>;
|
|
7
|
+
/** 查询出库脱敏策略详情。 */
|
|
8
|
+
GetBaseRedactOutputPolicy(request: GetBaseRedactOutputPolicyRequest): Promise<BaseRedactOutputPolicyForm>;
|
|
9
|
+
/** 批量创建出库脱敏策略。 */
|
|
10
|
+
CreateBaseRedactOutputPolicy(request: CreateBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
11
|
+
/** 批量更新出库脱敏策略。 */
|
|
12
|
+
UpdateBaseRedactOutputPolicy(request: UpdateBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
13
|
+
/** 删除出库脱敏策略。 */
|
|
14
|
+
DeleteBaseRedactOutputPolicy(request: DeleteBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
15
|
+
/** 设置出库脱敏策略状态。 */
|
|
16
|
+
SetBaseRedactOutputPolicyStatus(request: SetBaseRedactOutputPolicyStatusRequest): Promise<Empty>;
|
|
17
|
+
}
|
|
18
|
+
/** defBaseRedactOutputPolicyService 出库脱敏策略服务实例。 */
|
|
19
|
+
export declare const defBaseRedactOutputPolicyService: BaseRedactOutputPolicyServiceImpl;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseRedactRuleForm, BaseRedactRuleService, CreateBaseRedactRuleRequest, DeleteBaseRedactRuleRequest, GetBaseRedactRuleRequest, OptionBaseRedactRuleRequest, PageBaseRedactRuleRequest, PageBaseRedactRuleResponse, SetBaseRedactRuleStatusRequest, UpdateBaseRedactRuleRequest } from "@liujitcn/kratos-admin-system/rpc/system/admin/v1/base_redact_rule";
|
|
2
2
|
import type { SelectOptionResponse } from "@liujitcn/kratos-admin-system/rpc/common/v1/common";
|
|
3
3
|
import type { Empty } from "@liujitcn/kratos-admin-system/rpc/google/protobuf/empty";
|
|
4
|
-
/**
|
|
4
|
+
/** 管理端脱敏规则模板服务。 */
|
|
5
5
|
export declare class BaseRedactRuleServiceImpl implements BaseRedactRuleService {
|
|
6
6
|
/** 查询脱敏规则选项。 */
|
|
7
7
|
OptionBaseRedactRule(request?: OptionBaseRedactRuleRequest): Promise<SelectOptionResponse>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BaseRedactStoragePolicyForm, BaseRedactStoragePolicyService, CreateBaseRedactStoragePolicyRequest, DeleteBaseRedactStoragePolicyRequest, GetBaseRedactStoragePolicyRequest, PageBaseRedactStoragePolicyRequest, PageBaseRedactStoragePolicyResponse, SetBaseRedactStoragePolicyStatusRequest, UpdateBaseRedactStoragePolicyRequest } from "@liujitcn/kratos-admin-system/rpc/system/admin/v1/base_redact_storage_policy";
|
|
2
|
+
import type { Empty } from "@liujitcn/kratos-admin-system/rpc/google/protobuf/empty";
|
|
3
|
+
/** 管理端入库脱敏策略服务。 */
|
|
4
|
+
export declare class BaseRedactStoragePolicyServiceImpl implements BaseRedactStoragePolicyService {
|
|
5
|
+
/** 查询入库脱敏策略分页列表。 */
|
|
6
|
+
PageBaseRedactStoragePolicy(request: PageBaseRedactStoragePolicyRequest): Promise<PageBaseRedactStoragePolicyResponse>;
|
|
7
|
+
/** 查询入库脱敏策略详情。 */
|
|
8
|
+
GetBaseRedactStoragePolicy(request: GetBaseRedactStoragePolicyRequest): Promise<BaseRedactStoragePolicyForm>;
|
|
9
|
+
/** 批量创建入库脱敏策略。 */
|
|
10
|
+
CreateBaseRedactStoragePolicy(request: CreateBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
11
|
+
/** 批量更新入库脱敏策略。 */
|
|
12
|
+
UpdateBaseRedactStoragePolicy(request: UpdateBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
13
|
+
/** 删除入库脱敏策略。 */
|
|
14
|
+
DeleteBaseRedactStoragePolicy(request: DeleteBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
15
|
+
/** 设置入库脱敏策略状态。 */
|
|
16
|
+
SetBaseRedactStoragePolicyStatus(request: SetBaseRedactStoragePolicyStatusRequest): Promise<Empty>;
|
|
17
|
+
}
|
|
18
|
+
/** defBaseRedactStoragePolicyService 入库脱敏策略服务实例。 */
|
|
19
|
+
export declare const defBaseRedactStoragePolicyService: BaseRedactStoragePolicyServiceImpl;
|
|
@@ -1432,6 +1432,79 @@ export declare const LOCALE_MESSAGES: {
|
|
|
1432
1432
|
"system.base.runtime_config.message.no_match": string;
|
|
1433
1433
|
"system.base.runtime_config.message.select": string;
|
|
1434
1434
|
"system.base.runtime_config.value.updated_at": string;
|
|
1435
|
+
"system.base.redact_rule.title": string;
|
|
1436
|
+
"system.base.redact_rule.field.code": string;
|
|
1437
|
+
"system.base.redact_rule.field.name": string;
|
|
1438
|
+
"system.base.redact_rule.field.rule_type": string;
|
|
1439
|
+
"system.base.redact_rule.field.parameters": string;
|
|
1440
|
+
"system.base.redact_rule.template.phone_mask": string;
|
|
1441
|
+
"system.base.redact_rule.template.email_mask": string;
|
|
1442
|
+
"system.base.redact_rule.template.regex_replace": string;
|
|
1443
|
+
"system.base.redact_rule.template.truncate_text": string;
|
|
1444
|
+
"system.base.redact_rule.template.hash_digest": string;
|
|
1445
|
+
"system.base.redact_rule.template.stable_uuid": string;
|
|
1446
|
+
"system.base.redact_rule.template.ip_mask": string;
|
|
1447
|
+
"system.base.redact_rule.template.url_mask": string;
|
|
1448
|
+
"system.base.redact_rule.template.fixed_length_mask": string;
|
|
1449
|
+
"system.base.redact_rule.description.phone_mask": string;
|
|
1450
|
+
"system.base.redact_rule.description.email_mask": string;
|
|
1451
|
+
"system.base.redact_rule.description.regex_replace": string;
|
|
1452
|
+
"system.base.redact_rule.description.truncate_text": string;
|
|
1453
|
+
"system.base.redact_rule.description.hash_digest": string;
|
|
1454
|
+
"system.base.redact_rule.description.stable_uuid": string;
|
|
1455
|
+
"system.base.redact_rule.description.ip_mask": string;
|
|
1456
|
+
"system.base.redact_rule.description.url_mask": string;
|
|
1457
|
+
"system.base.redact_rule.description.fixed_length_mask": string;
|
|
1458
|
+
"system.base.redact_rule.parameter.keep_first": string;
|
|
1459
|
+
"system.base.redact_rule.parameter.keep_last": string;
|
|
1460
|
+
"system.base.redact_rule.parameter.mask_char": string;
|
|
1461
|
+
"system.base.redact_rule.parameter.keep_local_first": string;
|
|
1462
|
+
"system.base.redact_rule.parameter.mask_domain": string;
|
|
1463
|
+
"system.base.redact_rule.parameter.pattern": string;
|
|
1464
|
+
"system.base.redact_rule.parameter.replacement": string;
|
|
1465
|
+
"system.base.redact_rule.parameter.length": string;
|
|
1466
|
+
"system.base.redact_rule.parameter.suffix": string;
|
|
1467
|
+
"system.base.redact_rule.parameter.algo": string;
|
|
1468
|
+
"system.base.redact_rule.parameter.keep_octets": string;
|
|
1469
|
+
"system.base.redact_rule.parameter.mask_query": string;
|
|
1470
|
+
"system.base.redact_rule.parameter.char": string;
|
|
1471
|
+
"system.base.redact_rule.message.no_parameters": string;
|
|
1472
|
+
"system.base.redact_rule.validation.parameters": string;
|
|
1473
|
+
"system.base.redact_storage_policy.title": string;
|
|
1474
|
+
"system.base.redact_storage_policy.field.source_name": string;
|
|
1475
|
+
"system.base.redact_storage_policy.field.table_name": string;
|
|
1476
|
+
"system.base.redact_storage_policy.field.column_name": string;
|
|
1477
|
+
"system.base.redact_storage_policy.field.rule": string;
|
|
1478
|
+
"system.base.redact_storage_policy.field.parameters": string;
|
|
1479
|
+
"system.base.redact_storage_policy.validation.source_name": string;
|
|
1480
|
+
"system.base.redact_storage_policy.validation.table_name": string;
|
|
1481
|
+
"system.base.redact_storage_policy.validation.column_name": string;
|
|
1482
|
+
"system.base.redact_storage_policy.validation.rule": string;
|
|
1483
|
+
"system.base.redact_storage_policy.validation.configured_fields": string;
|
|
1484
|
+
"system.base.redact_storage_policy.message.configured_fields": string;
|
|
1485
|
+
"system.base.redact_storage_policy.message.batch_save_success": string;
|
|
1486
|
+
"system.base.redact_output_policy.title": string;
|
|
1487
|
+
"system.base.redact_output_policy.field.service_name": string;
|
|
1488
|
+
"system.base.redact_output_policy.field.api": string;
|
|
1489
|
+
"system.base.redact_output_policy.field.response_field": string;
|
|
1490
|
+
"system.base.redact_output_policy.field.message_ref": string;
|
|
1491
|
+
"system.base.redact_output_policy.field.field_path": string;
|
|
1492
|
+
"system.base.redact_output_policy.field.mode": string;
|
|
1493
|
+
"system.base.redact_output_policy.field.rule": string;
|
|
1494
|
+
"system.base.redact_output_policy.field.parameters": string;
|
|
1495
|
+
"system.base.redact_output_policy.mode.rule": string;
|
|
1496
|
+
"system.base.redact_output_policy.mode.hide": string;
|
|
1497
|
+
"system.base.redact_output_policy.mode.full": string;
|
|
1498
|
+
"system.base.redact_output_policy.placeholder.api": string;
|
|
1499
|
+
"system.base.redact_output_policy.placeholder.service": string;
|
|
1500
|
+
"system.base.redact_output_policy.validation.configured_fields": string;
|
|
1501
|
+
"system.base.redact_output_policy.message.configured_fields": string;
|
|
1502
|
+
"system.base.redact_output_policy.message.batch_save_success": string;
|
|
1503
|
+
"system.base.redact_output_policy.validation.service_name": string;
|
|
1504
|
+
"system.base.redact_output_policy.validation.api": string;
|
|
1505
|
+
"system.base.redact_output_policy.validation.response_field": string;
|
|
1506
|
+
"system.base.redact_output_policy.validation.mode": string;
|
|
1507
|
+
"system.base.redact_output_policy.validation.rule": string;
|
|
1435
1508
|
};
|
|
1436
1509
|
readonly 'en-US': {
|
|
1437
1510
|
"system.ai.request_failed_with_status": string;
|
|
@@ -2866,6 +2939,79 @@ export declare const LOCALE_MESSAGES: {
|
|
|
2866
2939
|
"system.base.runtime_config.message.no_match": string;
|
|
2867
2940
|
"system.base.runtime_config.message.select": string;
|
|
2868
2941
|
"system.base.runtime_config.value.updated_at": string;
|
|
2942
|
+
"system.base.redact_rule.title": string;
|
|
2943
|
+
"system.base.redact_rule.field.code": string;
|
|
2944
|
+
"system.base.redact_rule.field.name": string;
|
|
2945
|
+
"system.base.redact_rule.field.rule_type": string;
|
|
2946
|
+
"system.base.redact_rule.field.parameters": string;
|
|
2947
|
+
"system.base.redact_rule.template.phone_mask": string;
|
|
2948
|
+
"system.base.redact_rule.template.email_mask": string;
|
|
2949
|
+
"system.base.redact_rule.template.regex_replace": string;
|
|
2950
|
+
"system.base.redact_rule.template.truncate_text": string;
|
|
2951
|
+
"system.base.redact_rule.template.hash_digest": string;
|
|
2952
|
+
"system.base.redact_rule.template.stable_uuid": string;
|
|
2953
|
+
"system.base.redact_rule.template.ip_mask": string;
|
|
2954
|
+
"system.base.redact_rule.template.url_mask": string;
|
|
2955
|
+
"system.base.redact_rule.template.fixed_length_mask": string;
|
|
2956
|
+
"system.base.redact_rule.description.phone_mask": string;
|
|
2957
|
+
"system.base.redact_rule.description.email_mask": string;
|
|
2958
|
+
"system.base.redact_rule.description.regex_replace": string;
|
|
2959
|
+
"system.base.redact_rule.description.truncate_text": string;
|
|
2960
|
+
"system.base.redact_rule.description.hash_digest": string;
|
|
2961
|
+
"system.base.redact_rule.description.stable_uuid": string;
|
|
2962
|
+
"system.base.redact_rule.description.ip_mask": string;
|
|
2963
|
+
"system.base.redact_rule.description.url_mask": string;
|
|
2964
|
+
"system.base.redact_rule.description.fixed_length_mask": string;
|
|
2965
|
+
"system.base.redact_rule.parameter.keep_first": string;
|
|
2966
|
+
"system.base.redact_rule.parameter.keep_last": string;
|
|
2967
|
+
"system.base.redact_rule.parameter.mask_char": string;
|
|
2968
|
+
"system.base.redact_rule.parameter.keep_local_first": string;
|
|
2969
|
+
"system.base.redact_rule.parameter.mask_domain": string;
|
|
2970
|
+
"system.base.redact_rule.parameter.pattern": string;
|
|
2971
|
+
"system.base.redact_rule.parameter.replacement": string;
|
|
2972
|
+
"system.base.redact_rule.parameter.length": string;
|
|
2973
|
+
"system.base.redact_rule.parameter.suffix": string;
|
|
2974
|
+
"system.base.redact_rule.parameter.algo": string;
|
|
2975
|
+
"system.base.redact_rule.parameter.keep_octets": string;
|
|
2976
|
+
"system.base.redact_rule.parameter.mask_query": string;
|
|
2977
|
+
"system.base.redact_rule.parameter.char": string;
|
|
2978
|
+
"system.base.redact_rule.message.no_parameters": string;
|
|
2979
|
+
"system.base.redact_rule.validation.parameters": string;
|
|
2980
|
+
"system.base.redact_storage_policy.title": string;
|
|
2981
|
+
"system.base.redact_storage_policy.field.source_name": string;
|
|
2982
|
+
"system.base.redact_storage_policy.field.table_name": string;
|
|
2983
|
+
"system.base.redact_storage_policy.field.column_name": string;
|
|
2984
|
+
"system.base.redact_storage_policy.field.rule": string;
|
|
2985
|
+
"system.base.redact_storage_policy.field.parameters": string;
|
|
2986
|
+
"system.base.redact_storage_policy.validation.source_name": string;
|
|
2987
|
+
"system.base.redact_storage_policy.validation.table_name": string;
|
|
2988
|
+
"system.base.redact_storage_policy.validation.column_name": string;
|
|
2989
|
+
"system.base.redact_storage_policy.validation.rule": string;
|
|
2990
|
+
"system.base.redact_storage_policy.validation.configured_fields": string;
|
|
2991
|
+
"system.base.redact_storage_policy.message.configured_fields": string;
|
|
2992
|
+
"system.base.redact_storage_policy.message.batch_save_success": string;
|
|
2993
|
+
"system.base.redact_output_policy.title": string;
|
|
2994
|
+
"system.base.redact_output_policy.field.service_name": string;
|
|
2995
|
+
"system.base.redact_output_policy.field.api": string;
|
|
2996
|
+
"system.base.redact_output_policy.field.response_field": string;
|
|
2997
|
+
"system.base.redact_output_policy.field.message_ref": string;
|
|
2998
|
+
"system.base.redact_output_policy.field.field_path": string;
|
|
2999
|
+
"system.base.redact_output_policy.field.mode": string;
|
|
3000
|
+
"system.base.redact_output_policy.field.rule": string;
|
|
3001
|
+
"system.base.redact_output_policy.field.parameters": string;
|
|
3002
|
+
"system.base.redact_output_policy.mode.rule": string;
|
|
3003
|
+
"system.base.redact_output_policy.mode.hide": string;
|
|
3004
|
+
"system.base.redact_output_policy.mode.full": string;
|
|
3005
|
+
"system.base.redact_output_policy.placeholder.api": string;
|
|
3006
|
+
"system.base.redact_output_policy.placeholder.service": string;
|
|
3007
|
+
"system.base.redact_output_policy.validation.configured_fields": string;
|
|
3008
|
+
"system.base.redact_output_policy.message.configured_fields": string;
|
|
3009
|
+
"system.base.redact_output_policy.message.batch_save_success": string;
|
|
3010
|
+
"system.base.redact_output_policy.validation.service_name": string;
|
|
3011
|
+
"system.base.redact_output_policy.validation.api": string;
|
|
3012
|
+
"system.base.redact_output_policy.validation.response_field": string;
|
|
3013
|
+
"system.base.redact_output_policy.validation.mode": string;
|
|
3014
|
+
"system.base.redact_output_policy.validation.rule": string;
|
|
2869
3015
|
};
|
|
2870
3016
|
readonly 'ja-JP': {
|
|
2871
3017
|
"system.ai.request_failed_with_status": string;
|
|
@@ -4300,6 +4446,79 @@ export declare const LOCALE_MESSAGES: {
|
|
|
4300
4446
|
"system.base.runtime_config.message.no_match": string;
|
|
4301
4447
|
"system.base.runtime_config.message.select": string;
|
|
4302
4448
|
"system.base.runtime_config.value.updated_at": string;
|
|
4449
|
+
"system.base.redact_rule.title": string;
|
|
4450
|
+
"system.base.redact_rule.field.code": string;
|
|
4451
|
+
"system.base.redact_rule.field.name": string;
|
|
4452
|
+
"system.base.redact_rule.field.rule_type": string;
|
|
4453
|
+
"system.base.redact_rule.field.parameters": string;
|
|
4454
|
+
"system.base.redact_rule.template.phone_mask": string;
|
|
4455
|
+
"system.base.redact_rule.template.email_mask": string;
|
|
4456
|
+
"system.base.redact_rule.template.regex_replace": string;
|
|
4457
|
+
"system.base.redact_rule.template.truncate_text": string;
|
|
4458
|
+
"system.base.redact_rule.template.hash_digest": string;
|
|
4459
|
+
"system.base.redact_rule.template.stable_uuid": string;
|
|
4460
|
+
"system.base.redact_rule.template.ip_mask": string;
|
|
4461
|
+
"system.base.redact_rule.template.url_mask": string;
|
|
4462
|
+
"system.base.redact_rule.template.fixed_length_mask": string;
|
|
4463
|
+
"system.base.redact_rule.description.phone_mask": string;
|
|
4464
|
+
"system.base.redact_rule.description.email_mask": string;
|
|
4465
|
+
"system.base.redact_rule.description.regex_replace": string;
|
|
4466
|
+
"system.base.redact_rule.description.truncate_text": string;
|
|
4467
|
+
"system.base.redact_rule.description.hash_digest": string;
|
|
4468
|
+
"system.base.redact_rule.description.stable_uuid": string;
|
|
4469
|
+
"system.base.redact_rule.description.ip_mask": string;
|
|
4470
|
+
"system.base.redact_rule.description.url_mask": string;
|
|
4471
|
+
"system.base.redact_rule.description.fixed_length_mask": string;
|
|
4472
|
+
"system.base.redact_rule.parameter.keep_first": string;
|
|
4473
|
+
"system.base.redact_rule.parameter.keep_last": string;
|
|
4474
|
+
"system.base.redact_rule.parameter.mask_char": string;
|
|
4475
|
+
"system.base.redact_rule.parameter.keep_local_first": string;
|
|
4476
|
+
"system.base.redact_rule.parameter.mask_domain": string;
|
|
4477
|
+
"system.base.redact_rule.parameter.pattern": string;
|
|
4478
|
+
"system.base.redact_rule.parameter.replacement": string;
|
|
4479
|
+
"system.base.redact_rule.parameter.length": string;
|
|
4480
|
+
"system.base.redact_rule.parameter.suffix": string;
|
|
4481
|
+
"system.base.redact_rule.parameter.algo": string;
|
|
4482
|
+
"system.base.redact_rule.parameter.keep_octets": string;
|
|
4483
|
+
"system.base.redact_rule.parameter.mask_query": string;
|
|
4484
|
+
"system.base.redact_rule.parameter.char": string;
|
|
4485
|
+
"system.base.redact_rule.message.no_parameters": string;
|
|
4486
|
+
"system.base.redact_rule.validation.parameters": string;
|
|
4487
|
+
"system.base.redact_storage_policy.title": string;
|
|
4488
|
+
"system.base.redact_storage_policy.field.source_name": string;
|
|
4489
|
+
"system.base.redact_storage_policy.field.table_name": string;
|
|
4490
|
+
"system.base.redact_storage_policy.field.column_name": string;
|
|
4491
|
+
"system.base.redact_storage_policy.field.rule": string;
|
|
4492
|
+
"system.base.redact_storage_policy.field.parameters": string;
|
|
4493
|
+
"system.base.redact_storage_policy.validation.source_name": string;
|
|
4494
|
+
"system.base.redact_storage_policy.validation.table_name": string;
|
|
4495
|
+
"system.base.redact_storage_policy.validation.column_name": string;
|
|
4496
|
+
"system.base.redact_storage_policy.validation.rule": string;
|
|
4497
|
+
"system.base.redact_storage_policy.validation.configured_fields": string;
|
|
4498
|
+
"system.base.redact_storage_policy.message.configured_fields": string;
|
|
4499
|
+
"system.base.redact_storage_policy.message.batch_save_success": string;
|
|
4500
|
+
"system.base.redact_output_policy.title": string;
|
|
4501
|
+
"system.base.redact_output_policy.field.service_name": string;
|
|
4502
|
+
"system.base.redact_output_policy.field.api": string;
|
|
4503
|
+
"system.base.redact_output_policy.field.response_field": string;
|
|
4504
|
+
"system.base.redact_output_policy.field.message_ref": string;
|
|
4505
|
+
"system.base.redact_output_policy.field.field_path": string;
|
|
4506
|
+
"system.base.redact_output_policy.field.mode": string;
|
|
4507
|
+
"system.base.redact_output_policy.field.rule": string;
|
|
4508
|
+
"system.base.redact_output_policy.field.parameters": string;
|
|
4509
|
+
"system.base.redact_output_policy.mode.rule": string;
|
|
4510
|
+
"system.base.redact_output_policy.mode.hide": string;
|
|
4511
|
+
"system.base.redact_output_policy.mode.full": string;
|
|
4512
|
+
"system.base.redact_output_policy.placeholder.api": string;
|
|
4513
|
+
"system.base.redact_output_policy.placeholder.service": string;
|
|
4514
|
+
"system.base.redact_output_policy.validation.configured_fields": string;
|
|
4515
|
+
"system.base.redact_output_policy.message.configured_fields": string;
|
|
4516
|
+
"system.base.redact_output_policy.message.batch_save_success": string;
|
|
4517
|
+
"system.base.redact_output_policy.validation.service_name": string;
|
|
4518
|
+
"system.base.redact_output_policy.validation.api": string;
|
|
4519
|
+
"system.base.redact_output_policy.validation.response_field": string;
|
|
4520
|
+
"system.base.redact_output_policy.validation.mode": string;
|
|
4521
|
+
"system.base.redact_output_policy.validation.rule": string;
|
|
4303
4522
|
};
|
|
4304
4523
|
readonly 'zh-TW': {
|
|
4305
4524
|
"system.ai.request_failed_with_status": string;
|
|
@@ -5734,6 +5953,79 @@ export declare const LOCALE_MESSAGES: {
|
|
|
5734
5953
|
"system.base.runtime_config.message.no_match": string;
|
|
5735
5954
|
"system.base.runtime_config.message.select": string;
|
|
5736
5955
|
"system.base.runtime_config.value.updated_at": string;
|
|
5956
|
+
"system.base.redact_rule.title": string;
|
|
5957
|
+
"system.base.redact_rule.field.code": string;
|
|
5958
|
+
"system.base.redact_rule.field.name": string;
|
|
5959
|
+
"system.base.redact_rule.field.rule_type": string;
|
|
5960
|
+
"system.base.redact_rule.field.parameters": string;
|
|
5961
|
+
"system.base.redact_rule.template.phone_mask": string;
|
|
5962
|
+
"system.base.redact_rule.template.email_mask": string;
|
|
5963
|
+
"system.base.redact_rule.template.regex_replace": string;
|
|
5964
|
+
"system.base.redact_rule.template.truncate_text": string;
|
|
5965
|
+
"system.base.redact_rule.template.hash_digest": string;
|
|
5966
|
+
"system.base.redact_rule.template.stable_uuid": string;
|
|
5967
|
+
"system.base.redact_rule.template.ip_mask": string;
|
|
5968
|
+
"system.base.redact_rule.template.url_mask": string;
|
|
5969
|
+
"system.base.redact_rule.template.fixed_length_mask": string;
|
|
5970
|
+
"system.base.redact_rule.description.phone_mask": string;
|
|
5971
|
+
"system.base.redact_rule.description.email_mask": string;
|
|
5972
|
+
"system.base.redact_rule.description.regex_replace": string;
|
|
5973
|
+
"system.base.redact_rule.description.truncate_text": string;
|
|
5974
|
+
"system.base.redact_rule.description.hash_digest": string;
|
|
5975
|
+
"system.base.redact_rule.description.stable_uuid": string;
|
|
5976
|
+
"system.base.redact_rule.description.ip_mask": string;
|
|
5977
|
+
"system.base.redact_rule.description.url_mask": string;
|
|
5978
|
+
"system.base.redact_rule.description.fixed_length_mask": string;
|
|
5979
|
+
"system.base.redact_rule.parameter.keep_first": string;
|
|
5980
|
+
"system.base.redact_rule.parameter.keep_last": string;
|
|
5981
|
+
"system.base.redact_rule.parameter.mask_char": string;
|
|
5982
|
+
"system.base.redact_rule.parameter.keep_local_first": string;
|
|
5983
|
+
"system.base.redact_rule.parameter.mask_domain": string;
|
|
5984
|
+
"system.base.redact_rule.parameter.pattern": string;
|
|
5985
|
+
"system.base.redact_rule.parameter.replacement": string;
|
|
5986
|
+
"system.base.redact_rule.parameter.length": string;
|
|
5987
|
+
"system.base.redact_rule.parameter.suffix": string;
|
|
5988
|
+
"system.base.redact_rule.parameter.algo": string;
|
|
5989
|
+
"system.base.redact_rule.parameter.keep_octets": string;
|
|
5990
|
+
"system.base.redact_rule.parameter.mask_query": string;
|
|
5991
|
+
"system.base.redact_rule.parameter.char": string;
|
|
5992
|
+
"system.base.redact_rule.message.no_parameters": string;
|
|
5993
|
+
"system.base.redact_rule.validation.parameters": string;
|
|
5994
|
+
"system.base.redact_storage_policy.title": string;
|
|
5995
|
+
"system.base.redact_storage_policy.field.source_name": string;
|
|
5996
|
+
"system.base.redact_storage_policy.field.table_name": string;
|
|
5997
|
+
"system.base.redact_storage_policy.field.column_name": string;
|
|
5998
|
+
"system.base.redact_storage_policy.field.rule": string;
|
|
5999
|
+
"system.base.redact_storage_policy.field.parameters": string;
|
|
6000
|
+
"system.base.redact_storage_policy.validation.source_name": string;
|
|
6001
|
+
"system.base.redact_storage_policy.validation.table_name": string;
|
|
6002
|
+
"system.base.redact_storage_policy.validation.column_name": string;
|
|
6003
|
+
"system.base.redact_storage_policy.validation.rule": string;
|
|
6004
|
+
"system.base.redact_storage_policy.validation.configured_fields": string;
|
|
6005
|
+
"system.base.redact_storage_policy.message.configured_fields": string;
|
|
6006
|
+
"system.base.redact_storage_policy.message.batch_save_success": string;
|
|
6007
|
+
"system.base.redact_output_policy.title": string;
|
|
6008
|
+
"system.base.redact_output_policy.field.service_name": string;
|
|
6009
|
+
"system.base.redact_output_policy.field.api": string;
|
|
6010
|
+
"system.base.redact_output_policy.field.response_field": string;
|
|
6011
|
+
"system.base.redact_output_policy.field.message_ref": string;
|
|
6012
|
+
"system.base.redact_output_policy.field.field_path": string;
|
|
6013
|
+
"system.base.redact_output_policy.field.mode": string;
|
|
6014
|
+
"system.base.redact_output_policy.field.rule": string;
|
|
6015
|
+
"system.base.redact_output_policy.field.parameters": string;
|
|
6016
|
+
"system.base.redact_output_policy.mode.rule": string;
|
|
6017
|
+
"system.base.redact_output_policy.mode.hide": string;
|
|
6018
|
+
"system.base.redact_output_policy.mode.full": string;
|
|
6019
|
+
"system.base.redact_output_policy.placeholder.api": string;
|
|
6020
|
+
"system.base.redact_output_policy.placeholder.service": string;
|
|
6021
|
+
"system.base.redact_output_policy.validation.configured_fields": string;
|
|
6022
|
+
"system.base.redact_output_policy.message.configured_fields": string;
|
|
6023
|
+
"system.base.redact_output_policy.message.batch_save_success": string;
|
|
6024
|
+
"system.base.redact_output_policy.validation.service_name": string;
|
|
6025
|
+
"system.base.redact_output_policy.validation.api": string;
|
|
6026
|
+
"system.base.redact_output_policy.validation.response_field": string;
|
|
6027
|
+
"system.base.redact_output_policy.validation.mode": string;
|
|
6028
|
+
"system.base.redact_output_policy.validation.rule": string;
|
|
5737
6029
|
};
|
|
5738
6030
|
};
|
|
5739
6031
|
export type GeneratedLocale = keyof typeof LOCALE_MESSAGES;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { Status } from "../../../common/v1/enum";
|
|
2
|
+
import type { Empty } from "../../../google/protobuf/empty";
|
|
3
|
+
/** 出库脱敏策略处理模式。 */
|
|
4
|
+
export declare enum BaseRedactOutputPolicyMode {
|
|
5
|
+
/** BASE_REDACT_OUTPUT_POLICY_MODE_UNSPECIFIED - 未指定模式。 */
|
|
6
|
+
BASE_REDACT_OUTPUT_POLICY_MODE_UNSPECIFIED = 0,
|
|
7
|
+
/** BASE_REDACT_OUTPUT_POLICY_MODE_RULE - 使用规则模板处理。 */
|
|
8
|
+
BASE_REDACT_OUTPUT_POLICY_MODE_RULE = 1,
|
|
9
|
+
/** BASE_REDACT_OUTPUT_POLICY_MODE_HIDE - 替换为字段零值。 */
|
|
10
|
+
BASE_REDACT_OUTPUT_POLICY_MODE_HIDE = 2,
|
|
11
|
+
/** BASE_REDACT_OUTPUT_POLICY_MODE_FULL - 保留字段原值。 */
|
|
12
|
+
BASE_REDACT_OUTPUT_POLICY_MODE_FULL = 3
|
|
13
|
+
}
|
|
14
|
+
/** 出库脱敏策略分页查询条件。 */
|
|
15
|
+
export interface PageBaseRedactOutputPolicyRequest {
|
|
16
|
+
/** 接口操作 */
|
|
17
|
+
operation: string;
|
|
18
|
+
/** Proto消息完整名称 */
|
|
19
|
+
message_ref: string;
|
|
20
|
+
/** 返回字段路径 */
|
|
21
|
+
field_path: string;
|
|
22
|
+
/** 服务名 */
|
|
23
|
+
service_name: string;
|
|
24
|
+
/** 处理模式 */
|
|
25
|
+
mode?: BaseRedactOutputPolicyMode | undefined;
|
|
26
|
+
/** 状态 */
|
|
27
|
+
status?: Status | undefined;
|
|
28
|
+
/** 当前页码 */
|
|
29
|
+
page_num: number;
|
|
30
|
+
/** 每页数量 */
|
|
31
|
+
page_size: number;
|
|
32
|
+
}
|
|
33
|
+
/** 出库脱敏策略分页响应。 */
|
|
34
|
+
export interface PageBaseRedactOutputPolicyResponse {
|
|
35
|
+
/** 出库脱敏策略列表 */
|
|
36
|
+
base_redact_output_policies: BaseRedactOutputPolicy[];
|
|
37
|
+
/** 总数 */
|
|
38
|
+
total: number;
|
|
39
|
+
}
|
|
40
|
+
/** 出库脱敏策略详情查询条件。 */
|
|
41
|
+
export interface GetBaseRedactOutputPolicyRequest {
|
|
42
|
+
id: number;
|
|
43
|
+
}
|
|
44
|
+
/** 出库脱敏策略表单。 */
|
|
45
|
+
export interface BaseRedactOutputPolicyForm {
|
|
46
|
+
/** 出库策略ID */
|
|
47
|
+
id: number;
|
|
48
|
+
/** 接口操作 */
|
|
49
|
+
operation: string;
|
|
50
|
+
/** Proto消息完整名称 */
|
|
51
|
+
message_ref: string;
|
|
52
|
+
/** 返回字段路径 */
|
|
53
|
+
field_path: string;
|
|
54
|
+
/** 服务名 */
|
|
55
|
+
service_name: string;
|
|
56
|
+
/** 处理模式 */
|
|
57
|
+
mode: BaseRedactOutputPolicyMode;
|
|
58
|
+
/** 规则ID */
|
|
59
|
+
rule_id: number;
|
|
60
|
+
/** 规则参数 */
|
|
61
|
+
rule_params: string;
|
|
62
|
+
/** 状态 */
|
|
63
|
+
status: Status;
|
|
64
|
+
/** 备注 */
|
|
65
|
+
remark: string;
|
|
66
|
+
}
|
|
67
|
+
/** 创建出库脱敏策略请求参数。 */
|
|
68
|
+
export interface CreateBaseRedactOutputPolicyRequest {
|
|
69
|
+
/** 出库脱敏策略列表 */
|
|
70
|
+
base_redact_output_policy: BaseRedactOutputPolicyForm[];
|
|
71
|
+
}
|
|
72
|
+
/** 更新出库脱敏策略请求参数。 */
|
|
73
|
+
export interface UpdateBaseRedactOutputPolicyRequest {
|
|
74
|
+
/** 出库脱敏策略列表 */
|
|
75
|
+
base_redact_output_policy: BaseRedactOutputPolicyForm[];
|
|
76
|
+
}
|
|
77
|
+
/** 删除出库脱敏策略请求参数。 */
|
|
78
|
+
export interface DeleteBaseRedactOutputPolicyRequest {
|
|
79
|
+
id: string;
|
|
80
|
+
}
|
|
81
|
+
/** 设置出库脱敏策略状态请求参数。 */
|
|
82
|
+
export interface SetBaseRedactOutputPolicyStatusRequest {
|
|
83
|
+
/** 出库策略ID */
|
|
84
|
+
id: number;
|
|
85
|
+
/** 状态 */
|
|
86
|
+
status: Status;
|
|
87
|
+
}
|
|
88
|
+
/** 出库脱敏策略。 */
|
|
89
|
+
export interface BaseRedactOutputPolicy {
|
|
90
|
+
/** 出库策略ID */
|
|
91
|
+
id: number;
|
|
92
|
+
/** 接口操作 */
|
|
93
|
+
operation: string;
|
|
94
|
+
/** Proto消息完整名称 */
|
|
95
|
+
message_ref: string;
|
|
96
|
+
/** 返回字段路径 */
|
|
97
|
+
field_path: string;
|
|
98
|
+
/** 处理模式 */
|
|
99
|
+
mode: BaseRedactOutputPolicyMode;
|
|
100
|
+
/** 规则ID */
|
|
101
|
+
rule_id: number;
|
|
102
|
+
/** 规则编码 */
|
|
103
|
+
rule_code: string;
|
|
104
|
+
/** 规则名称 */
|
|
105
|
+
rule_name: string;
|
|
106
|
+
/** 规则类型 */
|
|
107
|
+
rule_type: string;
|
|
108
|
+
/** 规则参数 */
|
|
109
|
+
rule_params: string;
|
|
110
|
+
/** 服务名 */
|
|
111
|
+
service_name: string;
|
|
112
|
+
/** 状态 */
|
|
113
|
+
status: Status;
|
|
114
|
+
/** 备注 */
|
|
115
|
+
remark: string;
|
|
116
|
+
/** 创建时间 */
|
|
117
|
+
created_at: string;
|
|
118
|
+
/** 更新时间 */
|
|
119
|
+
updated_at: string;
|
|
120
|
+
}
|
|
121
|
+
/** 管理端出库脱敏策略服务。 */
|
|
122
|
+
export interface BaseRedactOutputPolicyService {
|
|
123
|
+
/** 查询出库脱敏策略分页列表。 */
|
|
124
|
+
PageBaseRedactOutputPolicy(request: PageBaseRedactOutputPolicyRequest): Promise<PageBaseRedactOutputPolicyResponse>;
|
|
125
|
+
/** 查询出库脱敏策略详情。 */
|
|
126
|
+
GetBaseRedactOutputPolicy(request: GetBaseRedactOutputPolicyRequest): Promise<BaseRedactOutputPolicyForm>;
|
|
127
|
+
/** 批量创建出库脱敏策略。 */
|
|
128
|
+
CreateBaseRedactOutputPolicy(request: CreateBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
129
|
+
/** 批量更新出库脱敏策略。 */
|
|
130
|
+
UpdateBaseRedactOutputPolicy(request: UpdateBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
131
|
+
/** 删除出库脱敏策略。 */
|
|
132
|
+
DeleteBaseRedactOutputPolicy(request: DeleteBaseRedactOutputPolicyRequest): Promise<Empty>;
|
|
133
|
+
/** 设置出库脱敏策略状态。 */
|
|
134
|
+
SetBaseRedactOutputPolicyStatus(request: SetBaseRedactOutputPolicyStatusRequest): Promise<Empty>;
|
|
135
|
+
}
|
|
@@ -45,8 +45,6 @@ export interface BaseRedactRuleForm {
|
|
|
45
45
|
rule: string;
|
|
46
46
|
/** 状态 */
|
|
47
47
|
status: Status;
|
|
48
|
-
/** 规则版本 */
|
|
49
|
-
version: number;
|
|
50
48
|
/** 备注 */
|
|
51
49
|
remark: string;
|
|
52
50
|
}
|
|
@@ -83,8 +81,6 @@ export interface BaseRedactRule {
|
|
|
83
81
|
rule: string;
|
|
84
82
|
/** 状态 */
|
|
85
83
|
status: Status;
|
|
86
|
-
/** 规则版本 */
|
|
87
|
-
version: number;
|
|
88
84
|
/** 备注 */
|
|
89
85
|
remark: string;
|
|
90
86
|
/** 创建时间 */
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { Status } from "../../../common/v1/enum";
|
|
2
|
+
import type { Empty } from "../../../google/protobuf/empty";
|
|
3
|
+
/** 入库脱敏策略分页查询条件。 */
|
|
4
|
+
export interface PageBaseRedactStoragePolicyRequest {
|
|
5
|
+
/** 数据库表名 */
|
|
6
|
+
table_name: string;
|
|
7
|
+
/** 数据库字段名 */
|
|
8
|
+
column_name: string;
|
|
9
|
+
/** 规则ID */
|
|
10
|
+
rule_id?: number | undefined;
|
|
11
|
+
/** 数据源名称 */
|
|
12
|
+
source_name: string;
|
|
13
|
+
/** 状态 */
|
|
14
|
+
status?: Status | undefined;
|
|
15
|
+
/** 当前页码 */
|
|
16
|
+
page_num: number;
|
|
17
|
+
/** 每页数量 */
|
|
18
|
+
page_size: number;
|
|
19
|
+
}
|
|
20
|
+
/** 入库脱敏策略分页响应。 */
|
|
21
|
+
export interface PageBaseRedactStoragePolicyResponse {
|
|
22
|
+
/** 入库脱敏策略列表 */
|
|
23
|
+
base_redact_storage_policies: BaseRedactStoragePolicy[];
|
|
24
|
+
/** 总数 */
|
|
25
|
+
total: number;
|
|
26
|
+
}
|
|
27
|
+
/** 入库脱敏策略详情查询条件。 */
|
|
28
|
+
export interface GetBaseRedactStoragePolicyRequest {
|
|
29
|
+
id: number;
|
|
30
|
+
}
|
|
31
|
+
/** 入库脱敏策略表单。 */
|
|
32
|
+
export interface BaseRedactStoragePolicyForm {
|
|
33
|
+
/** 入库策略ID */
|
|
34
|
+
id: number;
|
|
35
|
+
/** 数据库表名 */
|
|
36
|
+
table_name: string;
|
|
37
|
+
/** 数据库字段名 */
|
|
38
|
+
column_name: string;
|
|
39
|
+
/** 规则ID */
|
|
40
|
+
rule_id: number;
|
|
41
|
+
/** 规则参数 */
|
|
42
|
+
rule_params: string;
|
|
43
|
+
/** 数据源名称 */
|
|
44
|
+
source_name: string;
|
|
45
|
+
/** 状态 */
|
|
46
|
+
status: Status;
|
|
47
|
+
/** 备注 */
|
|
48
|
+
remark: string;
|
|
49
|
+
}
|
|
50
|
+
/** 创建入库脱敏策略请求参数。 */
|
|
51
|
+
export interface CreateBaseRedactStoragePolicyRequest {
|
|
52
|
+
/** 入库脱敏策略列表 */
|
|
53
|
+
base_redact_storage_policy: BaseRedactStoragePolicyForm[];
|
|
54
|
+
}
|
|
55
|
+
/** 更新入库脱敏策略请求参数。 */
|
|
56
|
+
export interface UpdateBaseRedactStoragePolicyRequest {
|
|
57
|
+
/** 入库脱敏策略列表 */
|
|
58
|
+
base_redact_storage_policy: BaseRedactStoragePolicyForm[];
|
|
59
|
+
}
|
|
60
|
+
/** 删除入库脱敏策略请求参数。 */
|
|
61
|
+
export interface DeleteBaseRedactStoragePolicyRequest {
|
|
62
|
+
id: string;
|
|
63
|
+
}
|
|
64
|
+
/** 设置入库脱敏策略状态请求参数。 */
|
|
65
|
+
export interface SetBaseRedactStoragePolicyStatusRequest {
|
|
66
|
+
/** 入库策略ID */
|
|
67
|
+
id: number;
|
|
68
|
+
/** 状态 */
|
|
69
|
+
status: Status;
|
|
70
|
+
}
|
|
71
|
+
/** 入库脱敏策略。 */
|
|
72
|
+
export interface BaseRedactStoragePolicy {
|
|
73
|
+
/** 入库策略ID */
|
|
74
|
+
id: number;
|
|
75
|
+
/** 数据库表名 */
|
|
76
|
+
table_name: string;
|
|
77
|
+
/** 数据库字段名 */
|
|
78
|
+
column_name: string;
|
|
79
|
+
/** 规则ID */
|
|
80
|
+
rule_id: number;
|
|
81
|
+
/** 规则编码 */
|
|
82
|
+
rule_code: string;
|
|
83
|
+
/** 规则名称 */
|
|
84
|
+
rule_name: string;
|
|
85
|
+
/** 规则类型 */
|
|
86
|
+
rule_type: string;
|
|
87
|
+
/** 规则参数 */
|
|
88
|
+
rule_params: string;
|
|
89
|
+
/** 数据源名称 */
|
|
90
|
+
source_name: string;
|
|
91
|
+
/** 状态 */
|
|
92
|
+
status: Status;
|
|
93
|
+
/** 备注 */
|
|
94
|
+
remark: string;
|
|
95
|
+
/** 创建时间 */
|
|
96
|
+
created_at: string;
|
|
97
|
+
/** 更新时间 */
|
|
98
|
+
updated_at: string;
|
|
99
|
+
}
|
|
100
|
+
/** 管理端入库脱敏策略服务。 */
|
|
101
|
+
export interface BaseRedactStoragePolicyService {
|
|
102
|
+
/** 查询入库脱敏策略分页列表。 */
|
|
103
|
+
PageBaseRedactStoragePolicy(request: PageBaseRedactStoragePolicyRequest): Promise<PageBaseRedactStoragePolicyResponse>;
|
|
104
|
+
/** 查询入库脱敏策略详情。 */
|
|
105
|
+
GetBaseRedactStoragePolicy(request: GetBaseRedactStoragePolicyRequest): Promise<BaseRedactStoragePolicyForm>;
|
|
106
|
+
/** 批量创建入库脱敏策略。 */
|
|
107
|
+
CreateBaseRedactStoragePolicy(request: CreateBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
108
|
+
/** 批量更新入库脱敏策略。 */
|
|
109
|
+
UpdateBaseRedactStoragePolicy(request: UpdateBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
110
|
+
/** 删除入库脱敏策略。 */
|
|
111
|
+
DeleteBaseRedactStoragePolicy(request: DeleteBaseRedactStoragePolicyRequest): Promise<Empty>;
|
|
112
|
+
/** 设置入库脱敏策略状态。 */
|
|
113
|
+
SetBaseRedactStoragePolicyStatus(request: SetBaseRedactStoragePolicyStatusRequest): Promise<Empty>;
|
|
114
|
+
}
|