* [Maps] add migration to switch tile layers with EMS_TMS source to vector tile layers
* update migration on sample data saved objects since they have already been migrated
* update jest test expect
Introduces "saved queries". Saved queries are a new saved object type similar to saved searches but more limited in scope. They allow users to store the the query string in the query bar and optionally the set of filters and timefilter in order to reload them anywhere a query is expected: Discover, Visualize, Dashboard, anywhere that uses our full SearchBar component.
* Add spaces only tests
* Rename some tests to make more sense in spaces only context
* Modify test suite titles
* Apply changes from master
* Loop only one scenario for now
* Reduce amount of tests spaces_only runs
* Fix failing test
* Remove looping in spaces only tests
* [APM] migrate to io-ts
* Migrate remaining routes to io-ts
* Infer response type for useFetcher()
* Review feedback
* Use createRangeType util
* Extract & test runtime types
* Simplify runtime types
* Tests for createApi and callApmApi
* Use more readable variable names in runtime types
* Remove UIFilters query param for API endpoints where it is not supported
* Fix issues w/ default parameters in create_api
* Change border color to be darker version of fill color. Pass default colors to color picker swatches
* Fix bug preventing last color from ever being used
* Update line/stroke colors in functional tests
* Fill out default colors with eui vis palette colors. Add black & white to border colors
* Move default colors to color utils and use eui color palette per feedback
* Remove old defaults and update imports
* Update join test to omit color from test since it will change
* Initial work
* Cleanup add createAPIKey fn pt1
* Change getServices function to take request as parameter
* Use API key when executing alerts
* Revert task manager using encrypted saved objects
* Store fired actions within a saved object to encrypt API keys
* Fix fireActionId
* Cleanup code, fix type check error
* Add a type for getScopedSavedObjectsClient
* Fix getBasePath and spaceIdToNamespace functions
* Add safety check for API key and action
* Fix integration tests
* Fix broken jest tests
* Cleanup
* Rename generatedApiKey to apiKeyValue
* Ensure access to action record
* Cleanup
* Add unit tests
* Fix variable conflict
* Revert task manager specific code (no longer needed)
* Remove fire terminology
* Move tests to spaces and security folder
* Use ES Archiver to remove spaces (empty_kibana)
* Fix missing pieces
* Convert action tests to run per user
* Convert alerting tests to run per user
* Fix type check issue
* Fix failing test
* Add callCluster and savedObjectsClient authorization tests
* Make savedObjectsClient return 403 for authorization tests
* Cleanup
* Fix test failure
* Common function to get data from test index
* Create ObjectRemover
* Cleanup
* useApiKey now provided to functions instead of relying on condition of two strings
* Fix typo
* Make tests it(...) start with should
* Rename useApiKey to isSecurityEnabled
* Merge apiKeyId and apiKeyValue into one
* Update docs
* Use feature controls for list alert / action types API
* Remove need to add ! in TypeScript for required plugins
* Fix ESLint issue
* Include actions and alertTypeParams into AAD and genereate new API key on update
* Generate random id for API key name attribute
* Include interval in AAD
* Send pre-encoded string
* Fix ExecutorError
* Fix apiKey snapshot
* Fix 'default' typo
* De-compose apiKey
* Refresh API key when enabling / disabling an alert
* Add updatedBy
* Make unauthorized APIs return 404
* [APM] Make aggregations optional in ES response type definition
Closes#43436.
Our type definition for ElasticSearch aggregations suggests that the aggregations key will always be defined if we request aggregations. However, that is not the case, as there is an edge case where if no matching indices were found, the aggregations key will be undefined.
* Review feedback
* Support undefined values in number formatters
* Expect 200s for all API requests even without matching indices
* Bail early for asDynamicBytes as well
* [Maps] custom color ramp
* round value down to find center color
* do not update redux state with invalide color stops
* rename EuiColorStop to ColorStop
* remove untracked file
* fix jest tests
* review feedback
* use steps instead of interpolate
* add percy functional test to verify rendering of interpolate and step color expressions
* add padding to color stop row so add/remove icons do not overlap color select
* [watcher] add missing await
* run x-pack-firefoxSmoke ciGroup 40 times, run watcher tests 20 times per job
* Fix failing watcher test
* Revert "run x-pack-firefoxSmoke ciGroup 40 times, run watcher tests 20 times per job"
This reverts commit c5d891d44d.
* Clean up watches via api
* fix linting errors
* don't swallow errors, wait for completion
* strip trailing numbers in suite tags
* run x-pack-firefoxSmoke group 40 times
* Revert "run x-pack-firefoxSmoke group 40 times"
This reverts commit cc4eb6ce54.
* run x-pack-firefoxSmoke group 40 times
# Conflicts:
# .ci/jobs.yml
* run tests 80 times
* Revert "run tests 80 times"
This reverts commit 4320c9488a.
* Revert "run x-pack-firefoxSmoke group 40 times"
This reverts commit cf0d4056d7.
* Support for logstash
* Beats support
* Fix cherry-pick api issue
* Support for logstash
* Updates for beats and logstash
* APM migration working
* Tweaks for beats migration
* Update copy for setup new button
* If on cloud, disable setup mode
* Handle new beat flow better
* Better phrasing for APM
* Add beat type to disable step
* Fix i18n issue
* Fix jest tests
* Fix api tests
* PR feedback
* Update copy
* Remove unnecessary code
* Support shortcut to finish ES migration if we are on the connected cluster
* Undo changes that are now in a separate PR
* Share code better by exposing a single route with an optional parameter
* Disable more links
* Fix overview link for logstash
* PR feedback
* Fix tests
* PR feedback
* Fix tests
* We still need this route
* Updates
* Only show if there are instances too
* Change how we set the newly discovered cluster uuid
* Move this to support beats/apm weirdness
* Fix tests
* Remove out of date translations
* PR feedback
* Detect products a different way, to detect empty indices
* Look against the production cluster instead of the monitoring one
* When disabling ES internal collection, only disable ES - do not disable all internal collection
* Adding "style-src 'unsafe-inline' 'self'" to default CSP rules
* Updating jest snapshot
* Fixing api integration smoke test
* Verifying all CSP responses
* Fixing OIDC implicit flow test
* fixing issue with dashboard csv download
* fixing test fixture to match new sort storage format for saved searches
* fixing sort in additional fixtures
* Commit to allow opening the PR
* Add start of the highlights menu
* Add terms input
* Add a container for highlights state
* Start to hook up highlights state effects, and Bridge with Redux
* Move highlighted logs to a separate graphql field
* Add highlights argument to unit tests
* Add initial draft of a log highlights hook
* Finish hooking up hook state ready for GraphQL query
* Take startKey and endKey from overall collection of log entries
* Add sourceVersion
* Fetch the data
* Use columns ids instead of column indices
* merge highlights into stream WIP
* Add highlighting for the message column type
* Use the serialized filter query
* UX / Performance improvements
* Show a highlight is active
* Focus input when menu is opened
* Icon for highlights menu
* Debounce onChange handler
* Loading state for highlights menu
* Neaten up Provider
* Tweaks
* Breathing room for icon
* Better debounce time for typing
* Menu changes
* Ensure width of popover stays consistent
* Add a button to clear highlights
* Add highlighting for field columns
* Use phrase query for highlighting
While a `phrase_prefix` query feels more natural, it doesn't work on
`keyword` type fields. Using just a `phrase` query keeps the
highlighting consistent between text and keyword type fields.
* Factor out commonly used visibility state
* Fix debounce to support changing onChange prop
* Move clear highlight button inline
* Translate labels
* Rely on popover ownfocus prop to focus the input
* Rename function to avoid i18n checker false positive
* Rough and ready WIP next / previous
* Add `countBefore` and `countAfter` highlight args
* Fix value used
* Add a check for entry
* Rearrange icons
* 0 falsey blurgh
* Organise into separate sub-hooks for clarity
* Add comment
* Use filter and highlight queries also beyond interval
* Refine behaviour of next / previous
* Stops wrapping
* Ensures that when scrolling next / previous takes off where it was left
* Ensures the first highlight is scrolled to when changing highlight term
* Add log highlights api tests
* Fix a few runtime and compiler errors and linter warnings
* Refactor prev/next jumping to avoid index errors
* Use nearest index for initial jump
* Include element type in translation id
* Disable clear button when nothing to clear
* Initial summary highlights state
* Amend component usage
* Comment out load call until query exists
* Add graphql api for summary highlights
* Add the client-side log summary highlight query
* Directly use log view configuration without a bridge
* Rename log entry highlight hook to maintain symmetry
* Re-enable highlight rendering in the minimap
* Keep the time cursor from intercepting clicks
* tweak minimap highlighting colors and interaction
* Clean up after merge
* Remove commented-out code
* Change cursor to hint at minimap highlighting interaction
* Restrict highlight query filter to relevant fields
* Add explanatory error message
* [Maps] add filter bar to maps application
* map and merge filters
* add functional test for loading maps with filters
* use filterManager instead of internals
* remove data.filter.filterManager reassignment