---
schema_version: "1"
id: 2d9de13cbe1a8cdfbc971a5cc91ec979d4cd6f2e4c4bca68424fb00b59b8d4d7
title: TenantSecurityCustomMetricSetup
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_tenantsecuritycustommetricsetup.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_tenantsecuritycustommetricsetup.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c9eacab4e46698886d04d476076abb09336b3ba0f5a4a30f34bfa32353dde1fb
description: Represents the configuration for a custom metric within Security Center. This object is available in API version 61.0 and later.
---
# TenantSecurityCustomMetricSetup

Represents the configuration for a custom metric within Security Center. This object is available in API version 61.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| CustomMetricIdentifier | 
Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The unique identifier for the custom metric.



 |
| CustomObjectIdentifier | 

Type

string

Properties

Create, Filter, Group, idLookup, Nillable, Sort, Update

Description

The unique identifier for the custom object for this custom metric.



 |
| CustomObjectName | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The unique name of the custom object for this custom metric.



 |
| DiffFieldIdentifierList | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The list of fields that were selected for Diff display.



 |
| DisplayFieldIdentifierList | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The list of fields that were selected for display.



 |
| Description | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The description of the custom metric.



 |
| MetricDisplayType | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The display type for this metric. For example, diff or non-diff.



 |
| MetricGroup | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The category of the custom metric. Some category examples include Authenticationand Configuration.



 |
| MetricName | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the custom metric. The MetricName and Name fields have the same value.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the custom metric. The MetricName and Name fields have the same value.



 |