Skip to content

Commit 80a9a9f

Browse files
Merge pull request #60 from bytebase/a-branch-17
update
2 parents c80c605 + 0959027 commit 80a9a9f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

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

-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
6767
response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \
6868
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
69-
--header "Content-Type: application/json" \
7069
--data @"$CHANGED_FILE")
7170
7271
# Extract status code and response body
@@ -95,7 +94,6 @@ jobs:
9594
9695
response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/policies/masking_rule?allow_missing=true&update_mask=payload" \
9796
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
98-
--header "Content-Type: application/json" \
9997
--data @"$CHANGED_FILE")
10098
10199
# Extract status code and response body

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",
18+
"title": "Personal sensitive data x",
1919
"description": "Custom semantic type with full masking for personal sensitive data",
2020
"algorithm": {
2121
"fullMask": {

0 commit comments

Comments
 (0)