---
schema_version: "1"
id: 5c946979f63aabe8204399fc20296a47bc066aef3ade2177a4f5af46134c9d06
title: TenantSecurityPackage
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_tenantsecuritypackage.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_tenantsecuritypackage.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b61d80a0d618ce0c6aedc81463c2c282fc03f0532c67b13c83cfa982353f55bf
description: Stores details about managed and unmanaged packages that are added, updated, or removed from a tenant in Security Center. Use this object to identify whether new packages are installed, upgraded, or uninstalled from your connected tenants. This object is available to Security Center subscribers in API version 53.0 and later.
---
# TenantSecurityPackage

Stores details about managed and unmanaged packages that are added, updated, or removed from a tenant in Security Center. Use this object to identify whether new packages are installed, upgraded, or uninstalled from your connected tenants. This object is available to Security Center subscribers in API version 53.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

This object can only be read and queried.

## Fields

| Field | Details |
| --- | --- |
| Action | 
Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The action taken on a package within a tenant. The options are:

- Added
- Removed





 |
| ActionDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date the action was taken.



 |
| AppExchangeReady | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Indicates whether the package has passed AppExchange review.



 |
| DetailIdentifier | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The ID of the individual detail record. This field is unique within your org.



 |
| InstalledBy | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The user that installed the package.



 |
| MetricIdentifier | 

Type

string

Properties

Filter, Group, Sort

Description

The ID of the type of metric that was counted.



 |
| MetricsType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of data being collected.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the metric for which data is being collected.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix associated with the package.



 |
| PackageIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The unique identifier of the package.



 |
| PackageName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the package being added to or removed from the tenant.



 |
| Publisher | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the publisher that created the package.



 |
| ReleaseStatus | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The release status of the package. The options are:

- Beta
- Released





 |
| Tenant | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The ID of the tenant that the package was added to or removed from.



 |
| TenantName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the tenant that the package was added to or removed from.



 |
| UninstalledBy | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The user that uninstalled the package.



 |
| Version | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The current version of the package.



 |

## 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.

[TenantSecurityPackageChangeEvent](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.

[TenantSecurityPackageFeed](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.

[TenantSecurityPackageHistory](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.

[TenantSecurityPackageOwnerSharingRule](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.

[TenantSecurityPackageShare](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.