kibana/x-pack/plugins
Andrew Goldstein 6a61c43f06
[RAC] [Security Solution] Hides the Show top <field> action in chart legends (#109566)
## Summary

Fixes <https://github.com/elastic/kibana/issues/108910> , which allowed users to launch a new `Top <field>` popover from an existing popover, to infinity (and beyond)

The `Show top <field>` action is now hidden in the `Top <field>` popover's chart legend, and also:

- In the legend items of charts throughout the Security Solution (e.g. on the `Overview` page, and in the `Trend` chart on the `Alerts` page)
- For items in the `Count` aggregation table on the `Alerts` page

## Screenshots

### Before (Top `signal.rule.name` popover)

![before-top-signal-rule-name](https://user-images.githubusercontent.com/4459398/130302784-00a6c24d-17c8-4361-979e-01b8467f100e.png)

_Above: It was possible to launch another `Top <field>` popover from the legend of an existing popover_

### After (Top `signal.rule.name` popover)

![after-top-signal-rule-name](https://user-images.githubusercontent.com/4459398/130302925-d5aaa1ff-9565-4374-aa87-bde5880cb64f.png)

_Above: It is no longer possible to launch another `Top <field>` popover from the legend of an existing popover_

### Before (Chart legends)

![before-overview](https://user-images.githubusercontent.com/4459398/130303169-dc6c6de3-a2ba-40fe-a1f0-fe0d78b9638c.png)

_Above: It was possible to launch a `Top <field>` popover from chart legends_

### After (Chart legends)

![after-overview](https://user-images.githubusercontent.com/4459398/130303519-2eb0a60e-c6cd-4659-b6b2-d5ba234f668f.png)

_Above: It is no longer possible to launch a `Top <field>` popover from chart legends_

### Before (`Count` items)

![before-count](https://user-images.githubusercontent.com/4459398/130304111-b37373cf-1afb-41b8-9f38-b5d9b37cdb2d.png)

_Above: It was possible to launch a `Top <field>` popover from `Count` items_

### After (`Count` items)

![after-count](https://user-images.githubusercontent.com/4459398/130304166-fb641fa2-b52e-44ff-8210-0e228a43330c.png)

_Above: It is no longer possible to launch a `Top <field>` popover from `Count` items_

cc @mdefazio
2021-08-23 08:09:00 -06:00
..
actions Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
alerting chore(NA): moving @kbn/logging to babel transpiler (#108702) 2021-08-20 11:54:46 +01:00
apm [APM] Support multiple route paths in useApmParams (#109370) 2021-08-23 15:38:06 +02:00
banners [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
canvas Fix height of editor when maximized (#109161) 2021-08-19 22:12:50 -04:00
cases [RAC] Get o11y alerts in alerts table (#109346) 2021-08-20 12:52:34 -04:00
cloud [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
cross_cluster_replication Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
dashboard_enhanced [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
data_enhanced Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
data_visualizer Update dependency @elastic/charts to v34 (master) (#108766) 2021-08-17 21:05:23 -05:00
discover_enhanced [Dashboard] Remove Legacy Dashboard Only Mode (#108103) 2021-08-20 15:39:10 -04:00
drilldowns Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
embeddable_enhanced Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
encrypted_saved_objects [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
enterprise_search [Workplace Search] Fix rendering bug on Private Source status (#109122) 2021-08-18 17:56:36 -04:00
event_log [Event Log] Added Kibana version to eventLog ECS log entries. (#108476) 2021-08-17 20:05:20 -07:00
features Make indexPattern only read only in Discover permission (#108376) 2021-08-17 16:47:43 +02:00
file_upload [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
fleet [Fleet] Fix Fleet settings and HostInput error handling (#109418) 2021-08-23 13:26:29 +01:00
global_search [Elasticsearch] remove legacy es client (#107619) 2021-08-18 19:18:05 +02:00
global_search_bar [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
global_search_providers [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
graph [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
grokdebugger Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
index_lifecycle_management [ILM] Fixed _meta field failing server validation (#109295) 2021-08-23 12:58:46 +02:00
index_management Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
infra Update dependency @elastic/elasticsearch to ^8.0.0-canary.17 (#107536) 2021-08-17 08:44:24 -04:00
ingest_pipelines Added tests for dot notation processors. (#107340) 2021-08-17 19:09:08 -04:00
lens fix(heatmap): remove duplicate legend items (#109338) 2021-08-20 17:09:22 +02:00
license_api_guard Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
license_management Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
licensing [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
lists Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
logstash Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
maps Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
metrics_entities Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
ml Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
monitoring [Stack Monitoring] Add initial react app (#109218) 2021-08-23 14:29:10 +02:00
observability [RAC] Actions popovers UI unification (#109221) 2021-08-23 08:42:24 -04:00
osquery [Cases] Add Lens markdown plugin (#96703) 2021-08-17 15:49:44 -07:00
painless_lab Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
remote_clusters Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
reporting fix check for security and added jest test (#109429) 2021-08-20 11:03:38 -04:00
rollup Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
rule_registry [RAC] Get o11y alerts in alerts table (#109346) 2021-08-20 12:52:34 -04:00
runtime_fields Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
saved_objects_tagging [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
searchprofiler Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
security Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
security_solution [RAC] [Security Solution] Hides the Show top <field> action in chart legends (#109566) 2021-08-23 08:09:00 -06:00
snapshot_restore Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
spaces Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
stack_alerts [Elasticsearch] remove legacy es client (#107619) 2021-08-18 19:18:05 +02:00
task_manager Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
telemetry_collection_xpack [Upgrade Assistant] New ES deprecations page (#107053) 2021-08-20 08:54:50 -04:00
timelines [RAC] Actions popovers UI unification (#109221) 2021-08-23 08:42:24 -04:00
transform [ML] Add tooltip help text for Transform filter query control (#108720) 2021-08-19 01:28:52 -04:00
translations Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
triggers_actions_ui Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
ui_actions_enhanced Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
upgrade_assistant [Upgrade Assistant] New ES deprecations page (#107053) 2021-08-20 08:54:50 -04:00
uptime [RAC] [Observability] Use simpler alert severity level mapping (#109068) 2021-08-18 16:29:24 -04:00
watcher Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
xpack_legacy Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00