Get to know how to set up selective protection of your Salesforce
data. This allows you to only protect certain Salesforce data based on object-specific field
rules.
About this task
Please note the following when using this feature:
Procedure
-
Access the eperi sEcure Admin Console and select the
Salesforce tab.
-
In the Tasks section click Create Selective
Protection Rule.
-
In the pop-up menu Create Selective Protection Rule,
provide the required information and then click OK.
| Option |
Description |
| Salesforce Object |
Select the Salesforce object to which your rule should be
applied. You could for example select the Account
object. |
| Selective Rule |
Enter your rule for the selected object.Please note
the following regarding the rule syntax:
- It can be compared if an object field equals
(==), not equals
(!=), a certain string
value or given Regular Expression matches
(=~) to a certain string
value. Examples: Name ==
"value", Name !=
"value", Name =~
"[A-Za-z]+".
Note: More information on
how Regex works can for example be found and
tested here: Regex 101
- Comparisons can be connected by AND
(&&) or OR
(||).
- Connected comparisons can be grouped with
parentheses. Example: (LastName ==
"value" && FirstName == "value2") ||
LastName == "value3"
- A group can be negated with a
! as prefix. Example:
!(LastName == "value" &&
FirstName == "value2")
- Use the field names as defined in the Salesforce
Object Manager. Do not use the field labels!
- Only one rule can be created per object.
|
The rule is created and displayed in the
Selective Protection
Rules section. For example:

With the rule in the example above,
only Accounts with the RecordTypeId "0121X0000017AN3QAM" will be protected
according to the defined data protection policy.
-
Select the Dashboard tab and restart the Salesforce
Reverse Proxy.
Important: In a cluster setup, the proxy must be restarted with
Cluster Wide option.
After the Salesforce Reverse Proxy has been restarted the
selective protection rule will be applied immediately.
Results
You have successfully set up the selective protection of
your Salesforce data. It will be applied to all new and updated Salesforce records which
match the configured rules.
What to do next
You may edit or delete existing rules or add additional
rules for your Salesforce objects. Note that in all cases a restart of the Salesforce
Reverse Proxy is required.