Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DataDetPlcyDataSrchExps

Represents data search expressions for scanning DataDetect scan policies based on Java regex. This object is available in API version 64.0 and later.

When working with regex, Salesforce recommends Java 17 or later.

Note

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
DataDetectPolicyId
Type
reference
Properties
Create, Filter, Group, Sort
Description
ID of the scan policy associated with the data search expression.

This field is a relationship field.

Relationship Name
DataDetectPolicy
Relationship Type
Master-Detail
Refers To
DataDetectPolicy
Expression
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Regular expression that represents sensitive data to be scanned.
IsCaseSensitive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Designates whether the expression is case-sensitive (true) or not (false).

The default value is false.

IsKeywordSearch
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Designates whether the expression can be used as a search keyword (true) or not (false).

The default value is false.

Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the expression.