Commit graph

33503 commits

Author SHA1 Message Date
Daniil Suleiman
b70955b436
[Visualize] Bar chart: Show missing values on chart setting (#66375)
* Show missing switch button

* Add functional tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-19 17:47:29 +03:00
Pete Harverson
3e6b3ae74d
[ML] Fixes capabilities check for evaluate analytics endpoint (#66983) 2020-05-19 15:46:18 +01:00
Stacey Gammon
b900040cd3
more propagated bad examples (#66920) 2020-05-19 10:12:15 -04:00
Corey Robertson
ad337d5456
Fix some improperly scoped styles (#66930) 2020-05-19 10:01:19 -04:00
Spencer
9eaf0c050a
[ci/stats] fix git metadata collection (#66840) 2020-05-19 07:00:47 -07:00
Christos Nasikas
fcb8d2a608
[SIEM] Use validators from common folder (#66975) 2020-05-19 16:48:49 +03:00
Matthias Wilhelm
eda439a112
[Discover] Reload route when Reset Search is clicked (#66288)
* Reload route when resetQuery function is triggered

* Add functional test
2020-05-19 15:45:28 +02:00
Brian Seeders
c192dd0772
[CI] Fix Slack test failure names in Slack alerts (#66815) 2020-05-19 09:08:33 -04:00
Brian Seeders
033355af38
Skip flaky SIEM cases connectors test (#66897) 2020-05-19 09:05:55 -04:00
Yulia Čech
ee38e010bf
[Index Management] Fixes detail panel for indices with % in the name (#66435)
* fixes detail panel in Index Management for indices with % in the name

* adds test for detail panel in Index Management
2020-05-19 14:51:18 +02:00
Joe Reuter
20ba3c0fde
fix filter filtering out falsy values (#66904) 2020-05-19 14:44:59 +02:00
Nicolas Chaulet
3e76bc107f
[Ingest Manager] Fix agent status filtering (#66787) 2020-05-19 08:38:44 -04:00
Shahzad
e5846475d3
[Uptime] Reduce page rendering cycles and api calls (#66216) 2020-05-19 12:44:26 +02:00
Marta Bondyra
d9d8777613
[Lens] Fix datatable empty state (#66744) 2020-05-19 11:14:26 +02:00
Cauê Marcondes
df175c8cec
[APM] agent config 'profiling_inferred_spans_min_duration' default value is '0ms' but the min value in the field is '1ms' (#66886) 2020-05-19 10:14:53 +02:00
Catherine Liu
9c11243563
[Canvas] Fix flaky custom element functional tests (#65908)
* Enable clearWithKeyboard option when filling out custom elements form

* Added canvas functional tests path to CODEOWNERS

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-19 00:00:28 -07:00
Daniil Suleiman
428fd06491
Fix IE specific flexbox min-height issue (#66555)
* Fix IE specific flexbox min-height issue

* Use internetExplorerOnly mixin

* Fix other issues in IE

* Add a comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-19 09:50:31 +03:00
Matthias Wilhelm
0d71ed2ba2
[Discover] Unskip doc link functional test (#66884)
Co-authored-by: Spencer Alger <email@spalger.com>
2020-05-19 06:45:58 +02:00
Matthew Kime
f7181a95dc
Index pattern management to Kibana platform (#65026)
* index pattern management to kibana platform
2020-05-18 22:25:20 -05:00
Dave Snider
f7f7f0b0e2
Warning and link to support matrix for IE11 (#66512)
* Warning and link to support matrix for IE11

* snaps

* i18n feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 19:10:45 -07:00
Tim Sullivan
114a0a13a5
[Reporting] Consolidate Server Type Defs, move some out of Legacy (#66144)
* [Reporting] consolidate server types, move some to NP

* Revert touching routes code

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 17:13:45 -07:00
Garrett Spong
951c0f6528
[SIEM] [Maps] Fixes Network Map empty tooltip (#66828)
## Summary

Resolves https://github.com/elastic/kibana/issues/63474, and expands `ITooltipProperty`'s `rawValue` type to include `string[]` as mentioned [here](https://github.com/elastic/kibana/pull/61264#discussion_r398858559).

![image](https://user-images.githubusercontent.com/2946766/82100568-2c0e1480-96c7-11ea-958e-5b1c6b6a3db9.png)



### Checklist

Delete any items that are not applicable to this PR.

- [X] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
2020-05-18 17:55:12 -06:00
Jonathan Buttner
1964b7796d
[Endpoint] Encode the index of the alert in the id response (#66919)
* Encode the index of the alert in the id response

* Fixing tests

* Adding missed test
2020-05-18 19:39:32 -04:00
Dmitry Lemeshko
45cad35222
[services/testSubjects] reduce retry usage, add waitForEnabled (#66538)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-19 00:41:27 +02:00
gchaps
d609f28789
[DOCS] Identifies cloud settings for APM (#66935) 2020-05-18 15:22:49 -07:00
Christos Nasikas
304a4ac5eb
[SIEM][CASE] Fix configuration's page user experience (#66029) 2020-05-19 01:07:07 +03:00
Brent Kimmel
1b1a0f430c
Resolver: Display node 75% view submenus (#64121) 2020-05-18 17:33:38 -04:00
Steph Milovic
1178811ec7
[SIEM] Cases] Capture timeline click and open timeline in case view (#66327) 2020-05-18 15:11:16 -06:00
Nathan L Smith
1006c315cb
[APM] Lowercase agent names so icons work (#66824)
* [APM] Lowercase agent names so icons work

.NET agent name can be reported as "dotNet" instead of "dotnet". Lowercase the key so either one will work.

* Extract getNormalizedAgentName
2020-05-18 14:25:44 -05:00
Spencer
4f1b9a234f
[dev/cli] add support for --no-cache (#66837) 2020-05-18 10:20:53 -07:00
Sonja Krause-Harder
84e06afddc
[Ingest Manager] Better handling of package installation problems (#66541)
* Better handle non-available package registry

* Log errors in route handler only

* Await installation of prebuilt component templates

* Remove leftover import

* Remove useless use of await.
2020-05-18 19:18:25 +02:00
Pete Harverson
1c61ca2c6d
[ML] Enhances api docs for modules endpoints (#66738)
* [ML] Enhances api docs for modules endpoints

* [ML] Edits to modules schema following review

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 18:13:43 +01:00
Stacey Gammon
3b4814ba48
dont hide errors (#66764)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 12:48:50 -04:00
Pierre Gayvallet
e5f56ad7a7
[RFC] Global search API (#64284)
* initial file import

* update types

* update RFC PR number

* first draft complete

* draft v1.1.0

* initial self review

* nits and comments

* add 'preference' option

* change meta type to Record<string, Serializable>

* specify cancellation

* remove generic for GlobalSearchResponse, use distinct type on client and server

* use plain string instead of enum for GlobalSearchResult.type

* remove terminology from unresolved questions

* update pros/cons of core vs plugin

* GS is exposed from a plugin instead of core

* remove the server.publicAddress proposal, return mixed abs url / rel paths instead

* distinguish result type between GS api and result providers

* return batched results, no longer sort

* remove request from GlobalSearchProviderContext

* add maxResults to GlobalSearchProviderFindOptions

* nit/typo
2020-05-18 18:05:24 +02:00
Robert Oskamp
7364f7f0c1
[ML] Functional tests - stablize AD job creation checks (#66733)
With this PR, anomaly detection jobs are checked to have a processed_record_count > 0 before waiting for a stopped datafeed.
2020-05-18 17:29:24 +02:00
Shahzad
1c7227933d
[Uptime] Remove error while index pattern is loading (#66729) 2020-05-18 16:23:17 +02:00
Joe Reuter
404743a9ae
stabilize listing page object (#66564) 2020-05-18 13:29:26 +02:00
Daniil Suleiman
828108729a
Prevent further failures if timezone was not set (#66529)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 12:53:00 +03:00
Dima Arnautov
a997d1fbf5
[ML] fix url assertion (#66850) 2020-05-18 10:12:04 +02:00
Brian Seeders
10ff9a90d0
Skip failing lens test(s). #66779 2020-05-17 22:43:52 -04:00
Pierre Gayvallet
61936a1870
[SOM] Preserve saved object references when saving the object (#66584)
* create field for references and add comments

* add FTR test

* remove comments

* address comments

* use real reference in dataset and assert against it.
2020-05-16 09:08:45 +02:00
Mikhail Shustov
74611e742d
Use ES API from start contract (#66157)
* watcher uses es api from start

* CCR uses ES API from start contract

* Rollup uses ES API from start contract

* Transform uses ES API from start contract

* Snapshot_restore uses ES API from start contract

* remove excessive logging. platform logs all the lifecycles

* file uploader uses ES API from start contract

* remove unnecessary async

* use async getter

* update rollup custom client usage

* address cj comment

* roll back changes. maps tests are failing

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-16 09:04:51 +02:00
CJ Cenizal
bfdeb10c15
Reorganize Management apps into Ingest, Data, Alerts and Insights, Security, Kibana, and Stack groups (#65796) 2020-05-15 16:11:27 -07:00
Andrew Cholakian
ac0946069b
[Uptime] Fix flaky navigation to certs page in tests (#66806)
Fix flaky navigation to certs page in tests.

Fixes https://github.com/elastic/kibana/issues/66778
2020-05-15 17:34:55 -05:00
Nathan Reese
09c950ba6b
[Maps] Do not check count for blended layers when layer is not visible (#66460)
* [Maps] Do not check count for blended layers when layer is not visible

* move visibility logic to map_actions where syncData is called

* clean up

* fix syntax error

* remove async action

* make syncDataForAllLayers a proper redux action

* simplify

* fix functional test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-15 16:28:50 -06:00
Frank Hassanabad
3228f1d137
[SIEM] Fixes glob patterns from directory changes recently for GraphQL
## Summary

Our directory structure has changed recently and the GraphQL needs to be updated for it to find the new location of the graphql files. I used a more global glob approach which will make it easier to change directories again and not have it break. 

This does cause the generated file to have different positions and looks like changes but they are just movements.

To test this:

* Check it out
* Run this:
```sh
 cd $HOME/projects/kibana/x-pack/plugins/siem && node scripts/generate_types_from_graphql.js
```

And ensure the types do not change and you can run a type check like so:

```sh
cd $HOME/projects/kibana && node scripts/type_check.js --project x-pack/tsconfig.json
```
2020-05-15 15:59:59 -06:00
Tiago Costa
a8e82118c8
chore(NA): bump static-fs to 1.0.2 (#66775)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-15 21:32:27 +01:00
Nathan Reese
8dc8aa0c64
[Maps] Handle cross cluster index _settings resp (#66797) 2020-05-15 14:18:39 -06:00
Frank Hassanabad
ab2600f823 [SIEM][Lists] Adds 90% of the REST API and client API for exception lists and exception items
## Summary

See for more details:
https://github.com/elastic/kibana/issues/65938

Adds pieces of the `exception list` and `exception list item` and refactors/cleans the code up where I had parts incorrect with little things such as the javascript library io-ts. Some unit tests were added but I am holding off until more of the operations solidify before adding the unit tests. Everything is still behind a feature flag that must be enabled and not advised still at this point to use so I feel ok pushing these parts forward.

Adds to the API:
- Create exception list
- Read exception list
- Update exception list
- Delete exception list (and exception list items that are associated with it)
- Create exception list item
- Find exception list (/_find)
- Read exception list item
- Update exception list item
- Delete exception list items individually
- Find exception list item (/_find)

What is still missing from the REST and client API?
- Patch exception list
- Patch exception list item
- Bulk versions of everything
- Import/Export options for these exception lists and list items

### Manual testing and REST API endpoints

Go here:
```sh
/projects/kibana/x-pack/plugins/lists/server/scripts
```

See the files:

```sh
delete_all_exception_lists.sh
delete_exception_list.sh
delete_exception_list_by_id.sh
delete_exception_list_item.sh
delete_exception_list_item_by_id.sh
exception_lists
find_exception_list_items.sh
find_exception_lists.sh
get_exception_list.sh
get_exception_list_by_id.sh
get_exception_list_item.sh
get_exception_list_item_by_id.sh
post_exception_list.sh
post_exception_list_item.sh
update_exception_list.sh
update_exception_list_item.sh
```

Ensure you first run:

```sh
./hard_reset
```

and ensure you have setup your kibana.dev.yml to have:

```yml
# Enable lists feature
xpack.lists.enabled: true
xpack.lists.listIndex: '.lists-frank'
xpack.lists.listItemIndex: '.items-frank'
```

Then you can use the above scripts to create, read, update, and delete exception list and exception list items as well as perform find commands against them all.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

Note: Some but limited unit tests at this point.
2020-05-15 14:17:18 -06:00
Pierre Gayvallet
91ed1dd87c
allow any type for customResponseHeaders config (#66689)
* allow any type of value for customResponseHeaders and convert them

* fix test config creation

* add `?? {}` to avoid breaking all tests...
2020-05-15 22:05:54 +02:00