cloudfront
: Support Content-Security-Policy-Report-Only
header
#29006
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
Support setting 'report-only' mode for CSP in the
ResponseHeadersPolicy
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
Use Case
Proposed Solution
Add a field
ResponseHeadersContentSecurityPolicy.reportOnly
as an optional boolean that defaults tofalse
. Internally, this could tack the-Report-Only
suffix to the header.Other Information
No response
Acknowledgements
CDK version used
2.126.0
Environment details (OS name and version, etc.)
n/a
The text was updated successfully, but these errors were encountered: