Commit graph

42299 commits

Author SHA1 Message Date
Kibana Machine
6579bb612a
[Vega] Allow faceted Vega-Lite charts to take correct size (#103352) (#103533)
* [Vega] Allow faceted Vega-Lite charts to take correct size

* Add unit test

* Update autosize docs

* Add warning when autosize=none

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

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-30 23:56:19 +00:00
Kibana Machine
ca442a46bc
[APM] Fix prepend form label background (#103983) (#104015)
Co-authored-by: Casper Hübertz <casper@elastic.co>
2021-06-30 19:28:14 -04:00
Angela Chuang
97f7fd8b2d
[SecuritySolution] Handle not found routes for detections routes (#103659) (#104012)
* add not found page

* fix url state

* fix url state

* revert cypress test case

* add tests for new links

* rename detections to alerts

* move function to helper

* add cypress tests

* clean up routes

* clean up routes

* styling for not found page

* clean up rules routes

* rm unused i18n

* add cypress tests

* add cypress tests

* rm unused i18n

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 19:22:26 -04:00
Kibana Machine
7bae1da364
[canvas] Relocate Legacy Services; create Workpad Service (#103386) (#104010)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-06-30 19:12:57 -04:00
Steph Milovic
67835fb14c
[RAC] [Cases] Fix responsiveness in Cases UI (#103766) (#104006) 2021-06-30 19:03:43 -04:00
Kibana Machine
d200c721d8
[APM] Update copy in modal (#103976) (#104008)
Co-authored-by: Casper Hübertz <casper@elastic.co>
2021-06-30 23:03:04 +00:00
Andrew Goldstein
2d6a9bc419
[Security Solution] Invalid KQL Query Bug (#99442) (#104005)
## Summary

Addresses #98283

Currently, our method of converting KQL to Elasticsearch queries silently suppresses errors bubbled up by ES and returns an empty query string. This makes it so the entire query, including filters, etc. gets wiped out and potentially incorrect data is displayed. 

This PR addresses that by bubbling up the errors and putting them in a toast component as well as cancelling any request that was made with the invalid query so that incorrect data is never fetched.

![Screen Shot 2021-05-11 at 5 05 24 PM](https://user-images.githubusercontent.com/56367316/117895214-e8bf9500-b28b-11eb-83a6-522deebecbe2.png)


### Checklist

Delete any items that are not applicable to this PR.

- [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [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

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2021-06-30 19:02:32 -04:00
Kibana Machine
bf0b9b3cfe
[Fleet] Add autoSubmit to Fleet search bar (#103974) (#104002)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-06-30 18:56:56 -04:00
Kibana Machine
30d7cf1bec
[Metrics UI] [Logs UI] Updating alerts language in headers and Metrics (#103589) (#103999)
* updating language in metrics ui to indicate rule type and updating language in header menu to Alerts and Rules

Co-authored-by: Kate Farrar <katherine.farrar@elastic.co>
2021-06-30 18:45:37 -04:00
Kibana Machine
4f3190c350
[Security Solution][Detection Rules] Fixes rule table sort not working for certain fields (#103960) (#103996)
Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2021-06-30 18:16:30 -04:00
Kibana Machine
19f29d4d28
[Fleet] Fix action menu to close on click (#103958) (#103993)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-06-30 18:02:06 -04:00
Kibana Machine
f44a664ac0
Fix Listing Page Layout Inconsistencies (#103182) (#103758)
* Added dashboard no items message to dashboard_strings, wrote new message for read only empty state. Moved visualize library dashboard callout under title

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-06-30 21:52:18 +00:00
Kibana Machine
96a5d2ba6b
[RAC] Fix rule registry write flag and turn it off by default (#103646) (#103991)
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2021-06-30 17:49:49 -04:00
Tim Sullivan
d238cfd199
[Reporting] fix too_long_frame_exception by passing scroll_id in the request body (#102972) (#103984)
* pass scroll_id in the request body not a param

* update test to match

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 17:24:23 -04:00
Kibana Machine
070444d230
Remove role=alert attribute from flash messages (#103937) (#103981)
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-06-30 17:05:15 -04:00
Tiago Costa
4c95673024
chore(NA): bump version to 7.15.0 (#103911)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 16:49:08 -04:00
Kibana Machine
cbd2b32326
[Lens] Formula Icon, Button, Height Design Update (#103682) (#103772)
* apply `fullScreenEdit` icon; fix docs button size

* fix small viewport height flex issue

Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-06-30 20:09:59 +00:00
Dave Snider
5a4a08d80e
[Page layouts] Some light fixes (#103197) (#103885)
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-06-30 16:05:20 -04:00
Kibana Machine
e467354643
[TSVB] Metric count is depicted as - instead of 0 (#103717) (#103875)
* [TSVB] Metric count is depicted as - instead of 0

* Rename extractData to mapEmptyToZero and remove unnecessary intervalString undefined assignment in get_bucket_size.js

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

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
2021-06-30 19:46:32 +00:00
Sébastien Loix
149deab5e9
[Amsterdam theme] Fix issues Index management (#103465) (#103954)
Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>

Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
2021-06-30 15:42:04 -04:00
Kibana Machine
8486ac6939
[Maps] deprecate map.proxyElasticMapsServiceInMaps (#103740) (#103939)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-06-30 15:03:30 -04:00
Kibana Machine
21f1016131
Fix inaccurate Kibana status message when Kibana is in a yellow "degraded" state (#103816) (#103935)
* Correctly orders imports via ESLint

* Accounts for "yellow" status

We should do much better than this.
a) We shouldn't be converting the statuses to colors in the first place
b) We shouldn't always show the same message for all non-green statuses
c) We shouldn't link to kibana status when we are the kibana monitoring product

Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2021-06-30 14:52:31 -04:00
Greg Thompson
6add3a0b22
eui to 34.5.2 (#103896) (#103928) 2021-06-30 14:42:49 -04:00
Kibana Machine
896ace1390
Add back min zero value, add validation (#103898) (#103929)
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-06-30 14:42:16 -04:00
Kibana Machine
c7e9d34f28
[Integrations UI] Restore post-save integration policy redirect (#103780) (#103926)
* Revert "Remove post-installation redirect for integrations (#103179)"

This reverts commit 96c4350289.

* Restore post-save redirects but only when user hasn't navigated away

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-06-30 14:26:32 -04:00
Sergi Massaneda
d4d3127501
[SecuritySolution] Histogram IP legends error fixed (#99468) (#103916)
* make sure stackByField exists

* fix types

* fix unit test

* skip extra request for non-ip queries

* elasticserach query changes to prevent corrupted data response bug

* client changes to split ip stacked histogram queries in two, inspect modal shows all requests and responses

* lint fixes

* test for useMatrixHistogramCombined added

* comment added on new multiple prop

* changed query to always contain value_type:ip for ip queries

Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 13:52:36 -04:00
Kibana Machine
2bd52c8a12
chore(NA): adds 7.14 branch and bumps 7.x on backportrc (#103914) (#103956)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-30 13:51:22 -04:00
Kibana Machine
9676906c99
[APM] Adding telemetry to APM APIs (#103543) (#103912)
* adding telemetry to apm apis

* addressing PR comment

* adding space

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

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2021-06-30 13:44:37 -04:00
Kibana Machine
5f292c5ce3
[Fleet] Do not show settings banner while its loading in the add agent flyout (#103883) (#103909)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-06-30 13:37:22 -04:00
Christos Nasikas
e8e576e3c5
[Cases] Swimlane: Fix bug when creating the connector with empty mapping. (#103446) (#103908) 2021-06-30 13:31:07 -04:00
Pierre Gayvallet
eedbb2490b
Use new ES client for licensing plugin (#92143) (#103893)
* use new client for licensing API

* add logs

* adapt unit tests

* Revert "add logs"

This reverts commit 4a61b646

* fix some type errors

* fix test types

* adapt monitoring usage of `createLicensePoller`

* remove test comment

* fix unit test

* remove createLicensePoller from setup contract

* fix unit tests
2021-06-30 13:27:20 -04:00
Kaarina Tungseth
3206e8fc4f
[DOCS] Updates to the Reporting docs (#101326) (#103947)
* [DOCS] Updates to thee Reporting docs

* Adds the main sharing page

* Final changes

* Changed configuring-reporting link to secure-reporting

* Updates from meeting with Tim and Larry

* Moves reporting and sharing content above ML

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Review comments from Tim and Larry

* Fixes broken links

* Fixes redirect

* Fixes broken link from ES docs

* Adds metadata to changed pages

* Review comments

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-06-30 13:24:39 -04:00
Kibana Machine
13028ea677
[Security Solution][Endpoint] Unit Test cases to cover CaseView action/comment refresh and Endpoint isolation api (#103560) (#103902)
* Tests for `<CaseView>` `refreshRef` prop
* Tests for Isolation API update of cases

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-06-30 13:22:08 -04:00
Kibana Machine
6aa7556a36
[Lens] Lazy loading refactoring (#103277) (#103905)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-30 17:05:09 +00:00
Stacey Gammon
3805c55d6e
Update api docs (#103310) (#103904)
* Update api docs

* update api docs after merge from master
# Conflicts:
#	api_docs/core.json
#	api_docs/data.json
#	api_docs/data_index_patterns.json
#	api_docs/licensing.json
#	api_docs/saved_objects.json
2021-06-30 13:04:59 -04:00
Joe Reuter
21e87b76b2
[Lens] Fix help popovers (#103314) (#103903) 2021-06-30 13:02:46 -04:00
Kibana Machine
e3224cdc0c
[Maps] Create drawing layer copy updates (#103791) (#103900)
* [Maps] Create drawing layer copy updates

* tslint

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-06-30 12:35:28 -04:00
Jen Huang
97968175f4
Allow zero (0) to unset unenroll_timeout field (#103790) (#103897) 2021-06-30 12:22:15 -04:00
Kibana Machine
dc0cf92e5b
[Deprecation service] Using i18n for deprecation messages (#103422) (#103889)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-06-30 15:54:07 +00:00
Kibana Machine
a3bd18e8db
[APM] Return operationName as part of _inspect response (#103616) (#103887)
Closes #103448.

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-06-30 11:53:52 -04:00
Kibana Machine
eca77cd25d
[Lens] Formula can be colored by value (#103572) (#103886)
* [Lens] Formula can be colored by value

* Fix mapColumn test

* Fix tests

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-30 11:51:56 -04:00
Kibana Machine
30819d40df
[7.x] [Query] Es query/field base (#103177) (#103872)
* [Query] Es query/field base (#103177)

* remove es query dependency on format.convert

* FieldBase

* fix types

* types

* Fix type imports

* test types

* fix jest

* rename

* docs

* comment

* docs

Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-06-30 15:30:47 +00:00
Kibana Machine
627ee17f35
[Security Solution][Endpoint] Allow activity log scrolling on small screens (#103852) (#103877)
Co-authored-by: Ashokaditya <am.struktr@gmail.com>
2021-06-30 10:59:43 -04:00
Kibana Machine
1b2d808227
[Fleet] Make top-level fields of is_managed policies editable through config (#103722) (#103754)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-06-30 07:13:27 -07:00
Kibana Machine
1547a28281
[Fleet] Freeze unenroll_timeout field for managed policies (#103710) (#103739)
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-06-30 07:12:24 -07:00
Kibana Machine
f4b29dabcb
Fix telemetry advanced setting style (#103838) (#103867)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-06-30 09:41:59 -04:00
Kibana Machine
414ccccdaa
[APM][Fleet] getting token and url from vars (#103675) (#103743)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2021-06-30 09:09:26 -04:00
Dario Gieselaar
f429949ee8
[7.x] [APM] use conventional error rate color (#103500) (#103860) 2021-06-30 15:05:24 +02:00
Kibana Machine
a1a6799a41
[Transform] Fix default naming and sorting fields suggestion for top_metrics agg (#103690) (#103862)
* [ML] remove advanced settings

* [ML] fix getUpdatedItem for switching to single field agg

* [ML] incremental naming for top aggs

* [ML] set default sorting field based on date type

* [ML] set desc order by default

* [ML] fix TS

* [ML] change sorting direction init

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-06-30 09:02:38 -04:00
Kibana Machine
3365f1b8c5
Endpoint Telemetry: Agents Metrics + Policy Config / Response (#102171) (#103851)
* [PH] Initial setup for endpoint task telemetry.

* Refactor / Add daily task for collecting fleet detail / policy resp / EP metrics

* [PH CD] Code walkthrough. Start fetching fleet policy configs.

* [PH] pass in fleet agent service rather than homebrew kuerys.

* [PH] prepare to move away from legacy es client. Get fleet ep agents.

* Fetch agent policy configs.

* Stub ep policy responses.

* Fix CI + Types. Fix dep injection. Reimagine SO client creation.

* Create SO client properly

* Fetch EP Policy responses.

* Fetch EP Policy responses.

* Remove unused import

* Fetch failed policy responses from EP data stream.

* Remove unused imports.

* Combine failed policy responses with policy configs.

* Attach fleet agent + ep agent ids

* Add dedicated channel sender. Temp disable with feature flag.

* Remove ublock from the failed policy response.

* Fetch endpoint metrics.

* Fix bad merge commit.

* Get EP telemetry.

* Record last execution time of endpoint task

* Remove send on demand feature flag.

* Simplify cache conditional.

* Refactor into Promise.allSettled

* Fix type error.

* Bail if there is no endpoint metrics

* Bump interval to 24h.

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

Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-06-30 07:40:13 -04:00