Chris Davies
64a54c64d5
Add Lens to dashboard privileges ( #49066 ) ( #49109 )
2019-10-23 17:40:45 -04:00
Melissa Alvarez
839ed00b50
[ML] DF Analytics: check source index contains numerical fields only once it has been selected ( #48843 ) ( #49098 )
...
* Move sourceIndex fields check from flyout open to source index selection
* reset sourceIndex checks when switching job type. add helpful text for no field options for regression
* update types. use FormattedMessages
* use comboBox options format to store sourceIndex title/id in one place
* small refactors and remove loadIndexPatterns from resolver
* refactor destinationIndexPatternTitleExists checks in reducer
2019-10-23 17:24:28 -04:00
Greg Thompson
126bdfc849
[7.5] Upgrade EUI to 14.5.1 ( #49091 )
...
* eui 14.5.1
* infraApp -> metricsApp icon
* loggingApp -> logsApp icon
2019-10-23 16:21:17 -05:00
Nathan L Smith
970c7e451e
[7.5] Add lru-cache shim ( #49014 ) ( #49093 )
2019-10-23 15:04:36 -05:00
Steph Milovic
e009339a9e
sort by bytes in on destination n flow tables ( #48979 ) ( #49049 )
2019-10-23 12:47:09 -07:00
James Gowdy
6cc5303f06
[ML] Fixing detector custom rules in advanced wizard ( #48926 ) ( #49023 )
...
* [ML] Fixing detector custom rules in advanced wizard
* small refactor of loop
2019-10-23 20:38:11 +01:00
James Gowdy
9dea961597
[ML] Fixing time range selection when cloning a job ( #48935 ) ( #49021 )
2019-10-23 20:37:50 +01:00
Pete Harverson
57025c5d77
[ML] Fixes field formatter used for chart and anomaly table values ( #49030 ) ( #49085 )
2019-10-23 20:30:13 +01:00
Garrett Spong
9791700762
[SIEM] Fixes SIEM App not loading in IE11 ( #49047 ) ( #49083 )
...
## Summary
Resolves https://github.com/elastic/kibana/issues/47609 by updating [react-reverse-portal](https://github.com/httptoolkit/react-reverse-portal ) to 1.0.4 which includes an ES5 distribution that fixes the SIEM app not loading in IE11.
SIEM App now loads and DnD from within the custom map tooltips functions as intended:

### Checklist
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility )
* Tested in Chrome, FF, Safari & our good friend IE11
- [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing ), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md )~
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation ) was added for features that require explanation or tutorials~
- [ ] ~[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~
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist )~
### For maintainers
- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process )~
- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process )~
2019-10-23 13:02:43 -06:00
Chris Davies
92fa08bc47
[Lens] Add loading indicator and improved empty state to datapanel ( #48566 ) ( #49063 )
2019-10-23 14:55:17 -04:00
Josh Dover
a22e3b04ab
Use custom deep merging strategy on createCluster ( #48836 ) ( #49044 )
2019-10-23 12:41:24 -05:00
dave.snider@gmail.com
de915bd835
Fix log settings in ie11, also clean up the layout ( #48822 ) ( #48861 )
...
* Fix log settings in ie11, also clean up the layout
* Remove unused imports to fix type checking
* add test subj back in
2019-10-23 09:31:48 -07:00
Brian Seeders
caf82cbb35
[7.5] Remove CACHE_DIR as an option for bootstrap cache dir du… ( #48943 )
...
This value is set by bash_standard_lib.sh to something totally unrelated (git-references dir)
2019-10-23 11:54:26 -04:00
Nathan Reese
f22a6d76af
[skip-ci][Maps] clean-up documenation references to match UI text updates ( #48993 ) ( #49040 )
2019-10-23 08:04:04 -06:00
Dmitry Lemeshko
19bd5c9883
[discover] fix histogram brushing test ( #49024 ) ( #49029 )
...
* [discover] fix histogram brushing test
* use range for expected result
2019-10-23 15:39:53 +02:00
Matthew Kime
949d913722
Index Pattern Date formatter - fixing sample data display ( #48259 ) ( #48989 )
...
* use dangerouslySetInnerHTML more judiciously
2019-10-23 07:21:22 -05:00
Garrett Spong
5eec13d3bf
[SIEM] Fixes map tooltip showing 'Error loading map features' when features exist ( #48855 ) ( #49006 )
...
Resolves https://github.com/elastic/kibana/issues/48213 which was the result of an indexpattern mismatch (value is returned for a field but index pattern doesn't have said field). We now generate the filter on our own instead of calling into the Maps API which was checking the index pattern.
This also cleans up usage of the `AddToKql` component.
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility )
- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing ), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md )
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation ) was added for features that require explanation or tutorials~
- [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
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist )~
- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process )~
- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process )~
2019-10-22 21:35:01 -06:00
Xavier Mouligneau
49c58e8550
[SIEM] Move public to new platform ( #48840 ) ( #48982 )
...
* shim public new platform
* fix import
* fix ml api with kbn version
* review I
* fix bad coding with the hooks
2019-10-22 17:36:14 -06:00
Nathan Reese
0a38bc6ba3
[Maps] fix propType warnings for source with joins ( #48905 ) ( #48940 )
...
* [Maps] fix propType warnings for source with joins
* only accept arrays
2019-10-22 13:54:48 -06:00
Andrew Goldstein
113bc2e61a
[SIEM] Additional Endgame Row Renderer Code Coverage ( #48722 ) ( #48931 )
...
## [SIEM] Additional Endgame Row Renderer Code Coverage
Adds additional unit test coverage for the [Endgame row renderers](https://github.com/elastic/kibana/pull/48277 )
### Endgame Event Types / Subtypes
Additional unit tests were added for the following Endgame event types / subtypes:
* DNS (`dns_event`)
- [X] `request_event`
* File (FIM) (`file_event`)
- [X] `file_create_event`
- [X] `file_delete_event`
* Network (`network_event`)
- [X] `ipv4_connection_accept_event`
- [X] `ipv6_connection_accept_event`
- [X] `ipv4_disconnect_received_event`
- [X] `ipv6_disconnect_received_event`
* Security (Authentication) (`security_event`)
- [X] `user_logon`
- [X] `admin_logon`
- [X] `explicit_user_logon`
- [X] `user_logoff`
* Process (`process_event`)
- [X] `creation_event`
- [X] `termination_event`
### Non-Endgame Events
Additional unit tests for some non-Endgame events were also added, including:
* FIM file `created` events
* FIM file `deleted` events
* Socket `socket_opened` events
* Socket `socket_closed` events
https://github.com/elastic/ecs-dev/issues/178
2019-10-22 13:51:00 -06:00
Steph Milovic
caa7bcbed0
[SIEM] Events Histogram add time_zone argument to match Events Table ( #48821 ) ( #48954 )
2019-10-22 12:45:23 -07:00
Chandler Prall
2584e7eb47
Remove wrapping React.Fragment from EuiNavDrawerGroup in navbar to re-include tooltips ( #48810 ) ( #48920 )
2019-10-22 11:00:57 -06:00
Walter Rafelsberger
bf189144d6
[ML] Transform: Fix notification index. ( #48906 ) ( #48922 )
...
Fixes missing notification messages in the expanded row of the transform list by updating the notification index name to '.transform-notifications-read'.
2019-10-22 09:44:53 -07:00
Robert Oskamp
3e6f4c0314
[ML] Add typeCharByChar option to setValue ( #48727 ) ( #48885 )
...
This PR adds a type option to testSubjects.setValue
2019-10-22 16:47:53 +02:00
Joe Reuter
6776221fdb
Pass raw values and format afterwards ( #48090 ) ( #48900 )
2019-10-22 16:22:41 +02:00
Nathan Reese
cf339b0ed8
[Maps] properly handle id collisions in Kibana index pattern ( #48594 ) ( #48831 )
2019-10-22 07:49:50 -06:00
Joe Reuter
40bd5592ef
add initial query functionality again ( #48627 ) ( #48894 )
2019-10-22 15:40:23 +02:00
Spencer
ff57300ca6
remove report_failed_tests fallback for matrix jobs ( #48809 ) ( #48847 )
2019-10-22 06:32:54 -07:00
Dima Arnautov
999adfe7b3
[ML] Update Anomaly Explorer and SMV on the "Refresh" button click ( #48773 ) ( #48870 )
...
* [ML] update on Refresh button click
* [ML] reset cache on Refresh
2019-10-22 14:26:11 +02:00
Walter Rafelsberger
ac8839172b
[ML] Fix sidebar links. ( #48662 ) ( #48775 )
...
Fixes missing links to the "What is Elasticsearch Machine Learning"-Page as well as an internal Kibana link to Transforms (Transforms were previously part of the ML main menu but are now moved to the Kibana management section so existing users might miss it otherwise).
2019-10-22 03:58:08 -07:00
Felix Stürmer
094969b5ce
[7.5] [Logs UI] Provide index name pattern choice during ML jo… ( #48849 )
...
Backports the following commits to 7.5:
- [Logs UI] Provide index name pattern choice during ML job setup (#48231 )
2019-10-22 12:15:10 +02:00
Walter Rafelsberger
32f12a8397
[ML] Transform: Fix wizard width. ( #48778 ) ( #48872 )
...
The Kibana management section pages default to a max-width of 1200px. The transform creation wizard had a max-width of 100% when it was part of the ML plugin. Because of the existing two-column layout, the new default width can be a bit narrow for table with a lot of columns.
This PR provides an override to replicate the previous full-page-width of the transforms creation wizard. We might revisit this for future versions to blend in more with the overall design of the Kibana management section.
2019-10-22 02:42:45 -07:00
Dima Arnautov
3574a084a3
[ML] Fix partitioning field value update ( #48655 ) ( #48771 )
2019-10-22 09:34:00 +02:00
Spencer
c136143893
[7.5] standardize notice-comment usage ( #48677 ) ( #48815 )
...
* standardize notice-comment usage
* regenerate notice.txt
2019-10-21 15:55:17 -07:00
Matt Bargar
725700ba53
Debounce filter value suggestion refresh ( #48450 ) ( #48699 )
2019-10-21 17:23:39 -04:00
Melissa Alvarez
1c6b6c0356
Add right margin spacing to top nav refresh button ( #48788 ) ( #48804 )
2019-10-21 15:30:07 -04:00
Melori Arellano
77a1434662
[DOCS] 7.4.1 Release Notes ( #48676 )
...
* [DOCS] 7.4.1 Release Notes
* [DOCS] Minor fixes
2019-10-21 12:17:07 -07:00
Brian Seeders
432b1a6102
[7.5] Add ability to use ram disk for jenkins workspace (#4774… ( #48667 )
...
* Add ability to use ram disk for jenkins workspace
* Re-combine ciGroup agents
* Address some PR feedback / questions
* Add --preserve-root
2019-10-21 15:05:52 -04:00
Nathan Reese
6d629a4e91
[skip-ci][Maps] Add tooltip documenation ( #48171 ) ( #48806 )
...
* [skip-ci][Maps] Add tooltip documenation
* mention field formatters
* gchap's updates
2019-10-21 12:10:57 -06:00
Steph Milovic
29816728e7
[SIEM] Network redux cleanup ( #48469 ) ( #48712 )
2019-10-21 09:50:08 -07:00
Brandon Kobel
53759e9d3f
No response compression when there is a referer ( #47751 ) ( #48769 )
...
* Hacking it in there, this is obviously not where this belongs
* Moving implementation to a private method
* Adding unit tests, I don't like the way I had to write these
* Adding integration tests
* Test not relying on implementation details...
* No longer using .inject, thanks Mikhail!!!
* Adding comment explaining the long body
* Fixing nesting of describes for api integration tests
2019-10-21 09:46:55 -07:00
James Gowdy
3abe12edee
[ML] Fix detector modal combo box selection ( #48741 ) ( #48764 )
...
* [ML] Fix detector modal combo box selection
* removing old work around
2019-10-21 17:02:35 +01:00
Daniil Suleiman
03db0ea571
Add keys in NewVisHelp render ( #48619 ) ( #48758 )
2019-10-21 17:44:34 +03:00
Alejandro Fernández
146b1beac7
[7.5] Handle empty datafeedState ( #48660 ) ( #48743 )
2019-10-21 14:49:45 +02:00
Walter Rafelsberger
7140ec1363
[ML] Fix analytics source index selection. ( #48731 ) ( #48739 )
...
Fixes the empty dropdown when only one Kibana index pattern is available. Root cause of the issue: When no index is selected we passed in an selection item with an empty label. Internally EuiComboBox doesn't check if that item matches one of the available options, it just compares the length of selected and available options. So with one empty option selected and one index pattern available the dropdown would say You've selected all available options. This PR fixes it by checking if the current selection is actually part of the available index patterns. If it's an empty string for example, an empty array will be passed to the component instead of an empty with an item with an empty label.
2019-10-21 05:27:41 -07:00
James Gowdy
08413d14ec
[ML] Filtering advanced detector's aggs and fields ( #48651 ) ( #48737 )
...
* [ML] Filtering advanced detector's aggs and fields
* adding comments
* fix for EuiComboBox
* better words
* updating tests
2019-10-21 13:19:50 +01:00
WangQianliang
6338d17bd1
[Code] diff page ( #46714 ) ( #48725 )
...
* fix(code/frontend): enable diff page
2019-10-21 19:51:43 +08:00
Walter Rafelsberger
7f74d61697
[ML] Transforms: Fix page layout ( #48628 ) ( #48730 )
...
Fixes the overall page layout of the transform plugin to be in line with the rest of the Kibana Elasticsearch management section.
2019-10-21 03:50:10 -07:00
Pete Harverson
bfd5411230
[ML] Fixes reselection of same Anomaly Explorer swimlane cell ( #48626 ) ( #48653 )
2019-10-21 11:11:47 +01:00
Walter Rafelsberger
e6b3c85171
[transform] Fix API endpoints. ( #48648 ) ( #48658 )
...
Fixes deprecated API endpoints _data_frame/transforms/ with the _transform/ replacement.
2019-10-21 01:37:01 -07:00