Commit graph

44982 commits

Author SHA1 Message Date
Dima Arnautov b17200a2e6
[ML] Model memory state test for Anomaly Detection jobs health rule type (#106763) 2021-07-27 14:39:28 -04:00
Byron Hulcher 925c9006ef
[App Search] Attempt to add protocols to crawler urls when they are submitted for validation (#106764)
* Add validate_url route to crawler routes

* Add getDomainWithProtocol to crawler add domain form utils

* AddDomainLogic.actions.validateDomain now attempts to fix protocols for urls

* Apply suggestions from code review for AddDomain utils

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-07-27 14:26:00 -04:00
Dario Gieselaar 0d5d453af2
[APM] Update ES archive for tests (#106837) 2021-07-27 14:16:03 -04:00
Greg Thompson 566c16ac1b
Upgrade EUI to v36.0.0 (#106334)
* eui to v36.0.0

* i18n tokens

* remove temp styled-components types

* euiemptybutton size updates

* betanotification size prop

* i18n snapshot

* functional timeout

* beta badge unit test
2021-07-27 13:12:00 -05:00
gchaps a059395155
[DOCS] Adds terms to glossary (#106339) 2021-07-27 11:04:21 -07:00
Constance 63bedaa285
[Enterprise Search] Set up automated a11y tests (#106765)
* Set up a11y test/config

* Add product card checks

* Add setup guide checks

* Add documentation
2021-07-27 10:27:27 -07:00
Yuliia Naumenko f589c2fc29
[Alerting] Rename alertTypeRegistry to ruleTypeRegistry according to the new terminology. (#106519)
* [Alerting] Renamed Alerting framework AlertsClient to RulesClient according to the new terminology.

* fixed path

* fixed type checks

* fixed type checks

* [Alerting] Rename alertTypeRegistry to ruleTypeRegistry.

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed type checks

* fixed tests

* fixed merge issues

* fixed merge issues

* fixed tests

* fixed tests

* fixed functional tests

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 10:03:00 -07:00
Kaarina Tungseth 833b12ecc1
[DOCS] Updates Lens and editor pages for 7.14 (#104756)
* [DOCS] Lens features and changes for 7.14

* Aggregation reference

* Formatting

* Fixes terminology

* Updates from 8-Jul meeting

* Terminology

* Updates terminology, images, and tutorial steps

* Update docs/user/dashboard/lens-advanced.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/create-panels-with-editors.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Comments from review

* Cleans up unused images

* Fixes image reference

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-07-27 11:58:42 -05:00
Zacqary Adam Xeper b5e553650d
[Fleet] Add package policy upgrade API (#103017)
* Add Integrations page callout for package upgades

* Fix props

* Add missing file

* Add integrations upgrade callout message

* Add link to updates available tab

* Fix merge

* Upgrade ppolicies UI WIP

* Initial upgrade dry run API

* Add upgrade method

* Move overridePackageInputs and use for upgrade method

* Add new variables to dry run diff

* Revert UI changes to uto upgrade wizard

* Add vars and streams to error keys

* Type fix

* Fix jest

* Fix types

* Fix typecheck

* Fix types

* Add integration test for dry run API

* Flesh out test cases

* Clean up error responses for dry runs

* Fix failing tests

* WIP: Add (failing for now) test case for package upgrade w/ error

* Add compiled_stream to test API payload

* Fix failing test case for automatic upgrade

* Fix compiled stream in package policy upgrade

* Remove fleet and agent setup from integration test

* Unload esarchiver fixtures in api integration test

Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 12:58:24 -04:00
Kyle Pollich b35d6b18a3
Fix breadcrumbs on agent policy sub-tabs (#106844) 2021-07-27 11:38:50 -04:00
Ignacio Rivas 374de9dbc5
[Ingest pipelines] Add copy_from to set processor (#104070)
* fix up validation conditions for fields

* add tests and fix prettier errors

* Small refactor and fix tests

* Fix copy surrounding error handling

* Clean up unnecessary boilerplate from tests

* Fix i18n error

* Keep optional select next to bound input

* Pass disabled prop as boolean

* fix test matchers

* No need to whitelist fields anymore

* Small CR changes

* Convert optional inputs to toggle state

* Fix testcase copy

* address CR suggestions

* address CR changes

* Fix i18n

* Fix labelAppend link alignment
2021-07-27 18:28:30 +03:00
Frank Hassanabad 5dd68dd7b3
[Security Solutions] Removes deprecated types in kbn-securitysolution-* for newer kbn-es-query types (#106801)
## Summary

Fixes https://github.com/elastic/kibana/issues/105731, by replacing these `any` types:

```json
type IFieldType = any;
type IIndexPattern = any;
type Filter = any;
```

With the types from `es-query` which are:
* IndexPatternFieldBase
* IndexPatternBase
* Filter

Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-07-27 09:12:02 -06:00
Alexey Antonov fcaa4aaf40
[TSVB] [Table] js -> ts conversion (#105094)
* table js -> ts

* remove any's

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 18:07:43 +03:00
Nathan L Smith a6211f86f2
Allow editing of APM rules (#106598)
By pulling out most of the things that depend on the URL into where we open the flyout and passing them in as metadata props, we can make it so editing rules while in Stack Management.

You cannot edit a rule's service name, transaction type, or environment once it has been created (#106786 has been created to allow editing of these other values), but all other values can be edited.

In order for useFetcher to work outside of the APM plugin, it has been changed to use useKibana instead of useApmContext for toast notifications. The notifications API from useKibana is slightly different and allows passing a react element instead of a mount point as the body.

Fixes #76316.
2021-07-27 10:05:39 -05:00
Lisa Cawley 76989b57eb
[DOCS] APM latency correlations (#104564) 2021-07-27 08:02:21 -07:00
Stratoula Kalafateli 12c8d2dfcb
[TSVB] Fixes firefox flakiness on index pattern mode functional test (#106825) 2021-07-27 16:51:05 +03:00
Stratoula Kalafateli c656608d85
[Lens] Allows the users to change the axis orientation (#106369)
* [Lens] Allows the users to change the axis orientation

* Disable orientation if ticklabels are off

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 16:14:03 +03:00
Tiago Costa 8d3007279e
skip flaky suite (#106651) 2021-07-27 13:24:50 +01:00
Yulia Čech d234acfbb5
[ILM] Server to use new in_use_by property returned by ES API (#106243)
* [ILM] Server to use new in_use_by property returned by ES API

* [ILM] Cleaning up the PR changes

* [ILM] Fixed functional test

* [ILM] Fixed 'modifiedDate' display in the table

* [ILM] Fixed sorting test

* [ILM] Removed a not needed function declaration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 14:17:54 +02:00
Thomas Watson dafb687860
Upgrade url-parse from v1.5.1 to v1.5.3 (#106827) 2021-07-27 08:16:34 -04:00
Christos Nasikas 61f1c90ce0
[Cases] Add Swimlane & ServiceNow SecOps to README (#106742) 2021-07-27 13:17:30 +03:00
Anton Dosov 713fcb3297
Update index patterns/field formatters kibana.json with owner and description (#106705) 2021-07-27 10:39:18 +02:00
Walter Rafelsberger 5f3f69221b
[ML] Fix correlation chart y-axis labels for APM Latency Correlations.
- Adjust the minimum value of the correlation chart's y axis.
- Adds Log-Log Plot to the section header to indicate the chart type.
- Adds a missing translation
2021-07-27 10:29:46 +02:00
Diana Derevyankina fa7fd32e24
[TSVB] Add more functional tests for Timeseries (#106100)
* [TSVB] Add more functional tests for Timeseries

* Fix failing test for timeseries

* Refactor visual_builder_page and _tsvb_time_series

* Add getChartItems to visual_builder_page

* Remove generic from getChartItems function
2021-07-27 09:51:11 +03:00
Robert Oskamp f9bdcd78d5
[ML] Functional tests - some stability fixes for cloud test execution (#106686)
This PR stabilizes some functional tests for cloud execution / execution in different order.

* Reset fleet setup after module tests
* Additional check and retry for anomaly explorer dashboard integration
* Stabilize DFA job wizard step navigation
2021-07-27 08:28:44 +02:00
Yaroslav Kuznietsov 8a42fdbf62
[Canvas] AdvancedFailure refactor. (#106523)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 09:07:06 +03:00
Yaroslav Kuznietsov 34ca277212
[Canvas] Expression metric (#104390)
* Added `expression_metric` plugin.

* Update src/plugins/expression_metric/README.md

Co-authored-by: Corey Robertson <crob611@gmail.com>
2021-07-27 09:05:24 +03:00
Nicolas Chaulet a3688b17ec
[Fleet] Do not display add agent from the integration table in agent policy (#106785) 2021-07-26 18:25:32 -04:00
gchaps 8115a76b8b
[DOCS][DEV TOOLS] Uses task-oriented titles (#106796) 2021-07-26 14:53:49 -07:00
Justin Kambic a898f75b0e
[Uptime] Fix invalid non-null assertion (#106595)
* Fix invalid non-null assertion.

* Add `aria-labl` and refactor unit tests.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 17:15:51 -04:00
Brian Seeders 7c2dc485e6
[Buildkite] Sync with master updates since Buildkite was disabled (#106766) 2021-07-26 17:01:25 -04:00
Brian Seeders 8837196851
[CI] Add GitHub action for fixing version label gaps (#106467) 2021-07-26 17:01:05 -04:00
Michael Olorunnisola b807776699
[Security Solution][Analyzer] - Remove beta badge (#106752) 2021-07-26 15:52:05 -04:00
Kaarina Tungseth 500cb492f2
[DOCS] Adds the 8.0.0-alpha1 release notes (#106599)
* [DOCS] Adds the 8.0.0-alpha1 release notes

* [DOCS] Adds the remaining breaking changes and deprecations content

* [DOCS] Comments out 8.0.0 release notes

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* Comments from reviews

* Comments from reviews

* Final changes

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-26 14:29:18 -05:00
Kaarina Tungseth 77b2d8ad12
[DOCS] Updates server status page image (#106772) 2021-07-26 14:18:15 -05:00
Clint Andrew Hall 4c79021596
Add initContext as optional service param; add Kibana version to Canvas (#106756)
* Add PluginInitializerContext as an optional services param; add Kibana version to Canvas

* Fix nit: initContext is not optional.
2021-07-26 15:16:08 -04:00
Ahmad Bamieh 35afacff72
[Telemetry] application usage views: allow tracking on any component and fix unmounting issues (#106507)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 15:03:49 -04:00
Spencer d3606aee04
[ci] raise the max-old-space-size for scripts/build_api_docs (#106735)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-26 14:41:18 -04:00
Oliver Gupte 4b4b4c2bf2
[APM] Beta message more prominant in APM schema settings with callout (#105651) (#106743) 2021-07-26 13:56:15 -04:00
Ahmad Bamieh 2b7d1396e3
[Deprecations service] Add requireRestart field (#106701) 2021-07-26 20:17:52 +03:00
Kaarina Tungseth 9ced2fb4ee
[DOCS] Removes image from color field formatter (#106744) 2021-07-26 11:52:38 -05:00
DeDe Morton 4f5e2a675a
Update Fleet settings for 7.14 (#103380)
* Update Fleet settings for 7.14

* Apply jen-huang's suggestions from code review

Co-authored-by: Jen Huang <its.jenetic@gmail.com>

* Add fixes from the review

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-07-26 09:11:38 -07:00
Jonathan Budzenski 08ef8dab01 skip flaky test #106749 2021-07-26 11:07:34 -05:00
Kaarina Tungseth 25585947ea
[DOCS] Updates the screenshots for Reporting and sharing (#106435)
* [DOCS] Updates the Reporting and sharing images for 7.14

* [DOCS] Updates the screenshots for Reporting and sharing

* Adds links to anon access and reporting settings
2021-07-26 10:55:26 -05:00
Corey Robertson 8c719ffbf9
[Dashboard] Adds migration smoke tests for TSVB panels on dashboard (#105655)
* Adds migration smoke tests for TSVB panels on dashboard

* Adds index pattern TSVB panel

* Update 7.13.3 export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 11:50:16 -04:00
Aleh Zasypkin 6c8f00b08e
Restore legacy SAML ACS endpoint. (#106665) 2021-07-26 17:42:09 +02:00
Kaarina Tungseth 1f138fa18f
[DOCS] Updates Canvas images for 7.14 (#106424)
* [DOCS] Updates Canvas images for 7.14

* Fixes refresh image size
2021-07-26 10:17:44 -05:00
Kyle Pollich d66e12e418
Display full featured header when creating policies from policy page (#106715) 2021-07-26 11:00:53 -04:00
Christos Nasikas 2b34cd3572
[Cases] Fix action type naming on field mapping (#106695) 2021-07-26 17:42:11 +03:00
Sergi Massaneda eee4567484
fix deeplink url (#106697) 2021-07-26 16:20:13 +02:00