Skip to content

Commit f230f2a

Browse files
committed
Update Console 4.18 section on CSP enablement
1 parent c46dbda commit f230f2a

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

  • frontend/packages/console-dynamic-plugin-sdk

frontend/packages/console-dynamic-plugin-sdk/README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,10 @@ This section documents notable changes in the Console Content Security Policy im
210210

211211
#### Console 4.18.x
212212

213-
Console deploys CSP in report-only mode; CSP violations will be logged in the browser console
214-
and CSP violation data may be reported through telemetry service in production deployments.
215-
216-
In a future release, Console will begin enforcing CSP. To test your plugin with CSP, enable
217-
the `ConsolePluginContentSecurityPolicy` feature gate on a test cluster. This feature gate
218-
should **not** be enabled on production clusters. Enabling this feature gate also allows you
219-
to set `spec.contentSecurityPolicy` in your `ConsolePlugin` resource to extend existing Console
213+
Console CSP feature is disabled by default. To test your plugins with CSP, enable the
214+
`ConsolePluginContentSecurityPolicy` feature gate on a test cluster. This feature gate
215+
should **not** be enabled on production clusters. Enabling this feature gate allows you
216+
to set `spec.contentSecurityPolicy` in your `ConsolePlugin` resource to extend existing
220217
CSP directives, for example:
221218

222219
```yaml
@@ -233,6 +230,13 @@ spec:
233230
- 'https://example2.com/'
234231
```
235232
233+
When enabled, Console CSP operates in report-only mode; CSP violations will be logged in
234+
the browser and CSP violation data will be reported through telemetry service in production
235+
deployments.
236+
237+
In a future release, Console will begin enforcing CSP. Consider testing and preparing your
238+
plugins now to avoid CSP related issues in future.
239+
236240
#### Console 4.19.x
237241
238242
The CSP feature is enabled by default. CSP implementation remains in report-only mode.

0 commit comments

Comments
 (0)