Skip to content

Commit 54287ab

Browse files
update
1 parent a8bbc46 commit 54287ab

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/bb-masking-semantic-type-global.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
run: |
6363
CHANGED_FILE="masking/semantic-type.json"
6464
echo "Processing: $CHANGED_FILE"
65-
echo "${{ steps.bytebase-login.outputs.token }}"
65+
echo "token: ${{ steps.bytebase-login.outputs.token }}"
66+
echo "api_url: ${{ steps.bytebase-login.outputs.api_url }}"
6667
6768
response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \
6869
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
@@ -91,7 +92,8 @@ jobs:
9192
run: |
9293
CHANGED_FILE="masking/global-masking-rule.json"
9394
echo "Processing: $CHANGED_FILE"
94-
echo "${{ steps.bytebase-login.outputs.token }}"
95+
echo "token: ${{ steps.bytebase-login.outputs.token }}"
96+
echo "api_url: ${{ steps.bytebase-login.outputs.api_url }}"
9597
9698
response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/policies/masking_rule?allow_missing=true&update_mask=payload" \
9799
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \

masking/global-masking-rule.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"id": "76356d81-6231-4128-9be7-2c549fc505f5",
99
"condition": {
10-
"expression": "classification_level in [\"2\", \"3\"]",
10+
"expression": "classification_level in [\"2\"]",
1111
"title": "",
1212
"description": ""
1313
},

masking/semantic-type.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"id": "e8d3fd41-eba0-4afd-ae0f-32c91a4ee710",
18-
"title": "Personal sensitive data x",
18+
"title": "Personal sensitive data",
1919
"description": "Custom semantic type with full masking for personal sensitive data",
2020
"algorithm": {
2121
"fullMask": {

0 commit comments

Comments
 (0)