Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Move CSP options to new platform (#52698) #53049

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

eliperelman
Copy link
Contributor

Backports the following commits to 7.x:

@eliperelman eliperelman self-assigned this Dec 13, 2019
@eliperelman eliperelman added this to Code review in kibana-core [DEPRECATED] via automation Dec 13, 2019
`style-src 'unsafe-inline' 'self'`,
],
}),
strict: schema.boolean({ defaultValue: false }),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kobelb wanted to draw your attention here.

* Move CSP options to new platform

* Expose SharedGlobalConfig from root

* Derive CSP options from config

* Consolidate CSP configuration with HTTP config

* Fix outstanding config renames

* Remove legacy CSP configuration calls, migrate to platform properties

* Revise docs

* Fix test from type change

* Expose ICspConfig, consolidate and simplify CSP defaults access

* Rebase and update docs

* Remove legacy API from route definition params, review nits

* Clean up config path usages for consistency

* Regenerate docs
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@eliperelman eliperelman merged commit 4e3095b into elastic:7.x Dec 16, 2019
kibana-core [DEPRECATED] automation moved this from Code review to Needs Backport Dec 16, 2019
@eliperelman eliperelman moved this from Needs Backport to Done (7.6) in kibana-core [DEPRECATED] Dec 16, 2019
@joshdover joshdover removed this from Done (7.6) in kibana-core [DEPRECATED] Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants