From 0959027fb0e2546405b8ed38cc174ed1db3371ae Mon Sep 17 00:00:00 2001 From: adela Date: Wed, 15 Jan 2025 16:34:30 +0800 Subject: [PATCH] update --- .github/workflows/bb-masking-semantic-type-global.yml | 2 -- masking/global-masking-rule.json | 2 +- masking/semantic-type.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bb-masking-semantic-type-global.yml b/.github/workflows/bb-masking-semantic-type-global.yml index 897ead3..dbc2665 100644 --- a/.github/workflows/bb-masking-semantic-type-global.yml +++ b/.github/workflows/bb-masking-semantic-type-global.yml @@ -66,7 +66,6 @@ jobs: response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \ --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ - --header "Content-Type: application/json" \ --data @"$CHANGED_FILE") # Extract status code and response body @@ -95,7 +94,6 @@ jobs: response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/policies/masking_rule?allow_missing=true&update_mask=payload" \ --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ - --header "Content-Type: application/json" \ --data @"$CHANGED_FILE") # Extract status code and response body diff --git a/masking/global-masking-rule.json b/masking/global-masking-rule.json index 4ff3dec..b17c7f5 100644 --- a/masking/global-masking-rule.json +++ b/masking/global-masking-rule.json @@ -7,7 +7,7 @@ { "id": "76356d81-6231-4128-9be7-2c549fc505f5", "condition": { - "expression": "classification_level in [\"2\", \"3\"]", + "expression": "classification_level in [\"2\"]", "title": "", "description": "" }, diff --git a/masking/semantic-type.json b/masking/semantic-type.json index f03e55c..97bdc12 100644 --- a/masking/semantic-type.json +++ b/masking/semantic-type.json @@ -15,7 +15,7 @@ }, { "id": "e8d3fd41-eba0-4afd-ae0f-32c91a4ee710", - "title": "Personal sensitive data", + "title": "Personal sensitive data x", "description": "Custom semantic type with full masking for personal sensitive data", "algorithm": { "fullMask": {