* [SecuritySolution] Close field editor when page context is lost (#124378)
* close field editor when context is lost
* tests added
* typecheck clean
* close editor when timeline is unmounted
(cherry picked from commit 21710dfb77)
# Conflicts:
# x-pack/plugins/security_solution/public/timelines/components/create_field_button/index.tsx
* fix test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* adding EUI page layout components
* adding context menu button to toolbar and cleaning up tabs
* [Monitoring] Integrate setup mode toggle button with React tree
* Update unit tests
* Only show setup mode button on supported pages
* Move setup mode supported responsibility to renderer
* Fix failing unit test
Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aad83ed0b6)
# Conflicts:
# x-pack/plugins/monitoring/public/application/pages/page_template.tsx
Co-authored-by: Kate Farrar <kate.farrar@gmail.com>
* Fix validations not handling extra things like params or lang
* Add translations
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f8d932f70a)
* add ability for network map to be toggable, prevent map from displaying without permissions
* PR & test additions
* Found rogue semicolon
Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 57d507c121)
* Fix preconfiguration error when renaming a preconfigured policy
* Add test + only compare on ID if it's defined on the preconfigured policy
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 94fbacc6bd)
# Conflicts:
# x-pack/plugins/fleet/server/services/preconfiguration.test.ts
* extract message from error objects
* only warn for 400 and up status codes
* naively wait for vis ready after resizing the browser viewport
* use a single default viewport size, enable layout to set default page viewport for every page that is created
* refactor viewport -> windowSize in chromium args
* allow overriding defaults and use new windowSize arg for chromium args
* always round page dimension numbers. note: this will break if we ever have a "undefined" set as a key value
* added comment
* update snapshot to new width value
* make defaultViewport a required field on createPage
* added comment
* style: use async-await rather than .then chaining. also added a comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b2b60ff061)
* [maps] fix Can not style by date time with vector tiles
* eslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit cd7618eeca)
# Conflicts:
# x-pack/plugins/maps/server/mvt/get_tile.ts
This PR fixes the functional test runner for execution against cloud (and other existing deployments) by making sure the system_indices_superuser exists.
(cherry picked from commit 8989ead2d6)
# Conflicts:
# x-pack/test/rule_registry/common/services/cluster_client.ts
* [Fleet] Use a docker registry for fleet integration test (#124405)
(cherry picked from commit 4f6be55f0e)
# Conflicts:
# x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts
* Fix merge typo
* Fix table search for clusters with proxy mode
* commit using @elastic.co
* Fix tests and add docs
* Add tests for different kinds of search
(cherry picked from commit 5e3d0b299c)
Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
* [Maps] fix Unable to apply styles to vector tiles
* eslint and tslint
* fix jest test
(cherry picked from commit 221a9915b3)
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
* fixed undefined error when missing policy vars in template
* added validation error if input has no vars
* fixed checks
* added unit test
* fixed checks
* fixed checks
* fixed checks
* moved validation error to validatePackagePolicyConfig
(cherry picked from commit 67430f91ce)
Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
* Ensure logstash getNodes always contains a uuid (#124201)
This is less of an issue on main since we've stopped querying `metricbeat-*` but might become important when we start doing agent testing (`metrics-*`).
On 8.0 it's easy to have error documents land in `metricbeat-*` for standalone logstash and break the UI.
(cherry picked from commit fb1ca61db5)
# Conflicts:
# x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts
* No global stubs required in 8.0 branch
This PR fixes a bug in Workplace Search where, after you delete a group, the next group you click into will automatically show the delete modal for that group.
(cherry picked from commit 75f1e39ac2)
* [maps] fix Unable to load layers from WMS spec for a specific URL
* eslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d7bce1c95e)
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
* fixed no packages found message
* fixed no packages found message
(cherry picked from commit 06389d7b90)
Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>