From c9d3dc4eaa0e21b11c855e3553653aa6ef19cf55 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 15:45:56 +0800
Subject: [PATCH 1/2] update
---
.github/workflows/bb-masking-semantic-type-global.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/bb-masking-semantic-type-global.yml b/.github/workflows/bb-masking-semantic-type-global.yml
index 2f16554..9614789 100644
--- a/.github/workflows/bb-masking-semantic-type-global.yml
+++ b/.github/workflows/bb-masking-semantic-type-global.yml
@@ -34,8 +34,8 @@ jobs:
uses: tj-actions/changed-files@v42
with:
files: |
- masking/masking-algorithm.json
masking/semantic-type.json
+ masking/global-masking-rule.json
since_last_remote_commit: true
fetch_depth: 0
include_all_old_new_renamed_files: true
@@ -160,6 +160,7 @@ jobs:
commentBody += `- Global Masking Rule: ${success ? '✅' : '❌'} ${status}\n`;
}
}
+
if (!apiCallsFound) {
commentBody += `None`;
}
From f52df0285bd5dd05bf395168716a89816cc906bf Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 15:48:46 +0800
Subject: [PATCH 2/2] update
---
masking/global-masking-rule.json | 2 +-
masking/semantic-type.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/masking/global-masking-rule.json b/masking/global-masking-rule.json
index b17c7f5..4ff3dec 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\"]",
+ "expression": "classification_level in [\"2\", \"3\"]",
"title": "",
"description": ""
},
diff --git a/masking/semantic-type.json b/masking/semantic-type.json
index 97bdc12..f03e55c 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 x",
+ "title": "Personal sensitive data",
"description": "Custom semantic type with full masking for personal sensitive data",
"algorithm": {
"fullMask": {