Security
Salesforce Security Health Check

Salesforce Security Health Check



It is always essential that checking our salesforce org’s security health check to monitor. Based on the percentage of security, we can comment on how better we are compliant.

A summary score shows how your org measures against a security baseline, like the Salesforce Baseline Standard.

The Health Check score is calculated by a proprietary formula that measures how well your security settings meet either the Salesforce Baseline Standard or your selected custom baseline. Settings that meet or exceed compliance raise your score, and settings at risk lower your score.

There are four risk categories: High-Risk, Medium-Risk, Low-Risk, and Informational. The risk categories affect your Health Check score, with High-Risk settings counting the most, Low-Risk settings counting the least, and Medium-Risk settings, well, they’re in the middle. Settings in the Informational category do not factor into your Health Check score. For details, see Salesforce Baseline Standard.

How it calculates?

If all settings meet or exceed the standard, your total score is 100%. As you update your settings, your green bar moves to the right!

Health Check page with 79% score and Fix Risks button shown

Your grade is based on your score.

  • 90% and above = Excellent
  • 80%–89% = Very Good
  • 70%–79% = Good
  • 55%–69% = Poor
  • 54% and below = Very Poor

How to Check?

From Setup, enter Health Check in the Quick Find box, then select Health Check.

Health Check page with score and High Risk settings shown

In the baseline dropdown

(1), choose the Salesforce Baseline Standard or a custom baseline. The baseline consists of recommended values for High-Risk, Medium-Risk, Low-Risk, and Informational Security Settings (2). If you change settings to be less restrictive than what’s in the baseline, your health check score (3) and grade (4) decreases.

Your settings are shown with information about how they compare against baseline values (5). To remediate a risk, edit the setting (6) or use Fix Risks (7) to quickly change settings to your selected baseline’s recommended values without leaving the Health Check page. You can import, export, edit, or delete a custom baseline with the baseline control menu (8).

Note: Use a valid XML file with only English language characters. The file cannot be larger than 20 KB. Make sure that each value is surrounded by quotation marks. Be careful not to delete any of them when editing the file.

The Salesforce Baseline Standard

The following are the settings, risk levels, and values from the default Salesforce Baseline Standard. If you are using a custom baseline, your information differs.

High Risk Security Settings

SETTINGCOMPLIANT VALUEWARNING VALUECRITICAL VALUE
Lock sessions to the domain in which they were first usedCheckbox selectedN/ACheckbox deselected
Enable the SMS method of identity confirmationCheckbox selectedN/ACheckbox deselected
Enable clickjack protection for Setup pagesCheckbox selectedN/ACheckbox deselected
Enable clickjack protection for non-Setup for Salesforce pagesCheckbox selectedN/ACheckbox deselected
Enable clickjack protection for customer VisualForce pages with standard headersCheckbox selectedN/ACheckbox deselected
Enable clickjack protection for customer VisualForce pages with headers disabledCheckbox selectedN/ACheckbox deselected
Enable CSRF protection on GET requests on non-setup pagesCheckbox selectedN/ACheckbox deselected
Enable CSRF protection on POST requests on non-setup pagesCheckbox selectedN/ACheckbox deselected
Require Secure Connections (HTTPS)Checkbox selectedN/ACheckbox deselected
Require HttpOnly attributeCheckbox selectedCheckbox deselectedN/A
Require secure connections (HTTPS) for all third-party domainsCheckbox selectedCheckbox deselected
Number of security risk file types with hybrid behaviorNo security risk file types have hybrid behavior enabledOne or more security risk file types has hybrid behavior enabledN/A
Maximum invalid login attempts35, 10No Limit
Number of expired certificatesNo certificates have expiredOne or more certificates have expiredN/A

Medium Risk Security Settings

SETTINGCOMPLIANT VALUEWARNING VALUECRITICAL VALUE
Require a minimum 1 day password lifetimeCheckbox selectedCheckbox deselectedN/A
Force relogin after Login-As-UserCheckbox selectedN/ACheckbox deselected
Enforce login IP ranges on every requestCheckbox selectedCheckbox deselectedN/A
Enable Content Security Policy protection for email templatesCheckbox selectedN/ACheckbox deselected
Enable XSS protectionCheckbox selectedN/ACheckbox deselected
Enable Content Sniffing protectionCheckbox selectedN/ACheckbox deselected
Administrators Can Log In As Any UserCheckbox deselectedCheckbox selectedN/A
Enforce password history3 or more passwords remembered1 or 2 passwords rememberedNo passwords remembered
Minimum password length86 or 75 or less
User passwords expire in90 days or less180 daysOne year or Never expires
Password complexity requirementMust mix alpha, numeric, and special characters, or more complexMust mix alpha and numeric charactersNo restriction

Low Risk Security Settings

SETTINGCOMPLIANT VALUEWARNING VALUECRITICAL VALUE
Obscure secret answer for password resetsCheckbox selectedCheckbox deselectedN/A
Force logout on session timeoutCheckbox selectedCheckbox deselectedN/A
Require identity verification during two-factor authentication registrationCheckbox selectedN/ACheckbox deselected
Require identity verification for change of email addressCheckbox selectedN/ACheckbox deselected
Remote SiteNo remote sites with the Disable Protocol Security option selectedAt least one remote site created with the Disable Protocol Security option selected.N/A
Password question requirementCannot contain passwordNoneN/A
Timeout Value2 hours or less4, 8, or 12 hoursCheckbox deselected
Lockout effective period30 minutes or greaterLess than 30 minutesN/A

Informational Security Settings

Informational Security settings do not affect your Health Check score, but are valuable to review.

SETTINGCOMPLIANT VALUEWARNING VALUECRITICAL VALUE
Days until certificate expirationNo certificates created, or all certificates have more than 180 days until expirationLess than 180 days but more than 15 days until expiration of at least one certificateLess than 15 days until expiration of at least one certificate
Enable HSTS for all Sites and Communities with the default force.com subdomain that require a secure connection (HTTPS)Checkbox selectedN/ACheckbox deselected
Key SizeAll certificates have a key size of 4096At least one certificate has a key size of 2048N/A

Example

Image of a Custom Baseline XML file

Thanks for Reading…

Leave a Reply

Your email address will not be published. Required fields are marked *