No description
Find a file
Frank Hassanabad bdf1069e56
[Security Solutions][Detection Engine] Removes dead duplicated code and marks other duplicated code (#105374)
## Summary

* Removes dead duplicated code from `security_solution` and  `lists`
* Adds notes and TODO's where we still have duplicated logic
* Adds notes where I saw that the original deviated from the copy from modifications in one file but not the other.
* DOES NOT fix the bugs existing in one copy but not the other. That should be done when the copied chunks are collapsed into a package. Instead see this issue where I marked those areas: https://github.com/elastic/kibana/issues/105378

See these two files where things have deviated from our duplications as an example:
[security_solution/public/common/components/autocomplete/field.tsx](https://github.com/elastic/kibana/blob/master/x-pack/plugins/security_solution/public/common/components/autocomplete/field.tsx
)
[lists/public/exceptions/components/autocomplete/field.tsx](https://github.com/elastic/kibana/blob/master/x-pack/plugins/lists/public/exceptions/components/autocomplete/field.tsx)

Ref PR where fixes are applied to one of the files but not the other (could be other PR's in addition to this one):
https://github.com/elastic/kibana/pull/87004

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-07-13 16:23:58 -06:00
.buildkite
.ci Upgrade from Node.js v14.17.2 to v14.17.3 (#104417) 2021-07-08 07:26:37 -04:00
.github [Console] Autocomplete definitions (manual backport) (#105086) 2021-07-13 10:31:50 +02:00
api_docs [Maps] Auto generate legends and styles from mvt data (#94811) 2021-07-08 12:45:14 +02:00
config Support authenticating to Elasticsearch via service account tokens (#102121) 2021-07-12 14:18:35 -04:00
dev_docs [dev-docs] Add debugging tutorial (#104468) 2021-07-12 03:02:20 -04:00
docs Revert "Rollup index pattern list fixes (#105328)" (#105456) 2021-07-13 12:57:14 -05:00
examples [canvas] Reduce bundle by registering Canvas Plugin API on mount (#104264) 2021-07-08 12:35:00 -05:00
licenses
packages [Security Solutions][Detection Engine] Removes dead duplicated code and marks other duplicated code (#105374) 2021-07-13 16:23:58 -06:00
plugins
rfcs [SO Migration] fix reindex race on multi-instance mode (#104516) 2021-07-07 22:10:37 +02:00
scripts
src Revert "Rollup index pattern list fixes (#105328)" (#105456) 2021-07-13 12:57:14 -05:00
tasks/config
test [TSVB] Top_hit supports runtime fields (#103401) 2021-07-12 17:25:52 +03:00
typings Enable CSS-in-JS styling with emotion (#98157) 2021-07-09 13:42:50 -05:00
utilities
vars
x-pack [Security Solutions][Detection Engine] Removes dead duplicated code and marks other duplicated code (#105374) 2021-07-13 16:23:58 -06:00
.backportrc.json chore(NA): adds 7.14 branch and bumps 7.x on backportrc (#103914) 2021-06-30 18:40:26 +01:00
.bazelignore
.bazeliskversion
.bazelrc
.bazelrc.common chore(NA): enable exports_directories_only on rules nodejs to improve performance (#104180) 2021-07-02 00:14:40 +01:00
.bazelversion
.browserslistrc
.editorconfig
.eslintignore
.eslintrc.js [Canvas] Expression reveal image. (#101987) 2021-07-01 13:30:00 +03:00
.fossa.yml
.gitattributes
.gitignore
.i18nrc.json [Canvas] Expression reveal image. (#101987) 2021-07-01 13:30:00 +03:00
.node-version Upgrade from Node.js v14.17.2 to v14.17.3 (#104417) 2021-07-08 07:26:37 -04:00
.npmrc
.nvmrc Upgrade from Node.js v14.17.2 to v14.17.3 (#104417) 2021-07-08 07:26:37 -04: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
jest.config.integration.js [packages] Migrate @kbn/test to Bazel (#103122) 2021-06-29 21:16:00 -04:00
jest.config.js
kibana.d.ts
LICENSE.txt
NOTICE.txt
package.json Update dependency @elastic/charts to v32 (#104625) 2021-07-13 09:33:28 +02:00
preinstall_check.js
README.md
renovate.json5
RISK_MATRIX.mdx
SECURITY.md
STYLEGUIDE.mdx
tsconfig.base.json Enable CSS-in-JS styling with emotion (#98157) 2021-07-09 13:42:50 -05:00
tsconfig.browser.json
tsconfig.json [Console] Autocomplete definitions (manual backport) (#105086) 2021-07-13 10:31:50 +02:00
tsconfig.refs.json [Console] Autocomplete definitions (manual backport) (#105086) 2021-07-13 10:31:50 +02:00
tsconfig.types.json
TYPESCRIPT.md
WORKSPACE.bazel Upgrade from Node.js v14.17.2 to v14.17.3 (#104417) 2021-07-08 07:26:37 -04:00
yarn.lock Update dependency @elastic/charts to v32 (#104625) 2021-07-13 09:33:28 +02: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.