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.

DataDetectPolicy

Represents a set of parameters that specifies the types of sensitive data for search with in a data scan. DataDetect scan policies can also apply filters to a data scan, along with specific objects and fields for scanning. This object is available in API version 60.0 and later.

Supported Calls

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

Fields

Field Details
Description
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Description of the scan policy.
EndTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Time and date when the data scan completes.
IsScheduled
Type
Boolean
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Determines if the policy is scheduled or not.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the scan policy.
OwnerId
Type
reference
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The UserID of the person who owns the record. This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
ScanType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Designates whether the data scan type is AIInference or PatternMatching.

The default value is PatternMatching.

StartTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Time and date when the data scan begins. Data scans can start anytime within a 30-day window from the current date.