spalger
6e3beaeacc
skip flaky suite ( #44250 )
2019-09-01 23:20:22 -07:00
spalger
97135be313
disable flaky suite ( #41336 )
2019-09-01 23:10:44 -07:00
Henry Wong
25c168dd26
[code] Update download URLs for go lsp. ( #44581 )
2019-09-02 14:08:35 +08:00
spalger
5d47a562e6
disable flaky suite ( #44575 )
2019-09-01 23:04:37 -07:00
spalger
7607dbf8db
disable flaky suite ( #44576 )
2019-09-01 23:03:36 -07:00
Mengwei Ding
12dece6fae
[Code] add functional test to verify lang server full api symbol/reference counts ( #44051 )
...
* [Code] add functional test to verify lang server full api symbol/reference counts
* symbol language aggregations
2019-08-31 23:26:54 -07:00
Clint Andrew Hall
edc13bfe46
Improve Storybook scripts and load time ( #44511 )
...
* Improve Storybook Scripts and load time
* Remove extra module rule
2019-08-31 13:51:46 -04:00
Clint Andrew Hall
3779931872
Update Dependencies ( #44519 )
2019-08-31 13:46:24 -04:00
Stacey Gammon
892728efba
Remove use of injecti18n in Embeddables plugin ( #44043 )
...
* remove use of injecti18n
* fix jest tests and typescript errors
* Fix more jest tests
2019-08-31 10:55:23 -04:00
Frank Hassanabad
13d43fe6c4
[SIEM] Adds a configuraton option for the default SIEM date time range ( #44540 )
...
## Summary
Adds a configuration for the SIEM date time picker and interval within advanced settings:
```
${root}/app/kibana#/management/kibana/settings
```
<img width="696" alt="Screen Shot 2019-08-30 at 1 24 29 PM" src="https://user-images.githubusercontent.com/1151048/64046623-95de9200-cb29-11e9-9f5a-dc396494210c.png ">
### 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 )
- [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 )
- [x] [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 )
### For maintainers
- [x] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process )
- [x] 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-08-30 18:32:34 -06:00
Shahzad
7fd09c90c0
[Uptime]Fix/issue 40584 section headline should be inside panel ( #43468 )
...
* move title inside panel
* fix monitor list title
* update title in each panel and paddings
* update unit tests snapshots
* make section titles symmeteric
* update snapshots
* Add chart wrapper to improve UX experience and padding arounds charts
* removed ping list count
* removed unnecessary spacer
* update test snaps
2019-08-30 15:38:17 -07:00
spalger
ac23159b1f
disable flaky suite ( #22322 )
2019-08-30 15:30:44 -07:00
Frank Hassanabad
7a0a3f5b86
Changes network to use ECS fields ( #44392 )
...
* Change network to use ECS fields
* Updated functional tests with new field mapping and data
2019-08-30 14:33:35 -06:00
Clint Andrew Hall
e65fb7cfab
Fix 'workpad flash' when loading new workpad ( #44387 )
...
* Fix 'workpad flash' when loading new workpad
* Fix SCSS path
2019-08-30 15:17:08 -04:00
spalger
bf10d0774b
[renovate] bump new PR version labels
2019-08-30 12:14:19 -07:00
renovate[bot]
06852ed576
Update dependency cmd-shim to ^2.1.0 ( #44034 )
...
* Update dependency cmd-shim to ^2.1.0
* rebuild kbn/pm
2019-08-30 12:12:41 -07:00
Rashmi Kulkarni
382733be29
[WIP] Rollup unskip test - test 30 times on CI ( #44304 )
...
fixes https://github.com/elastic/kibana/issues/43559
2019-08-30 10:36:51 -07:00
Aleh Zasypkin
7fa4860e37
Document PKI authentication provider. ( #43572 )
2019-08-30 19:33:23 +02:00
Chris Cowan
a8d9e2bb68
[Infra UI] Add legends and points to charts on node detail page ( #43787 )
2019-08-30 10:17:26 -07:00
Justin Kambic
890fb67d7d
[Uptime] Add certificate expiration dates to uptime GQL schema ( #43352 )
...
* Add certificate expiration date to uptime GQL schema.
* Update test fixture/snapshot for broken unit test.
2019-08-30 12:51:04 -04:00
Chris Cowan
6f5c3e2902
[Infra UI] Convert node detail page time range to date strings ( #43881 )
...
* [Infra UI] Convert node detail page time range to date strings
* remvoing setInterval test
* making time parsing more robust.
* removing extra code
* fixing io-ts import
2019-08-30 09:42:32 -07:00
Poff Poffenberger
9757489736
Removing unused colors and fixing number color for accessibility in the expression editor ( #44416 )
2019-08-30 11:27:42 -05:00
Stacey Gammon
c469b0849d
np-ify embeddable explorer plugin ( #44110 )
...
* np-ify embeddable explorer plugin
* use plugins.embeddable, not start
2019-08-30 12:04:32 -04:00
Vadim Dalecky
93f920624f
ui/saved_objects components 👉 New Platform ( #43416 )
...
* refactor: 💡 remove chrome usage in ui/saved_objects
* refactor: 💡 move <SavedObjectFinder> to kibana-react NP plugin
* test: 💍 move <SavedObjectFinder> tests to New Platform
* refactor: 💡 move <SavedObjectSaveModal> to kibana-react plugin
* test: 💍 fix TypeScript errors in a test
* feat: 🎸 port translations to NP plugin
* test: 💍 update Jest snapshot
2019-08-30 17:43:41 +02:00
Matthias Wilhelm
213ae02162
Remove :type from discover context url ( #44008 )
...
* Add url without type to discover context
* Add redirectTo for the legacy URL
* Adapt link to context in discover table
* Remove code duplication by usage of redirectTo
* Remove anchorType from application and tests
* Cleanup mocha tests
2019-08-30 16:33:06 +02:00
Walter Rafelsberger
2519b0040d
[ML] Data frame analytics: Fix job types ( #44376 )
...
Fixes support for different types of analysis in the data frame analytics jobs list.
- A new column Type lists the analysis type.
- Adds a check to enable the View action only for outlier_detection jobs.
- Fixing missing translations for the View button.
2019-08-30 05:32:51 -07:00
Walter Rafelsberger
6c5682cfa1
[ML] Fix form flickering. ( #44473 )
...
The job creation form displayed in the modal adapts its height dynamically if the content changes. If a form element changes to show/hide error messages, this results in a changing height of the modal. If you type quickly e.g. in the job ID input field and type chars which are invalid only for example at the end of the string, this will result in an unwanted height toggling effect. This PR fixed it by 1) delaying the visilibity of the error message by 500ms and 2) animating the height and opacity to create a fade-in effect after that so the modal grows smoothly and doesn't toggle its height.
2019-08-30 05:29:21 -07:00
Matt Apperson
3a23ea7e97
adding esArchiver service for Jest contract tests ( #44276 )
...
* adding esArchiver service for Jest
* Added validations to the API, sample test has its own archive, now works with an authenticated or un-authenticated stack
* Update x-pack/test_utils/jest/contract_tests/services/es_archiver.ts
* run prettier
* assign default
2019-08-30 06:37:42 -04:00
Rudolf Meijering
901a54ecbc
Resolve filter index references when importing saved objects ( #42974 )
...
* Resolve filter index references when importing saved objects
* Tests for filter index resolution
* saved_object.js test for serialization of non-existing searchSource indexes
2019-08-30 12:10:54 +02:00
Walter Rafelsberger
f89856a1f0
[ML] Fixes data frame analytics progress reporting. ( #44388 )
2019-08-30 02:17:49 -07:00
WangQianliang
556e9ae4b3
[Code] fix file tree folder collapse issues ( #43573 )
...
* fix(code/frontend): fix file tree directory open;fix flatten directory
* fix sort file tree
2019-08-30 13:03:40 +08:00
Yulong
b9cbaf5dc2
[Code] remove 'server is initializing error' ( #44074 )
2019-08-30 12:51:44 +08:00
Yulong
a6e5803586
[Code] don't show "NO DEFINITION" if multiple definitions found ( #43964 )
...
[Code] fix detach mode for ctag langserver
2019-08-30 12:50:37 +08:00
Joel Griffith
2f054baccc
Don't add the "connection" header to every request ( #44343 )
...
* Don't add the "connection" header to every request -- let the browser do so
2019-08-29 18:20:03 -07:00
Eli Perelman
4667c46cae
Add x-pack plugin for new platform server licensing information ( #43623 )
...
* Add x-pack plugin for new platform server licensing information
* Update x-pack translations
* Implement core plugin interface for licensing plugin:
* Rename references to service to plugin
* Use CoreStart in licensing start method
* Fix outstanding reference error
* Fix type check errors
* Address outstanding review comments
* Fix type error in tests
* Address review comments, move polling logic to standalone
* Split up test files
* Fix bad reference in test
* Use relative reference to poller util
* Add more plugin tests to address review comments
* Fix different manners of config generation in licensing plugin
* Update test fixtures
* Fix path to test fixtures
2019-08-29 18:28:31 -05:00
Mengwei Ding
8952e57fa0
[Code] add skipCloud for all code function tests ( #44334 )
2019-08-29 15:59:10 -07:00
Clint Andrew Hall
11af058858
nit: Format sass-lint ( #44432 )
2019-08-29 18:56:53 -04:00
Garrett Spong
195be6022e
[SIEM] [ML] Adds new jobs for SIEM ML Integration ( #44301 )
...
## Summary
Adds the below new ML Jobs from https://github.com/elastic/kibana/pull/43783 and https://github.com/elastic/kibana/pull/44383 for the SIEM ML Integration.
Note: This also removes the `siem-api-` prefix added when jobs are initially created. As a result, upgrading users who have any of the three original jobs (`rare_process_linux_ecs`, `suspicious_login_activity_ecs`, `rare_process_windows_ecs`) installed, will have the latest version of them installed without the prefix. The old `siem-api-` prefixed jobs will then show up in the `Custom jobs` tab within the UI. This was going to happen with the `rare_process_linux_ecs` anyway, as it was renamed to `rare_process_by_host_linux_ecs`, so we took the opportunity to clean up naming while the job count is low. Job versioning/migration will be addressed in 7.5.
``` ts
{
name: 'siem_auditbeat_ecs',
defaultIndexPattern: 'auditbeat-*',
jobs: [
'rare_process_by_host_linux_ecs',
'suspicious_login_activity_ecs',
'linux_anomalous_network_activity_ecs',
'linux_anomalous_network_port_activity_ecs',
'linux_anomalous_network_service',
'linux_anomalous_network_url_activity_ecs',
'linux_anomalous_process_all_hosts_ecs',
'linux_anomalous_user_name_ecs',
],
},
{
name: 'siem_winlogbeat_ecs',
defaultIndexPattern: 'winlogbeat-*',
jobs: [
'rare_process_by_host_windows_ecs',
'windows_anomalous_network_activity_ecs',
'windows_anomalous_path_activity_ecs',
'windows_anomalous_process_all_hosts_ecs',
'windows_anomalous_process_creation',
'windows_anomalous_script',
'windows_anomalous_service',
'windows_anomalous_user_name_ecs',
],
},
```
### Checklist
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [ ] ~This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility )~
- [ ] ~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
* Will work with @benskelker to update the job list in the [SIEM Guide](https://www.elastic.co/guide/en/siem/guide/current/machine-learning.html ). @randomuserid, is there any additional documentation you would like to add?
- [ ] ~[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-08-29 16:38:40 -06:00
Oliver Gupte
3c68c98e2c
[APM] Average page load duration by country chart ( #43567 )
...
* [APM] Adds chart for page load averages by country in RUM page-load view
* [APM] Simplified and refined ChoroplethMap. Added legend labels.
* - Replaced Map legend slices with smooth gradient
- fixed issue with map rendering multiple times
- renamed initial props to start with 'initial'
- added some more code comments
* use correct i18n ids
* - base color progression calc directly on euiColorPrimary
- check that a layer exists before querying features
* Addressed code review feedback
* - fixes issue where min/max was not a finite value
- cleans up mouseover handler, which updates on state changes
- formats doc count for display
- style improvements
* addressed PR feedback & updated renovate.json5
* - Removed the Legend from the ChoroplethMap
- Only render tooltip when there's data
* - fix hover state not clearing properly
- add better typing around Geojson propertier for world countries
* added missing css import
2019-08-29 15:29:12 -07:00
Chris Cowan
045ffbd009
[Infra UI] Add bar chart option to Metrics Explorer ( #43728 )
...
* [Infra UI] Add bar chart option to Metrics Explorer
- add bar chart to chart options
- change point size for line and area
* Removing old intl code
2019-08-29 15:25:28 -07:00
Steph Milovic
b727f6d81c
use new as ecs field ( #43925 )
2019-08-29 16:11:08 -06:00
Andrew Goldstein
04da21baf1
[SIEM] Customizable columns, row renderers, and expandable events in the Events
widget ( #44324 )
...
## Features
### Customizable columns, row renderers, and expandable events in the `Events` widget
The `Events` widget on the `Hosts` and `Hosts Details` page has been enhanced to:
- Allow columns to be added, removed, and re-arranged
- Render events via _row renderers_, like the `timeline`
- Expand to show the details of an event
![events-viewer](https://user-images.githubusercontent.com/4459398/63887916-0c00be80-c99b-11e9-8152-0c8f9825e739.gif )
### `host.name` links to the `Host Details` page (in `timeline` / `Events`)
The `host.name` column displayed in the `timeline` and `Events` widget now links to
the `Host Details` page
![hosts-link](https://user-images.githubusercontent.com/4459398/63887933-14f19000-c99b-11e9-8a01-7ab094a31ac9.gif )
## Fixes
- Added text truncation elipsis `...` to the `message` field in the `timeline`
![message-truncation](https://user-images.githubusercontent.com/4459398/63887976-2dfa4100-c99b-11e9-9e2e-0c057fba97cb.png )
https://github.com/elastic/siem-team/issues/445
https://github.com/elastic/siem-team/issues/427
2019-08-29 15:41:25 -06:00
Mengwei Ding
50ba97730a
[Code] Add a resolveSnippets API to resolve APM stacktrace item to source code ( #43822 )
...
* [Code] Add a resolveSnippets API to resolve APM stacktrace item to source code
* add unit test
* update endpoint
2019-08-29 14:07:44 -07:00
Spencer
4f4bb02299
manually setup module transforms so to support async imports in webpack ( #44413 )
2019-08-29 14:04:12 -07:00
Tyler Smalley
dd7ea467a0
[@kbn/analytics] Updates dependencies and browser entry ( #44316 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 10:43:36 -07:00
Felix Stürmer
b58eb7630d
Deduplicate hook usage and avoid invariant violation ( #44373 )
...
This avoids violating the hook call count invariant and deduplicates a few hook calls using a container provider.
2019-08-29 19:17:41 +02:00
Tyler Smalley
6321007cac
[backport-config] Adds 7.4 branch ( #44402 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 10:08:19 -07:00
Liza Katz
7b6b6862c3
Update TableListView to use default savedObjects:perPage config ( #43979 )
...
* update table list view to use default savedObjects:perPage
* move pagination settings out of state
2019-08-29 19:58:05 +03:00
Garrett Spong
7995b7edc3
[SIEM] Adds telemetry for ML functionality ( #43926 )
...
## Summary
As outlined in https://github.com/elastic/siem-team/issues/447 , this PR adds the following telemetry events for ML functionality:
``` ts
SIEM_JOB_ENABLED = 'siem_job_enabled',
SIEM_JOB_DISABLED = 'siem_job_disabled',
CUSTOM_JOB_ENABLED = 'custom_job_enabled',
CUSTOM_JOB_DISABLED = 'custom_job_disabled',
JOB_ENABLE_FAILURE = 'job_enable_failure',
JOB_DISABLE_FAILURE = 'job_disable_failure',
```
### Checklist
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [ ] ~This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility )~
- [ ] ~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 )~
- [x] 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-08-29 10:40:36 -06:00
Garrett Spong
d8a0226492
[SIEM] Adds Connections (Pewpew) Map to Network Page ( #43965 )
...
## Summary
This PR uses the Embeddables API to embed a [Connections Map](https://github.com/elastic/kibana/pull/41504 ) on the Network Page of the SIEM App. A [Map Configuration](https://github.com/elastic/kibana/pull/43878 ) is generated on page load for configured Kibana Index Patterns that match the `siem:defaultIndex` setting in Kibana Advanced Settings, with a `Source`, `Destination`, and `Line` layer being created for each configured Kibana Index Pattern.
Features includes:
* Global KQL Bar Filtering
* Global Timerange Filtering
* Global Refresh
* Click on a feature on the map to view details in tooltip
* Line Selection: shows `Total Source/Destination Bytes` and `Total Documents` in tooltip
* Source/Destination Selection: shows `host.name` and `host.ip`
* Send filter to Global KQL Bar from Source/Destination feature tooltip (`host.name` and `host.ip`)
* Informative error when index patterns aren't configured that links to specific beats setup documentation (e.g. [auditbeat setup docs](https://www.elastic.co/guide/en/beats/auditbeat/current/load-kibana-dashboards.html ))
#### Dark Theme:
![image](https://user-images.githubusercontent.com/2946766/63667505-4dbe1900-c791-11e9-9b1e-9b690eafc405.png )
#### Light Theme:
![image](https://user-images.githubusercontent.com/2946766/63667685-f2d8f180-c791-11e9-840e-6d3fbe0adaf2.png )
### Visual Feature Catalogue®
<details><summary>Global KQL Bar Filtering</summary>
![pewpew_global_kql_filter](https://user-images.githubusercontent.com/2946766/63803146-72210f00-c8d1-11e9-951a-18571bbf9069.gif )
</details>
<details><summary>Global Timerange Filtering + Refreshing</summary>
![pewpew_global_time_filter](https://user-images.githubusercontent.com/2946766/63803214-9b419f80-c8d1-11e9-8349-e4f40fa39200.gif )
</details>
<details><summary>Filter on `host.name` or `host.ip` From Map Tooltip</summary>
![pewpew_filter_on_property](https://user-images.githubusercontent.com/2946766/63803302-d6dc6980-c8d1-11e9-990d-c364b53e247b.gif )
</details>
<details><summary>Using Field Formatters in Tooltip to link to Host/Network Details</summary>
![pewpew_field_formatter_links](https://user-images.githubusercontent.com/2946766/63803333-e65bb280-c8d1-11e9-9743-81165e0f78d7.gif )
</details>
<details><summary>Error displayed when Index Patterns aren't available</summary>
![image](https://user-images.githubusercontent.com/2946766/63804367-418ea480-c8d4-11e9-9357-73418a197809.png )
</details>
### 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 and all functionality works in Chrome/FF/Safari
* IE11 fails to load map with `mapbox-gl.js` exception. Details: https://github.com/elastic/kibana/issues/44155
- [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
* Not yet, but will work with @benskelker on this.
- [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 )~
### 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 )~
- [x] 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-08-29 10:40:15 -06:00