Commit graph

25700 commits

Author SHA1 Message Date
Mengwei Ding e310bd2859
[Code] Filter out binary files for indexer (#37945) 2019-06-04 14:51:35 -07:00
Mengwei Ding c741e28857
[Code] update percentage (#38003) 2019-06-04 14:50:06 -07:00
Brandon Kobel 8aaa7532df
Fixing isMigrated bug, when migrations failed we incorrectly ignored it. (#37674)
Prior to this change, when migrations failed (for example when a
.kibana_1 index already exists and no alias does) the awaitMigration
promise would resolve incorrectly. This allowed subsequent plugins,
including Spaces, to proceed using the SavedObjectsClient/Repository
to create documents. This commonly caused a .kibana index to be created,
which would then block the creation of a .kibana alias, and everything
would grind to a halt.
2019-06-04 14:30:25 -07:00
Catherine Liu 73e764e58a
[Canvas] Fixes broken elements in web logs sample data workpad (#37931)
* Fixed broken elements in logs sample workpad. Cleaned up expression formatting in each element

* Removed return characters at the beginning of expressions
2019-06-04 13:39:27 -07:00
Chandler Prall f8a75dcce0
Make plugins/reporting config snapshot deterministic (#38019) 2019-06-04 16:24:54 -04:00
Fuyao Zhao e5a0348b16
[Code]: add ui.enabled flag and fix uneccessary usage of enabled flag (#38018) 2019-06-04 13:18:19 -07:00
Frank Hassanabad 5cc41b3b06
[SIEM] Authentication fixes for winlogbeat and ordering (#37718)
## Summary
  * Enabled winlogbeat to work with workaround for authentication_failed (until that is fixed)
  * Fixed ordering to be successes first, failures second
  * https://github.com/elastic/ingest-dev/issues/491
  * https://github.com/elastic/ingest-dev/issues/469

### 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)~~
~~- [ ] 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-06-04 13:18:45 -06:00
Michael Marcialis 3624386c4c
[SIEM] Host Details Page Updates (#37769)
* toggle to exclude host ID links on host details pg

* first attempt at hiding host column

* switch to conditionally splicing array of columns

* exclude dest from auth table on host details pg

* minor overview style touchups

* rm some extranous EuiFlexGroup; more need removal

* snapshots update

* Revert "snapshots update"

This reverts commit bdd6b8e316.

* update siem snapshots

* remove unused arg

* change uncommon process column order per #503

* simplify if condition, per steph

* update tests, per steph

* simplify `hostIdRenderer` per xavier

* update snapshots

* fix/improve unit tests, per xavier

* Revert "update snapshots"

This reverts commit dc0f79606b.

* add host links in uncommon processes table

* update uncommon process test, thx to xavier
2019-06-04 15:09:39 -04:00
Garrett Spong cd4f860cd5
[SIEM] Fix IP Overview query to query for most recent Host (#37723)
## Summary

As outlined in https://github.com/elastic/ingest-dev/issues/453, this PR fixes the `IP Overview` query to query for the most recent Host.

Now the Host Data shown will be the most recent host for the given IP regardless of whether `Source` or `Destination` is selected in the FlowTargetSelect.

![image](https://user-images.githubusercontent.com/2946766/58731558-46fb5200-83ac-11e9-97d5-7db5dd8ac84e.png)


### 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~
- [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)~
- [ ] ~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-06-04 10:22:24 -06:00
Lee Drengenberg e9938a54b1
Add 1/2 second sleep to fix test (#37903) 2019-06-04 11:16:52 -05:00
CJ Cenizal 03d8fd5459
Add repository-azure autocompletion settings to Console (#37935)
Add repository-azure as an option when creating a repository.
2019-06-04 09:03:03 -07:00
Ryan Keairns beb651f3cc
[Canvas] Fix workpad list overflow (#37345)
* fix workpad list overflow

* make file picker full width on small devices

* fix modal height, add comments
2019-06-04 09:11:27 -05:00
Matthew Kime 964f9e2d41
remove unneeded eslint-disable directives (#37922)
* remove unneeded eslint-disable directives
2019-06-04 07:53:22 -05:00
Xavier Mouligneau 5ac71cf428
Fix bug when you delete column (#37946) 2019-06-04 08:19:44 -04:00
Justin Kambic 790bfedda6
Add functional test to cover heartbeat location data. (#37891) 2019-06-04 08:19:01 -04:00
Ioannis Kakavas 1a06b0ac6b
Add section about OpenID Connect in docs (#37525) 2019-06-04 15:03:05 +03:00
Ahmad Bamieh 55e36a04aa
[i18n] [docs] Update docs to encourage static i18n import (#37858)
* update documentation

* Update docs/development/plugin/development-plugin-localization.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 15:01:11 +03:00
Larry Gregory 54af64d416
Feature Controls - automatically grant access to short urls (#37532)
* automatically grant access to short urls

* adds API integration tests

* Update x-pack/test/api_integration/apis/short_urls/index.ts

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>
2019-06-04 07:47:45 -04:00
Larry Gregory 227feeb243
Feature Controls - update base privilege tooltip (#37868) 2019-06-04 06:20:24 -04:00
Larry Gregory 7647620cfc
Security - display message when logging out of kibana (#37234)
* display message when logging out of kibana

* update provider tests

* fix token logout test

* remove newline
2019-06-04 06:18:48 -04:00
Maryia Lapata b5c75207e9
[Vis: Default editor] EUIficate IP Ranges (#36896)
* Create IpRangeType and IpRanges controls

* Add validation

* Refactoring

* Add behavior when discarding changes

* Refactoring: create common input list

* Remove old template

* Move add btn to input_list, add placeholder

* Remove unused directives

* Remove unused translations

* Refactoring

* Use EuiButtonGroup instead of toggle button

* Update options ids, add aria-labels

* Remove unused translations

* Update mask model, update TS, update aria labels

* Add validation for CIRD mask
2019-06-04 12:04:43 +03:00
James Gowdy dce42af83e
[Watcher] Reverting incorrectly removed scope parameters (#37875)
* [Watcher] Reverting incorrectly removed scope parameters

* removing  no-unused-vars comments
2019-06-04 09:59:56 +01:00
James Gowdy 5016a63460
[ML] Reverting incorrectly removed scope parameters (#37873)
* [ML] Reverting incorrectly removed scope parameters

* removing  no-unused-vars comments
2019-06-04 09:59:34 +01:00
Felix Stürmer 503ec5b175
[Logs UI] Include correct fields in "entries after" query (#37881)
This fixes #37704 by correcting the fields list used in the second part of the `getLogEntriesBetween` library function.
2019-06-04 04:43:45 -04:00
Dmitry Lemeshko 147fb33234
skip Code History functional tests on Firefox (#37954) 2019-06-04 10:03:06 +02:00
Mengwei Ding 4be1497447
[Code] Avoid update index status if task is cancelled (#37912) 2019-06-03 16:32:36 -07:00
Fuyao Zhao 008eef14e9
[Code] Upgrade typescript language server (#37924) 2019-06-03 16:30:13 -07:00
Vadim Dalecky a53e480881
feat: kibana-react initial setup (#37206)
* feat: 🎸 add NP TypeScript typings

* feat: 🎸 add kibana-react context provider

* feat: 🎸 add initial in-memory core implementation

* test: 💍 simplify useKibana() tests

* feat: 🎸 add useObservable() hook

* test: 💍 implement initial mock for uiSettings for testing

* feat: 🎸 add useUiSetting() hook

* docs: ✏️ update function name

* test: 💍 use core mock for testing useUiSetting() hook

* chore: 🤖 remove unused types

* chore: 🤖 fix linter error

* test: 💍 move core mock inline

Currently it fails on CI because of the relative import, so moving the
mock inline util it is resolved.
2019-06-03 16:27:13 -07:00
Nathan Reese 983f3a25a8
[Maps] fix defaulting to dark tiles when kibana is in dark mode (#37792)
* [Maps] fix defaulting to dark tiles when kibana is in dark mode

* remove unused functions
2019-06-03 17:18:50 -06:00
Fuyao Zhao c1056d243b
[Code]: ignore annotated tags that can't be peeled (#37917) 2019-06-03 15:08:12 -07:00
Chris Cowan a5df2ee962
[Infra UI] Fixes #34427 - Add round up to SuperDatePicker 'to' value (#37896)
* [Infra UI] Fixes #34427 - Add round up to SuperDatePicker 'to' value

* Adding test for Today only
2019-06-03 14:48:33 -07:00
Davey Holler bdf07c6608
[Code] Copy adjustments (#37682)
* Copy changes throughout

* Format changes to language server installation instructions.

* Adding a missing period.

* Revert "Adding a missing period."

This reverts commit 6c732c4d1f84c40c0a80a525e98951046df2342e.

* Adding a missing period.

* fixing eslint errors
2019-06-03 14:44:32 -07:00
Davey Holler 137112e3c3
Fixing a typo in all_test.js (#37684) 2019-06-03 14:32:04 -07:00
Brandon Kobel de0e410d8f
[docs][skip ci] Using consistent terminology when referring to the spaces selection control (#37901)
* Using consistent terminology when referring to the spaces dropdown menu

* Switching to spaces selection control
2019-06-03 11:00:42 -07:00
Wylie Conlon 87ee9c2a9b
Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558)
* Warn in Typescript when using Array.flat() or .flatMap() without polyfill

* Update ecma version provided to babel in eslint

* Update per review comments
2019-06-03 13:52:38 -04:00
Yulong fed933db21 [Code] fix can't shutdown language server when kibana is exiting (#37846) 2019-06-03 10:44:37 -07:00
Steph Milovic a8221cf3c7
[SIEM] Better URL state tests (#37745)
Better SIEM URL state tests
2019-06-03 11:38:20 -06:00
Steph Milovic 627c28045a
[SIEM] Fix timeline styles in Firefox (#37575)
Fix SIEM timeline styles in Firefox
2019-06-03 10:24:53 -06:00
Chandler Prall 86fea48875
Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui (#36316)
* Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui

* update snaps

* Clicking on the svg itself once loaded

* updated snaps

* update icon in snapshots

* Fix snapshot
2019-06-03 12:01:01 -04:00
Lisa Cawley 3b8ed40365
[DOCS] Clarify Data Visualizer limitation (#37143) 2019-06-03 08:41:33 -07:00
James Gowdy 48dfe01d1a
[ML] Fixing data frame permission redirect (#37867) 2019-06-03 16:31:43 +01:00
Brandon Kobel 610c132bcc
Changing the example elasticsearch.username to "kibana" (#37717)
According to @tvernum, this is a common source of misconfiguration.
Since we already recommend that users use the `kibana` reserved user for
this setting, this should hopefully help some users out.
2019-06-03 07:25:33 -07:00
spalger 771f547a29 [renovate] move recreateClosed config to angular packageGroup 2019-06-03 07:11:45 -07:00
renovate[bot] 6cecba85ea Update dependency monaco-editor to ^0.17.0 (#37815)
* Update dependency monaco-editor to ^0.17.0

* [Code] fix type errors for monaco 0.17
2019-06-03 07:05:05 -07:00
renovate[bot] 09b1af0bd3 Update d3 related packages (#37786)
* Update d3 related packages

* [ml/explorer_chart/single_metric] update assertion
2019-06-03 07:01:48 -07:00
Peter Pisljar 78ffd96ad0
removing Private (#37847) 2019-06-03 14:41:04 +02:00
Matthew Kime b316fc3124
axis labels to plain class (#37844) 2019-06-03 07:38:57 -05:00
Matt Apperson 79a1f4777d
Add multiple index support to saved objects (#35747)
* Fixed jest race condition. Map queries to the correct index. Run migrations on all indexes

* fix linting

* fix linting

* build index map after plugin initalization

* wait for ES to get config I guess

* add more index mapping

* update some tests

* fix one more test

* Add multi-index support to deleteByNamespace

* remove uneeded comments

* update types

* fix yarn lock and add empty object
2019-06-03 08:34:27 -04:00
Joe Reuter 5be698f449
remove obsolete type overrides (#37624) 2019-06-03 13:48:21 +02:00
WangQianliang 7c32dc67a9
[Code] Fix code explore repository functional test (#36157)
* Revert "Revert "[Code] set loading false if do not need fetch tree (#36083)""

This reverts commit 6a013cb82e.

* fix flaky `explore_repository` test
2019-06-03 16:48:53 +08:00