Skip to content

Opensearch dashboards.cspconfig

Home > opensearch-dashboards > CspConfig

CspConfig class

CSP configuration for use in OpenSearch Dashboards.

Signature:

export declare class CspConfig implements ICspConfig 

Implements: ICspConfig

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the CspConfig class.

Properties

Property Modifiers Type Description
DEFAULT static CspConfig
header string
rules string[]
strict boolean
warnLegacyBrowsers boolean