You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
This transitions our `object_src 'report-sample' 'none'` CSP directive
from the `Content-Security-Policy-Report-Only` header to the
`Content-Security-Policy` header, thereby enforcing the directive.
- We also have to allow administrators to configure `object_src` to suit
their needs. Therefore, this PR introduces a new `csp.object_src`
configuration property, which allows admins to specify a different
`object_src` than the one we ship with.
- This deprecates the `csp.report_only.object_src` configuration
setting, as we are no longer reporting `object_src` directives in a
"report only" fashion.
- This adds a config deprecation for `csp.disableUnsafeEval`, which was
documented as deprecated as of `8.7.0`.
Resolves#241024
## Release Notes
Enforces the `object_src 'none'` directive in Kibana's Content Security
Policy. Introduces a new `csp.object_src` configuration option to
control its behavior.
---------
Co-authored-by: florent-leborgne <[email protected]>
Copy file name to clipboardExpand all lines: docs/reference/cloud/elastic-cloud-kibana-settings.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -419,6 +419,9 @@ This setting is not available in versions 8.0.0 through 8.2.0. As such, this set
419
419
`csp.img_src`
420
420
: Add sources for the [Content Security Policy `img-src` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src).
421
421
422
+
`csp.object_src` {applies_to}`stack: ga 9.3`
423
+
: Add sources for the [Content Security Policy `object-src` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/object-src).
424
+
422
425
`csp.report_uri`
423
426
: Add sources for the [Content Security Policy `report-uri` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri).
Copy file name to clipboardExpand all lines: docs/reference/configuration-reference/general-settings.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,9 @@ If a setting is applicable to {{ech}} environments, its name is followed by this
45
45
`csp.img_src`
46
46
: Add sources for the [Content Security Policy `img-src` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src).
47
47
48
+
`csp.object_src` {applies_to}`stack: ga 9.3`
49
+
: Add sources for the [Content Security Policy `object-src` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/object-src).
50
+
48
51
`csp.frame_ancestors`
49
52
: Add sources for the [Content Security Policy `frame-ancestors` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors).
50
53
@@ -59,6 +62,11 @@ If a setting is applicable to {{ech}} environments, its name is followed by this
59
62
`csp.report_only.object_src`
60
63
: Add sources for the [Content Security Policy `object-src` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/object-src) in reporting mode.
61
64
65
+
:::{note}
66
+
:applies_to: stack: deprecated 9.3
67
+
This setting is deprecated in favor of `csp.object_src`.
68
+
:::
69
+
62
70
`csp.report_uri`
63
71
: Add sources for the [Content Security Policy `report-uri` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri).
0 commit comments