Commit graph

29134 commits

Author SHA1 Message Date
Melissa Alvarez
af19e9dd80
[ML] DF Analytics Outlier detection results - add search bar (#51235)
* add search bar to outlierDetection results table

* show empty results error message in table so user can retry query

* remove unused translation

* type updates after branch update
2019-11-22 09:12:21 -05:00
Chris Davies
8acd526bb7
[Lens] Allow numeric terms aggs (#50177) 2019-11-22 09:11:23 -05:00
kaiyan-sheng
b6d4e3a590
Add AWS logs filebeat module to Kibana home (#51236)
* Add AWS logs filebeat module to Kibana home

* Fix merge conflict

* Fix Cloudwatch Logs to AWS Cloudwatch logs
2019-11-22 07:00:36 -07:00
Robert Oskamp
ed8b822c8f
[ML] Add ownership of transform functional test files to ml-ui (#51418) 2019-11-22 14:46:57 +01:00
Thomas Watson
bbe287f05f
docs: improve CONTRIBUTING docs for how to run Kibana tests (#51285) 2019-11-22 14:05:00 +01:00
Court Ewing
c9c4f7930d
Remove all code associated with node-ctags (#51405)
This was only used by the code plugin, which was removed in 7.5.0.
2019-11-22 07:39:03 -05:00
Alexey Antonov
b5b81791a1
Use NP registry instead of ui/registry/field_formats - cleanup (#51419)
Cleanup  after merging #48108
2019-11-22 14:02:03 +03:00
MadameSheema
67a3489a4b
fixes toggle columns cypress tests (#51279) 2019-11-22 11:15:47 +01:00
Rudolf Meijering
0ce30b5ce1
Retry authentication and other connection failures in Saved Object migrations (#51324)
* Retry authentication and other connection failures in migrations

* Log migration ES connection errors once, retry every 2.5s

* Test migrations es connection error logging

* retry on AuthorizationExceptions during migration

* Set delay to 1 for tests
2019-11-22 10:48:54 +01:00
Nathan L Smith
5d29ede6ce
[APM] Fix typo in serviceMapEnabled config value (#51382) 2019-11-21 21:11:57 -06:00
Tim Sullivan
1034bb4819
[Reporting/np-k8] Remove several oncePerServer usages (#50997)
* [Reporting/np-k8] Remove several oncePerServer usages

* ts fixes 1

* ts fixes 2

* more ts fixes

* more ts fixes

* more ts fixes

* ts simplification

* improve ts

* remove any type for jobParams and define JobParamsSavedObject and JobParamsUrl

* ts simplification

* Fix ts

* ts simplification

* fix ts

* bug fix

* align with joels pr
2019-11-21 20:06:08 -07:00
Frank Hassanabad
fd4df6bcf8
Allows empty string for query when filters are set or ommiting them all together (#51398)
Fixes a bug to allow an empty query string when filters are set or to omit the query on the post call if you have a set of filters defined. 

### 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)~~

- [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-11-21 19:23:01 -07:00
Tim Vernum
2193970928
Update explanation of elasticsearch.ssl.key (#50748)
The docs for `elasticsearch.ssl.certificate` and `elasticsearch.ssl.key` were not entirely accurate and referenced an out of date ES setting.
2019-11-22 13:05:54 +11:00
spalger
90db0b8101 disable flaky suite (#40912) 2019-11-21 18:28:50 -07:00
Spencer
b934f8dd49
[master] Polish SHA comparison in reference doc (#46432) (#51407)
* Polish SHA comparison in reference doc

* Update targz.asciidoc
2019-11-21 17:29:56 -07:00
Jose Sanchez Robles
2b04ba199c Added Wazuh plugin to known plugins list (#50751) 2019-11-21 17:16:46 -07:00
Court Ewing
5974c4658f
Remove @elastic/lsp-extension (#51335)
This was only used by the code plugin, which was removed in 7.5.0.
2019-11-21 18:33:15 -05:00
Nathan Reese
a9258ffa5e
[Maps] avoid duplicated geometry in filter meta (#51133)
* [Maps] avoid duplicated geometry in filter meta

* clean up

* fix type error

* remove filterTypes from data shim and import directly from NP data plugin

* rename mapQueryDsl to mapSpatialFilter

* add unit test for mapSpatialFilter
2019-11-21 15:46:00 -07:00
Spencer
8acfd4673c
reset locked emotion/* and csstype versions (#51366) 2019-11-21 15:23:40 -07:00
Janeen Mikell-Straughn
1142f4b277
Added endgame-* index and new heading 3 Elastic Endpoint SMP. (#51071) 2019-11-21 16:46:34 -05:00
Thomas Neirynck
c3c1a2be8a
[Maps] [Telemetry] Count indices with geo-fields (#51221) 2019-11-21 16:45:24 -05:00
Thomas Neirynck
05f765a7a9
[Maps] Introduce fields (#50044)
This introduces the `AbstractField` class and its implementations. Their use replace the ad-hoc object literals that were used to pass around field-level metadata in joins, metrics, styles, and tooltips.
2019-11-21 16:36:56 -05:00
Garrett Spong
bda4ea0195
[SIEM] [Detection Engine] Adds Rules Table (#50839)
## Summary

This PR wires up the Detection Engine Rules Table and provides the following features:
 * [x] Lists all rules for a given user/space
 * [x] Search/Filtering via `Rule Name`
 * [x] Sorting via `Activate`
 * [x] Pagination
 * [x] Enable/Disable Action
 * [x] Rule Selection / Batch Actions
 * [x] Rule Import w/ validation via `io-ts`
 * [x] Batch Actions
   * [x] Activate selected
   * [x] Deactivate selected
   * [x] Export selected (as `.ndjson`)
   * [ ] ~Edit selected index patterns...~ (Waiting on supported feature)
   * [x] Delete selected
 * [x] Individual Overflow Actions
   * [ ] ~Edit rule settings~ (Waiting on supported feature)
   * [ ] ~Run rule manually...~ (Waiting on supported feature)
   * [x] Duplicate rule...
   * [X] Export rule
   * [x] Delete rule...

##### Searching / Sorting
![sort_and_filter](https://user-images.githubusercontent.com/2946766/69286404-641d1a80-0bb0-11ea-9930-8eada88b36f6.gif)

##### Importing / Exporting
![import_and_export](https://user-images.githubusercontent.com/2946766/69286806-79df0f80-0bb1-11ea-99c5-92df0a706f0e.gif)

##### Import Fails validation
![import_failed_validation](https://user-images.githubusercontent.com/2946766/69286797-72b80180-0bb1-11ea-9397-71fa0ff0b203.gif)

##### Batch Activate / Deactivate
![batch_activate_deactivate](https://user-images.githubusercontent.com/2946766/69287019-0093ec80-0bb2-11ea-8320-57cc7fec27a8.gif)

##### Batch Delete
![batch_delete](https://user-images.githubusercontent.com/2946766/69287139-6e401880-0bb2-11ea-948c-c5b92ba90e6f.gif)

##### Delete / Duplicate
![dupe_and_delete](https://user-images.githubusercontent.com/2946766/69287143-74ce9000-0bb2-11ea-88b3-db75f66ba666.gif)


### 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)
- [ ] ~[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 on overall Detection Engine documentation
- [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
  * Includes basic tests -- will expand coverage as features solidify
- [ ] ~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-11-21 14:25:23 -07:00
Chris Roberson
642eb81014
[Monitoring] Refactor the enter setup mode button (#51103)
* Refactor this button to react for more control

* Reset this

* await this

* PR feedback

* Fix tests

* Use class

* Fix tests
2019-11-21 16:19:51 -05:00
gchaps
104fd5571a
[DOCS] Updates Reporting docs (#50989)
* [DOCS] Updates Reporting docs

* [DOCS] Adds more information on roles and privileges

* [DOCS] Incorporated review comments in Reporting doc

* [DOCS] removes xpack from url

* [DOCS] Replaces low values in watcher reporting example
2019-11-21 13:02:44 -08:00
Kaarina Tungseth
85568b98c5
[Reporting/Docs] add information about puppeteer debug method (#49526) 2019-11-21 14:32:35 -06:00
Larry Gregory
a853609332
Feature Controls - adds matrix for feature availability (#39078)
* document feature availability

* move feature table
2019-11-21 15:09:17 -05:00
Kaarina Tungseth
bb6421238e
[DOCS] Compresses gifs (#51332) 2019-11-21 14:02:23 -06:00
Frank Hassanabad
acac80c874
[SIEM][Detection Engine] Adds of risk score, output index, rule copying, and more (#51190)
## Summary

- `risk_score` now required on a POST to the rules 
- `output_index` now required on a POST to the rules
- Enabled a mechanism to deploy using environment variables a way to turn signals on for testing
- Removed `SIGNALS_REINDEX` algorithm now
- Added an optional `meta` object for misc storage of UI information on a POST
- Added `status` field for the signal document for the signals data grid viewer
- Added default signals output index to ui settings of `siem:defaultSignalsIndex`
- Removed revision from signals as we are not doing revisioning
- Updated schema to utilize newer rules with slightly different structure
- Updated the copying of rule meta data into signals to have latest fields
- Added ability for saved searches to save state so if a saved search is deleted you can have a fallback
- Updated `README.md` with new instructions on how to use the system

Screen shot of the advanced setting for the siem signals output index.
<img width="677" alt="Screen Shot 2019-11-19 at 9 08 40 PM" src="https://user-images.githubusercontent.com/1151048/69287461-9b40fb00-0bb3-11ea-9761-9e0c6df69bb9.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)~~

- [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-11-21 13:00:51 -07:00
Wylie Conlon
5f2a326d89 [Docs] Update and improve docs for Visualize and Discover (#49810)
* [Docs] Update and improve docs for Visualize and Discover

* Create a new section for default editor docs

* Fix significant terms link

* Writer changes

* Remove pages that aren't helpful to users

* More writer changes
2019-11-21 13:57:21 -06:00
patrykkopycinski
989489ebf3
Update deprecated React.SFC and React.StatelessComponent types (#50852) 2019-11-21 20:53:54 +01:00
gchaps
6a46087556
[DOCS] Fixes reporting + reverse proxy documentation (#51113)
* [DOCS] Fixes reporting + reverse proxy documentation

* [DOCS] Updates Reporting settings doc per review comments

* [DOCS] Incorporates review feedback

* [DOCS] Combines notes in on section
2019-11-21 11:30:03 -08:00
Court Ewing
6f5491c752
Remove @elastic/javascript-typescript-langserver (#51115)
This was only used by the code plugin, which was removed in 7.5.0.
2019-11-21 14:23:59 -05:00
Shahzad
bc3d573a4b
[Maps] Added options to disable zoom, hide tool tips, widgets/overlays in embeddable maps (#50663)
* added options to disable zoom, hide tool tips, widgets/overlays in embeddable maps

* revert panel changes

* added disable interactive

* remove redundant code

* update redux state and removed widget over lay hiding

* update readme with added map props
2019-11-21 20:12:57 +01:00
Shahzad
3e5305994f
[Uptime] Redesign/44541 new monitor list expanded row (#46567)
* expanded row component

* expanded row component

* updated expand comp

* update expander row

* update expanded row

* update graphql schema

* update styling

* added monitor detail route

* added monitor state

* added monitor details state

* update drawer

* update drawer

* updated drawer components

* update monitor drawer

* update tests

* revert some changes

* revert some changes

* revert some changes

* update test

* update drawer

* added run time validation

* update monitor status

* added location icon

* update locations

* fix relative path

* update unamelocation

* updated snaps

* update formatting

* updated snaps

* update snaps

* improve code formatting

* update snaps

* updated translation formatting !!

* update snaps

* update i18n
2019-11-21 20:10:33 +01:00
spalger
bf2d6e7b6c [codeowners] assign src/dev/i18n to stack services team 2019-11-21 11:30:04 -07:00
Melissa Alvarez
7ca23492eb
[ML] DF Analytics Regression results: rerun evaluate endpoint for search bar queries (#50991)
* update evaluate panel values

* re-evaluate endpoint with subquery

* wip: add document count for training/gen evaluate

* add document count for training/gen evaluate continued

* use toolTipIcon, remove unnecessary comment

* typescript improvements

* use anchorClassName instead of targetin eui class directly
2019-11-21 12:52:17 -05:00
Brandon Morelli
8ad045bc3c
[logs-ui][docs] Logs analysis docs (#50832) 2019-11-21 09:34:51 -08:00
gchaps
0d612b345b
[DOCS] Adds clarification ot encryption key setting (#51244) 2019-11-21 08:42:07 -08:00
Nathan Reese
e6404cb24a
[Maps] fix tooltips for geojson source (#51251) 2019-11-21 09:10:36 -07:00
Søren Louv-Jansen
345ce4d125
Add -no-base-path to readme 2019-11-21 15:57:13 +01:00
Dario Gieselaar
06bee60512
[APM] Migrate server routes to NP (#49455)
* [APM] Migrate server routes to NP

Closes #49238.

Pass legacy API to NP plugin in order to use internal SO client

Fix issues with agent configuration APIs

Update tsconfig template for TS optimization

Fix typo

* Review feedback

* Fix type issues after browser duration changes

* Revert changes in getServices due to readability concerns

* Review feedback
2019-11-21 15:46:34 +01:00
Maja Grubic
a6f7b18546
[Dashboard] EUI-fication of the empty dashboard screen (#51151)
* [Dashboard][POC] De-angularize empty screen

* EUI-fication of the empty dashboard screen

* Adding tests for empty dashboard screen

* Removing unused imports

* Reorganizing directive so that it works with local Angular

* Adding string constants

* Adding missing snapshot
2019-11-21 14:45:03 +00:00
patrykkopycinski
46e0f9fe58 Update note_card_body snapshot (#51278)
* Update note_card_body snapshot

* paginated_table
2019-11-21 13:28:58 +00:00
Liza Katz
553f93908c
Move some of filter bar's utils to appropriate locations (#51162)
* Move IDataPluginServices interface to NP

* Move stubs to NP

* Fix eslint

* Move build filters to NP

* getFilterParams to NP
Replace getQueryDslFromFilter with esFIlters.cleanFilter

* Move getDisplayValueFromFilter and getIndexPatternFromFilter to NP

* Update types

* Move isFilterable to NP

* Fix i18n error

* Fixed import of isFIlterable

* code review import change

* fix typo
2019-11-21 15:27:09 +02:00
Mikhail Shustov
68346eceff
update testing infrastructure for ui_settings (#51266)
* update testing infrastructure for ui_settings

* remove type mute
2019-11-21 14:24:37 +01:00
Pierre Gayvallet
1bef133519
Expose whitelisted config values to client-side plugin (#50641)
* introduce PluginConfigDescriptor type

* inject client plugin configs in injectedMetadata

* expose client config in PluginInitializerContext

* add example implementation in testbed

* update generated doc

* only generates ui config entry for plugins exposing properties to client

* separate plugin configs from plugins

* restructure plugin services tests

* fix test/mocks due to plugin configs api changes

* add unit tests

* update migration guide

* update tsdoc

* fix typecheck

* use sync getter for config on client side instead of observable

* change type of exposeToBrowser prop

* updates generated doc

* fix doc and address nits
2019-11-21 12:37:23 +01:00
renovate[bot]
8b5e03e259 Update dependency cypress to ^3.6.1 (#50119) 2019-11-21 11:11:46 +01:00
Anton Dosov
cfcac347e6
Enable expression service screenshot tests (#50472)
* Enables interpreter screenshot tests which were disabled in #42842
* Refactors tests to use expression service
* Fixes edge cases in expression service render:
** fixes swallowing of promise rejections from renderer.render()
** fixes swallowing of errors which emitted sync in render()
* Adds default value to colorRange type, as otherwise it fails in runtime if not passed
2019-11-21 10:57:50 +01:00
patrykkopycinski
a10bae2dd6
Update styled-components to latest version (#49679) 2019-11-21 10:53:58 +01:00