Newer Version Available

This content describes an older version of this product. View Latest

DataDetectPolicy

Represents a set of parameters that specifies the types of sensitive data to be searched for in a data scan. DataDetect scan policies can also apply filters to a data scan, and select what specific objects and fields are to be scanned. 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.
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.

Associated Objects

This object has this associated object. If the API version isn't specified, it's available in the same API version as this object. Otherwise, it's available in the specified API version and later.

DataDetectPolicyShare
Sharing is available for the object.