Commit graph

41230 commits

Author SHA1 Message Date
Jonathan Buttner 6044f8a8bf
Removing resolver functional tests (#94331) 2021-03-10 14:06:47 -05:00
Pierre Gayvallet 7d70ad776a
migrate warning mixin to core (#94273) 2021-03-10 19:59:44 +01:00
Scotty Bollinger 672bd95a48
[App Search] Add routes for Role Mappings (#94221)
* [App Search] Add routes for Role Mappings

* Add registering of routes

Forgot to port this when cherry picking from another branch.

* Add validation
2021-03-10 13:55:58 -05:00
Casper Hübertz 4044633e4a
[APM] Refactor agent icon (#91126) 2021-03-10 19:49:58 +01:00
Matthew Kime 44d8093ddf
[Field formats] Fix switching away from duration formatter (#93818)
* simplify field format editor rendering, fixes switching away from duration formatter
2021-03-10 12:15:51 -06:00
Nathan Reese 042c5bc5ce
[Maps] remove EMS tile layers from test artifacts to fix flaky tests (#94319) 2021-03-10 11:11:08 -07:00
Tim Sullivan f9c4c01759
[Reporting/Build Chromium] Add a developer script to find the Chromium commit (#94033)
* script that finds the chromium commit

* use run from dev-utils

* update docs and inch towards build pipeline

* more docs updates

* move the scripts the root

* review feedback
2021-03-10 10:57:29 -07:00
Marco Liberati 08f3fe7ef5
[Inspector][Lens] Add multitable support to Inspector (#94077)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 18:43:16 +01:00
Thomas Watson 81da4f79e1
Fix geckodriver semver range in package.json (#94062) 2021-03-10 09:10:49 -08:00
Ester Martí Vilaseca fe1220506e
[Metrics UI] Fix first load in Inventory view (#94306)
* Revert inventory changes from commit fa4dda0def

* Remove not needed comment
2021-03-10 12:06:39 -05:00
Constance dcaa3f6464
[App Search] DataPanel & LoadingOverlay component tweaks (#94251)
* DataPanel: fix icons showing unaligned & w/ too much flex space

* LoadingOverlay: add new loading component w/ overlay

- should have an opacity'd overlay to hide content underneath
- specify z-index

* DataPanel: add flag to display a LoadingOverlay

- update CSS to contain LoadingOverlay
- add isLoading prop
2021-03-10 08:40:27 -08:00
Ryan Keairns 804c862c8e
Amsterdam helpers (#93701)
* Adds kbnThemeStyle mixin

* Update src/core/public/core_app/styles/_mixins.scss

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-03-10 10:27:16 -06:00
Cauê Marcondes f428b10a79
[APM] Adding comparison latency chart (#91339)
* adding time comparison to latency chart

* adding time comparison to latency chart

* fixing TS

* fixing api test

* addressing PR comments

* adding api test

* addressing PR comments

* fixing api test

* rounding date diff

* addressing PR comments

* fixing api test

* refactoring

* fixing ts issue

* fixing offset function

* fixing offset function

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 11:02:50 -05:00
Steph Milovic 2bb23291c7
[Security Solution] [Cases] rename case dir/plugin/context/i18n to cases (#94149) 2021-03-10 08:58:51 -07:00
Michael Paul 426d495299
Fix "to to" spelling error (#93885)
* Fix "to to" spelling error

* Build API docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 17:46:31 +02:00
igoristic 1a3e8e8fa2
Changed the flag (#94167) 2021-03-10 10:15:47 -05:00
Alexey Antonov 50dac663fe
Fix cannot brush on bars of vertical bar chart to zoom into data (#94290)
Closes: #94248
2021-03-10 17:43:32 +03:00
Nathan Reese c9e81bed32
Update courier inspector stats to handle total object format (#93703)
* Update courier inspector stats to handle total object format

* tslint

* add TODO comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 06:21:31 -07:00
Yulia Čech cce4db8f77
[Remote clusters] Convert service files to TypeScript (#94138)
* Converted some js files to ts as preparation for remote clusters work for Cloud

* Updated the snapshots

* Removed non-null assertion operator in favor of a more explicit nullish coalescing operator
2021-03-10 13:50:16 +01:00
Zacqary Adam Xeper df0400daaa
[Metrics UI] Hide Create Alert options for a read-only user (#91951) 2021-03-10 12:45:57 +00:00
Pierre Gayvallet 00fcc2d3d0
remove HAPI plugins registration from legacy (#94262)
* remove HAPI plugins registration from legacy

* remove duplicate legacy integration tests
2021-03-10 13:34:34 +01:00
Walter Rafelsberger 066e47e9ea
[ML] Use unknown instead of any for type guards. (#94090) 2021-03-10 12:40:49 +01:00
Vadim Yakhin 2d60d238fc
[Workplace Search] Add Prompt to Security and Display Settings pages (#93838)
* Add UnsavedChangesPrompt to Security page

* Add UnsavedChangesPrompt to DisplaySettings page

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 07:40:22 -04:00
Jean-Louis Leysens 5e593e70cd
[Console] Improve error message when localStorage quota is reached (#93779)
* identify quota related errors and show error message

* * refactor isQuoteExceeded => isQuotaExceeded
* implement logic for call error notification once
* implement test to check that error notification is only called
  once

* refactor quota exceeded error checker

* copy update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 12:09:42 +01:00
Angela Chuang 99f1512771
update script (#94265) 2021-03-10 05:38:06 -05:00
Pierre Gayvallet d0949121c8
Migrate /bootstrap.js endpoint to core (#92784)
* move bootstrap endpoint to core

* some initial cleanup

* hack around the 'try' auth status

* some UT

* more UT

* add try/catch around uISettings access

* add 'auth.isEnabled'

* remove dead files

* use `try` authent mode

* adapt UT

* revert themeTag movearound

* migrate apps route to core

* some cleanup

* nit

* add integration tests

* update generated doc

* add UT for /app route

* add etag IT

* nits

* remove auth.isEnabled API

* add tests on get_apm_config

* use string template instead of handlebars for bootstrap template

* improve plugin bundle tests

* update generated doc

* remove response.etag API

* update generated doc

* update generated doc

* update generated doc again

* extract getThemeTag

* add more unit tests
2021-03-10 10:35:26 +01:00
Joe Reuter f9e28831c5
[Lens] prevent double load in editor (#93930) 2021-03-10 09:00:01 +01:00
Tyler Smalley 7d7a16883c
Removes X-Pack Code plugin (#94240)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-10 02:32:29 -05:00
Garrett Spong 8a01d86528
[SecuritySolution][Detections] Enables Microsoft Teams for Detection Actions (#94239)
## Summary

This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via https://github.com/elastic/kibana/pull/83169).

<p align="center">
  <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" />
</p>



### For maintainers

- [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2021-03-09 23:56:07 -05:00
Jen Huang 67e968304e
[Fleet] Remove coreMigrationVersion from snapshot (#94235)
* Remove coreMigrationVersion from snapshot

(cherry picked from commit a8b9b41a68)

* Remove `latestVersion` too

(cherry picked from commit 6f3949c8d8)
2021-03-09 18:59:36 -08:00
Yara Tercero 37c9c5cc24
[Security Solution][Exceptions] - Fixes bug for prepopulated endpoint exceptions (#94025)
### Summary

Addresses #93559

In a previous PR where we added id to exception entries, this case was missed where the exceptions are prepopulated for endpoint alerts.
2021-03-09 17:43:26 -08:00
Constance 89b23c06da
[Enterprise Search] Upgrade Kea to 2.3, update LogicMounter helper w/ props support (#94232)
* Enhance our LogicMounter helper to accept and build props

* Update logic tests in AS that require props to now use LogicMounter

* Upgrade Kea to 2.3.0 for future BindLogic use
2021-03-09 17:09:50 -08:00
Nathan L Smith 0ac5e4db7c
Fix missing alerts menu (#94210)
In #92898 the `alerts` plugin was renamed to `alerting`. We were checking if this plugin is enabled with a check like `'alerts' in plugins`, which is not type checked.

Change the check to use `!!plugins.alerting` so this type of change will be caught in the future.

Rename `get_alert_capabilities` to `get_alerting_capabilities` to match the name of the exported function. Add a test for it.
2021-03-09 18:52:57 -06:00
Scotty Bollinger 89a43555f8
[Workplace Search] Make session_state optional (#94219)
Some OAuth plugins don’t send this key so we make it optional to prevent server errors.
2021-03-09 19:12:38 -05:00
Joe Portner 8d15c28899
Bump dependencies (#94175) 2021-03-09 18:56:11 -05:00
Tyler Smalley ec28b780db
[build] Set USER in Ironbank container (#93637)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-09 18:11:22 -05:00
Larry Gregory d2b9caa1a7
Fix positioning of space name and avatar in selector dropdown (#94169) 2021-03-09 17:42:38 -05:00
Yuliia Naumenko 086762da6a
[Actions] Replaces legacy es client with the ElasticsearchClient (#93361)
* [Actions] Replaces legasy es client with the ElasticsearchClient

* fixed build

* fixed tests
2021-03-09 14:39:46 -08:00
Zacqary Adam Xeper 5d119cfcbb
[Fleet] Return empty agents list when submitting a kuery with no keys (#93844) 2021-03-09 16:10:56 -06:00
Marshall Main 3992ed13db
Move exceptions builder to lists plugin (#94002)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-09 16:39:23 -05:00
Rashmi Kulkarni ff2b3beaa8
Unskipping Dashboard listing functional test (#93843)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping to check the flakiness
2021-03-09 13:31:32 -08:00
Devon Thomson 1124fa2168
Renamed cancel button to Switch to view mode. Disabled switch to view mode when on new dashboard (#94147) 2021-03-09 16:08:21 -05:00
Nathan L Smith b6f8d3f8b6
Move anomaly jobs fetching to context (#94135)
* Revert "[APM] Hoist HeaderMenuPortal to prevent unmounts (#92012)"

Revert the change from #92012 to put the `HeaderMenuPortal` back within the routing context so getting data from the path params works.

Use a context to fetch the list of jobs and use it in the callout and the header menu icon. This makes it so the fetch only happens once.

A refetch function is exposed from the context and called when a new job is created.
2021-03-09 15:06:41 -06:00
Oliver Gupte 931b54f636
[APM] Handle correlations view with missing field names (#93443) (#94015)
* [APM] Handle correlations view with missing field names (#93443)

* fixes spelling

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-09 12:37:11 -08:00
Aaron Caldwell 4eff7a0709
[Maps][File upload] Use correctly formatted pipeline with no processors for geojson upload (#94145) 2021-03-09 15:32:11 -05:00
Jen Huang 394593ae94
Use password field for password vars (#94166) 2021-03-09 15:30:26 -05:00
Thomas Neirynck d78222b8e1
[Maps] Improve TMS language (#93863) 2021-03-09 15:03:14 -05:00
Jen Huang 3946c4ad91
[Fleet] Fix package policies created with null var values (empty defaults) (#94040)
* Make package validation be based on types

* Add package info to cache after it is generated from ES storage

* Add logging around package info retrieval and when cache is set

* Add snapshot api integration test for uploaded package info

* Use the apache package for snapshot test instead

* Remove date field from snapshot

* Update docs

* Fix streams getting overridden

* Add back package field to data streams

* PR fixes
2021-03-09 14:53:22 -05:00
Larry Gregory 99566a2248
Document DLS configuration within Kibana role management (#90329)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-09 13:20:21 -05:00
John Schulz 8ce5cda582
[Fleet] Add links to OpenAPI spec files and online documentation (#94122)
## Summary

Added screenshots of two online viewers and links to the sites. 

<img width="934" alt="Screen Shot 2021-03-09 at 12 35 02 PM" src="https://user-images.githubusercontent.com/57655/110513158-eb5b0e00-80d3-11eb-82c4-de21c494589f.png">


### Checklist

- [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
2021-03-09 13:07:53 -05:00