diff --git a/masking/data-classification.json b/masking/data-classification.json new file mode 100644 index 0000000..d2caa69 --- /dev/null +++ b/masking/data-classification.json @@ -0,0 +1,82 @@ +{ + "name": "bb.workspace.data-classification", + "value": { + "data_classification_setting_value": { + "configs": [ + { + "title": "Classification Example", + "levels": [ + { + "id": "1", + "title": "Level 1", + "description": "" + }, + { + "id": "2", + "title": "Level 2", + "description": "" + }, + { + "id": "3", + "title": "Level 3", + "description": "" + }, + { + "id": "4", + "title": "Level 4", + "description": "" + } + ], + "classification": { + "1": { + "id": "1", + "title": "Basic", + "description": "" + }, + "1-1": { + "id": "1-1", + "title": "Basic", + "description": "", + "levelId": "1" + }, + "1-2": { + "id": "1-2", + "title": "Assert", + "description": "", + "levelId": "1" + }, + "1-3": { + "id": "1-3", + "title": "Contact", + "description": "", + "levelId": "2" + }, + "1-4": { + "id": "1-4", + "title": "Health", + "description": "", + "levelId": "2" + }, + "2": { + "id": "2", + "title": "Relationship", + "description": "" + }, + "2-1": { + "id": "2-1", + "title": "Social", + "description": "", + "levelId": "1" + }, + "2-2": { + "id": "2-2", + "title": "Business", + "description": "", + "levelId": "1" + } + } + } + ] + } + } +} diff --git a/masking/masking-algorithm.json b/masking/masking-algorithm.json new file mode 100644 index 0000000..06c0705 --- /dev/null +++ b/masking/masking-algorithm.json @@ -0,0 +1,33 @@ +{ + "name": "bb.workspace.masking-algorithm", + "value": { + "maskingAlgorithmSettingValue": { + "algorithms": [ + { + "id": "9347822e-5a4a-4797-85ed-a59bb3115622", + "title": "md5-mask", + "description": "i am md5-mask", + "category": "HASH", + "md5Mask": { + "salt": "salt" + } + }, + { + "id": "bbd2893d-55b2-429c-bf7c-6f073e2bcdeb", + "title": "RangeMask", + "description": "this is range mask", + "category": "MASK", + "rangeMask": { + "slices": [ + { + "start": 0, + "end": 4, + "substitution": "*" + } + ] + } + } + ] + } + } +}