* WIP: Adding in new reporting diag tool
* WIP: chrome-binary test + log capturing/error handling
* More wip on diagnostic tool
* More work adding in diagnose routes
* Alter link in description + minor rename of chrome => browser
* Wiring UI to API + some polish on UI flow
* WIP: Add in screenshot diag route
* Adding in screenshot diag route, hooking up client to it
* Add missing lib check + memory check
* Working screenshot test + config check for RAM
* Small test helper consolidation + screenshot diag test
* Delete old i18n translations
* PR feedback, browser tests, rename, re-organize import statements and lite fixes
* Lite rename for consistency
* Remove old validate check i18n
* Add config check
* i18n all the things!
* Docs on diagnostics tool
* Fixes, better readability, spelling and more for diagnostic tool
* Translate a few error messages
* Rename of test => start_logs for clarity. Move to observables
* Gathering logs even during process exit or crash
* Adds a test case for the browser exiting during the diag check
* Tap into browser logs for checking output
* Rename asciidoc diag id
* Remove duplicate shared object message
* Add better comment as to why we merge events + wait for a period of time
* Cloning logger for mirroring browser stderr to kibana output
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [public] Register Enterprise search plugin
+ move new Home strings to constants
* [server] Register plugin access/visibility
* Set up Enterprise Search Kibana Chrome
- Add SetEnterpriseSearchChrome
- Update Enterprise Search breadcrumbs to link to new overview plugin (+ update overview plugin URL per team discussion)
- Add ability to break out of React Router basename by not using history.createhref
- Update createHref mock to more closely match Kibana urls (adding /app prefix)
- Minor documentation fix
* Set up Enterprise Search plugin telemetry
- client-side: SendEnterpriseSearchTelemetry
- server-side: register saved objects, usage collector, etc.
* Enterprise search overview views (#23)
* Add formatTestSubj util
This allows us to correctly format strings into our casing for data-test-subj attrs
* Add images and stylesheet
* Add product card component
* Add index component
* Remove unused styles
* Fix inter-plugin links
- by add shouldNotCreateHref prop to RR helpers
- similiar to breadcrumb change
* Fix/clean up CSS
- Prefer EUI components over bespoke CSS (e.g. EuiCard)
- Remove unused or unspecific CSS
- Pull out product card CSS to its component
- Fix kebab-cased CSS classes to camelCased
* Clean up ProductCard props
- Prefer passing in our plugin consts instead of separate props
- Move productCardDescription to constants
- Update tests
* Add telemetry clicked actions to product buttons
+ revert data-test-subj strings to previous implementation
+ prune format_test_subj helper by using lodash util directly
* [PR feedback] Add new plugin to applicationUsageSchema per telemetry team request
* Fix failing functional navLinks test
* Fix telemetry schema test
* [Perf] Optimize assets size by switching from 300kb SVG to 25kb PNG
* Only show product cards if the user has access to that product
- adds access checks
- fixes flex/CSS to show one card at a time
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
* Refactors signal ancestry to allow multiple parents
* Fix depth calculation for 7.10+ signals on pre-7.10 signals
* Comment build_signal functions
* Rename buildAncestorsSignal to buildAncestors
* Update detection engine depth test scripts and docs
* Update halting test readme
* Match up rule ids in readme
* Continue populating signal.parent along with signal.parents
* pr comments
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Update our internal config/app data to v2 specs
- Update endpoint to v2
- Update data accordingly to new API structures
- Update types accordingly
* Fix failing type check for other endpoints that use IAccount
* Update role type casing
- ent search was fixed from camel to snake
- Remove server/lib/snapshot
- Replace backend for /api/infra/snapshot with data from Metrics API
- Fixing tests with updates to the snapshot node
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This is the UI side companion for elastic/elasticsearch#62158
Previously the "mappings" field of the response from the
find_file_structure endpoint was not a drop-in for the
mappings format of the create index endpoint - the
"properties" layer was missing. The reason for omitting
it initially was that the assumption was that the
find_file_structure endpoint would only ever return very
simple mappings without any nested objects. However,
this will not be true in the future, as we will improve
mappings detection for complex JSON objects. As a first
step it makes sense to move the returned mappings closer
to the standard format.
* implement fix and add callout with copy
* added test
* make callout a danger callout and revise copy
* block the form if we have a repo, but it does not exist
* added test to assert that form wizard blocks on validation for not found repo
* fix types and add a doc comment
* move callout to above the form
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* First version of the trusted apps list.
* Added proper visualisation of OS and Date Created columns.
* Small change in naming in middleware.
* Renamed function to avoid naming confusion.
* Migrated to usage of selectors and memo in list component.
* Added explicit return types.
* Changed to use server schema for service parameter.
* Removed some over generalisation in types.
* Renamed types and properties related to trusted apps page state.
* Renamed types and properties related to trusted apps page state.
* Renamed the action type to be namespaced to trusted apps.
* Merged the exports and declarations in reducer and used constants for defaults.
* Memoization of pagination data structure.
* Used a shared constant for REST API path.
* Improvements and consistency on pagination across tabs.
* Added a bit more typing and used Partial<>
* Made constants readonly and added some useMemo usages.
* Fixed extracting page index from URI.
* Fixed the case of infinite refreshes when there is loading failure (need to rethink a bit conditions when to refresh).
* Resetting state to initial when we navigate away from trusted apps list.
* Fixed mapping page index to the table pagination.
* Changed to using AppAction in reducer.
* Made ServerApiError a default error type for data binding.
* Renamed all types related to data binding to resource state.
* Created index file for state types.
* Fixed parameter extracting code to meet expectations of endpoints list behavior.
* Updated snapshot.
* Changed middleware to only use selectors.
* Added tests for routing.
* Added documentation to the types in async resource state module.
* Added tests for async resource state module.
* Added tests for store selectors.
* Added tests for reducer.
* Moved around imports.
* Added tests for the middleware.
* Added list component tests.
* Removed a redundant function.
* Commiting snapshots.
* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor
* docs
* Rely on server timeout in OSS (?)
Use UI setting in xpack.
* Rename function
* doc
* Remove esShard from client
* cleanup request parameters from FE
* doc
* doc
* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes
* docs
Stop using toSnakeCase
Updates jest tests
* add management docs
* docs
* Remove import
* Break circular dep + fix msearch test
* Remove deleted type
* Fix jest
* Bring toSnakeCase back
* docs
* fix jest
* Fix merge
* Fix types
* Allow timeout to be undefined
* Fix jest test
* Upldate docs
* Fix msearch jest
* docs
* Fix rollup search merge
* docs
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Converted maps_router and store operations files
* Converted files in map routes to typescript
* Removed an unwanted ts-expect-error
* Fixed the lint errors from jenkins
* Naming changes, type for mapStateJSON etc.
* More type fixes in map routes
* More type fixes in map routes
* Added back some removed props
* Added types to app state manager
* Autogenerated api documentation
* Type fixes
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Fix: use exceptionLists client from route handler context
* Adjust test to use `listMock`
* Remove exceptionListClient service from `EndpointAppContextService`
* Added UT for Trusted Apps to validate that ExceptionListClient from context is used
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* add InstallType and getInstallType helper
* rollback to previous version if update fails or unisntall if not an update
* fix pipelines from failed update not removing if update fails after installing pipelines and rolling back to previous version
* change type from enum to union, improve getInstallType, add ts-config comment
* throw error if no install type, update logging errors