Skip to content

Commit ff5a7bb

Browse files
update tf global masking (#140)
1 parent eac6682 commit ff5a7bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/8-3-global-data-masking.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,21 @@ resource "bytebase_policy" "global_masking_policy" {
1515
condition = "column_name == \"birth_date\""
1616
id = "birth-date-mask"
1717
semantic_type = "date-year-mask"
18+
title = "Mask Birth Date Year"
1819
}
1920

2021
rules {
2122
condition = "column_name == \"last_name\""
2223
id = "last-name-first-letter-only"
2324
semantic_type = "name-first-letter-only"
25+
title = "Last Name Only Show First Letter"
2426
}
2527

2628
rules {
2729
condition = "classification_level in [\"2\"]"
2830
id = "classification-level-2"
2931
semantic_type = "full-mask"
32+
title = "Full Mask for Classification Level 2"
3033
}
3134
}
3235
}

0 commit comments

Comments
 (0)