* 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>
* [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>
* remove kbn-legacy-logging package
* remove legacy service
* remove legacy appender
* remove LegacyObjectToConfigAdapter
* gix types
* remove @hapi/good / @hapi/good-squeeze / @hapi/podium
* remove `default` appender validation for `root` logger
* remove old config key from kibana-docker
* fix FTR config
* fix dev server
* remove reference from readme
* fix unit test
* clean CLI args and remove quiet option
* fix type
* fix status test config
* remove from test config
* fix snapshot
* use another regexp
* update generated doc
* fix createRootWithSettings
* fix some integration tests
* another IT fix
* yet another IT fix
* (will be reverted) add assertion for CI failure
* Revert "(will be reverted) add assertion for CI failure"
This reverts commit 78d5560f9e.
* switch back to json layout for test
* remove legacy logging config deprecations
* address some review comments
* update documentation
* update kibana.yml config examples
* add config example for `metrics.ops`
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
* [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>
* refactors timeline test
* tries to remove flakiness on indicator match test
* fixes issues
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 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>
* remove transport API in favour of typed public API
* put elasticsearch_client back
* fix create index call
* fix setpolicy
* fix unit tests in SecuritySolution
* [TSVB] Rename Index pattern to Data view
* Update some labels
* Make asterisk bold to indicate it's text input
* Remove redundant translation
* Remove "now" from TSVB callout notification title
* Update variable name to match the text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 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>