Commit graph

41475 commits

Author SHA1 Message Date
Angela Chuang
04e4661cbf
[Security Solution] fix data providers cypress tests (#94933)
* fix data providers cypress tests

* add scrollToBottom to common tasks file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 14:45:45 +00:00
Jonathan Budzenski
35af8a941a skip telemetry app usage test. #94513 2021-03-22 08:42:30 -05:00
Josh Dover
03764796ee
Add ESS icon to server.publicBaseUrl docs (#93949) 2021-03-22 14:36:14 +01:00
Matthew Kime
0c6bec1dd3
fix count and custom label on runtime fields (#95019) 2021-03-22 07:55:14 -05:00
David Sánchez
0a5ca7bb04
[SECURITY_SOLUTION] Better BE validation message for multiple same fields (#94935)
* WIP: Use schema.conditional instead of schema.oneOf to ensure the right schema validation from an specific field type

* Adds some comments on new schema definition

* Use validate functions to set custom messages

* Fixes type issue after schema changes. An overwrite of the schema inferred type is needed to match with the NewTrustedApp custom type

* Updates schema test after schema changes

* Changes error key by type. Updates related unit test

* WIP: Parse BE message into an user friendly one. Waiting for final texts

* Updates text messages for create trusted app errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 12:55:14 +01:00
Madison Caldwell
c0f9bfcd21
[Security Solution][Detections][Threshold Rules][7.12] Threshold summary view (#94345)
* Add threshold summary view items

* Add threshold field desgination

* Add threshold fields to signal doc

* Fix unit test

* Handle error
2021-03-21 10:02:45 -04:00
Nathan Reese
a6c0ff6e40
[ml] migrate file_data_visualizer/analyze_file to file_upload plugin (#94259)
* [ml] migrate file_data_visualizer/analyze_file to file_upload plugin

* tslint

* give analyze route access to ml user

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-20 14:59:52 -06:00
Walter Rafelsberger
dd7ea1d4b2
[ML] Data Frame Analytics: Fix ROC Curve Chart for binary classification. (#94791)
- Updates the ROC Curve Chart to show only one line for binary classification.
- Improves type specs for the evaluate panel's data.
2021-03-20 18:41:25 +01:00
Tiago Costa
7e5dbdf5b9
skip flaky suite (#84440) 2021-03-19 23:21:31 +00:00
Walter Rafelsberger
778bb69cba
[ML] Functional Tests: Extend canvas assertion options. (#91473)
Updates the canvas element assertion service and stabilizes tests.
2021-03-19 21:06:59 +01:00
Jonathan Budzenski
fc3125af08 skip "doc table should show popover" #94889 2021-03-19 12:11:34 -05:00
Pierre Gayvallet
5f92987bb3
add banners settings doc (#94672)
* add banners settings doc

* address review comments

* add link to the correct file

* use singular for banner
2021-03-19 08:14:55 +01:00
Steph Milovic
5f4939be76
Revert "[Security Solution] [Cases] Move create page components and dependencies to Cases (#94444)" (#94975)
This reverts commit c497239d55.
2021-03-18 18:25:39 -06:00
Luke Elmers
d1040f0105
[core.savedObjects] Fix maxImportExportSize config & update docs. (#94019) 2021-03-18 19:34:15 -04:00
Constance
ab0f45c053
[Curation] Add Result Manually flyout/search (#94887)
* Set up curation search server route

- not really sure which API endpoint to use, hedging my bets

* Set up AddResultLogic

- fairly simple, mostly concerned with flyout behavior & search query
- could likely be reused (or replaced with??) query tester logic in the future

* Add main AddResultFlyout component

- with custom isPromoted / isHidden logic & actions

* Update AddResultButton to open flyout

* Update Curation page to render the flyout

* PR feedback: reset search query on flyout re-open
2021-03-18 14:53:46 -07:00
Davis Plumlee
cdca44a639
[Security Solution][Detection Rules] Fixes rule details activate switch (#94010) 2021-03-18 17:45:03 -04:00
Jonathan Budzenski
0b984c92d9 skip "navigates to doc view from embeddables" #93670 2021-03-18 16:10:48 -05:00
Kaarina Tungseth
390d2ee5b9
[DOCS] Fixes Timelion link from UI to docs (#94985) 2021-03-18 15:44:25 -05:00
Kaarina Tungseth
0e81121495
[DOCS] Reformats Dashboard and adds Lens reference (#89615)
* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [Lens] Add drag and drop keyboard navigation docs

* remove unlinked files

* [Lens] tutorial advanced first version

* corrections

* Kaarinas changes

* corrections after CR

* Update docs/user/dashboard/lens-advanced.asciidoc

* 📝 Add more Lens related FAQ

* Updates Lens page

* Update docs/user/dashboard/lens.asciidoc

* drag and drop copy and gif

* some corrections after Wylie's second review

* Review comments

* Final changes

* Update lens-advanced.asciidoc

ordering fixed

* Comment organization

* Final clean up

Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-03-18 14:21:27 -05:00
Shahzad
95b7635d7a
Expose filter item from data plugin (#94546)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 19:11:52 +01:00
Michael Dokolin
8a54a3d904
Fix focus state of the changing all filters button after closing popover (#93475) (#94919) 2021-03-18 18:43:04 +01:00
Alison Goryachev
1592e3c01a
[Upgrade Assistant] use request hook (#94473) 2021-03-18 13:42:20 -04:00
Devon Thomson
882248c671
[Time to Visualize] Add Discrete Library Option to Save Modal (#94589)
* save modal UI and Redirect and save to library

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-03-18 13:40:02 -04:00
Stratoula Kalafateli
9ec2dd358f
[XY axis] Update the sample data to work with the default eui palette (#94781) 2021-03-18 18:56:59 +02:00
Jonathan Budzenski
6918217341
[optimizer] Compress javascript assets (#94717)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 11:10:59 -05:00
Matthew Kime
afa8e74d78
add icon tip for runtime field (#94882)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 10:47:42 -05:00
Constance
704d22b699
Improve responsiveness of promoted/hidden panel button actions (#94888) 2021-03-18 08:47:04 -07:00
Alison Goryachev
2f102b758b
[Upgrade Assistant] Address copy feedback (#94730) 2021-03-18 11:40:31 -04:00
Michael Dokolin
e9568ceee1
Fix links to the numeral formatting (#94858)
* Fix links to the numeral formatting in the advanced settings (#84167)
* Fix a link to the numeral formatting in the index pattern field settings (#84167)
2021-03-18 16:12:30 +01:00
Tyler Smalley
1060f8f05e
[test] Unskips delete component template test (#94856)
Test was skipped to allow for the promotion of the ES snapshot.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-18 10:56:56 -04:00
Anton Dosov
8820e00bba
[Search Session] Make session name editable (#94610) 2021-03-18 14:41:38 +01:00
Marco Liberati
8f6a6e2ae5
[Lens] Improves lost indexpattern scenario in saved visualization (#91377)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 14:29:17 +01:00
Jason Stoltzfus
49aef21bd4
[App Search] Result settings logic - actions and reducers (#94629) 2021-03-18 09:27:16 -04:00
Nicolas Chaulet
11f02f78c6
[Fleet] Remove unused Fleet settings package|agent auto upgrade (#94805) 2021-03-18 09:08:35 -04:00
Alejandro Fernández Haro
330bc5352e
[DOCS][Usage Collection] Show the _meta.description in every example (#94902) 2021-03-18 09:07:56 -04:00
EamonnTP
f15d01b937
[DOCS] Update APM filter and query content (#94446)
* Update filter and query content

* Edits following review

* Minor edit
2021-03-18 12:53:51 +00:00
Jean-Louis Leysens
628bb4b377
[Ingest Pipelines] Fix serialization and deserialization of user input for "patterns" fields (#94689)
* updated serialization and deserialization behavior of dissect and gsub processors, also addded a test

* also fix grok processor

* pivot input checking to use JSON.stringify and JSON.parse

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 10:07:39 +01:00
Joe Reuter
52a1ce1723
[Lens] Runtime field editor (#91882) 2021-03-18 08:21:39 +01:00
Joe Reuter
90e3013449
add mocks for Lens plugin (#94593)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 08:18:59 +01:00
Xavier Mouligneau
051be90763
[SECURITY SOLUTIONS][Alerts Actions] Fix migration from 7.11.0/7.11.1 to 7.12 (#94722)
* do not modify connector with the right structure

* review trying to bring back incident to live when we can

* manage custom action

* fix cypress test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 23:52:52 -04:00
Nicolas Chaulet
85d5f40d0c
[Fleet] Fix version on agent details screen (#94867) 2021-03-17 23:50:08 -04:00
John Schulz
34b6267893
Collapse two unenroll functions into one (#94848)
## Summary

Refactoring in progress towards https://github.com/elastic/kibana/issues/90437 

Collapse `forceUninstallAgents` into `uninstallAgents` into one function with an option. The pseudocode diff is

```diff
- function uninstallAgents() {
-   // filtering logic A
-   // side effects A
- }
- function forceUninstallAgents() {
-   // filtering logic A
-   // side effects B
- }

+ function uninstallAgents({ flag: boolean}) {
+   // filtering logic A
+   // if flag: side effects B
+   // else: side effects A
+ }
```

actually, there is [_one difference_](5564f25383 (diff-ecc3c625f2366949f1723e56b8477f6afb552ccfbcf3a71e0c28b2062fd05195)) in the filtering logic
 
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-03-17 23:46:03 -04:00
Constance
f4da06349d
[Curation] Add promoted/hidden documents section & logic + Restore defaults button (#94769)
* Set up promoted & hidden documents logic

* Set up result utility for converting CurationResult to Result

* Set up AddResultButton in documents sections

- not hooked up to anything right now, but will be in the next PR

* Add HiddenDocuments section

* Add PromotedDocuments section w/ draggable results

* Update OrganicDocuments results with promote/hide actions

* Add the Restore Defaults button+logic

* PR feedback: key ID

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 20:01:50 -07:00
Aaron Caldwell
ad18739de7
[Maps] Add endpoint to server for creating empty index & index pattern (#94028)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 21:40:51 -04:00
John Dorlus
6df27f322f
Re-Enabling Grok Debugger Functional UI Tests (#91274)
* Adding .only clause for testing purposes.

* Removing .only and reenabling test. Also changing back to group 13.

* Removing .only and reenabling test. Also changing back to group 13.

* Removed comment mentioning github issue.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 21:13:01 -04:00
spalger
a4c41851e8 skip flaky suite (#93188) 2021-03-17 17:42:17 -07:00
Scotty Bollinger
e1371b3d33
[Workplace Search] Fix confirm modal (#94844)
This PR addresses an issue where the confirmation modal when removing a content source connector was brokedn. The issue was that the component was not passed the props to render correctly
2021-03-17 19:55:35 -04:00
Christiane (Tina) Heiligers
28942df094
[core.logging] Deprecates legacy logging dest, json, verbosity and rotate configurations (#94238)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 16:49:59 -07:00
Vadim Yakhin
1b65ea91e5
Remove custom styles (#94839)
* Replace custom margin style with EuiFlexGroup gutter

* Replace custom padding style with EuiFlexGroup gutter

* Remove custom wrapper around Loading on Overview page (alpha)

* Replace custom range value output with EuiRange's showInput prop

* Remove custom style

I'll refer the correct handling of this to design pass

* Remove "euiPanel--inset" className, as it doesn't do anything in Amsterdam theme

* Remove unused className `euiPanel--noShadow`

We're already using hasShadow={false} prop that does the same

* Remove `euiPanel--outline` className, as it doesn't do anything in Amsterdam theme

* Inline classNames declaration with the goal to remove them later

They don't do anything in Amsterdam theme, but I'm not removing them to keep context for design pass.

* Remove `eui-textNoWrap` className from buttons, as it's already included in button styles

* Remove classNames with no styles attached

* Replace custom padding in content_section with EuiSpacer

* Remove source-row styles

Most of the classNames were redundant and not needed anymore. The ones that were actually used were either replaced with EUI props or deleted, so we could apply EUI styles during design pass.

* Replace source_icon styles with EUI components and props

* Replace source-card icon styles with EUI prop

* Remove className declarations with no styles attached to classes

* Fix tests

* Increase space between source overview panels

* Use smaller icons on source prioritization and connectors pages

* Invert SourceIcon default size and size provided via props

The default size was "xxl", now it's "m". "m" size is default in EUI, so it's more consistent.

* Get rid of &nbsp; as horizontal spacer
2021-03-17 18:26:50 -04:00
Scotty Bollinger
74b604608a
[Workplace Search] Add conditional props for Gmail (#94855)
THis PR adds conditional query params that gmail sends when doing an oauth redirect.
2021-03-17 18:22:59 -04:00