diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-doris.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-doris.json index 87c1d350a6..6829d505b5 100644 --- a/agents-common/src/main/resources/service-defs/ranger-servicedef-doris.json +++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-doris.json @@ -204,6 +204,56 @@ ], "label": "Doris Global", "description": "Doris Global" + }, + { + "itemId": 8, + "name": "compute_group", + "type": "string", + "level": 10, + "parent": "", + "mandatory": true, + "isValidLeaf": true, + "lookupSupported": true, + "recursiveSupported": false, + "excludesSupported": true, + "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher", + "matcherOptions": { + "wildCard": true, + "ignoreCase": true + }, + "validationRegEx": "", + "validationMessage": "", + "uiHint": "", + "accessTypeRestrictions": [ + "USAGE" + ], + "label": "Doris Compute Group", + "description": "Doris Compute Group" + }, + { + "itemId": 9, + "name": "storage_vault", + "type": "string", + "level": 10, + "parent": "", + "mandatory": true, + "isValidLeaf": true, + "lookupSupported": true, + "recursiveSupported": false, + "excludesSupported": true, + "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher", + "matcherOptions": { + "wildCard": true, + "ignoreCase": true + }, + "validationRegEx": "", + "validationMessage": "", + "uiHint": "", + "accessTypeRestrictions": [ + "USAGE" + ], + "label": "Doris Storage Vault", + "description": "Doris Storage Vault" } ], "accessTypes": [ @@ -353,7 +403,7 @@ "name": "MASK", "label": "Redact", "description": "Replace lowercase with 'x', uppercase with 'X', digits with '0'", - "transformer": "regexp_replace(regexp_replace(regexp_replace({col},'([A-Z])', 'X'),'([a-z])','x'),'([0-9])','0')", + "transformer": "regexp_replace(regexp_replace(regexp_replace({col},'([A-Z])', 'x'),'([a-z])','x'),'([0-9])','n')", "dataMaskOptions": { } },