No description
Find a file
Scotty Bollinger 2366683209
[Enterprise Search] Add shared Users components and enable RBAC functionality (#102826)
* Add RolesEmptyPrompt component

* Move constants to shared

Will be used in next commit so DRYing them out here

* Add UserAddedInfo component

* Add UsersEmptyPrompt component

* Add UserInvitationCallout component

* Add some shared types

* Add UserSelector component

* Fix imports from a previous commit

Refactored these to shared but missed updating the implementation. See e2d3ec2ca4aba3cb6f7e8e2d2d2da96aa6bedf1b

* Add UsersHeading component

* Add UserFlyout component

* Update UsersAndRolesRowActions with confirm modal

Design calls for using a custom call out instead of window.confirm

* Add pagination size and fix type

- email can be null on bult-in elasticsearch users

* Add UsersTable component

* Remove window.confirm from logic files

The UsersAndRolesRowActions component now uses an EUI prompt for this. Whitespace changes should be hidden for this commit

* Add routes for enabling RBAC

* Update App Search routes

https://github.com/elastic/ent-search/pull/3862

added the ‘/as’ prefix to App Search role mappings routes

* Add logic for enabling role-based access

* Pass docsLink as a prop to the heading component

* Add empty states to mappings landing pages

* Fix a couple of missed i18ns

* Remove unused translations

* Remove EuiOverlayMask

This was needed in ent-search because it uses an older EUI. The newer confirm modal has its own overlay

* Update RoleMappingsTable to use new design

Previously, we showed all engines/groups in the table but the new design calls for a truncated list with additional items so [‘foo’, ‘bar’, ‘baz’]  would display as “foo, bar + 1”

This is already in place for the users table

* Lint fix

* Another lint fix

* Fix test name

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>

* Move test

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-06-23 15:43:17 -04:00
.buildkite chore(NA): moving @kbn/ui-shared-deps into bazel (#101669) 2021-06-18 16:09:31 +01:00
.ci [APM-UI][e2e] discard CI builds more often (#102217) 2021-06-16 10:01:43 +01:00
.github Move ES aggregation types to src/core (#102597) 2021-06-21 11:11:15 +01:00
api_docs [Discover] Deangularization of search embeddable (#100552) 2021-06-14 09:33:58 +01:00
config
dev_docs Update security best practices document (#100814) 2021-06-16 18:24:01 -04:00
docs [Query] Use a minimal index pattern interface for es query (#102364) 2021-06-23 22:40:56 +03:00
examples move the example app to be mounted in the developerExamples plugin instead of visible in navbar (#101464) 2021-06-14 14:47:58 +02:00
licenses
packages [Lens] Escape field names in formula (#102588) 2021-06-23 14:20:50 -04:00
plugins
rfcs [Fleet] Add packages to global search results (#102227) 2021-06-17 15:45:28 +02:00
scripts
src [Query] Use a minimal index pattern interface for es query (#102364) 2021-06-23 22:40:56 +03:00
tasks/config
test Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00
typings Move ES aggregation types to src/core (#102597) 2021-06-21 11:11:15 +01:00
utilities
vars [CI] For PRs, build TS refs before public api docs check (#100791) 2021-06-01 21:27:42 -04:00
x-pack [Enterprise Search] Add shared Users components and enable RBAC functionality (#102826) 2021-06-23 15:43:17 -04:00
.backportrc.json
.bazelignore
.bazeliskversion
.bazelrc
.bazelrc.common
.bazelversion
.browserslistrc
.editorconfig
.eslintignore [packages] Move @kbn/interpreter to Bazel (#101089) 2021-06-22 09:59:20 -05:00
.eslintrc.js [RAC] T-Grid is moving to a new home (#100265) 2021-06-22 18:56:33 -04:00
.fossa.yml
.gitattributes
.gitignore [gitignore] only ignore snapshot.js at the root (#100840) 2021-06-07 13:42:52 -04:00
.i18nrc.json chore(NA): moving @kbn/ui-shared-deps into bazel (#101669) 2021-06-18 16:09:31 +01:00
.node-version Bump Node.js from version 14.16.1 to 14.17.0 (#100314) 2021-05-19 07:36:43 -07:00
.npmrc
.nvmrc Bump Node.js from version 14.16.1 to 14.17.0 (#100314) 2021-05-19 07:36:43 -07:00
.prettierignore
.prettierrc
.stylelintignore
.stylelintrc
.telemetryrc.json
.yarnrc
api-documenter.json
BUILD.bazel
CODE_OF_CONDUCT.md
CONTRIBUTING.md
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile [CI] Don't do CI stats reporting/failures for feature branch PRs (#99668) 2021-05-10 16:38:32 -04:00
jest.config.integration.js [jest] use circus runner for the integration tests (#102782) 2021-06-22 11:48:47 -04:00
jest.config.js
kibana.d.ts
LICENSE.txt
NOTICE.txt
package.json chore(NA): moving @kbn/optimizer into bazel (#102965) 2021-06-23 11:11:13 +01:00
preinstall_check.js
README.md
renovate.json5 Add auto-backport by default to ech renovate bot prs (#102208) 2021-06-16 12:05:56 -05:00
RISK_MATRIX.mdx Add "Risk Matrix" section to the PR template (#100649) 2021-06-02 14:43:47 +02:00
SECURITY.md
STYLEGUIDE.mdx Syntax in styleguide.mdx is breaking docs build (#99840) 2021-05-11 18:06:42 -04:00
tsconfig.base.json fix(NA): windows ts_project outside sandbox compilation (#100947) 2021-06-03 17:53:39 +01:00
tsconfig.browser.json
tsconfig.json [RAC] T-Grid is moving to a new home (#100265) 2021-06-22 18:56:33 -04:00
tsconfig.refs.json [RAC] T-Grid is moving to a new home (#100265) 2021-06-22 18:56:33 -04:00
tsconfig.types.json
TYPESCRIPT.md
WORKSPACE.bazel chore(NA): upgrade bazel rules nodejs to v3.5.1 (#101412) 2021-06-04 19:56:52 +01:00
yarn.lock chore(NA): moving @kbn/optimizer into bazel (#102965) 2021-06-23 11:11:13 +01:00

Kibana

Kibana is your window into the Elastic Stack. Specifically, it's a browser-based analytics and search dashboard for Elasticsearch.

Getting Started

If you just want to try Kibana out, check out the Elastic Stack Getting Started Page to give it a whirl.

If you're interested in diving a bit deeper and getting a taste of Kibana's capabilities, head over to the Kibana Getting Started Page.

Using a Kibana Release

If you want to use a Kibana release in production, give it a test run, or just play around:

Building and Running Kibana, and/or Contributing Code

You might want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Documentation

Visit Elastic.co for the full Kibana documentation.

For information about building the documentation, see the README in elastic/docs.

Version Compatibility with Elasticsearch

Ideally, you should be running Elasticsearch and Kibana with matching version numbers. If your Elasticsearch has an older version number or a newer major number than Kibana, then Kibana will fail to run. If Elasticsearch has a newer minor or patch number than Kibana, then the Kibana Server will log a warning.

Note: The version numbers below are only examples, meant to illustrate the relationships between different types of version numbers.

Situation Example Kibana version Example ES version Outcome
Versions are the same. 5.1.2 5.1.2 💚 OK
ES patch number is newer. 5.1.2 5.1.5 ⚠️ Logged warning
ES minor number is newer. 5.1.2 5.5.0 ⚠️ Logged warning
ES major number is newer. 5.1.2 6.0.0 🚫 Fatal error
ES patch number is older. 5.1.2 5.1.0 ⚠️ Logged warning
ES minor number is older. 5.1.2 5.0.0 🚫 Fatal error
ES major number is older. 5.1.2 4.0.0 🚫 Fatal error

Questions? Problems? Suggestions?

  • If you've found a bug or want to request a feature, please create a GitHub Issue. Please check to make sure someone else hasn't already created an issue for the same topic.
  • Need help using Kibana? Ask away on our Kibana Discuss Forum and a fellow community member or Elastic engineer will be glad to help you out.