* [ML] Fix deletion of models that are not used by pipelines
* [ML] Edits from review
* [ML] Fix jest test for index switch in delete job modal
* [ML] Fix API test calls to createTestTrainedModels
* [ML] Remove unnecessary async from jest test
* Respect external URL allow list in vega
* Add getExternalUrlsAreNotEnabledError
* Revert moving some code in vega_base_view
* Add externalUrl to vega_base_view.d.ts
* Add throwing errors to prevent from following the link
* Fix condition
* Filter out empty values from alert flyout overview
* Add Host Risk metadata data to alerts flyout
* Add feature flag to host risk data query
* Swap investigation guide and enrichment data places in the UI
* Migrate alert_summary_view.test to react testing library
* Refactor threat summary by extracting components and renaming
* integration policies fixes
* don't update scheduled query group name while importing pack if there's already a name set
* handle reseting form state on submission error
* nixed the console logging
* fix linting issues
* useFormData instead of getFields
* linter plz
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adds new empty prom when there is no TA or non already assigned one
* Adds policy name to text message
* Fix error in tabs component
* Fix mulilangs in empty state components
* API call that checks if any TA exists with actions and reducers
* Adds current policy id and name to the empty state component instead of a fake ones
* Adds unit test for layout
* Switch empty state depending on results and added unit test
* Fix multilang keys and join code into a hook to avoid duplications
* Fix TS error
* Canges icon
* Fixes pr comments
* Fix ts error in test
* separate out multi and nested subTypes
* separate out multi and nested subTypes
* add undefined checks
* remove expect error statements
* use helper functions in es-query
* simplify changes with helper functions
* checking existence instead of getting value x2
* simplify types and revert discover changes
* update discover sidebar with helper methods
* try helpers with group_fields file
* try different helper with group_fields file
* revert group field changes, try nested field helpers
* revert nested field changes, try field_name.tsx helpers
* fix maps jest test
* use helpers in discover instead of setting types
* fix field_name.tsx
* Update index_pattern_util.test.ts
* lint fix
* fix common exports
* reduce data_views plugin bundle size
* reduce data_views plugin bundle size
* remove discover reliance on es-query package
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add schema for blocked_windows and blockedWindows type
* Update constants and types
Also changes the size of a spacer
* Update FrequencyItem to new design
* Update BlockedWindowItem to new design
* Update logic file for new designs
It was decided that we would omit the seconds from any API-submitted duration values.
* Add i18n for UTC tooltip
* Better function name
Also moved const closer to function declarations for easier readability
* Add reducers
CI was complaining about types since the method wasn’t used. Was going to add these in a future PR but will add them here so we can merge
* Reverting to legacy ES client behavior where maxSockets = Infinity
* Removing unnused type
* Specifying keepAlive: true by default
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [config] Remove leading spaces from logging configuration
This is a consistency check with other areas of the stack and other
configurations in kibana.yml.
Part of https://github.com/elastic/kibana/issues/8268
* Update kibana.yml