* [Security Solution][Exceptions] - Moves remaining exceptions builder logic into lists plugin (#95266)
## Summary
Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.
The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `ExceptionBuilderComponent` which deals with rendering numerous exception items and their entries.
Quick Summary:
- `x-pack/plugins/security_solution/public/common/components/exceptions/builder/` → ` x-pack/plugins/lists/public/exceptions/components/builder/`
- Corresponding unit test file moved as well
- Updated security solution exception builder to pull `ExceptionBuilderComponent` from lists plugin
# Conflicts:
# packages/kbn-optimizer/limits.yml
# src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
* removing file that exists in master but not backported to 7.x mistakenly included in backport upon cherry picking
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## [Security Solution] Fixes the `Read Less` button rendering below the fold
Fixes issue <https://github.com/elastic/kibana/issues/95295> where the `Read Less` button in the Event Details flyout is rendered below the fold when an event's `message` field is too large, per the `Before` and `After` screenshots below:
### Before
![before](https://user-images.githubusercontent.com/4459398/113962310-aa463e80-97e4-11eb-93f9-f4a90bd250f6.png)
_Before: The `Read Less` button is not visible in the `Event details` flyout above_
### After
![after](https://user-images.githubusercontent.com/4459398/113962433-e9748f80-97e4-11eb-8f46-835eb12ea09d.png)
_After: The `Read Less` button is visible in the `Event details` flyout above_
In the _After_ screenshot above, the long `message` is rendered in a vertically scrollable view that occupies ~ one third of the vertical height of the viewport. The `Read Less` button is visible below the message.
### Desk Testing
Desk tested on a 16" MBP, and at larger desktop resolutions in:
- Chrome `89.0.4389.114`
- Firefox `87.0`
- Safari `14.0.3`
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert
* tslint
* instead of forcing refresh on getIdsAndTitles, update index pattern service to add saved object to cache when index pattern is created
* simplify title check
* revert unneeded changes
* tslint
* api doc updates
* fix functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Actions UI] Changed PagerDuty action form UI to fill payload fields according to the API docs for Resolve and Acknowledge events.
* fixed test
* fixed test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* change composite.size of snapshot query to improve speed
* use value from kibana config to set compositeSize, clean up unused config properties
* fix test
* change config name
* fix reference
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* - minor refactor of 'description' -> 'typeDescription' for
generic processor descriptions
- added initial pass of generated descriptions for all processors
* fix i18n
* added wrapping div and title to description and changed default description to appear as placeholder
* reworked the description width and overflow styling
* only show the text title on hover when we are not showing the text input
* fixed a number of minor issues with using values as though they are strings and doing better serialization
* slight optimisation to scss
* - implement copy feedback
- clean up a lot of uses of "target_field = field". it is better
to not show these
- made "replacement" a required field on gsub (which it was not)
* revert the previouis validation as empty values are acceptbale for the replacement text
* - updated the copy per feedback and fixed a missing i18n.translate
- slight update to SCSS classes to not have unused class
* Added an empty string field validator that accepts spaces so that
the KV processor value and field split fields accept " "
* replace use of HTML "title" with EuiToolTip
* remove unused variable and import
* implemented feedback; removed if from default descriptions and other minor updates
* update default description of foreach to always display
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* initial pass at es client migration
* fixed potential for not passing in an error message and triggering an unhandled exception
* reworked ad hoc fixing of error response
* delete legacy client file and remove use of legacyEs service
* remove unused import
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Data Frame Analytics does not support cross-cluster search. This PR fixes the SourceSelection component to not allow a user to select a CCS index pattern or a saved search using a CCS index pattern.
Co-authored-by: Walter Rafelsberger <walter@elastic.co>
* Use correct prop name for disabling timeline context menu button
* Update usages of disabled to isDisabled on EuiIconButton
* Update failing snapshot and tests looking for old prop
* Add possibility to open visualization when saved field doesn't exists anymore
* Fix tests
* Fix some remarks
* Remove unneeded code
* Fix tests
* Fix tests
* Fix some remarks
* Fixed problem with double error popover in visualizations
* Fix CI
* Fix type
* Fix API docs
* Don't show error popup for error related to runtime fields
* Fix some remarks
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>