Commit graph

44838 commits

Author SHA1 Message Date
Michail Yasonik 28fcd5977d
Remove all instances of EuiKeyboardAccessible (#106910)
* remove all instances of EuiKeyboardAccessible
2021-07-28 17:19:46 -04:00
Kevin Qualters 3612a7a300
[Security Solution][RAC] Migrate add to case action to timelines plugin (#106205)
* First pass add to case action in timelines plugin

* Fix fake duplicate import lint rule and some type errors

* Fix some tests

* Remove use_insert_timeline and pass as prop

* Remove unneeded ports, fix types/tests

* Finish fixing types and tests for add to case action

* Remove duplicated security_solution code

* Pass appId as props

* Fix lint and a type error

* Use react-router-dom instead of window.location.search

* Fix broken test

* Remove unused imports

* Remove unused export and related code
2021-07-28 17:10:37 -04:00
Spencer dfb1b615e9
[api-docs] raise memory limit again (#107065)
* [api-docs] raise memory limit again

* update buildkite script too

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-28 16:45:04 -04:00
Jonathan Budzenski 134b2fd9e1
[kbn-pm] Default build and watch commands to use bazel (#105674)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:39:54 -04:00
Tiago Costa 57bdd8b310
chore(NA): moving @kbn/config-schema to babel transpiler (#106929)
* chore(NA): moving @kbn/config-schema to babel transpiler

* chore(NA): added runtime deps

* chore(NA): update api extractions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:30:47 -04:00
Mikhail Shustov 78eb2bb8be
[Monitoring] remove imports from the legacy 'elasticsearch' package (#106955)
* do not import types from the legacy es package

* adjust tests
2021-07-28 21:43:45 +02:00
David Sánchez 5557599d3c
[Security solution][Endpoint] Set event filters form as error when there are no entries (#107003)
* Set form as error when there is no entries

* removes unused imports

* Add comparison
2021-07-28 21:35:02 +02:00
Paul Tavares 9fbb61276a
[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have readonly access (#107050)
* Remove `getScopedSavedObjectsClient()` from server `EndpointAppContextServices` (not used)
* new EndpointMetadataService service (handles GET of a single endpoint for now)
* ensure `getFleetAgent()` sets the current status for the agent
* Replace the Route handler for Get of single endpoint with new call to service
* Fleet: change agent service to also calculate and return the agent status via calls from the agent service
* Fleet agent generator changed to set a random status
* generic `createInternalReadonlySoClient()` with runtime validation for non-readonly methods

(cherry picked from commit b6e9d8d411)
2021-07-28 15:03:57 -04:00
Paul Tavares cd75befd90
[Security Solution][Endpoint] Fix Endpoint List <SearchBar> to ensure that page_index is reset when new KQL is entered (#106918)
* Fix Endpoint List `<SearchBar>` to ensure that `page_index` is reset to 0 on enter
2021-07-28 15:00:57 -04:00
Alejandro Fernández Gómez 040cf56d8e
[RAC][Metrics UI] Index reason field on inventory metric alerts (#106842)
Co-authored-by: mgiota <giota85@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:32:09 -04:00
Tiago Costa c4cb1f1bba
chore(NA): moving @kbn/ace to babel transpiler (#106922)
* chore(NA): first custom rules for jsts_transpiler

* chore(NA): update jsts_transpiler macro

* chore(NA): moving @elastic/datemath to babel transpiler

* chore(NA): change gitignore rules for bazel

* chore(NA): moving @kbn/ace to babel transpiler

* chore(NA): remove deps from js_library

* chore(NA): added runtime deps

* chore(NA): do not transpile packages/kbn-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 18:12:42 +01:00
ymao1 81a0267c7b
Gracefully handle decryption errors during ESO migrations (#105968)
* Updating unit tests

* Fixing types

* Updating readme and adding warning message

* Updating README

* PR fixes

* collapsing args to create migration fn

* Adding functional tests

* Adding comment to functional test

* Adding stripOrDecryptAttributesSync

* Using stripOrDecryptAttributesSync

* Fixing unit tests

* PR fixes

* PR fixes

* Moving validation of apikey existence in alerting task runner

* Cleanup

* Reverting changes to alerting task runner

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:04:20 -04:00
spalger 30a1020283 skip flaky suites (#107043) 2021-07-28 09:50:42 -07:00
Stacey Gammon 283223101d
Improve deprecated API list, and update api docs (#106942)
* Code to adjust deprecated api list

* updated docs

* fix and update tests
2021-07-28 12:44:17 -04:00
Adam Locke 0418637311
[DOCS] Change "See" to "Refer to" in new redirects (#107023)
Incorporate missed changes from @KOTungseth in #106996
2021-07-28 12:27:03 -04:00
Kaarina Tungseth 883113b5e4
[DOCS] Updates Advanced Settings and adds Labs (#106608)
* [DOCS] Updates Advanced Settings and adds Labs

* Fixes links

* Update docs/management/advanced-options.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Comments from review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-28 10:14:22 -05:00
Anton Dosov 6559bf4071
[FieldFormatters] Remove aggs format decorator from fieldFormats.deserialize() (#106755) 2021-07-28 17:12:33 +02:00
Alison Goryachev a1513eb98a
[Upgrade Assistant] Refactor ML deprecation response (#106847) 2021-07-28 10:54:50 -04:00
Lisa Cawley b1c4e8e564
[DOCS] Move Kibana glossary to stack docs (#106938) 2021-07-28 07:51:49 -07:00
Mike Côté 39403dc3df
Include rule type id in alerting executor error message (#106775)
* Include rule type id in generic executor error message

* Add spaceId to message

* Fix formatting
2021-07-28 10:44:44 -04:00
Thomas Watson c58148981c
Remove duplicate license comments (#106848) 2021-07-28 08:42:21 -06:00
Jonathan Budzenski 3d33710d5c Revert "[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have READONLY access (#106328)"
This reverts commit b6e9d8d411.
2021-07-28 09:26:29 -05:00
Jason Stoltzfus 904c370378
[App Search] Added a ReorderableTable component (#106306) 2021-07-28 09:16:43 -05:00
Adam Locke 5575b937c8
[DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996)
* [DOCS] Remove Kibana TLS docs in favor of Stack docs

* Updating redirects to fix cross-doc link

* Fixing redirect headers

* Updating redirects to link to separate sections
2021-07-28 10:10:18 -04:00
Tiago Costa b84362efbe
skip flaky suite (#103389) 2021-07-28 14:54:38 +01:00
Pablo Machado 2351447ceb
Fix add-cases comments error message is displaying after buttons (#106831) 2021-07-28 15:50:20 +02:00
Oliver Gupte c68e0e8d11
[APM] Fix data streams docs link url (#105651) (#106954) 2021-07-28 15:21:01 +02:00
Christos Nasikas 2388ac5de7
[Actions] Swimlane: Fix connectorType schema (#106969)
* Fix connectorType schema

* Add integration test
2021-07-28 08:51:44 -04:00
Paul Tavares b6e9d8d411
[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have READONLY access (#106328)
* Remove `getScopedSavedObjectsClient()` from server `EndpointAppContextServices` (not used)
* new EndpointMetadataService service (handles GET of a single endpoint for now)
* ensure `getFleetAgent()` sets the current status for the agent
* Replace the Route handler for Get of single endpoint with new call to service
* Fleet: change agent service to also calculate and return the agent status via calls from the agent service
* Fleet agent generator changed to set a random status
* generic `createInternalReadonlySoClient()` with runtime validation for non-readonly methods
2021-07-28 08:42:00 -04:00
Anton Dosov deefe1ac83
[FieldFormats] fix register on start contract (#106828) 2021-07-28 14:05:17 +02:00
Anton Dosov ecea2e7982
[FieldFormats] Lazy load field formats editors (#106439) 2021-07-28 07:59:32 -04:00
Liza Katz eeb88b0833
[Data][Filters] Move more filter utils to package and cleanup API (#106566)
* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:29:32 +02:00
Tiago Costa 7f810cd472
skip flaky suite (#100437) 2021-07-28 12:28:41 +01:00
Mat Schaffer 264813f8d7
Fix typo in ReasonFound test (#102690)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 19:38:11 +09:00
David Sánchez dccdb621ce
[Security solution] [Endpoint] Adds API check for existing policies when saving/creating trusted apps (#106110)
* Adds API check for existing policies when saving/creating trusted apps

* Fixes wrong error message

* Fixes tests and replaces policy id by policy name in error message

* Updates error message text

* Address pr comments and remove old comments in code

* Addressed some pr comments and added type to the error response in order to know which kind of response it is

* removed unused imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 12:21:34 +02:00
Christos Nasikas 7987a4d2c4
[Cases] Fix connectors callout messages (#106525) 2021-07-28 06:13:45 -04:00
Stratoula Kalafateli 4b8b103706
[TSVB] Fixes bug with tophit aggregation and index not exist (#106814)
* [TSVB] Fixes bug with tophit aggregation and no fields index

* Update src/plugins/vis_type_timeseries/public/application/components/aggs/top_hit.js

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

* Apply review comments

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-28 11:42:57 +03:00
Pete Harverson f67737d9cc
[ML] Transforms: Add functional tests for UI permissions (#106693)
* [ML] Transforms: Add functional tests for UI permissions

* [ML] Fix for edit flyout action

* [ML] Stabilize tests that open the actions menu
2021-07-28 09:25:46 +01:00
Mark Hopkin 0c4c662ce7
fix: remove called to deprecated url.resolve (#106501)
* fix: remove called to deprecated url.resolve

* simplify joining of URL parts
2021-07-28 08:36:41 +01:00
Aleh Zasypkin 0bb761de32
Fix and re-enable basic login selector functional tests. (#106822) 2021-07-28 09:25:22 +02:00
Stratoula Kalafateli 581d2e87c4
[Timelion app] Stabilize the flakiness in cloud (#106826) 2021-07-28 09:06:44 +03:00
Yara Tercero 44a9dadaff
[Timeline][RBAC] - Add RBAC logic to timeline alerts search strategy (#105333)
## Summary
 
Adds RBAC layer to timeline plugin search strategy for alerts.
2021-07-28 01:36:54 -04:00
Lukas Olson 196eb7b6a9
[data.search.autocomplete] Move autocomplete method to UI settings (#106331)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-27 20:57:12 -07:00
Ross Wolf b8522b7d70
[Detection Rules] Add 7.14 rules (#106933) 2021-07-27 19:58:29 -06:00
Dominique Clarke 0ad5f75bae
[Uptime] fix alerts flyout flaky tests (#106925)
* focus uptime tests

* update timeout time for alert confirm button

* await async requests

* check for alert name input before attempting to set value

* remove focused tests

* ensure that the alertNameInput exists after opening flyout
2021-07-27 21:36:17 -04:00
Ece Özalp 79edaf5dab
updates UX of threat intel tab (#106609) 2021-07-27 18:56:18 -04:00
Kevin Logan c8e8f9703f
add off switches (#106861)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-27 18:48:40 -04:00
Tyler Smalley f46b96a367 skip flaky suite (#106650) 2021-07-27 15:36:02 -07:00
Josh Dover 20c4716ced
Add ability for types to define an excludeOnUpgrade hook (#106534)
* Add ability for types to define an exclude from upgrade hook

* Update test to use 7.13 fixture

* Add 404 handling to oldest action task query

* Update api docs

* Update and add unit tests

* Rename deleteOnUpgrade to excludeOnUpgrade

* Disable reporting browser download for integration test

* Update exports and TSDocs

* Disable reporting plugin entirely

* Typo in config key name

* Update api docs

* Fix eslint

* Add timeouts for hooks

* Make adjustments to getOldestIdleActionTask

* Add type name to log messages for failed hooks

* Update api docs
2021-07-27 17:32:35 -04:00
Tiago Costa 1b8d8d183e
chore(NA): moving @elastic/datemath to babel transpiler (#106860)
* chore(NA): first custom rules for jsts_transpiler

* chore(NA): update jsts_transpiler macro

* chore(NA): moving @elastic/datemath to babel transpiler

* chore(NA): change gitignore rules for bazel
2021-07-27 16:44:36 -04:00