Commit graph

38543 commits

Author SHA1 Message Date
Thomas Watson
fb48e903d5
Upgrade Node.js to version 14 (#83425) 2020-12-02 23:40:06 +01:00
Dan Panzarella
e1944342af
[Security Solution] Keep Endpoint policies up to date with license changes (#83992) 2020-12-02 17:30:44 -05:00
Marshall Main
d47c70cd53
[Security Solution][Exceptions] Implement exceptions for ML rules (#84006)
* Implement exceptions for ML rules

* Remove unused import

* Better implicit types

* Retrieve ML rule index pattern for exception field suggestions and autocomplete

* Add ML job logic to edit exception modal

* Remove unnecessary logic change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 17:14:19 -05:00
Scotty Bollinger
4f3d72b413
[Enterprise Search] Move schema types to shared (#84822)
* Move schema types to shared

We use the Schema types in Workplace Search as well, so moving these to shared. Also, we have a component called IndexingStatus so reverting to the prefixed IIndexingStatus interface name

* Fix misspelled interface
2020-12-02 15:34:19 -06:00
Tyler Smalley
b593781009
Jest multi-project configuration (#77894)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 11:42:23 -08:00
Paul Tavares
2ffdf75b6e
[SECURITY_SOLUTION] Enable usage of the Endpoint Policy form from Fleet (#84684)
* Endpoint: add `withSecurityContext` HOC + refactor endpoint policy edit lazy component to use it
* Endpoint: refactor Policy Details to separate form from view
* Endpoint: Enable the Redux store for the Policy form when displayed via Fleet
* Fleet: Allow partial package policy updates to be sent via `onChange()`
2020-12-02 14:37:36 -05:00
Quynh Nguyen
0e43beed4f
[ML] Fix prediction probability text for classification (#84593)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 13:35:38 -06:00
Scotty Bollinger
b6913a3d2e
[Enterprise Search] Convert IndexingStatus to use logic for fetching (#84710)
* Add IndexingStatusLogic

* Replace IndexingStatusFetcher with logic

* Refactor out unnecessary conditional

onComplete is not optional so these if blocks can be consolidated

* Misc styling - destructuring and typing

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

* Misc styling - imports

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

* Remove div

* Refactor test

* Replace method with string for statusPath

In ent-search, we use Rails helpers to generate paths. These were in the form of routes.whateverPath(). We passed these method to the IndexingStatus component to generate the app-specific rotues in the shared component.

In Kibana, we will not have these generators and should instead pass the path strings directly

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2020-12-02 13:34:07 -06:00
Mikhail Shustov
88359b742a
Improve ui settings performance (#84513)
* remove unused parameter in "read" function

* add cache for uiSettings client

* add tests for ui_settings client caching

* address comments

* do not mutate ui_settings_client cache
2020-12-02 20:15:25 +01:00
Marta Bondyra
6900ce2b96
[Lens] Provide single-value functions to show the "First" or "Last" value of some field (#83437) 2020-12-02 19:55:58 +01:00
Bohdan Tsymbala
7f969136a3
Added migration of policy for AV registration config. (#84779)
* Added migration of policy for AV registration config.

* Updated migration a bit to be more safe.
2020-12-02 18:55:08 +01:00
Spencer
b96b965387
[build/node] log url when downloading node shasum info (#84692)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 10:06:33 -07:00
Larry Gregory
a20709cce6
Deprecate disabling the spaces plugin (#83984)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2020-12-02 12:00:14 -05:00
ymao1
cbc61afcce
[Task Manager] Skip removed task types when claiming tasks (#84273)
* Checking if task type is in registered list

* Loading esArchiver data with removed task type for testing

* PR fixes
2020-12-02 11:49:24 -05:00
Mikhail Shustov
d990b27ab2
bump es-js version (#84770) 2020-12-02 17:28:46 +01:00
Wylie Conlon
c73de26773
[Lens] Refactor function selection invalid state (#84599)
* [Lens] Refactor function selection invalid state

* Fix types per review comment
2020-12-02 11:16:59 -05:00
Kaarina Tungseth
a38a9d3e03
[DOCS] Fix Creaxes Logstash pipeline API page (#84780) 2020-12-02 09:39:26 -06:00
Bhavya RM
d481adc75f
Test user assignment to embeddable maps tests (#84383) 2020-12-02 10:30:27 -05:00
Vadim Dalecky
cc341b3235
Telemetry for Dyanmic Actions (Drilldowns) (#84580)
* feat: 🎸 set up telemetry for UiActions

* feat: 🎸 improve ui_actions_enhanced collector

* feat: 🎸 namespace ui actions telemetry stats

* refactor: 💡 improve dynamic actions collector setup

* feat: 🎸 add tests for dynamicActionsCollector

* feat: 🎸 collect dynamic action trigger statistics

* refactor: 💡 standartize metric naming

* feat: 🎸 aggregate action x trigger counts

* test: 💍 add tests for factory stats

* docs: ✏️ add ui actions enhanced telemetry docs

* fix: 🐛 revert type change

* refactor: 💡 make dynamic action stats global

* refactor: 💡 use global telemetry stats in action factories
2020-12-02 16:06:18 +01:00
John Schulz
90a18cc15d
[Fleet][EPM] Pass through valid manifest values from upload (#84703)
* Add missing properties & improve type safety

* Break up types for better readability
2020-12-02 09:49:21 -05:00
Kerry Gallagher
0c623b6c01
[Synthetics] Waterfall chart (#84199)
* Add a Waterfall component

- Adds a generic Waterfall component
- Adds consumer consumption code for Synthetics
2020-12-02 14:13:20 +00:00
Aleh Zasypkin
c1e7f69ca1
Migrate security routes to a new Elasticsearch client. (#84528) 2020-12-02 15:00:01 +01:00
Bohdan Tsymbala
32200af4e9
Changed the translation text for the description text in the antivirus registration form (#84626)
* Changed the text for the description text in the antivirus registration form. Moved the form component to components folder and extracted translations into constants to make code more readable.

* Extracted EventsForm to reduce duplication among events forms.
2020-12-02 14:47:56 +01:00
Chris Roberson
2ad3d2bc53
Make alert status fetching more resilient (#84676) 2020-12-02 07:23:50 -05:00
Søren Louv-Jansen
452f841491
[APM] Refactor hooks and context (#84615)
* Refactor hooks and context

* Fix tsc issues

* address feedback

* Fix lint

* type-only import
2020-12-02 13:10:27 +01:00
Bohdan Tsymbala
126c99a175
Added word break styles to the texts in the item details card. (#84654)
* Added word break styles to the texts in the item details card.

* Updated snapshots.
2020-12-02 12:48:11 +01:00
Anton Dosov
5354008a42
[Search] Disable "send to background" when auto-refresh is enabled (#84106) 2020-12-02 11:47:30 +01:00
Joe Reuter
6a07349bb6
Add readme for new palette service (#84512) 2020-12-02 11:42:52 +01:00
Aleh Zasypkin
59a405dc80
Make all providers to preserve original URL when session expires. (#84229) 2020-12-02 11:32:22 +01:00
Joe Reuter
30f8e41d45
[Lens] Show color in flyout instead of auto (#84532) 2020-12-02 10:06:25 +01:00
Joe Reuter
44c436b8ad
[Lens] Use index pattern through service instead of reading saved object (#84432) 2020-12-02 09:42:42 +01:00
Aleh Zasypkin
8981d0e9e2
Make it possible to use Kibana anonymous authentication provider with ES anonymous access. (#84074) 2020-12-02 09:32:49 +01:00
Alejandro Fernández Haro
717a66fc6c
TelemetryCollectionManager: Use X-Pack strategy as an OSS overwrite (#84477) 2020-12-02 08:26:45 +00:00
Joe Reuter
b454f2a1c2
migrate away from rest_total_hits_as_int (#84508) 2020-12-02 09:26:22 +01:00
Daniil
2c084b796f
[Input Control] Custom renderer (#84423)
* Create custom renderer

* Reduce initial bundle size

* Fix tests

* Add unit test

* Remove injectI18n usage

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 11:02:31 +03:00
Constance
00a5b60779
Attempt to more granularly separate App Search vs Workplace Search vs shared GitHub notifications (#84713) 2020-12-01 14:59:27 -08:00
Christos Nasikas
b9a64ba7d5
[Security Solutino][Case] Case connector alert UI (#82405)
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 23:39:27 +02:00
Thomas Neirynck
49f0ca0827
[Maps] Support runtime fields in tooltips (#84377) 2020-12-01 16:33:16 -05:00
Yulia Čech
4ae84a00a5
[CCR] Fix row actions in follower index and auto-follow pattern tables (#84433)
* Fixed auto follow actions

* Created a provider for all follower index table actions to fix modal auto-closing

* Moved i18n texts into a const to avoid duplication

* Removed unnecessary imports and added index.js file for follower_index_actions_provider imports

* Fixed wrong imports deletion

* Fixed wrong imports deletion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 21:37:56 +01:00
Scotty Bollinger
ae9df69028
[Enterprise Search] Migrate shared Indexing Status component (#84571)
* Add react-motion package

This is needed to animate the loading progress bar in the Enterprise Search schema views

* Add shared interface

* Migrate IndexingStatusContent component

This is a straight copy/paste with only linting changes and tests added

* Migrate IndexingStatusErrors component

This is a copy/paste with linting changes and tests added. Also changed out the Link component to our EuiLinkTo component for internal routing

* Migrate IndexingStatus component

This is a straight copy/paste with only linting changes and tests added

* Migrate IndexingStatusFetcher component

This is a copy/paste with some modifications. The http/axios code has been removed in favor of the HTTPLogic in Kibana.

This is a WIP that I am merging to master until I can get it working in the UI. Without either Schema component in the UIs for App Search or Workplace Search this is only a POC. Will not backport until this is verified working and have written tests.

* Add i18n

* Revert "Add react-motion package"

This reverts commit 92db929d2a.

* Remove motion dependency

* Update copy

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

* Refactor per code review

- Remove stui classes
- Inline status

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2020-12-01 14:24:02 -06:00
Nathan Reese
4b1ba0f3b2
[maps] remove fields from index-pattern test artifacts (#84379)
* [maps] remove fields from index-pattern test artifacts

* only remove non-scripted fields

* fix data.json parse issues - darn trailing comma

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 12:10:14 -07:00
Scotty Bollinger
78faa107aa
Add routes for use in Sources Schema (#84579) 2020-12-01 12:47:57 -06:00
Kaarina Tungseth
5da9650f21
Changes UI links for drilldowns (#83971)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 12:39:42 -06:00
Jeffrey Chu
d8643f719e
endpoint telemetry cloned endpoint tests (#81498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 13:03:56 -05:00
Nicolas Chaulet
9b74fe6d39
[Fleet] Handler api key creation errors when Fleet Admin is invalid (#84576) 2020-12-01 12:55:15 -05:00
Gidi Meir Morris
6da6db28ac
Revert the Revert of "[Alerting] renames Resolved action group to Recovered (#84123)" (#84662)
Reapplies the #84123 PR:
This PR changes the default term from “Resolved” to “Recovered”, as it fits most use cases and we feel users are most likely to understand its meaning across domains.
2020-12-01 17:30:05 +00:00
Mikhail Shustov
68decb8352
declare kbn/monaco dependency on kbn/i18n explicitly (#84660) 2020-12-01 10:24:54 -07:00
Nathan Reese
3958cddca3
Remove unscripted fields from sample data index-pattern saved objects (#84659)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 10:09:20 -07:00
Walter Rafelsberger
5889e366da
[ML] Fix unnecessary trigger of wildcard field type search for ML plugin routes. (#84605)
Passing in an empty string '' to useResolver() would trigger a wild card search across all indices and fields, potentially causing a timeout and the page would fail to load. The following pages were affected: Single Metric Viewer, Data frame analytics models list, Data frame analytics jobs list, Data frame analytics exploration page, File Data Visualizer (Data visualizer - Import data from a log file). This PR fixes it by passing undefined instead of '' to useResolver to avoid calling _fields_for_wildcard with an empty pattern. Jest tests were added to cover the two parameter scenarios empty string/undefined.
2020-12-01 18:05:57 +01:00
Olivier V
5420177485
Update create.asciidoc (#84046)
The url templates provided for call of the API with space information was missing the /api/ section in it.

(cherry picked from commit 35f1cc16eaa29666d7212402f57ab17858ebc96d)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 08:06:19 -08:00