Skip to content

Commit 6715476

Browse files
d-bytebaseclaude
andauthored
refactor: rename "Risk Center" to "Risks" throughout documentation (#862)
- Updated feature name from "Risk Center" to "Risks" to match UI - Renamed all related files and directories (risk-center → risks) - Updated all documentation references and navigation links - Updated image paths to reflect new directory structure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent fcd0ebc commit 6715476

16 files changed

+19
-19
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Risk Center
3-
feature_name: RISK_CENTER
2+
title: Risks
3+
feature_name: RISKS
44
---
55

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

88
Once an operation matches the risk conditions, it will be assigned to the corresponding risk level you've defined.
99
If an operation matches more than one risk levels, the highest level will be used.
@@ -20,15 +20,15 @@ Custom Approval is mostly used by [UI workflow](/change-database/change-workflow
2020

2121
You can configure different [custom approval flows](/administration/custom-approval) for each operation types and risk levels.
2222

23-
![ddl-dml](/content/docs/administration/risk-center/ddl-dml.webp)
23+
![ddl-dml](/content/docs/administration/risks/ddl-dml.webp)
2424

25-
![request-query](/content/docs/administration/risk-center/request-query.webp)
25+
![request-query](/content/docs/administration/risks/request-query.webp)
2626

2727
### SQL Review
2828

2929
[SQL review](/sql-review/overview/) returns the associated risk level for the checked SQL statement. Bytebase GitHub action can also surface the risk level under a [PR](https://github.com/bytebase/example-gitops-github-flow/pull/6#issuecomment-2731413296).
3030

31-
![sql-review](/content/docs/administration/risk-center/github-actions-risk.webp)
31+
![sql-review](/content/docs/administration/risks/github-actions-risk.webp)
3232

3333
## Configuration
3434

@@ -38,7 +38,7 @@ Click **Add rule** to create a new risk rule.
3838

3939
Name the rule so that you may know what it cares about. Select the operation type of rule. The **Risk** can be defined as **High**, **Moderate** or **Low**.
4040

41-
![basic-info](/content/docs/administration/risk-center/basic-info.webp)
41+
![basic-info](/content/docs/administration/risks/basic-info.webp)
4242

4343
### Condition
4444

@@ -47,12 +47,12 @@ Configure the condition of the rule. You may use a combination of conditions and
4747
- Condition: An expression with **Factor**, **Operator** and **Value(s)**. For example, the condition "Environment ID == prod" will match issues executed in the "prod" environment.
4848
- Condition group: A collection of conditions connected by operators "And" and "Or".
4949

50-
![condition](/content/docs/administration/risk-center/condition.webp)
50+
![condition](/content/docs/administration/risks/condition.webp)
5151

5252
### Templates
5353

5454
A template is a system preset example of useful conditions that might be frequently used.
5555

5656
Click **View** to view the detailed condition template. And click **Load** to load the template into your rule.
5757

58-
![templates](/content/docs/administration/risk-center/templates.webp)
58+
![templates](/content/docs/administration/risks/templates.webp)

mintlify/content/docs/administration/risk-center/basic-info.webp renamed to mintlify/content/docs/administration/risks/basic-info.webp

File renamed without changes.

mintlify/content/docs/administration/risk-center/condition.webp renamed to mintlify/content/docs/administration/risks/condition.webp

File renamed without changes.

mintlify/content/docs/administration/risk-center/ddl-dml.webp renamed to mintlify/content/docs/administration/risks/ddl-dml.webp

File renamed without changes.

mintlify/content/docs/administration/risk-center/github-actions-risk.webp renamed to mintlify/content/docs/administration/risks/github-actions-risk.webp

File renamed without changes.

mintlify/content/docs/administration/risk-center/request-query.webp renamed to mintlify/content/docs/administration/risks/request-query.webp

File renamed without changes.

mintlify/content/docs/administration/risk-center/templates.webp renamed to mintlify/content/docs/administration/risks/templates.webp

File renamed without changes.

mintlify/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"group": "General",
149149
"pages": [
150150
"change-database/webhook",
151-
"change-database/risk-center",
151+
"change-database/risks",
152152
"change-database/settings"
153153
]
154154
}
@@ -294,7 +294,7 @@
294294
"tutorials/first-schema-change",
295295
"tutorials/deploy-schema-migration",
296296
"tutorials/data-rollback",
297-
"tutorials/risk-center-best-practice",
297+
"tutorials/risks-best-practice",
298298
"tutorials/batch-change-with-database-group",
299299
"tutorials/sql-review-gui",
300300
"tutorials/how-to-move-schema-change-from-test-to-prod",

mintlify/snippets/tutorials/database-workflow-advanced-features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Go to **Environments** > **Prod**, Find **Rollout policy** section, and choose *
1212

1313
![bb-custom-approval](/content/docs/tutorials/share/bb-custom-approval.webp)
1414

15-
1. Go to **CI/CD** > **Risk Center**. Click **Add rule** and click **Load** for the first template. Click **Add**.
15+
1. Go to **CI/CD** > **Risks**. Click **Add rule** and click **Load** for the first template. Click **Add**.
1616

1717
![bb-risk-center-ddl-high](/content/docs/tutorials/share/bb-risk-center-ddl-high.webp)
1818

mintlify/tutorials/database-change-management-with-risk-adjusted-approval-flow.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This tutorial will walk you through how to create custom approval flows based on
7979

8080
<Tip>
8181

82-
To learn the best practice, check out [Risk Center Best Practice](/tutorials/risk-center-best-practice/).
82+
To learn the best practice, check out [Risks Best Practice](/tutorials/risks-best-practice/).
8383

8484
</Tip>
8585

0 commit comments

Comments
 (0)