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

[Enterprise Search] Require security plugin in 8.0 #106307

Merged
merged 5 commits into from
Jul 20, 2021

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Jul 20, 2021

Summary

Per @ioanatia's 8.0 work, Enterprise Search will now require x-pack security to be enabled going forward. As such we should also update our Kibana plugin to require the security plugin.

This should NOT be backported to 7.x.

Release note

Enterprise Search now requires x-pack security to be enabled.

QA

  • Load Elasticsearch with x-pack security disabled
  • Boot up Kibana & confirm the Enterprise Search plugin is disabled / not seen in the home, nav, etc.

Checklist

@cee-chen cee-chen added release_note:breaking v8.0.0 backport:skip This commit does not require backporting labels Jul 20, 2021
@cee-chen cee-chen requested review from legrego, ioanatia and a team July 20, 2021 18:16
Copy link
Contributor

@scottybollinger scottybollinger left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@cee-chen
Copy link
Contributor Author

SCOTTY I was just about to post asking for a review. You're a true mind reader

cee-chen added 2 commits July 20, 2021 12:19
Remove `!`s now that security is required
- turns out I need to do a little more than just updating the requiredPlugin arr & types!

- based on my understanding of our 8.0 behavior Enterprise Search will not start if x-pack security is disabled, so we should probably opt to early disable the plugin for simplicity as well
@cee-chen cee-chen requested a review from a team July 20, 2021 19:45
Copy link
Contributor

@scottybollinger scottybollinger left a comment

Choose a reason for hiding this comment

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

New changes LGTM. Thanks for taking the lead on this!

Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

Code review only -- changes to check_access LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.1MB 2.1MB -4.0B

History

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

@cee-chen
Copy link
Contributor Author

I'll be QAing this in the the alpha BC1 for App Search tomorrow! 🤞

@cee-chen cee-chen merged commit d4eeea4 into elastic:master Jul 20, 2021
@cee-chen cee-chen deleted the require-security branch July 20, 2021 22:32
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jul 21, 2021
…y-show-migrate-to-authzd-users

* 'master' of github.com:elastic/kibana: (48 commits)
  [Canvas] Expression shape (elastic#103219)
  [FTR] Skips Vega tests
  [Sample data] Use Lens in ecommerce data (elastic#106039)
  [APM] Backends inventory & overview page routes (elastic#106223)
  [TSVB] Add more functional tests for Gauge and TopN (elastic#105361)
  Add toggle to enable/disable rule install from SOs (elastic#106189)
  Improve unit test coverage of FS API calls (elastic#106242)
  Remove recursive plugin status in meta field (elastic#106286)
  [Ingest pipelines] add community id processor (elastic#103863)
  [XY axis] Fixes the values inside bar charts (elastic#106198)
  [data.search] Set default expiration to 1m if search sessions are disabled (elastic#105329)
  set the doc title when navigating to reporting and unset when navigating away (elastic#106253)
  [Lens] Display legend inside chart (elastic#105571)
  [RAC] [TGrid] Migrate the TGrid's rendering to `EuiDataGrid` (elastic#106199)
  [Security Solutions] Removes the elastic legacy client from lists and security_solution plugins (elastic#106130)
  [Enterprise Search] Require security plugin in 8.0 (elastic#106307)
  [DOCS] Updates screenshots in Dev Tools docs (elastic#105859)
  [DOCS] Updates text and screenshots in tags doc (elastic#105853)
  [Alerting] Allow rule types to extract/inject saved object references on rule CRU (elastic#101896)
  Jest and Storybook fixes (elastic#104991)
  ...

# Conflicts:
#	x-pack/plugins/reporting/public/plugin.ts
Copy link

@TokenPayId TokenPayId left a comment

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:breaking v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants