| ActionType |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklistSort, Update
- Description
-
The action to take on the text (remove or replace) when the sensitive data rule is
triggered.
|
| Description |
- Type
- textarea
- Properties
- Create, Nillable, Update
- Description
- The description of the sensitive data rule—for example, “Block social security
numbers.”
|
| DeveloperName |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The unique name of the object in the API. This name can contain only underscores and alphanumeric
characters, and must be unique in your org. It must begin with a letter, not include
spaces, not end with an underscore, and not contain two consecutive underscores. In managed
packages, this field prevents naming conflicts on package installations. With this
field, a developer can change the object’s name in a managed package and the
changes are reflected in a subscriber’s organization.
When
creating large sets of data, always specify a unique DeveloperName
for each record. If no DeveloperName is specified, performance may
slow while Salesforce generates one for each record.
|
| EnforceOn |
- Type
- int
- Properties
- Create, Filter, Group, Sort, Update
- Description
- Determines the roles on which the rule is enforced. The value is determined using
bitwise OR operation. There are seven possible values:
- Rule enforced on Agent
- Rule enforced on Visitor
- Rule enforced on Agent and Visitor
- Rule enforced on Supervisor
- Rule enforced on Agent and Supervisor
- Rule enforced on Visitor and Supervisor
- Rule enforced on Agent, Visitor, and Supervisor
|
| IsEnabled |
- Type
- boolean
- Properties
- Create, Filter, Group, Sort, Update
- Description
- Specifies whether a sensitive data rule is active (true) or not (false). Default value (if
none is provided) is false.
|
| Language |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- The language of the sensitive data rule.
|
| MasterLabel |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- Label for the sensitive data rule.
|
| NamespacePrefix |
- Type
- string
- Properties
- Filter, Nillable
- Description
- The namespace prefix associated
with this object. Each Developer Edition organization that
creates a managed package has a unique namespace prefix. Limit:
15 characters. You can refer to a component in a managed package
by using the namespacePrefix__componentName
notation.
- The
namespace prefix can have one of the following
values:
- In Developer Edition organizations, the namespace prefix is
set to the namespace prefix of the organization for all
objects that support it. There is an exception if an object
is in an installed managed package. In that case, the object
has the namespace prefix of the installed managed package.
This field’s value is the namespace prefix of the Developer
Edition organization of the package developer.
- In organizations that are not Developer Edition
organizations, NamespacePrefix is only
set for objects that are part of an installed managed
package. There is no namespace prefix for all other
objects.
|
| Pattern |
- Type
- textarea
- Properties
- Create, Update
- Description
- The pattern of text blocked by the rule. Written as a JavaScript regular expression
(regex).
|
| Replacement |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The string of characters that replaces the blocked text (if
ActionType
Replace is selected).
|