Commit graph

33698 commits

Author SHA1 Message Date
Mikhail Shustov
db6709bd54
Licensing uses es from start contract. (#67291)
* use es client provided from start

* expose licengin API from start contract and deprecate setup counterparts

* update tests

* provide licensing API from start contract on the client-side

* update tests

* update mocks
2020-05-26 16:50:44 +02:00
liza-mae
a33cd0637d
Add option to skip docker ubi package (#67251)
* Add option to skip building docker ubi

* Add option to skip building docker ubi

* Fix args for jest test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 08:38:43 -06:00
Yara Tercero
3c48b3acd0
[SIEM][Exceptions] - Added exception list hooks for UI #67300
Added some basic functionality to help exception list UI work move forward. Wired up to exception list api and created hooks. This PR includes:

- UI api functions for basic exception list and exception list item CRUD
- useExceptionList hook to fetch the list and its items
- usePersistExceptionList hook to create or update an exception list
- usePersistExceptionListItem hook to create or update an exception item
- list_plugin_deps.tsx in the siem folder to import the lists plugin hooks
2020-05-26 10:36:06 -04:00
Nathan Reese
c9c37f77e6
[Maps] Fix legend icon color for custom categorial palettes (#67141)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 08:21:32 -06:00
Corey Robertson
c8b1fc585b
[Canvas] Force embeddables to refresh when renderable reevaluated (#67133)
* Force embeddables to refresh when renderable reevaluated

* prettier

* Rename generated property

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 09:52:53 -04:00
Corey Robertson
5d26740bb4
[Canvas] Better handling navigating to/from canvas (#66407)
* Better handling navigating to/from canvas

* fix types

* prettier

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 09:50:47 -04:00
Alison Goryachev
5781b9f757
[Ingest pipelines] Fix schema validation for simulate and update routes (#67199)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 09:47:49 -04:00
Mikhail Shustov
85bdd940c8
do not use es from setup (#67277) 2020-05-26 15:09:49 +02:00
Mike Côté
b10bd03734
Auto expand replicas for event log (#67286) 2020-05-26 09:00:31 -04:00
Mikhail Shustov
cec99f9c49
Observability & APM do not use elasticsearch client provided via setup contract (#67263)
* dump prettier version to v2

* use elasticserch client provided via context

* use es client provided from start contract
2020-05-26 14:52:05 +02:00
Jean-Louis Leysens
c508140c95
Fix privileges check when security is not enabled (#67308) 2020-05-26 13:41:34 +02:00
Mariana Dima
15cd65896b
add IIS home (#66918)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 12:23:53 +02:00
James Gowdy
d7960dc03e
[ML] Adding additional job service endpoint tests (#66892)
* [ML] Adding additional job service endpoint tests

* updating close jobs

* enable tests

* updating text

* changing variable name

* changes based on review

* moving common headers
2020-05-26 11:02:55 +01:00
Nicolas Chaulet
84993c6713
[Ingest Manager] Update fleet internal doc with latest flags (#67193) 2020-05-25 10:19:43 -04:00
Stratoula Kalafateli
39a1cbaa7b
[Discover] Deangularize the loading spinner (#67165)
* [Discover] Deangularize the loading spinner

* Eslint changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 16:05:42 +03:00
Pierre Gayvallet
54e79cb4b4
Add application.navigateToUrl core API (#67110)
* implement `navigateToUrl` core API

* fix lint

* review comments
2020-05-25 15:01:26 +02:00
Matthias Wilhelm
0aac0a3a28
Improve indexpattern without timefield functional test (#67031) 2020-05-25 14:15:26 +02:00
Uladzislau Lasitsa
0ab55da15b
KibanaContext in index pattern managment ui (#66985)
* Using KibanaContext instead of passing dependencies.

* Fixed comments

* Delete index.scss

* Added comment for workaround

* Fixed tests

* Fixed eslint

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 15:07:59 +03:00
Mariana Dima
7dc3da4177
Fix Azure metrics tutorial inside the App Home/ Add data area (#66901)
* fix azure metrics home data

* fix translations

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 13:37:07 +02:00
Mariana Dima
9d84a866be
add azure logs home (#66910)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 13:36:45 +02:00
Vignesh Shanmugam
faaafd69a2
fix: rum agent should work correctly on new platform (#67037)
* fix: rum agent should work correctly on new platform

* chore: add IS_KIBANA_DISTRIBUTABLE flag back

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 13:13:58 +02:00
Sébastien Loix
03b6c6d638
[test_utils/Testbed] Move to src/test_utils folder (OSS) (#66898) 2020-05-25 11:37:56 +02:00
Pierre Gayvallet
b291fa8932
only block registration when appRoute contains the exact basePath (#67125) 2020-05-25 10:30:38 +02:00
Yuliia Naumenko
d09bd63786
Changed actions API endpoints urls to follow Kibana STYLEGUIDE (#65936)
* Changed actions API endpoints urls to follow Kibana STYLEGUIDE

* Fixed tests

* fixed test

* fixed test

* resolved conflicts

* Fixed siem tests

* Fixed failing test

* fixed readme and test

* Changed actions api urls to follow the template 'api/{plugin}/{type}/{id}

* Fixed type checks

* Fixed tests and API

* fixed tests

* Fixed type checks

* fixed type check
2020-05-24 20:27:42 -07:00
restrry
66a0e67450 update kbn-pm again 2020-05-22 11:25:54 +02:00
restrry
e98113e08c update kbn-pm build 2020-05-22 10:32:34 +02:00
Gidi Meir Morris
def6526384
[Alerting] Hides the action and action_task_params SavedObjects types (#67109)
As part of the work towards adding RBAC & Feature Controls support in Alerting (https://github.com/elastic/kibana/issues/43994), we've decided that the ActionsClient will handle authorisation against Actions instead of relying on the SavedObjectsClient on its own.

To prevent (or at least, minimise the chances of) bypassing this auth model by using the SavedObjects client this PR makes the `action` and `action_task_params` SavedObject types  _hidden_ types and given the ActionsClient permission to interact with it.
2020-05-22 09:07:09 +01:00
restrry
edee6543be fix ts error 2020-05-22 09:36:47 +02:00
restrry
bf04235dae apply prettier styles 2020-05-22 09:08:58 +02:00
restrry
64ad4f3f92 bump prettier version to v2 2020-05-22 08:51:10 +02:00
spalger
dcfa485009 Revert "[kbn/optimizer] poll parent process to avoid zombie processes (#67059)"
This reverts commit e824ac3ba9.
2020-05-21 20:52:55 -07:00
spalger
556ae523c8 Revert "[kbn/optimizer] remove disconnect listener (#67161)"
This reverts commit 90fc521d21.
2020-05-21 20:52:43 -07:00
spalger
fd7a9a7e13 fix visual regression suite 2020-05-21 20:51:12 -07:00
Tyler Smalley
5b6ad3fe4a
[dev] Allow for building production assets (#67230)
* Also allows passing through watch

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-05-21 19:30:35 -07:00
Justin Kambic
875d698128
Fix filename typo. (#67144) 2020-05-21 17:53:42 -04:00
Justin Kambic
5b153eca6e
Update hook to fetch index pattern. (#67146)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 17:44:02 -04:00
Andrew Goldstein
75d6682d86
[SIEM] Drag between ANDs in timeline queries / add to timeline test coverage / CSS Tweaks (#67150)
## Summary

- Increases test coverage for the [[SIEM] Drag between ANDs in timeline queries / add to timeline](https://github.com/elastic/kibana/pull/65228) `7.8` feature
- Removes the `show` prop from `DataProviders`, which added delay when closing the timeline
- CSS tweaks (detailed below)
- Removed files no longer in use

### CSS Tweaks 

- Providers in the timeline are now vertically centered, as shown in the _Before_ / _After_ screenshots below (containing two groups):

#### Before

<img width="1186" alt="providers-two-rows-before" src="https://user-images.githubusercontent.com/4459398/82508699-1e8bcc80-9ac3-11ea-8f44-b170d1528a12.png">

#### After

<img width="1186" alt="providers-two-rows-after" src="https://user-images.githubusercontent.com/4459398/82508708-264b7100-9ac3-11ea-8532-a24612573991.png">


- Very slightly increased the padding between the bottom of the last group of data providers and the dashed border, as shown in the _Before_ / _After_ screenshots below (containing three groups):

#### Before
<img width="1200" alt="providers-three-rows-padding-bottom-before" src="https://user-images.githubusercontent.com/4459398/82508573-b63ceb00-9ac2-11ea-9f8b-c3c024a3c91e.png">

#### After
<img width="1201" alt="providers-three-rows-padding-bottom-after" src="https://user-images.githubusercontent.com/4459398/82508578-b89f4500-9ac2-11ea-8560-a40eb10b22f1.png">

- Moved the timeline flyout button slightly to the right by a few pixels to avoid showing the flyout button's right border, as shown in the _Before_ / _After_ screenshots below:

#### Before

<img width="1179" alt="timeline-button-before" src="https://user-images.githubusercontent.com/4459398/82509015-f94b8e00-9ac3-11ea-9d2f-644721c0ec21.png">

#### After

<img width="1178" alt="timeline-button-after" src="https://user-images.githubusercontent.com/4459398/82509026-00729c00-9ac4-11ea-9029-6a4f698daa36.png">

### Desk testing

Desk tested in:
- Chrome `83.0.4103.61`
- Firefox `76.0.1`
- Safari `13.1`
2020-05-21 15:32:52 -06:00
Catherine Liu
90cabaef2d
Fixes add page animation bug (#66496)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 14:21:15 -07:00
Angela Chuang
47eaa0689a
[SIEM] fix timelineType for selectable timeline (#66549)
* fix timelineType for selectable timeline

* fix cypress test

* fix cypress test

* disable template timeline's tab

* rename flag

* update filter to return only default template

* update wording

* update placeholder according to timelinetype

* fix i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 22:11:21 +01:00
Spencer
93c3a6319e
[bootstrap/styles] add early support for v8 themes (#66673) 2020-05-21 14:08:58 -07:00
Spencer
849da5ac68
[yarn start] pass cache option to KP so it flows to ClusterManager (#67204) 2020-05-21 13:48:56 -07:00
Jonathan Buttner
70b92c8f42
[Endpoint] Deleting data streams and indices in generator (#67168)
* Deleting data streams and indices

* Posting metadata template

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 16:02:09 -04:00
Greg Thompson
204fd5b5a2
Upgrade EUI to v23.3.1 (#65877)
* eui to 23.2.0

* nav drawer ts updates

* eui to 23.3.0

* src snapshot updates

* makeId -> htmlIdGenerator mocks

* EuiCodeBlock testenv element lookup

* x-pack snapshot updates

* remove obsolete EuiCode and EuiCodeBlock mocks

* eui to 23.3.1

* patch updates

* searchbar type update

* docViewer tabs use valid DOMString id

* docViewer snapshot

* header updates

* cert_search field wrapper update
2020-05-21 14:31:26 -05:00
Chris Cowan
78db3eaffe
[Metrics UI] Allow users to configure Inventory View palettes (#66948) 2020-05-21 11:47:08 -07:00
Tiago Costa
cd9084d439
chore(NA): avoids imports of server code into public (#67152) 2020-05-21 18:33:33 +01:00
Aaron Caldwell
bcf1f1f93e
[Maps] Migrate Maps server to NP (#66510) 2020-05-21 11:29:24 -06:00
Spencer
7db72531fd
[kbn/optimizer] ensure build script can prime cache (#67020) 2020-05-21 10:01:09 -07:00
Spencer
25c382f07d
[xpack/jest_integration] remove flaky test and script block (#67138) 2020-05-21 09:59:12 -07:00
Spencer
90fc521d21
[kbn/optimizer] remove disconnect listener (#67161) 2020-05-21 09:58:15 -07:00
Tyler Smalley
c675301a87
[build] Removes commonjs transforms (#66506)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 09:43:31 -07:00