GetResponseHeadersPolicySecurityHeadersConfigXssProtection

data class GetResponseHeadersPolicySecurityHeadersConfigXssProtection(val modeBlock: Boolean, val override: Boolean, val protection: Boolean, val reportUri: String)

Constructors

constructor(modeBlock: Boolean, override: Boolean, protection: Boolean, reportUri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether CloudFront includes the mode=block directive in the X-XSS-Protection header.

Link copied to clipboard

Whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.

Link copied to clipboard

Boolean value that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.

Link copied to clipboard

Whether CloudFront sets a reporting URI in the X-XSS-Protection header.