Skip to content

Opensearch dashboards.icspconfig

Home > opensearch-dashboards > ICspConfig

ICspConfig interface

CSP configuration for use in OpenSearch Dashboards.

Signature:

export interface ICspConfig 

Properties

Property Type Description
header string The CSP rules in a formatted directives string for use in a Content-Security-Policy header.
rules string[] The CSP rules used for OpenSearch Dashboards.
strict boolean Specify whether browsers that do not support CSP should be able to use OpenSearch Dashboards. Use true to block and false to allow.
warnLegacyBrowsers boolean Specify whether users with legacy browsers should be warned about their lack of OpenSearch Dashboards security compliance.