Commit graph

44875 commits

Author SHA1 Message Date
Kibana Machine 49cabe5d85
Fixes error with percentiles on index with many docs (#113216) (#113384)
* Fixes error with metric viz and percentiles on index with many docs

* Unskip the metric viz suite

* Adds a unit test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-09-29 09:11:48 -04:00
Ignacio Rivas ade05d911c
[Upgrade Assistant] Improve error messages for GET /api/upgrade_assistant/reindex/<index> (#112961) 2021-09-29 14:52:57 +02:00
Kibana Machine 51f6b13ba7
[Observability] Align alerts flyout status with table status visually (#111959) (#113368)
* [Observability] Add common alert status indicator component (#109381)
* [Observability] Use common alert status indicator in alerts table (#109381)
* [Observability] Use common alert status indicator in alerts flyout (#109381)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
2021-09-29 08:05:32 -04:00
Kibana Machine a7e76e5e5e
[Lens] Thresholds: cap threshold width in suggestions (#112816) (#113361)
* 🐛 Cap threshold width to 1px in suggestions

* 🐛 Remove icons from previews

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-09-29 06:35:11 -04:00
Kibana Machine 16dea517a2
Drop explicit type annotations, fix typing (#113230) (#113360)
Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
2021-09-29 06:19:38 -04:00
Kibana Machine 3ca4986879
Fix waterfall chart top axis (#113281) (#113356)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-09-29 05:50:46 -04:00
Kibana Machine 3e05cbf9be
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_table·ts - visualize app visualize ciGroup12 visual builder table should display correct values on changing metrics aggregation (#112216) (#113355)
* Add wait for finish header loading

* Add header waitUntilLoadingHasFinished to visChart waitForVisualizationRenderingStabilized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
2021-09-29 05:25:02 -04:00
Kibana Machine 49c986fb1a
[ci-stats] Collects additional timings about bootstrap (#112919) (#113348)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 23:24:36 -04:00
Kibana Machine 2f7f4bcc31
[build/docker] Fix beats architecture (#113340) (#113341)
Beats ARM artifacts use arm64 as the identifier.  This fixes the
architecture passed to docker.

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-28 21:14:49 -04:00
Devon Thomson 1532a9fdf9
Compare intervals for unsaved changes on dashboard (#112592) (#113331) 2021-09-28 19:14:24 -04:00
Kibana Machine a8c2ee10b9
Fix APM E2E (#113297) (#113328)
Add `?*` to the end of request aliases in instances table tests.

#104301 upgraded Cypress to a newer version that required this, but the APM E2E tests were not run because there were no changes to any files in APM.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-09-28 18:43:43 -04:00
Kibana Machine 1f16871d36
Add test for overridePackageInputs method (#113270) (#113320)
Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-09-28 17:44:14 -04:00
Kibana Machine 22b1b7f745
fix skipped test test/accessibility/apps/dashboard·ts - Dashboard create dashboard button #111233 (#112872) (#113317)
* test if 2s sleep fixes flakey test

* switch from sleep to retry.waitFor

* remove .only, add comments to config file about sample data add/remove

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-09-28 17:13:41 -04:00
Stacey Gammon 5d1916baae
Add a plugin directory page to the docs build (#112862) (#113314)
* Write plugin directory doc as part of api docs build.

* Replace service folder with the new name for index patterns

* Updated docs

* small update

* update docs
# Conflicts:
#	api_docs/actions.mdx
#	api_docs/apm.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_data_views.json
#	api_docs/data_data_views.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.json
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/event_log.mdx
#	api_docs/maps.json
#	api_docs/maps.mdx
#	api_docs/maps_ems.json
#	api_docs/maps_ems.mdx
#	api_docs/observability.mdx
#	api_docs/saved_objects.json
#	api_docs/security_solution.mdx
2021-09-28 16:58:56 -04:00
Yuliia Naumenko bc432e3f90
[Alerting] Fixed Jest test suites with unhandled promise rejections (#113213) (#113310)
* [Alerting] Fixed Jest test suites with unhandled promise rejections

* fixed typecheck
2021-09-28 16:43:15 -04:00
Kibana Machine fbfd870fc9
Refactor use url state hook (#112675) (#113301)
* Refactor useUrlStateHooks by batching updates to location

* Delete unused detail name

* Delete URL_STATE_KEYS constants

* Refactor useUrlStateHook

* Fix cypress tests by removing empty AppQuery from URL query string

Fix empty query validation by considering 'query=()' as empty

* Small code readability improvements

It mostly rename variables

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
2021-09-28 16:26:59 -04:00
Kibana Machine 9035128f6c
Bump ansi-regex from v5.0.0 to v5.0.1 (#113282) (#113303)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-09-28 16:10:16 -04:00
Pierre Gayvallet 102822f4fd
[7.x] add SavedObjectType.management.displayName (#113091) (#113249)
* add `SavedObjectType.management.displayName` (#113091)

* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
# Conflicts:
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx
#	src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx

* fix types

* fix allowedTypes usage

* fix unit tests
2021-09-28 16:03:09 -04:00
Kibana Machine 3508430fc9
[FieldFormatters] Use default values for URL formatter (#113141) (#113290)
* [FieldFormatters] Use default values for URL formatter

Co-authored-by: Maxwell Borden <Tacklebox@users.noreply.github.com>
2021-09-28 14:35:11 -04:00
Yuliia Naumenko df09e0a0bf
[Alerting] Fixed docs to replace a copy/paste for Elastic Maps Server in our action docs (#113293) (#113311) 2021-09-28 14:24:56 -04:00
Sébastien Loix c660467835
[Index management] Treat indices beginning with a period as regular indices (#112990) (#113286)
# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/constants.ts
#	x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_edit.test.tsx
2021-09-28 14:01:30 -04:00
Kibana Machine 8b86c18652
[App Search] Add document position indicator to Result component (#112759) (#113271)
Co-authored-by: Davey Holler <daveyholler@gmail.com>
2021-09-28 12:36:16 -04:00
Kibana Machine a2e8c81459
[Canvas] Move workpad components to typescript (#112556) (#113265)
* Move workpad components to typescript

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2021-09-28 12:18:50 -04:00
Kibana Machine ee7521806c
Bump cypress@8.4.1 (#104301) (#113260)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-09-28 11:37:29 -04:00
Kibana Machine 5ca22634f3
Fix breadcrumbs for react ES pages so far (#113087) (#113254)
Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-09-28 11:06:20 -04:00
Kibana Machine 01425ef5d1
Beats instance page (#113086) (#113255)
* Beats instance page

* Remove unused getPaginationRouteOptions

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-09-28 11:06:02 -04:00
Kibana Machine 68d572a82a
[User Experience app] Simplify page header responsiveness in ux app (#112930) (#113252)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-09-28 10:24:15 -04:00
Kibana Machine 3d3968b8d7
Fix some vars from preconfiguration not being added to package policies (#113204) (#113250)
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-09-28 10:16:57 -04:00
Kibana Machine 19e33dabd0
[ML] Functional tests - adjust custom URL timeout (#113223) (#113242)
This PR adjusts the timeout for checking the custom URL label.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-09-28 09:10:17 -04:00
Dzmitry Lemechko 3fd73ebcf5
[deps] update chromedriver to 94 (#113153) (#113240) 2021-09-28 08:59:18 -04:00
Kibana Machine d20ecc8792
[Lens] replace react specific props events with html events (#113156) (#113234)
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-28 07:28:16 -04:00
Matthias Wilhelm 5c0a46fa50
[Discover] Add "Chart options" menu (#112453) (#113233)
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-09-28 07:17:52 -04:00
Kibana Machine c363a2736e
[ML] Functional tests - stabilize and re-enable feature importance tests (#113125) (#113231)
This PR re-enables and stabilizes the feature importance tests by making them independent from the number of features returned by the backend.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-09-28 07:15:49 -04:00
Kibana Machine 8e6b834540
Short URLs (#107859) (#113228)
Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-09-28 07:04:15 -04:00
Tiago Costa bd669de514
skip flaky suite (#112920) 2021-09-28 11:58:19 +01:00
Maja Grubic 2299190672
[Saved Search Embeddable] Add view action (#112396) (#113225)
* [Saved Search Embeddable] Add view action

* Fix typescript and lint errors; add tests

* Add a functional test

* Fix a unit test

* Renaming action

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 06:02:16 -04:00
Kibana Machine c43086eec7
[APM] Remove start and end from setupRequest (#112828) (#113220)
* [APM] Remove start and end from setupRequest

* fix some types

* fix some conflicts

* PR review comments

* fix typing

Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
2021-09-28 05:10:40 -04:00
Yulia Čech a85f7a5361
[Upgrade Assistant] Batch reindex docs (#112960)
* [UA] Added batch reindexing docs link to the ES deprecations page. Added a link from "batch reindexing" docs page to "start or resume reindex" docs page and from there to ES reindexing docs page. Also renamed "reindexing operation" to "reindexing task" for consistency.

* [Upgrade Assistant] Added docs build files

* Update x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* [Upgrade Assistant] Added review suggestions and fixed eslint issues

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 10:26:49 +02:00
Kibana Machine f911de0df0
[fleet] Divide and mock Storybook context, create Home story (#113064) (#113210)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-09-28 05:13:03 +00:00
Kibana Machine 35f3f262ef
[fleet] Fix over-call to chrome service in useBreadcrumb (#113065) (#113206)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-09-27 23:12:20 -04:00
Jonathan Budzenski 3d048854a6 fix skip. #113067 2021-09-27 21:11:19 -05:00
Kibana Machine 342b05045f
[Security Solutions] Adds back the legacy actions and notification system in a limited fashion (#112869) (#113202)
## Summary

Fixes https://github.com/elastic/security-team/issues/1759

Related earlier PR, https://github.com/elastic/kibana/pull/109722, where these were removed to where they could no longer function. This PR adds them back to where they will function for existing users. The end goal is to have users naturally migrate as they update, enable/disable, or create new rules. 

What this PR does:
* Adds back the legacy side car actions `siem-detection-engine-rule-actions`
* Adds back the legacy hidden alert of `siem.notifications`
* Adds back unit tests where they existed. Both of these systems did not have existing e2e tests.
* Re-adds the find feature and functionality which should show the rules with legacy and non-legacy notifications/side car actions during a REST find operation.
* Updates the logic for when to show a legacy vs. non-legacy notification/side car action.
* Adds a new route called `/internal/api/detection/legacy/notifications` which is only for developer and tests for us to maintain this system for the foreseeable future.
* Adds script to exercise creating old notifications `detection_engine/scripts/post_legacy_notification.sh`
* Adds a data file for the script to use as an example for ad-hoc testing, `scripts/legacy_notifications/one_action.json`
* Adds within `security_solution/server/types.ts` `ActionsApiRequestHandlerContext` so that if we need to directly access actions within plugins we can. I do not use it here, but it should have been existing there and is good to have it in case we need it at this point within REST routes.
* When adding back the files and changes, I use the kibana-core approach of prefixing files, functions, types, etc... with the words `legacyFoo`. The files are named `legacy_foo.ts`. Everything has `@deprecation` above them as well. The intent here is all of this should hopefully make it unambiguously clear which parts of the notification system are for the new system/existing API and which ones are only for the deprecated legacy system. There exists some parts of the system that are used within _both_ and the hope is that we can keep the legacy pieces separate from the non-legacy pieces for strangling the legacy pieces.   
* This adds a new linter rule to prevent users from easily importing files named `legacy_foo.ts` or `foo_legacy.ts` we are using here and can also use for other similar legacy parts of the system we have.  This seems to be the established pattern that kibana-core does as well looking through the linters and code base.
* Removes some dead import/export code and types instead of maintaining them since they are no longer used.

What this PR does not do (but are planned on follow ups):
* This PR does not add migration logic in most conditions such as a user enabling/disabling a rule, editing a rule unless the user is explicitly changing the actions by turning off the notification and then re-adding the notification.
* This PR does not log any information indicating to the user that they are running legacy rules or indicates they have that.
* This PR does not allow the executors or any UI/UX, backend to re-add a legacy notification. Instead only the hidden REST route of `/internal/api/detection/legacy/notifications` allows us to do this for testing purposes.
* This PR does not migrate the data structure of actions legacy notification system `siem-detection-engine-rule-actions` to use saved object references.
* If you delete an alert this will not delete the side car if it detects one is present on it.
* If you update an alert notification with a new notification this will not remove the side car on the update.

**Ad-hoc testing instructions**
How to do ad-hoc testing for various situations such as having a legacy notification system such as a user's or if you want to mimic a malfunction and result of a "split-brain" to where you have both notification systems running at the same time due to a bug or regression:

Create a rule and activate it normally within security_solution:
<img width="1046" alt="Screen Shot 2021-09-22 at 2 09 14 PM" src="https://user-images.githubusercontent.com/1151048/134416564-e4e001a7-1086-46a1-aa8d-79880f70cc35.png">

Do not add actions to the rule at this point as we will first exercise the older legacy system. However, you want at least one action configured such as a slack notification:
<img width="575" alt="Screen Shot 2021-09-22 at 2 28 16 PM" src="https://user-images.githubusercontent.com/1151048/134417012-58e63709-5447-4832-8866-f82be1b9596b.png">

Within dev tools do a query for all your actions and grab one of the `_id` of them without their prefix:
```json
# See all your actions
GET .kibana/_search
{
  "query": {
    "term": {
      "type": "action"
    }
  }
}
```

Mine was `"_id" : "action:879e8ff0-1be1-11ec-a722-83da1c22a481",` so I will be copying the ID of `879e8ff0-1be1-11ec-a722-83da1c22a481`

Go to the file `detection_engine/scripts/legacy_notifications/one_action.json` and add this id to the file. Something like this:
```json
{
  "name": "Legacy notification with one action",
  "interval": "1m",  <--- You can use whatever you want. Real values are "1h", "1d", "1w". I use "1m" for testing purposes.
  "actions": [
    {
      "id": "879e8ff0-1be1-11ec-a722-83da1c22a481", <--- My action id
      "group": "default",
      "params": {
        "message": "Hourly\nRule {{context.rule.name}} generated {{state.signals_count}} alerts"
      },
      "actionTypeId": ".slack" <--- I am a slack action id type.
    }
  ]
}
```

Query for an alert you want to add manually add back a legacy notification to it. Such as:
```json
# See all your siem.signals alert types and choose one
GET .kibana/_search
{
  "query": {
    "term": {
      "alert.alertTypeId": "siem.signals"
    }
  }
}
```

Grab the `_id` without the `alert` prefix. For mine this was `933ca720-1be1-11ec-a722-83da1c22a481`

Within the directory of `detection_engine/scripts` execute the script
```bash
./post_legacy_notification.sh 933ca720-1be1-11ec-a722-83da1c22a481
{
  "ok": "acknowledged"
}
```

which is going to do a few things. See the file `detection_engine/routes/rules/legacy_create_legacy_notification.ts` for the definition of the route and what it does in full, but we should notice that we have now:

Created a legacy side car action object of type `siem-detection-engine-rule-actions` you can see in dev tools:
```json
# See the actions "side car" which are part of the legacy notification system.
GET .kibana/_search
{
  "query": {
    "term": {
      "type": {
        "value": "siem-detection-engine-rule-actions"
      }
    }
  }
}
```

Note in the response:
```json
          "siem-detection-engine-rule-actions" : {
            "ruleAlertId" : "933ca720-1be1-11ec-a722-83da1c22a481", <--- NOTE, not migrated to references yet
            "actions" : [
              {
                "action_type_id" : ".slack",
                "id" : "879e8ff0-1be1-11ec-a722-83da1c22a481", <--- NOTE, not migrated to references yet
                "params" : {
                  "message" : "Hourly\nRule {{context.rule.name}} generated {{state.signals_count}} alerts"
                },
                "group" : "default"
              }
            ],
            "ruleThrottle" : "1m", <--- Should be the same as the interval in "one_action.json" config
            "alertThrottle" : "1m" <--- Should be the same as the interval in "one_action.json" config
          },
          "type" : "siem-detection-engine-rule-actions",
          "references" : [ ],
```

Created a `siem.notification` rule instance which you can see in dev tools as well:
```json
# Get the alert type of "siem-notifications" which is part of the legacy system.
GET .kibana/_search
{
  "query": {
    "term": {
      "alert.alertTypeId": "siem.notifications"
    }
  }
}
```

Take note from the `siem.notifications` these values which determine how/when it fires and if your actions are set up correctly:
```json
            "name" : "Legacy notification with one action" <--- Our name from one_action.json 
            "schedule" : {
              "interval" : "1m" <--- Interval should match interval in one_action.json
            },
            "enabled" : true, <--- We should be enabled
            "actions" : [
              {
                "group" : "default",
                "params" : {
                  "message" : "Hourly\nRule {{context.rule.name}} generated {{state.signals_count}} alerts"
                },
                "actionTypeId" : ".slack", <--- Our actionID
                "actionRef" : "action_0"
              }
            ],
```


And that now there exists a task within task manager that will be executing this:
```json
# Get the tasks of siem notifications to ensure and see it is running
GET .task-manager/_search
{
  "query": {
    "term": {
      "task.taskType": "alerting:siem.notifications"
    }
  }
}
```

You can double check the interval from the result of the query to ensure it runs as the configuration test file shows it should be:
```json
            "schedule" : {
              "interval" : "1m"
            },
```

Within time you should see your action execute like the legacy notification system:
<img width="876" alt="Screen Shot 2021-09-22 at 2 55 28 PM" src="https://user-images.githubusercontent.com/1151048/134422639-80523abb-f43c-4f7c-abef-a60062bef139.png">

If you go to edit the rule you should notice that the rule now has the side car attached to it within the UI:
<img width="1050" alt="Screen Shot 2021-09-22 at 8 08 54 PM" src="https://user-images.githubusercontent.com/1151048/134445265-fa0a330b-3238-48e2-aef3-6042c7e9aa69.png">

You can also look at your log messages in debug mode to verify the behaviors of the legacy system and the normal rules running.

Compare these data structures to a 7.14.x system in cloud to ensure the data looks the same and the ad-hoc testing functions as expected.

Check the scripts of `./find_rules.sh`, `./read_rules.sh` to ensure that the find REST route returns the legacy actions when they are there.

### Checklist


- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-09-27 22:10:54 -04:00
Kibana Machine 2fe6499d81
Bump lmdb-store to 1.6.8 (#112743) (#113189)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-27 20:10:35 -04:00
Kibana Machine 10b17ece49
[Security Solution] Fix inspect button bug on the overview page (#113161) (#113187)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ece Özalp <ozale272@newschool.edu>
2021-09-27 19:43:29 -04:00
Kibana Machine ff8bf5158b
[Security Solution] update endpoint list api to support united index (#112758) (#113175)
Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
2021-09-27 22:21:53 +00:00
Kibana Machine 579a62eaa6
Added a SuggestionsTable to Curations view (#113123) (#113176)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-09-27 18:19:44 -04:00
Tim Sullivan 63f3a6383f
[7.x] [Reporting] Stabilize CSV export tests (#112204) (#113158)
* [Reporting] Stabilize CSV export tests (#112204)

* [Reporting] Stabilize CSV export tests

* add debugging logging for results metadata

* restore accidentally deleted tests

* restore "large export" test

* remove redundant availability test

* do not filter and re-save

* fix getHitCount

* fix large export test

* skip large export test :(

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* update snapshots for discover tests

* update test snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 18:14:25 -04:00
Diana Derevyankina 3ad126e757
[TSVB] Series hidden via click reappear on auto refresh (#112807) (#113100)
* [TSVB] Series hidden via click reappear on auto refresh

* Move mainAxisGroupId back to render

* Remove blank line in vis.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 17:50:53 -04:00
Diana Derevyankina 5854ea4baf
[Viz] legend duplicates percentile options when chart has both left & right Y axes (#113073) (#113169)
* [Viz] legend duplicates percentile options when chart has both left & right Y axes

* Update comment for isPercentileIdEqualToSeriesId

* Remove Dimension interface

* Replace partial aspect with whole aspect value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 17:50:01 -04:00
Kibana Machine 61b76ab48f
[docs] Update keystore location (#111994) (#113186)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-27 17:27:07 -04:00