Go to file
Scotty Bollinger 4aa7036d77
[App Search] Role mappings migration part 2 (#94461)
* Add engines mock and fix mock role mapping

The original asRoleMapping was merely for a smoke test in the shared component. Refactored to work better in App Search component

* Add RoleMappingsLogic

* Fix test description

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

* Fix test description

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

* Add flash messages when creating, updating or deleting

* Add path and resetState calls

Refactoring the tests showed me that some parts of the state weren’t being reset.

* Refactor handleAuthProviderChange logic

I some how got the test coverage at 100% with my wrong way of doing tests before (scary). When I fixed it I noticed that noting I could do would trigger the fallback of just returning the `[ANY_AUTH_PROVIDER]` array. After talking with Constance, we could not come up with a way to trigger it either, given the conditions.

She had suggested removing the first return statement but that caused an empty array being returned sometimes.

Ultimately, I was able to get it working and covered with these changes.

* Refactor tests per PR feedback

The places where `role: 'superuser’` was deleted in the listeners was a side effect of using `setRoleMappingData` and not `mount`

* Add back deleted assertion

* Copy nit

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-03-16 17:06:21 -04:00
.ci [ci] separate checks done in bootstrap as individual tasks (#93329) 2021-03-03 08:45:55 -07:00
.github [CI] Update Backport action inputs to match updated ones (#94721) 2021-03-16 16:29:36 -04:00
api_docs [Reporting-CSV Export] Re-write CSV Export using SearchSource (#88303) 2021-03-16 11:54:47 -07:00
config
dev_docs Add our developer principles to our dev guide. (#93688) 2021-03-09 08:44:22 -05:00
docs docs: [APM] Correlations (#94620) 2021-03-16 10:13:08 -07:00
examples [Search Sessions] Search session example app functional test (#92133) 2021-03-15 14:47:14 +01:00
licenses Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
packages chore(NA): ensure scripts run with --preserve-symlinks (#94046) 2021-03-15 16:17:54 -04:00
plugins
rfcs [RFC] Bazel (#92758) 2021-03-15 20:50:23 -07:00
scripts chore(NA): ensure scripts run with --preserve-symlinks (#94046) 2021-03-15 16:17:54 -04:00
src [Reporting-CSV Export] Re-write CSV Export using SearchSource (#88303) 2021-03-16 11:54:47 -07:00
tasks/config [KQL] Use cache and other performance improvements (#93319) 2021-03-08 10:21:15 -07:00
test [XY axis] Integrates legend color picker with the eui palette (#90589) 2021-03-16 19:36:48 +02:00
typings Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00
utilities Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
vars [ci] disable api-docs step (#93975) 2021-03-08 14:28:09 -05:00
x-pack [App Search] Role mappings migration part 2 (#94461) 2021-03-16 17:06:21 -04:00
.backportrc.json [backportrc] Adds 7.12 branch and bumps 7.x (#91883) 2021-02-18 12:23:30 -05:00
.bazelignore chore(NA): introduce new yarn kbn reset command to support bazel workflow (#89597) 2021-02-03 22:02:34 +00:00
.bazeliskversion chore(NA): bump bazelisk to v1.7.5 (#92905) 2021-02-26 00:48:47 +00:00
.bazelrc chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
.bazelrc.common chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
.bazelversion chore(NA): bazel machinery installation on kbn bootstrap (#89469) 2021-01-28 00:51:01 +00:00
.browserslistrc [browserslist] remove unnecessary browsers (#89186) 2021-01-25 16:30:18 -07:00
.editorconfig
.eslintignore [CI] Build and publish storybooks (#87701) 2021-02-18 14:13:23 -05:00
.eslintrc.js Use consistent-type-imports lint rule to autofix type-only imports (#94464) 2021-03-15 13:58:50 +01:00
.fossa.yml
.gitattributes
.gitignore API DOCS Step 3/3 (#92929) 2021-03-02 22:02:17 -05:00
.i18nrc.json Index pattern field editor (#88995) 2021-02-18 12:00:43 -06:00
.node-version Bump Node.js from version 14.15.4 to 14.16.0 (#92421) 2021-02-23 19:45:15 +01:00
.npmrc chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (#88346) 2021-01-14 18:00:23 +00:00
.nvmrc Bump Node.js from version 14.15.4 to 14.16.0 (#92421) 2021-02-23 19:45:15 +01:00
.prettierignore [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.prettierrc
.stylelintignore [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.stylelintrc Amsterdam helpers (#93701) 2021-03-10 10:27:16 -06:00
.telemetryrc.json [Telemetry] Full schema definition (#90273) 2021-03-01 18:30:51 +00:00
.yarnrc chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
api-documenter.json
BUILD.bazel chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md (#87439) 2021-02-23 09:01:51 +01:00
CONTRIBUTING.md Improvements to our developer guide (#67764) 2020-07-13 10:47:01 -04:00
FAQ.md
github_checks_reporter.json
Gruntfile.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
Jenkinsfile [CI] Increase pipeline timeouts (#91587) 2021-02-16 15:23:06 -08:00
jest.config.integration.js [CI] Combines Jest unit tests (#89948) 2021-02-09 10:08:46 -08:00
jest.config.js [CI] Combines Jest unit tests (#89948) 2021-02-09 10:08:46 -08:00
kibana.d.ts Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
LICENSE.txt Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
NOTICE.txt 🍾 update notice text for 2021 2021-01-01 01:26:53 -07:00
package.json fix brushing on small multiples (#94505) 2021-03-15 12:25:47 -05:00
preinstall_check.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
README.md
renovate.json5 fix brushing on small multiples (#94505) 2021-03-15 12:25:47 -05:00
SECURITY.md Add security policy to the Kibana repository (#85407) 2020-12-10 09:26:00 -05:00
STYLEGUIDE.md
tsconfig.base.json chore(NA): ensure scripts run with --preserve-symlinks (#94046) 2021-03-15 16:17:54 -04:00
tsconfig.browser.json
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00
tsconfig.refs.json Removes X-Pack Code plugin (#94240) 2021-03-10 02:32:29 -05:00
tsconfig.types.json
TYPESCRIPT.md
WORKSPACE.bazel chore(NA): upgrade bazel rules nodejs to v3.2.2 (#94726) 2021-03-16 14:32:43 -04:00
yarn.lock fix brushing on small multiples (#94505) 2021-03-15 12:25:47 -05: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.