---
schema_version: "1"
id: 8b322eda4eac380b4fa1a17d0d72ae9b5b0752171db310d275692c449982b8da
title: DataDetectScanResult
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_datadetectscanresult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_datadetectscanresult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fdb437bdc1255af58649c3c893868d52abd0a1db723801233d9216a44ea082b9
description: Represents the results of a DataDetect data policy scan. This object is available in API version 63.0 and later.
---
# DataDetectScanResult

Represents the results of a DataDetect data policy scan. This object is available in API version 63.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| CreatedDate | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

Time and date when an instance of PII is added to the scan result.



 |
| DataDetectJobSessionId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the job session associated with the scan policy.

This field is a relationship field.

Relationship Name

DataDetectJobSession

Relationship Type

Lookup

Refers To

DataDetectJobSession



 |
| FieldName | 

Type

string

Properties

Filter, Group, Sort

Description

UMD name from standard fields, or custom field ID from custom fields.



 |
| NamedEntityCount | 

Type

int

Properties

Filter, Group, Sort

Description

Number of times PII is found.



 |
| NamedEntityType | 

Type

string

Properties

Filter, Group, Sort

Description

Type of PII found in the record of the scan policy object.



 |
| ObjectName | 

Type

string

Properties

Filter, Group, Sort

Description

KeyPrefix of the scan policy object that contains PII.



 |
| RecordIdentifier | 

Type

string

Properties

Filter, Group, Sort

Description

Unique identifier for the record.



 |
| SensitiveValues | 

Type

text

Properties

Filter, Nillable, Sort

Description

Stores the excerpts in the form of encrypted text.



 |

#### See Also

- [_Salesforce Help_: Data Detect](https://help.salesforce.com/s/articleView?id=xcloud.einstein_data_detect.htm&type=5&language=en_US)