Fetch All Masking Policies
Select
SaaS
Customer Managed
This operation is used to retrieve all the Data Masking policies for a salesforce organization
Path Parameters
- InstanceId integer required
Instance Id of the Salesforce organization
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
response object
errorMessage stringerrorCode integerpolicies object[]
createdTime integerassociation object
Associated salesforce organization details
applicationId integerFor Salesforce use 134
backupsetId integerinstanceId integerbackupsetName stringconfig object
tables object[]
Masking rules for each object
name stringObject name
columns object[]
name stringName of the field
type integerType of Masking Ex: Shuffling-0, Format-preserving encryption alphanumeric-1, Numeric range-2, Numeric variance-3, Fixed string-4, Dictionary-5
policy object
policyId integerpolicyName string
{
"response": {
"errorMessage": "string",
"errorCode": 0
},
"policies": [
{
"createdTime": 0,
"association": {
"applicationId": 0,
"backupsetId": 0,
"instanceId": 0,
"backupsetName": "string"
},
"config": {
"tables": [
{
"name": "string",
"columns": [
{
"name": "string",
"type": 0
}
]
}
]
},
"policy": {
"policyId": 0,
"policyName": "string"
}
}
]
}
{
"response": {
"errorMessage": "",
"errorCode": 0
},
"policies": [
{
"createdTime": 1705063540,
"association": {
"applicationId": 134,
"backupsetId": 90,
"instanceId": 87,
"backupsetName": "test@force.com"
},
"config": {
"tables": [
{
"name": "Account",
"columns": [
{
"name": "Name",
"type": 5
}
]
}
]
},
"policy": {
"policyId": 17,
"policyName": "dm"
}
}
]
}
Loading...