While Elasticsearch ingest pipelines require a node with the `ingest`
role, we don't need to include `ingest node` in the feature name.
There are no official plans, but the Elasticsearch team has discussed removing
the `ingest` role in the future. This also better aligns the Kibana UI with the
Elasticsearch docs.
The PR also makes some related changes to the Kibana docs.
Relates to https://github.com/elastic/elasticsearch/pull/70253.
* Modified home page test to check for 4 tabs.
* Fixed lint issue.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
* Add initial implementation for keep policies up to date functionality
* Upgrade package policies during preconfiguration check
* Only show keep policies up to date switch for default/auto-update packages
* Fix type error
* Fixup setup policy upgrade logic
* Add migration for keep policies up to date flag
* Move setup package policy logic to new module + add tests
* Update snapshots to include keepPoliciesUpToDate field
* Fix type errors
* Fix some CI failures
* Fix more type errors
* Fix type error in isolation test
* Fix package fixtures types
* Fix another type error
* Move policy upgrade error swallowing up a level in setup
* Address PR feedback
- Move keep policies up to date switch to separate component
- Use PACKAGE_POLICY_SAVED_OBJECT_TYPE instead of magic string
* Fix overwriting user values when upgrading
Fixes#113731
* Add test package
* Fix tests for overridePackageVars
* Address PR feedback
- Don't index keep_policies_up_to_date field
- Use SO_SEARCH_LIMIT constant instead of magic number
* Make toast translation usage more consistent
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
* Displaying a toaster error message when a timeline fails to load
* Adding tests
# Conflicts:
# x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
* non-working POC for privilege deprecations
* wip to be bale to deprecated sub feature case in security solutions
* finalyze deprecations of cases sub feature in security solutions
* only adding the deprecation servces in security
* add test + translation
* Update x-pack/plugins/security/server/deprecations/privilege_deprecations.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* joe reviews
* renaming + double check
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
This was not being used (`alerts_all` and `alerts_read`) and will not be used in the future and can be safely removed.
Fixes#112274.
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
* [ML] Lazy ML node integrations improvements
* adding checks to metric and uptime
* updating callout
* adding callout to security
* cleaning up logs changes
* further clean up
* cleaning up callout code
* reverting churn
* linting
* improvements to bundle size
* adding link to cloud
* text changes
* fixing test
* translation id
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
* Add constants
Placeholders in place whle content is being written
* Update mock to match API and add types
The weird typing around `DaysOfWeek` was taken from this SO answer to get an array from a union type:
https://stackoverflow.com/a/45486495/1949235
* Add routes and stubbed docs urls
* Add components for list items
These components are the repeatable components in each of the frequency tabs.
- FrequencyItem
- BlockedWindowItem
Form changes methods are stubbed for now.
* Add tab components for Frequency page
* Add Frequency page component
* Add synchronization logic
This is just the basics. More will be added in a future PR
* Add Synchronization op-level page
* Add Synchronization router and subnav
* Add `Objects and assets` page stub
This is merely a placeholder page so the routes could be built out. Section will be moved from settings in a future PR
* Add name and new nav item to source sub nav
* Add SynchronizationRouter nav to Source router
* Fix a couple of typos
* Add callout and disable subnav for disabled sync
This was added to the API after the rest of the work was done, so adding it here.
https://github.com/elastic/workplace-search-team/issues/2043
* Update frequency item to account for edge case
There was a very long discussion about the edge case that is covered here.
https://github.com/elastic/ent-search/pull/4715
Basically here is what we landed on:
In most cases, the user will use the form to set the sync frequency, in which case the duration will be in the format of "PT3D" (ISO 8601). However, if an operator has set the sync frequency via the API, the duration could be a complex format, such as "P1DT2H3M4S". It was decided that in this case, we should omit seconds and go with the least common denominator from minutes.
Example: "P1DT2H3M4S" -> "1563 Minutes"
* Fix failing tests and add key
* Update constants with note for translators
* Fix typo
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
* [Discover] fix saved search become active
* [Discover] add another fix to be consistent with data fetching code
* [Discover] simplify solution
* [Discover] add functionals
* [Discover] fix saved query bug, add functionals
* [Discover] fix functionals
* [Discover] fix functional test
* [Discover] split saved query tests
* [Discover] preselect logstash index pattern
* [Discover] remove saved query after test complete
* [Discover] change query fill order
* [Discover] try to fix unrelated functional test
* [Discover] one more fix
* [Discover] try to fix one more problem
* [Discover] fix commonly used time range test
* [Discover] revert uisettings init in before statement, do small adjustments
* [Discover] fix unit test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
- Removes unused code in server/lib/correlations.
- The only remaining file get_filters.ts was moved to lib/search_strategies/queries. (Note at the moment Kibana search strategies are only used for correlations, but at some point we might want to restructure that possibly to lib/search_strategies/correlations/queries to make it more clear).
Co-authored-by: Walter Rafelsberger <walter@elastic.co>
* refactors timeline test
* tries to remove flakiness on indicator match test
* fixes issues
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
* Use skipFetchFields when creating the indexPatter in order to avoid errors when index doesnt exist
* Address CR feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [data views] Move data views api from data plugin and into its own (#113497)
* initial pass at moving data views into own plugin
* require expressions plugin, fix META_FIELDS reference
* bundle limits and localization
* fix integration test
* update plugin list and jest config
* type fixes
* search fixes
* fix localization
* fix mocks
* fix mocks
* fix stub
* type fixes
* fix import on test file
* path fixes
* remove shorted dotted from data plugin
* more todo removal
* eslint fixes
* eslint fix
* simplify data views server plugin
* simplify data views server plugin
* simplify data views server plugin
* fix imports on api routes
* fix imports on api routes
* update plugin list
* ts fixes
* ts fixes
* add deprecation notice
* fix circular dependency and api integration test
* fix circular dependency and api integration test
* rename types for better clarity
* path fixes
* jest.config and tsconfig cleanup
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* localization fix
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update ESLint config to disallow usage of the any type
* Remove the any type usages from the expressions plugin
* Update plugins using expressions according to the updated public API
* remove transport API in favour of typed public API
* put elasticsearch_client back
* fix create index call
* fix setpolicy
* fix unit tests in SecuritySolution
Co-authored-by: Mikhail Shustov <restrry@gmail.com>