Properties
| Name | Type | Description |
|---|---|---|
| strict_transport_security | object | Strict Transport Security. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/zones_security_header_value",
"title": "zones_security_header_value",
"default": {
"strict_transport_security": {
"enabled": true,
"include_subdomains": true,
"max_age": 86400,
"nosniff": true,
"preload": false
}
},
"properties": {
"strict_transport_security": {
"description": "Strict Transport Security.",
"properties": {
"enabled": {
"description": "Whether or not strict transport security is enabled.",
"example": true,
"type": "boolean"
},
"include_subdomains": {
"description": "Include all subdomains for strict transport security.",
"example": true,
"type": "boolean"
},
"max_age": {
"description": "Max age in seconds of the strict transport security.",
"example": 86400,
"type": "number"
},
"nosniff": {
"description": "Whether or not to include 'X-Content-Type-Options: nosniff' header.",
"example": true,
"type": "boolean"
},
"preload": {
"description": "Enable automatic preload of the HSTS configuration.",
"example": true,
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}