SecurityHealthCheckRisks
Represents your org’s security setting values, risks, and Salesforce-recommended setting values. Only users with the “View Setup and Configuration” user permission can retrieve data from this object.
Introduced in API version 37.0.
describeSObjects(), query()
Query
-
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.
-
Type: string
-
Required: No
-
Properties: Filter, Nillable, Sort
-
Description: The org’s value for the security setting.
-
Type: string
-
Required: No
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 38.0
-
Description: The org’s value for the security setting as it is stored in the database, usually without units of measure or extra text. For example, if the Minimum Password Length setting’s
OrgValueis8 characters, theOrgValueRawis8.
-
Type: picklist
-
Required: No
-
Properties: Filter, Group, Nillable, Restricted picklist, Sort
-
Description: The level of risk of the org’s security setting value.
-
Possible values:
-
HIGH_RISK — HIGH_RISK
-
MEDIUM_RISK — MEDIUM_RISK
-
MEETS_STANDARD — MEETS_STANDARD
-
-
Type: string
-
Required: No
-
Properties: Filter, Group, Nillable, Sort
-
Description: The ID of the Health Check score record associated with this field.
-
Type: string
-
Required: No
-
Properties: Filter, Group, Nillable, Sort
-
Description: The name of the security setting. For example,
Minimum password length.
-
Type: string
-
Required: No
-
Properties: Filter, Group, Nillable, Sort
-
Description: The name of the security setting group in which the setting resides in the Setup tree. For example,
Password Policies.
-
Type: picklist
-
Required: No
-
Properties: Filter, Group, Nillable, Restricted picklist, Sort
-
Introduced: API version 40.0
-
Description: The level of risk of the org’s security settings. Available in version 40.0 and later.
-
Possible values:
-
HIGH_RISK — HIGH_RISK
-
MEDIUM_RISK — MEDIUM_RISK
-
LOW_RISK — LOW_RISK
-
INFORMATIONAL — INFORMATIONAL
-
-
Type: string
-
Required: No
-
Properties: Filter, Nillable, Sort
-
Description: Salesforce-recommended standard value for the security setting.
-
Type: string
-
Required: No
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 38.0
-
Description: Salesforce-recommended standard value for the security setting as it is stored in the database, usually without units of measure or extra text. For example, if the Minimum Password Length setting’s
StandardValueis8 characters, theStandardValueRawis8.
Use this object to query your org’s security setting values, risks, and Salesforce-recommended setting values. Reading security settings and their security status is useful if you have multiple Salesforce applications that require consistency and compliance in their security posture.
This query gets a list of your org’s high risk settings.
This query gets your org’s Health Check score and a list of your org’s high risk settings.
This query gets your org’s Health Check score and the security settings that meet the Salesforce baseline standard.
This query lists all the values in the Salesforce baseline standard.