* Enable clearWithKeyboard option when filling out custom elements form
* Added canvas functional tests path to CODEOWNERS
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Fix IE specific flexbox min-height issue
* Use internetExplorerOnly mixin
* Fix other issues in IE
* Add a comment
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [APM] Lowercase agent names so icons work
.NET agent name can be reported as "dotNet" instead of "dotnet". Lowercase the key so either one will work.
* Extract getNormalizedAgentName
* [ML] Enhances api docs for modules endpoints
* [ML] Edits to modules schema following review
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* initial file import
* update types
* update RFC PR number
* first draft complete
* draft v1.1.0
* initial self review
* nits and comments
* add 'preference' option
* change meta type to Record<string, Serializable>
* specify cancellation
* remove generic for GlobalSearchResponse, use distinct type on client and server
* use plain string instead of enum for GlobalSearchResult.type
* remove terminology from unresolved questions
* update pros/cons of core vs plugin
* GS is exposed from a plugin instead of core
* remove the server.publicAddress proposal, return mixed abs url / rel paths instead
* distinguish result type between GS api and result providers
* return batched results, no longer sort
* remove request from GlobalSearchProviderContext
* add maxResults to GlobalSearchProviderFindOptions
* nit/typo
* create field for references and add comments
* add FTR test
* remove comments
* address comments
* use real reference in dataset and assert against it.
* watcher uses es api from start
* CCR uses ES API from start contract
* Rollup uses ES API from start contract
* Transform uses ES API from start contract
* Snapshot_restore uses ES API from start contract
* remove excessive logging. platform logs all the lifecycles
* file uploader uses ES API from start contract
* remove unnecessary async
* use async getter
* update rollup custom client usage
* address cj comment
* roll back changes. maps tests are failing
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Maps] Do not check count for blended layers when layer is not visible
* move visibility logic to map_actions where syncData is called
* clean up
* fix syntax error
* remove async action
* make syncDataForAllLayers a proper redux action
* simplify
* fix functional test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
## Summary
Our directory structure has changed recently and the GraphQL needs to be updated for it to find the new location of the graphql files. I used a more global glob approach which will make it easier to change directories again and not have it break.
This does cause the generated file to have different positions and looks like changes but they are just movements.
To test this:
* Check it out
* Run this:
```sh
cd $HOME/projects/kibana/x-pack/plugins/siem && node scripts/generate_types_from_graphql.js
```
And ensure the types do not change and you can run a type check like so:
```sh
cd $HOME/projects/kibana && node scripts/type_check.js --project x-pack/tsconfig.json
```
## Summary
See for more details:
https://github.com/elastic/kibana/issues/65938
Adds pieces of the `exception list` and `exception list item` and refactors/cleans the code up where I had parts incorrect with little things such as the javascript library io-ts. Some unit tests were added but I am holding off until more of the operations solidify before adding the unit tests. Everything is still behind a feature flag that must be enabled and not advised still at this point to use so I feel ok pushing these parts forward.
Adds to the API:
- Create exception list
- Read exception list
- Update exception list
- Delete exception list (and exception list items that are associated with it)
- Create exception list item
- Find exception list (/_find)
- Read exception list item
- Update exception list item
- Delete exception list items individually
- Find exception list item (/_find)
What is still missing from the REST and client API?
- Patch exception list
- Patch exception list item
- Bulk versions of everything
- Import/Export options for these exception lists and list items
### Manual testing and REST API endpoints
Go here:
```sh
/projects/kibana/x-pack/plugins/lists/server/scripts
```
See the files:
```sh
delete_all_exception_lists.sh
delete_exception_list.sh
delete_exception_list_by_id.sh
delete_exception_list_item.sh
delete_exception_list_item_by_id.sh
exception_lists
find_exception_list_items.sh
find_exception_lists.sh
get_exception_list.sh
get_exception_list_by_id.sh
get_exception_list_item.sh
get_exception_list_item_by_id.sh
post_exception_list.sh
post_exception_list_item.sh
update_exception_list.sh
update_exception_list_item.sh
```
Ensure you first run:
```sh
./hard_reset
```
and ensure you have setup your kibana.dev.yml to have:
```yml
# Enable lists feature
xpack.lists.enabled: true
xpack.lists.listIndex: '.lists-frank'
xpack.lists.listItemIndex: '.items-frank'
```
Then you can use the above scripts to create, read, update, and delete exception list and exception list items as well as perform find commands against them all.
### Checklist
Delete any items that are not applicable to this PR.
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
Note: Some but limited unit tests at this point.