Skip to content

Commit 926a8c4

Browse files
committed
chore: risk center doc
1 parent bf494ea commit 926a8c4

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

content/docs/administration/risk-center.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Risk Center
3-
feature_name: CUSTOM_APPROVAL
3+
feature_name: RISK_CENTER
44
---
55

66
In **Settings > Risk Center**, you can define different risk levels for each operation types ([DML, DDL, Create Database](/docs/change-database/change-workflow/), [Request Query](/docs/security/database-permission/query/), [Request Export](/docs/security/database-permission/export/)) with custom rules.

src/components/pages/pricing/table/data/pricing-plans.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
2929
synchronize: { value: 'Basic', tooltip: 'Sync from the latest schema version' },
3030
'batch-change': { value: 'Basic', tooltip: 'Multi-environment change' },
3131
'custom-approval': false,
32+
'risk-center': false,
3233
'password-restriction': false,
3334
},
3435
sql: {
@@ -115,6 +116,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
115116
tooltip: 'Multi-environment + Multi-region / Multi-tenancy change',
116117
},
117118
'custom-approval': false,
119+
'risk-center': false,
118120
'password-restriction': false,
119121
},
120122
sql: {
@@ -204,6 +206,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
204206
tooltip: 'Multi-environment + Multi-region / Multi-tenancy change',
205207
},
206208
'custom-approval': true,
209+
'risk-center': true,
207210
'password-restriction': true,
208211
},
209212
sql: {
@@ -285,6 +288,7 @@ const LABELS = [
285288
synchronize: 'Synchronize schema between databases',
286289
'batch-change': 'Batch change',
287290
'custom-approval': 'Custom approval workflow',
291+
'risk-center': 'Risk center',
288292
'password-restriction': 'Password restriction',
289293
},
290294
},

src/lib/features.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const FEATURES = {
1313
SYNCHRONIZE_SCHEMA: 'Synchronize schema between databases',
1414
BATCH_CHANGE: 'Batch change',
1515
CUSTOM_APPROVAL: 'Custom approval workflow',
16+
RISK_CENTER: 'Risk Center',
1617

1718
//Not in the pricing page
1819
DRIFT_DETECTION: 'Schema drift detection',

src/lib/pricing-plan.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const PRICING_PLANS = new Map([
2121
['ONLINE_SCHEMA_CHANGE', 'PRO'],
2222
['BATCH_CHANGE', 'PRO'],
2323
['CUSTOM_APPROVAL', 'ENTERPRISE'],
24+
['RISK_CENTER', 'ENTERPRISE'],
2425

2526
//Not in the pricing page
2627
['DRIFT_DETECTION', 'ENTERPRISE'],

0 commit comments

Comments
 (0)