Commit graph

37183 commits

Author SHA1 Message Date
Sandra Gonzales
68c6aa7409
Fixes Fleet API path (#79724) 2020-10-06 10:57:00 -07:00
Angela Chuang
8cab902482
[Security Solution] Update export timeline success message by exported timelines' type (#79469)
* init tests

* fix export on success message

* add cypress tests

* fix unit tests

* fix unit tests

* Update x-pack/plugins/security_solution/public/timelines/components/timeline/pin/index.tsx

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2020-10-06 18:52:44 +01:00
Thomas Watson
8cae9ef25b
Handle errors better in spaces selector (#79471) 2020-10-06 19:43:07 +02:00
Dima Arnautov
3002108c40
[ML] rename inference to trained_models (#79676) 2020-10-06 19:31:59 +02:00
Shahzad
d845922a1a
[UX] Update url filter (#79497) 2020-10-06 19:29:41 +02:00
Melissa Alvarez
06f87bb838
[ML] DF Analytics creation wizard: resolve clone usability issues (#79048)
* show error when clone fails due to no index pattern

* default results_field unless specified

* results field switch set to on if resultsField for cloned job is default

* ensure cloned job config not overwritten in advanced editor

* show errorToast if unable to clone anomalyDetection job due to no indexPattern

* ensure jobConfig query getting saved in form state

* ensure index patterns with commas handled correctly

* clone should accept comma separated index patterns

* use nullish coalescing operator when checking for undefined analysisFields
2020-10-06 13:29:16 -04:00
Christos Nasikas
287541891e
[Security Solutions][Case] Settings per case per connector (#77327)
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 20:03:46 +03:00
Mikhail Shustov
cc7ac29622
more aggressive lazy loading for ingest_manager (#79633)
* slim ingest_manager

* revert registerPackagePolicyComponent export
2020-10-06 18:57:30 +02:00
Jen Huang
e8edd5e5c1
#78037 Fix Fleet<=>Endpoint loop when Fleet isn't set up (#79564) 2020-10-06 09:52:01 -07:00
Gidi Meir Morris
25c5daa83a
Renames "Built-In Alerts" feature to "Stack Alerts" and "Actions" feature to "Actions and Connectors" (#79513)
Renames "Built-In Alerts" feature to "Stack Alerts" and "Actions" feature to "Actions and Connectors" as we've decided these names make more appropriate and better communicate what these features are.
2020-10-06 17:51:05 +01:00
Shahzad
edbf6b8ce9
[UX] Fixed error rate, made sure all filters are applied (#79222)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 18:48:35 +02:00
Shahzad
ce2269031a
[UX] Fix long task format (#79509) 2020-10-06 18:46:18 +02:00
Quynh Nguyen
445a7908c1
[ML] Add summary call out to total feature importance if it's empty (#79546) 2020-10-06 11:40:39 -05:00
Kaarina Tungseth
9a58893428
[DOCS] Refreshes Lens docs for 7.10 (#79684)
* [DOCS] Refreshes Lens docs for 7.10

* Compresses png files
2020-10-06 11:38:55 -05:00
Melissa Alvarez
5cc8b9bf52
[Transform] Check for source indexPattern before opening clone wizard (#79383)
* check for source indexPattern before opening clone wizard

* update translations

* update jest test

* move mocks to mock directory
2020-10-06 12:22:04 -04:00
Tim Sullivan
46e1c5b0f9
[Reporting/Usage] Unskip failing test (#79172)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:18:29 -07:00
Catherine Liu
63b76f2cd5
[Core UI] Kibana Overview Page (#75827)
* Added kibana landing page

Created kivana_overview plugin

Removed test from home plugin

Added CSS

Fixed page header links

Added news feed

Fixed spacers between news items

[Core UI] Kibana Overview Page Style Tweaks (#76712)

Fixed link to index management

Added solution cards to kibana landing page

Added solution links

Fixed ts errors

Using publishReplay() to support multiple consumers in newsfeed plugin

Added createNewsFeed$ to newsfeed plugin start

Added tests

Removed unnecessary export

Hides overview link when other Kibana apps are not available

Added icon to overview plugin

Removed question mark from news feed title

Updated plugin-list

Fixed i18n errors

Revert snapshot

Updated getting started page copy

Hide news feed when no news feed results

Disables Kibana overview page when kibana apps are unavailable

Updated snapshots

Refactor to use KibanaContextProvider

Fixed security tests

Fixed newsfeed api test

Moved overview_footer and overview_header to kibana-react plugin

[Core UI] Kibana Overview Page Style Fixes (#78677)

* Fixed a11y issues

* Made newsfeed optional dep of kibana overview plugin

* Removed duplicate license copy

* Fixed management security test

* Added toast to change default route button

* Updated snapshots

* Simplified toast notification

* Fixed i18n error

* Assigned kibana_overview plugin to Core UI in CODEOWNERS

* Updated snapshots

* Fix import

* [Core UI] Kibana Overview Page Style Fixes, Part 3 (#78970)

* fix overview cards not stretching height equally

* change var name for better specificity

* [Core UI] Kibana Overview Page Style Fixes, Part 4 (#79136)

* Adds support for all newsfeed plugin config settings in createNewsFeed$

* Fixed type

* Updated kibana overview page route

* Fixed imports in page_footer and page_header

* Update Kibana overview graphics (#79534)

* Updated snapshots

* Updated snapshots

* Changes newsfeed endpoint to kibana analytics in kibana_overview plugin

* Renamed components

* Fixed overview page footer and header component class names

* Removed extraneous files

* Fixed import

* Replaced SVGs with optimized SVGs

* Fixed header and footer in home and kibana overview pages

* Updated snapshots

* Changed url_forwarding plugin appRoute

* Fixed aria-labelledby value

* Updated snapshots

* Added base paths

Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-10-06 09:13:31 -07:00
Nathan Reese
d9ca4c562e
[ML] avoid full page reload for links following CSV import (#79539)
* [ML] avoid full page reload for links following CSV import

* cleanup

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 10:09:58 -06:00
Nicolas Chaulet
c355dfebab
[Ingest Manager] Move config from xpack.ingestManager to xpack.fleet (#79406) 2020-10-06 11:58:09 -04:00
Mikhail Shustov
24e4536b99
hint that we export type only (#79635) 2020-10-06 17:52:24 +02:00
Wylie Conlon
2de2c70f75
[Lens] Break long titles into multiple lines (#79580) 2020-10-06 11:50:44 -04:00
Brent Kimmel
55af3285dc
Remove backdrop blur: visual regression (#79668) 2020-10-06 11:43:11 -04:00
Alejandro Fernández Haro
ed825398c6
[Telemetry Tools] Merge array of constraints (#79654) 2020-10-06 16:41:40 +01:00
Patrick Mueller
6b80eb20ab
[Actions] write action executor errors to the Kibana log (#79474)
resolves https://github.com/elastic/kibana/issues/72058

Finally, we're logging the action executor error responses to the Kibana log.
We have not been doing this previously, out of an abundance of caution.  The
message written may contain data returned from a 3rd party service call, and
we weren't sure this would be "safe" to log, in a PII sense.

After several minor releases, and seeing these service messages in the event
log for almost all the built-in action types, we've decided they are "safe" and
it's time to add them, as they provide some **very** helpful diagnostic
feedback to customers.
2020-10-06 11:40:35 -04:00
Constance
f530dc8574
[proposal] Groups breadcrumb updates (#79551)
+ move chrome related settings to router pages
+ pull out i18n constants

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2020-10-06 08:38:48 -07:00
Nathan L Smith
bfa704d6ff
Remove APM stacktrace snapshots (#79543)
* Remove APM stacktrace snapshots

These are not necessary and have caused problems for other contributors. Replace the snapshots with tests that check for errors or the structure of the results.

Move the test files out of the __test__ directory and rename the directory to __fixtures__.
2020-10-06 10:22:50 -05:00
Bohdan Tsymbala
f340d71377
[SECURITY_SOLUTION][ENDPOINT] Grid view for trusted apps. (#79485)
* Refactored store code to group properties related to location so that would be easy to introduce a new view type parameter.

* Added view type to the location and routing.

* Added a simple hook to make navigation easier.

* Improved the navigation hook to get params.

* Some fix for double notification after creating trusted app.

* Added a hook to perform trusted app store actions.

* Fixed trusted app card delete callback.

* Added grid view.

* Fixed the stories structuring.

* Shared more logic between grid and list.

* Finalized the grid view.

* Flattened the props.

* Improved memoization.

* Moved the flex item elements inside conditions.

* Fixed broken stories.

* Updated the snapshot.

* Updated the snapshot.
2020-10-06 17:18:30 +02:00
Joe Reuter
11886bf51c
[Lens] Add search to chart switcher (#77631) 2020-10-06 17:17:41 +02:00
Sonja Krause-Harder
4d58a0041e
Add license check to direct package upload handler. (#79653) 2020-10-06 16:46:26 +02:00
Nicolas Chaulet
4a160bff80
[Ingest Manager] Rename API /api/ingest_manager => /api/fleet (#79193) 2020-10-06 10:30:21 -04:00
Michael Olorunnisola
aeba4011e2
[Security Solution][Resolver] Simplify CopyableField styling and add comments (#79594) 2020-10-06 10:26:06 -04:00
István Zoltán Szabó
b7057bc274
Fine-tunes ML related text on Metrics UI (#79425)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2020-10-06 16:25:08 +02:00
Melissa Alvarez
9b0dcaa30b
[ML] DF Analytics creation wizard: ensure job creation possible when model memory lower than estimate (#79229)
* allow user to create job when mml is lower than estimate

* ensure mml validation works as expected
2020-10-06 10:06:44 -04:00
Andrew Kroh
1c729e896f
Add new "Add Data" tutorials (#77237)
This creates new Add Data tutorials for Filebeat modules.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:52:04 -04:00
Nathan L Smith
1b050c4aa9
Update APM telemetry docs (#79583)
In #79000 the way we create the telemetry schema was updated and APM is no longer excluded from the telemetry scripts.

Update the docs to be more correct about this.
2020-10-06 08:49:35 -05:00
CJ Cenizal
e01d538e32
Revert "Add support for runtime field types to mappings editor. (#77420)" (#79611)
This reverts commit 0dc89cb716.
2020-10-06 06:48:47 -07:00
Brandon Kobel
1ad68fdef7
Kibana request headers (#79218)
* Adding X-Kibana header for the legacy client requests

* Specifying `X-Kibana: true` header for all requests coming from Kibana

* Dev Tools now override the X-Kibana header to false

* DevTools doesn't need to do anything, it's not using the ES client

* Switching from `X-Kibana: true` to `User-Agent: Kibana`

* Switching from `X-Kibana: true` to `User-Agent: Kibana`

* Adding a constant

* Starting to add unit tests...

We currently allow end-users to set whatever headers they'd like to be
forwarded to Elasticsearch with `elasticsearch.customHeaders` and
`elasticsearch.requestHeadersWhitelist`. This is potentially problematic
with us always specifying `User-Agent: kibana` as it could interfere
with what our end-users have done...

* Switching from user-agent to X-elastic-product-origin

* Adding some tests

* Adding and updating the legacy client unit tests
T#

* /s/KIBANA_HEADERS/DEFAULT_HEADERS and a deepFreeze

* Adding comment for why `x-elastic-product-origin` exists
2020-10-06 06:40:08 -07:00
Melissa Alvarez
9794188cbf
ensure missing indexPattern error is bubbled up to error callout (#79378) 2020-10-06 09:39:42 -04:00
Devon Thomson
1e36e275ca
Missing space fix (#79585) 2020-10-06 09:24:46 -04:00
Alison Goryachev
e7ed40b0a2
remove duplicate tab states (#79501)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:24:29 -04:00
Luke Elmers
8ec5ce6861
[data.ui] Lazy load UI components in data plugin. (#78889) 2020-10-06 07:23:58 -06:00
Luke Elmers
09101b2f15
Add generic type params to search dependency. (#79608) 2020-10-06 07:23:34 -06:00
Nicolas Chaulet
71fef96c38
[Ingest Manager] Internal action for policy reassign (#78493) 2020-10-06 09:21:01 -04:00
Yulia Čech
dcb646debc
[ILM] Add index_codec to forcemerge action in hot and warm phases (#78175)
* [ILM] Add index_codec to forcemerge action in hot and warm phases

* [ILM] Fix i18n check errors

* [ILM] Add code review suggestions

* [ILM] Add code review suggestions

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 14:54:11 +02:00
Sandra Gonzales
3a7d7099e7
[Ingest Manager] Update open API spec and add condition to agent upgrade endpoint (#79579)
* add condition to check for upgradeable agent to endpoint

* update the openAPI spec
2020-10-06 08:47:55 -04:00
Walter Rafelsberger
045e7d9098
[ML] Hide Data Grid column options when histogram charts are enabled. (#79459)
* [ML] Fix data grid actions.

* [ML] fix columnsWithChartsActionized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2020-10-06 12:53:19 +01:00
Alejandro Fernández Haro
4ed1cb3e38
[Telemetry] Synchronous setup and start methods (#79457) 2020-10-06 12:45:58 +01:00
Cauê Marcondes
d8b4472a72
[Observability] Persist time range across apps (#79258)
* using kibana persisted date when available to set the date time

* fixing types

* adding setTime when changin the dates in the url

* renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 13:29:15 +02:00
Tim Roes
b8f4ea1d06
Improve visualization typings (#79128)
* Improve visualization typings

* Fix vis selection dialog

* Fix broken getInfoMessage type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 13:04:18 +02:00
Kerry Gallagher
2ba729f904
[Logs UI] Add timestamp as a context variable to log threshold alerts (#78932)
* Add timestamp context variable
2020-10-06 11:12:20 +01:00