StrictTransportSecurity object

Use StrictTransportSecurity to configure the Strict-Transport-Security header.

Syntax 

ContentSecurityPolicy Syntax
1interface StrictTransportSecurity {
2   maxAge: number;
3   includeSubDomains: boolean;
4   preload: boolean;
5}

Directives 

You can customize these directives for a Strict-Transport-Security header. Set values for them in a StrictTransportSecurity object.

For information about each directive, see MDN Web Docs: Strict-Transport-Security Directives

Example 

1"strictTransportSecurity":
2  {
3    "maxAge": 15552000;
4    "includeSubDomains": true;
5    "preload": true;
6  }

See Also

Developer Preview Feature

Feature is available as a developer preview. Feature is not generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Do not implement functionality developed with these commands or tools.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!