Commit graph

44558 commits

Author SHA1 Message Date
Dima Arnautov
9ccbbef582
[ML] Fix "View by" swim lane with applied filter and sorting by score (#105217)
* [ML] fix top influencers fetch with filter selection

* [ML] add relative position to the chart container

* [ML] fix ts

* [ML] fix updating search input from influencer filter
2021-07-13 10:03:21 +02:00
renovate[bot]
ff0b0e984c
Update dependency @elastic/charts to v32 (#104625)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-13 09:33:28 +02:00
Ece Özalp
215dec0f5c
[CTI] shortens large numbers on Dashboard Link Panel (#105269) 2021-07-12 21:18:22 -04:00
Candace Park
31b8974e70
[Security Solution][Endpoint][Host Isolation] Fixes bug to remove excess host metadata status toasts on non user initiated errors (#105331) 2021-07-12 20:05:14 -04:00
Christos Nasikas
67b3e6ebe5
[Cases] Fix pushing alerts count on every push to external service (#105030)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-13 02:11:06 +03:00
Brandon Morelli
9ab26cf089
docs: APM updates for 7.14 (#104232)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-07-12 15:12:56 -07:00
Spencer
e88910a1c6
[kbn/optimizer] rewrite bazel-out paths to source paths (#105154)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-12 15:11:49 -07:00
Patryk Kopyciński
dcc468c2f4
[Osquery] Fix live query form saved queries picker bug (#105308) 2021-07-12 18:08:47 -04:00
Lee Drengenberg
a11e9ed235
new dialog for built-in alerts needs to be clicked (#105284) 2021-07-12 17:05:31 -05:00
Ece Özalp
0e83e992f0
[CTI] adds Recorded Future link (#105301) 2021-07-12 17:32:54 -04:00
Kevin Logan
c9b1a3cdef
[Security Solution] Push user action comments for Host Isolation to connectors (#105265) 2021-07-12 17:32:37 -04:00
Joe Portner
41a93079b2
[project-assigner] Add entry for Platform Security Team again (#105327) 2021-07-12 16:50:00 -04:00
Vadim Yakhin
fdc99681a7
[Workplace Search] Port PR 4033 from ent-search to Kibana and update typings (#105054)
* Improve typings

Custom API Source allow indexing several types of data. We didn't
account for all of them.
For example, geolocation can be array of arrays of numbers.

This commit improves typings.
The following commits mostly fix TS errors
that appear after this commit.

* Remove type castings to account for all possible variable types

* Update helper functions to accept new CustomAPIFieldValue

* Fix TS error: convert url to string before using it in EuiLink

* Update mock and tests to match updated typings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 17:20:48 -03:00
Tyler Smalley
e279042c56
Revert "[project-assigner] Add entry for Platform Security Team (#105307)" (#105311)
This reverts commit 3d724ee706.
2021-07-12 13:06:11 -07:00
Joe Portner
3d724ee706
[project-assigner] Add entry for Platform Security Team (#105307) 2021-07-12 16:03:32 -04:00
Candace Park
8acdcff840
[Security Solution][Endpoint][Host Isolation] Host isolation cases view unit test (#104579) 2021-07-12 15:37:16 -04:00
Lisa Cawley
8f7df03472
[ML] Edit stack management message (#105167) 2021-07-12 11:48:05 -07:00
Scotty Bollinger
0121dee9a4
Hide heading when page loading (#105263) 2021-07-12 14:36:59 -04:00
Larry Gregory
76f49565c1
Support authenticating to Elasticsearch via service account tokens (#102121)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 14:18:35 -04:00
Alejandro Fernández Gómez
a5eadd054d
[Fleet] Prevent popovers on agent logs page from being stuck (#105253) 2021-07-12 13:54:20 -04:00
Constance
afc07c376f
[Enterprise Search] Update README/description (#105151)
* Update plugin README with beta copy & fancier product info

* Update API dev docs plugin description punctuation

* Update README dev section

- Remote reference to native auth - no longer applicable in 7.14
- Add reference to Getting Started guide (Elastic only)

* Run node scripts/build_plugin_list_docs to update https://www.elastic.co/guide/en/kibana/master/plugin-list.html

* Add link to main Kibana README
- which should link out to their contributing docs
2021-07-12 13:51:38 -04:00
Domenico Andreoli
3638c5ffb2
Drop Detection Engine FTR test POC (#104852) 2021-07-12 13:50:08 -04:00
liza-mae
bb1759e065
Fix upgrade tests for 7.14 (#104993)
* Fix upgrade tests for 7.14

* Fix lint issues

* Comment out unused const

* Update uiSettings for non-default space

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 11:29:37 -06:00
Frank Hassanabad
4b7b45d69d
[Security Solutions] Changes cypress tests to use immutable object data (#105162)
## Summary

In previous pull requests I noticed that there were accidents where Cypress tests were accidentally mutating objects such as rules and mock data since the data is mutable as regular variables. This changes the data to be underneath functions and the functions all return new copies on each invocation. This makes it so that it isn't possible for Cypress tests to accidentally mutate data and mocks between tests. This should also prevent devs from accidentally writing tests that rely on previous tests accidentally mutating data.

I am hoping that this is portable back to 7.14 since it's just test changes and will make it easier to do any other bug fixes without conflicts if tests are updated. If it's not easily portable, then I will mark and update it as only 7.15 backported.

* Changes the mocks underneath `objects/<type>` to use getter functions that return objects.
* Updates the cypress tests

### 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
2021-07-12 13:18:17 -04:00
Caroline Horn
42c743be88
[Top Menu] Increase size of top menu links to s (#103144)
* Increased non-emphasized header links size from `xs` to `s`
* [Observability] Updating header links to use EuiHeaderLink
* [Spaces Menu] Larger spinner
* [Help Menu] Increase size of links
* [Canvas] Increase size to `s`
2021-07-12 12:50:41 -04:00
Nicolas Chaulet
eae975e91b
[Fleet] Fix enrollment flyout with fleet server from policy page (#104542)
* [Fleet] Fix enrollment flyout with fleet server from policy page

* Fix tests

* Show enrollment instructions for add agent from fleet server policy

* Fix conditions to show fleet server setup in flyout

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 11:56:43 -04:00
Patryk Kopyciński
3e5ed77470
[Osquery] Fix 7.14 live query history view (#105211) 2021-07-12 17:55:06 +02:00
Justin Kambic
0c9777c602
[Uptime] Refactor page headers to avoid invalid markup (#104215)
* Refactor monitor and waterfall page headers to avoid rendering invalid markup.

* Update tests.

* Translate page titles.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 11:23:57 -04:00
Ece Özalp
1aa9459ba2
[CTI] converts disabled panel danger to warning (#104989) 2021-07-12 11:07:34 -04:00
Kaarina Tungseth
d6a3692600
[DOCS] Adds how to create dashboard drilldowns for Top N and Table TSVB panels (#104548) 2021-07-12 09:58:39 -05:00
Jason Stoltzfus
a80791aa4c
Pass locale to calendar (#105134) 2021-07-12 10:26:41 -04:00
Diana Derevyankina
87066e06b3
[TSVB] Top_hit supports runtime fields (#103401)
* [TSVB] Refactor top-hit aggregation to work with fields instead of _source

* Allow select date strings for top_hit aggregation in table, metric, and markdown

* Fix agg_with handling for top_hit and add some tests

* Refactor get_agg_value and fix type check for _tsvb_chart

* Refactor top_hit.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 17:25:52 +03:00
Joe Reuter
832d349930
[KibanaLegacy] Remove unused stuff and make things async if it is easy (#104638)
* remove unused stuff and make things async if it is easy

* fix problems

* load bootstrap in monitoring

* load angular bootstrap for saved searches and in  unit tests

* fix vis_type_table tests

* Update x-pack/plugins/monitoring/public/plugin.ts

Co-authored-by: Ester Martí Vilaseca <ester.m87@gmail.com>

* Update x-pack/plugins/monitoring/public/plugin.ts

Co-authored-by: Ester Martí Vilaseca <ester.m87@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
Co-authored-by: Ester Martí Vilaseca <ester.m87@gmail.com>
2021-07-12 15:13:42 +03:00
Dzmitry Lemechko
216bb5e1b8
[load] run puppeteer script before gatling scenarios (#104836)
* [load] puppeteer script before load testing

* install dependencies after metricbeat configuration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 13:23:08 +02:00
Pete Harverson
b8dfcafe38
[ML] Fixes unnecessary too many buckets warning on anomaly chart embeddable (#105043)
* [ML] Fixes unnecessary too many buckets warning on anomaly chart embeddable

* [ML] Update jest tests for number of axis ticks.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 11:31:54 +01:00
Alejandro Fernández Gómez
5256b6d23e
Accomodate height of the <EuiBottomBar /> (#104882)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 05:46:38 -04:00
Tyler Smalley
b2b57a2404
[dev-docs] Add debugging tutorial (#104468)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 03:02:20 -04:00
Joey F. Poon
e4ba52928c
[Security Solution] remove query strategy v1 (#104196) 2021-07-10 18:34:03 -05:00
Dario Gieselaar
857dc9f2e1
[APM] Don't log error if request was aborted (#105024)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-10 09:27:07 +02:00
Frank Hassanabad
c0fec48104
[Security Solutions][Detection Engine] Fixes button group alignments in machine learning and tags (#105166)
## Summary

See:
https://github.com/elastic/kibana/issues/104055

For more issue details. This is deemed embarrassing enough to be critical for a fix for 7.14.0 before shipping.

EUI looks to have updated its self and added a new attribute that it wants us to use called `numFIlters` which when set will show the total number of filter items before they are selected. Once selected the number and look and feel change.

```ts
numFilters
```

Before:
<img width="717" alt="Screen Shot 2021-07-09 at 5 45 08 PM" src="https://user-images.githubusercontent.com/1151048/125145520-c0fb7a80-e0de-11eb-9540-17bb999a069d.png">

After before selections:
<img width="716" alt="Screen Shot 2021-07-09 at 5 48 43 PM" src="https://user-images.githubusercontent.com/1151048/125145576-fa33ea80-e0de-11eb-8dfe-2d83849696f4.png">

After once you have selections:
<img width="720" alt="Screen Shot 2021-07-09 at 5 49 44 PM" src="https://user-images.githubusercontent.com/1151048/125145610-19327c80-e0df-11eb-8c2a-2ac2c881bc96.png">


Before:
<img width="846" alt="Screen Shot 2021-07-09 at 5 42 01 PM" src="https://user-images.githubusercontent.com/1151048/125145537-cc4ea600-e0de-11eb-92d3-6caad4897a3c.png">

After before selections:
<img width="859" alt="Screen Shot 2021-07-09 at 5 42 27 PM" src="https://user-images.githubusercontent.com/1151048/125145554-d96b9500-e0de-11eb-8abe-35a65c005d5e.png">

After once you have selections:
<img width="873" alt="Screen Shot 2021-07-09 at 5 49 36 PM" src="https://user-images.githubusercontent.com/1151048/125145616-264f6b80-e0df-11eb-9453-575b15c6001e.png">

### 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
2021-07-09 20:55:20 -06:00
spalger
d776c0940e skip all discover functional tests to unblock es promotion (#104466) 2021-07-09 18:01:11 -07:00
spalger
b40fc09dfc skip another suite blocking es promotion (#104466) 2021-07-09 16:40:13 -07:00
Frank Hassanabad
c07f51e5be
[Security Detections] Fixes ip on threshold preview button when selecting an ip data type such as source.ip (#105126)
## Summary

See https://github.com/elastic/kibana/issues/100433 for details and test instructions.

This is considered critical and a small fix for 7.14.0 has been requested.

* Wrote Cypress test that exercises the bug
* Fixed mutation in one part of the Cypress Test
* Decided to remove the "missing" that we were telling users was "others" since missing is not the same as others. It no longer errors, but some users might be asking why we don't show "others" anymore. The reality is that we only showed "missing" which isn't adding value to the preview of what detections will end up looking like.
* Later if we want a true "others" we should implement it as a larger feature request and not a bug fix IMHO

Before you would get errors in your network panel: 
![errors_threshold](https://user-images.githubusercontent.com/1151048/125126681-b0380e00-e0b8-11eb-9f2c-a75e2909754c.png)

After you now get the `source.ip` without errors:
<img width="1074" alt="Screen Shot 2021-07-09 at 1 28 24 PM" src="https://user-images.githubusercontent.com/1151048/125127326-94813780-e0b9-11eb-9367-bb3b406ff55a.png">

### 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
2021-07-09 16:23:00 -06:00
Ryland Herrick
937a4f381a
[Security Solution] Enrichment details UI cleanup (#104995)
* Remove the "view threat intel data" button from the alert summary

This can be accomplished by clicking the tab itself; there's no real
need for this button.

* Remove section title from alert summary view

This made sense when we had both alert and threat sections, but we no
longer do.

Removes the corresponding translation, and the analogously unused title
from the defunct threat summary view.

* Smaller spacer on alert summary tab

This is distractingly large as compared to other tabs.

* Move "no enrichments" panel below our threat details table

* Remove old import

* Move inspect button inline with rest of header

* Add HR separator to top of NoEnrichmentsPanel

This should arguably be added a level above so as to keep this panel
context-agnostic, but it's currently only used in one place and will
always require the HR, so YAGNI for now.

* Adds more space between title and description on "no data" panel

It has been suggested that the NoEnrichmentsPanel should be following
the guidelines of the EuiEmptyPrompt. If we end up needing e.g. centered
text, we're better off rewriting NoEnrichmentsPanelView in terms of an
EuiEmptyPrompt.

* StyledEuiInMemoryTable has no header row height

We have never provided column names to this component. However, there is
default padding on the thead tds such that even without content they
take up vertical height.

This has resulted in some extra top-margin on historical uses of this
table (which are just the Alert Details views). However, the addition of
a sibling table (ThreatSummaryView) made the extra margin noticable,
since it made the two tables appear disjointed even though they're right
up against each other.

This fixes the issue by removing the padding, allowing the thead to take
no height.

And now that that space isn't taken up by the table header, we need to
add a little bit of space between the header and table on the Threat
Details view.

* Move test to appropriate location

The ThreatDetailsView is no longer responsible for displaying the "no
data" components, that's now a level above in EventDetails.

* Prune unused translations

These have been changed in the latest designs.

* Only add HR if panel is preceded by enrichments

We do not want an HR if there's nothing above the panel.
2021-07-09 18:20:10 -04:00
Oliver Gupte
a05853ab2a
[APM] Support for data streams index patterns for cloud migration (#105015)
* [APM] Support for data streams index patterns for cloud migration (#101095)

* [APM] Update apm package version to 0.3.0 (elastic/apm-server/#5579)
2021-07-09 23:52:17 +02:00
Constance
1739b55f94
[Enterprise Search] Fix Error Connecting view not displaying for auth issues (#105125)
* Fix ent-search authentication to show the error connecting screen

Missed this in #103555

* [Misc] updoot handleConnectionError order/spacing to match

- why? because i've lost control of my life, probably
2021-07-09 17:31:01 -04:00
Ece Özalp
bcc8ee2532
[CTI] makes dashboard links external (#104979)
* [CTI] makes dashboard links external
2021-07-09 17:28:15 -04:00
Ece Özalp
b7f50c279b
[CTI] updates overview cti panel copy (#105074) 2021-07-09 17:17:48 -04:00
Jason Stoltzfus
fdd37e3cfb
Fixed description on Ent Home (#105122) 2021-07-09 17:14:37 -04:00
spalger
ce48b73dc8 skip suites failing es promotion (#104466) 2021-07-09 13:59:56 -07:00