SecurityHealthCheck

Represents your org’s Health Check score. The score indicates how well your org’s security settings comply with Salesforce-recommended values in the baseline standard. Only users with the “View Setup and Configuration” user permission can retrieve data from this object.

Version 

Introduced in API version 37.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Fields 

CustomBaselineId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 39.0

  • Description: Unique identifier for the field. Identifies which baseline is used to import settings and calculate score.

DurableId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.

Score 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The Health Check score for the org. The score can range from 0 to 100.

Usage 

Use this object to query your org’s Health Check score.

1SELECT Score FROM SecurityHealthCheck

More Health Check information is available by querying the object SecurityHealthCheckRisks.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!