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
Introduces a page to view results of outlier detection jobs. Users can navigate from the analytics jobs list to the results page by clicking on the View button.
* [Code] change
* [Code] initial commit indexer
* initial call of git commit api
* sync to update-to-date
* Add checkpointing to commit indexer
* fix lint errors
* add git api to pull all commits
* calculate progresses
* unit tests for commit indexer
* add some comments
* minor change
* Custom types file for each export_type
* move get_job_params_from_request
* Update types imports and name refs
* small code change
* cherry-picked change
* 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