---
schema_version: "1"
id: 536885f78823518b8dbc7d809eb4d6b549f2710fb37d808c508ed820c4feb5c9
title: TenantSecurityPolicy
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_tenantsecuritypolicy.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_tenantsecuritypolicy.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d3cf1485e0bb2227406595aa720b7892716ffd2d1d54b05687162253e66f0652
description: Stores security policies created and deployed in Security Center. For more information, see Define and Deploy Security Policies. This object is available to Security Center subscribers in API version 54.0 and later.
---
# TenantSecurityPolicy

Stores security policies created and deployed in Security Center. For more information, see [Define and Deploy Security Policies](https://help.salesforce.com/s/articleView?id=xcloud.security_center_deploy_policies.htm&type=5&language=en_US). This object is available to Security Center subscribers in API version 54.0 and later.

## Supported Calls

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

## Special Access Rules

This object is read/write.

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The API name of the policy. This field is unique within your organization.



 |
| Description | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The description of the policy.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the policy.



 |
| PolicyData | 

Type

textarea

Properties

Create, Update

Description

The policy details contained in JSON format.



 |
| PolicyIdentifier | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The ID of this policy. Contains a unique virtual key from child to parent.



 |
| PolicyType | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The type of policy. For example, Health Check Baseline.



 |
| SourceRowIdentifier | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the policy that is applied to the tenant. This value is specific to the org that owns this record.



 |
| Status | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The status of the policy. For example, the policy is active or inactive.



 |
| Version | 

Type

int

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The version of the policy.



 |

## Associated Objects

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

[TenantSecurityPolicyChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[TenantSecurityPolicyFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[TenantSecurityPolicyHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[TenantSecurityPolicyOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[TenantSecurityPolicyShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.