You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/tutorials/api-issue.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Deploy Schema Migration with Bytebase API
3
3
author: Ningjing
4
4
updated_at: 2023/12/21 18:00
5
5
tags: Tutorial
6
-
integrations: General, API
6
+
integrations: API
7
7
level: Advanced
8
8
estimated_time: '30 mins'
9
9
description: "In this tutorial, you will test a sample application that utilizes the Bytebase API to create a change. By following the instructions, you'll gain hands-on experience in running the application and initiating a change using the Bytebase API."
description: Bytebase provide its SaaS version since 1.15.0, this tutorial will bring your schema change to the next level by introducing the GitOps workflow, where you commit schema change script to the GitHub repository, which will, in turn, trigger the schema deployment pipeline in Bytebase Cloud.
Copy file name to clipboardExpand all lines: content/docs/tutorials/github-action-data-masking-part1.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: 'Applying Data Masking with GitHub Actions - Part 1'
3
3
author: Ningjing
4
4
updated_at: 2024/11/19 18:00
5
5
tags: Tutorial
6
-
integrations: General, API
6
+
integrations: API
7
7
level: Advanced
8
8
estimated_time: '30 mins'
9
9
description: 'Learn how to automate database masking policies using GitHub Actions and Bytebase API'
@@ -89,43 +89,43 @@ Let's dig into the GitHub Actions workflow [code](https://github.com/bytebase/da
89
89
90
90
## Column Masking
91
91
92
-
[Column Masking](/docs/security/data-masking/column-masking/) lets you specify table columns different Masking Level to mask the data.
92
+
[Column Masking](/docs/security/data-masking/column-masking/) lets you specify table columns different Masking Level to mask the data.
93
93
94
94
In Bytebase console, go to a database page, then pick a table, you can specify masking level by clicking pen icon on table detail page.
95
95
96
96
In the GitHub workflow, find the step `Apply column masking`, which will apply the column masking to the database via API. First it will parse all the column masking files and then do a loop to apply the column masking to the database one by one. The code it calls Bytebase API is as follows:
By changing file `masking/databases/**/**/column-masking.json`, create a PR and then merge, the change will be applied to the database.
106
106
107
107
Log in Bytebase console, at the workspace level, click **Data Access > Data Masking**. Click **Explicit Masked Columns**, you can see the column masking is applied to the database.
[Access Unmasked Data](/docs/security/data-masking/access-unmasked-data/) lets you relax the masking levels for the users. Full masked column to partial or partial masked column to none.
114
114
115
115
In the GitHub workflow, find the step `Apply masking exception`, which will apply the masking exception to the database and the process is similar, the code it calls Bytebase API is as follows:
By changing file `masking/projects/**/masking-exception.json`, create a PR and then merge, the change will be applied to the database.
125
125
126
126
Log in Bytebase console, go to the project `Sample Project`, click **Database > Masking Access**, you can see the masking exception is applied to the database.
0 commit comments