Newer Version Available

This content describes an older version of this product. View Latest

CspTrustedSite

Represents a CSP Trusted Site. The Lightning Component framework uses Content Security Policy (CSP) to impose restrictions on content. The main objective is to help prevent cross-site scripting (XSS) and other code injection attacks. To use third-party APIs that make requests to an external (non-Salesforce) server or to use a WebSocket connection, add a CSP Trusted Site.

For more information, see CspTrustedSite in the Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
Context Context picklist 255
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
Description Description textarea 255
DeveloperName Trusted Site Name string 80
EndpointUrl Trusted Site URL string 255
Id Trusted Site ID id 18
IsActive Active boolean
IsApplicableToConnectSrc Allow site for connect-src boolean
IsApplicableToFontSrc Allow site for font-src boolean
IsApplicableToFrameSrc Allow site for frame-src boolean
IsApplicableToImgSrc Allow site for img-src boolean
IsApplicableToMediaSrc Allow site for media-src boolean
IsApplicableToStyleSrc Allow site for style-src boolean
IsDeleted Deleted boolean
Language Master Language picklist 40
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
MasterLabel Label string 80
NamespacePrefix Namespace Prefix string 15
SystemModstamp System Modstamp datetime