Commit graph

40773 commits

Author SHA1 Message Date
Yara Tercero d847958fb3
[ci] disable firefox scripts from security cypress job (#92483)
Temporarily disabling security solution Firefox tests. Seem to be race conditions present in the Firefox run specifically causing flake.
2021-02-23 15:06:46 -05:00
Nathan L Smith 57dfb811d6
Remove kuery from uiFilters (#91932)
* Make kuery a standalone query parameter instead of part of uiFilters
* Move getEsFilters helper to RUM
* Move query utils from "common" to "server" (it uses esKuery from the data plugin, which is exported from server, not common.)
* Move uiFiltersRt to RUM routes

References #84526.
2021-02-23 14:04:12 -06:00
Melissa Alvarez 4f8cd8399b
fix escapeDoubleQuotes regex to ensure quotes escaped correctly (#92471) 2021-02-23 14:48:49 -05:00
Jonathan Budzenski 8fac02f8cb
[build] Add task skips intended for partial builds (#92076) 2021-02-23 13:46:41 -06:00
Ryland Herrick 08fcf443fc
Add labelAppend support for text form fields (#92106)
The forms schema accepts this field for arbitrary field types, but text
forms were not using it.

For security solution, since we were already using labelAppend in
multiple instances of text fields, this has the effect of causing an
"Optional" label modifier appear where it didn't before.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 13:44:46 -06:00
Spencer a88106cc8b
[esArchiver] pass x-elastic-product-origin header to ES (#91566)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:26:36 -07:00
Aaron Caldwell f4b16f3d87
[Maps] Fix geo shape agg telemetry not collecting due to missing index pattern IDs (#90886) 2021-02-23 14:06:36 -05:00
Thomas Watson 41a02a7a9e
Bump Node.js from version 14.15.4 to 14.16.0 (#92421) 2021-02-23 19:45:15 +01:00
Constance 301df28a66
[App Search] Standardize table pagination logic/UX (#92293)
* Create table pagination helpers

* Update Curations table to use new pagination helpers

* Update Credentials table to use new helpers

+ update to use DEFAULT_META and pass page[size] customization
+ update useEffect to manually call fetchCredentials on current page change
+ update table to pass empty prompt within table (rather than instead of), and add a loading indicator
- update deleteApiKey to re-fetch credentials from API rather than modify the in-memory array (which more correctly handles pagination)

* Update Engines table to use new helpers

Server:
+ update server route to take page[current] (consistent w/ other routes) and page[size]
- remove custom param translation (passing as-is)
- remove ENGINES_PAGE_SIZE constant, basically stored within DEFAULT_META now and page size is passed from client-side
- remove misc header cruft from engines table

EnginesLogic:
- Update http calls to send page[current] & page[size] (same as other files)
- Change individual *Total/*Page vars to store the meta obj coming back from the API (same as other logic files)
- Change on*Load actions to simply pass the API response (update typing to clarify)
- Add new individual enginesLoading/metaEnginesLoading vars so that tables can show individual loading indicators between pagination
- Change dataLoading to a selector (should only show on initial page load, and should use table loading indicators after)

EnginesTable:
- Update props to more closely match EuiBasicTable (items, onChange, add loading) so users can do a simple pass-through
- Reorganize tests so that language block doesn't need its own custom wrapper vars
- Remove empty data test (no longer really testing anything meaningful) and add loading test

EnginesOverview:
- Update to use new helpers, values, props, etc.
- Add new test for onPaginate handlers
2021-02-23 10:41:35 -08:00
Quynh Nguyen 50b23e2176
[ML] Fix geo_shape not aggregetable and misaligned examples list in other_content (#92198) 2021-02-23 12:36:43 -06:00
Constance 5ab2d25006
[App Search] Standardize date/timestamps displayed in tables (#92287)
* Add new reusable FormattedDateTime helper

* Update Analytics RecentQueriesTable to use helper

* Update CurationsTable to use new helper

- requires adding a utility fn to convert the server-sent string to a Date-parseable string

* Update EnginesTable to use FormattedDateTime

- mostly to standardize/DRY out the FormattedDate display style
- adds a new hasTime flag since the EnginesTable does not display time

* [PR feedback] hasTime -> hideTime
2021-02-23 13:26:27 -05:00
Quynh Nguyen accf6b8c2e
[ML] Fix Total feature importance section not expandable when set to False (#92450) 2021-02-23 12:22:38 -06:00
Jason Stoltzfus e1166999e0
[Enterprise Search] Shared unsaved changes prompt component (#92277) 2021-02-23 12:55:42 -05:00
Aleh Zasypkin 0cc3fa61ce
Upgrade merge-deep dependency (3.0.23.0.3). (#92418) 2021-02-23 12:54:12 -05:00
Dima Arnautov 4891f7c09e
[ML] Fix Anomaly detection alert condition validation (#92377)
* [ML] config validation

* [ML] validation messages

* [ML] fix message

* [ML] refactor resolveBucketSpanInSeconds

* [ML] fix messages

* [ML] change validation messages

* [ML] change validation messages

* [ML] double bucket span outside of resolveBucketSpanInSeconds

* [ML] check only for started datafeed, update bucket span check
2021-02-23 12:43:47 -05:00
igoristic 0e6c38d630
[Monitoring] Added cgroup option for APM cpu usage (#90873)
* Added APM cpu cgroup

* Fixed tests

* Fixed i18n

* Removed agent logic and fixed tests

* Fixed test

* Fixed tests and backup field

* Removed backup field fix

* Fixed cluster tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:19:10 -05:00
Walter Rafelsberger 45155f089d
[ML] Show mini histograms by default if row count below threshold. (#92021)
Show mini histograms by default if row count below threshold of 10000 docs.
2021-02-23 17:34:59 +01:00
Mike Côté b337d49bcb
Catch-up release documentation (#92411)
* Initial commit

* Undo custom id docs (done in separate PR)

* Update docs, a bit

* fix create api doc

* Update docs/user/alerting/action-types/email.asciidoc

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

* Update docs/user/alerting/alerting-getting-started.asciidoc

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

* Indent warning

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-23 11:26:12 -05:00
Matthias Wilhelm 8be841af10
[Discover] Fix index pattern switch behavior (#92131) 2021-02-23 17:24:48 +01:00
Melissa Alvarez 70645b367e
show creation triggered indication. disable continue while included fields load (#92254) 2021-02-23 11:14:16 -05:00
Mike Côté 6c6636c12f
Add docs for ability to specify custom alert ids (#92410)
* Add docs for ability to specify custom alert ids

* Add v1/v4
2021-02-23 11:12:47 -05:00
Candace Park 49dee63705
[Security Solution][Endpoint][Admin] Policy response flyout view has scrolling (#92265) 2021-02-23 11:07:45 -05:00
Devon Thomson cb932075fa
[Dashboard] Remove Multiple History Entries & Stay in Edit Mode on Save As (#92105)
* made save as stay in edit mode when not navigating to another dashboard. Removed extra history entires from save
2021-02-23 11:01:21 -05:00
Brian Seeders 8ab68601e0
[CI] Convert ES Snapshots Verify job to use tasks (#92091) 2021-02-23 11:00:03 -05:00
Wylie Conlon 62a0a4beac
[TSVB] Stop inserting zeroes for null series (#90861)
* [TSVB] Stop inserting zeroes for null series

* Replace empty default value with hyphen

* Stop treating 0 as false

* Fix test cases

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:32:46 -05:00
Aleh Zasypkin 1997927edc
Upgrade ejs dependency (3.1.53.1.6). (#92402) 2021-02-23 16:32:15 +01:00
Spencer d01fb56d75
[ci/ftr] run new fleet_functional suite (#92296)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-23 09:15:44 -06:00
Constance 80f697d91f
Remove external/popout icon from Create Engine CTA (#92272)
- now that create engine is no longer linking out to standalone UI
2021-02-23 08:43:37 -05:00
Alison Goryachev 77bc230901
[Upgrade Assistant] Remove reindex logic that is no longer applicable (#91193) 2021-02-23 08:42:59 -05:00
Shahzad 7593a911ca
[Uptime] fix double scroll on legend height change (#92155) 2021-02-23 14:38:29 +01:00
Anton Dosov ef5d5cf7b1
[Search Sessions] Fix Discover doesn't clean session when navigating to Context (#91874) 2021-02-23 08:14:54 -05:00
Gidi Meir Morris 4c82ffc25f
[Docs][Alerting] updates images in Alerts Management and adds docs for the Run When field (#92225)
Updates images in Alerts Management Docs and usage of the Run When field
2021-02-23 12:54:55 +00:00
Mike Côté f246a053f3
Update docs on filtering alerts by string params (#92239) 2021-02-23 07:23:34 -05:00
Uladzislau Lasitsa bfed81aaf9
[TSVB] Markdown variables not working for empty labels (#91838)
* Fix markdown for empty values

* Fix ci

* Fix eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 15:12:11 +03:00
Rudolf Meijering 3b1ca526a7
v1 migrations: drop fleet-agent-events during a migration (#92188)
* v1 migrations: drop fleet-agent-events during a migration

* Add TODO to fleet to make it clear that fleet-agent-events should not be used

* Fix test
2021-02-23 11:44:43 +01:00
Alejandro Fernández Gómez 004238ac16
[Logs UI] Add default panel title to log stream embeddable (#91817)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 11:23:26 +01:00
Gidi Meir Morris ee81110516
renamed reloadAlerts to onSave wit hdeprecation (#91997)
The `reloadAlerts` properties in `AlertAdd` and `AlertEdit` are confusing property names.
In this PR we deprecate those and replace them with `onSave`.
2021-02-23 10:00:17 +00:00
Shahzad 2ce344019a
Add text search mode in global kuery bar (#91814)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:37:56 +01:00
Dario Gieselaar 89c103a896
[APM] Guard searches with range/additional queries (#92112)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:31:48 +01:00
Thomas Watson 4ab0277494
Add CODE_OF_CONDUCT.md (#87439) 2021-02-23 09:01:51 +01:00
Aleh Zasypkin 8e2bd8f69f
Simplify anonymous access & embedding docs. (#90409) 2021-02-23 08:56:56 +01:00
Alexey Antonov da7aac3bec
Prevent rewrite of date_histogram interval (#91408)
* Prevent rewrite of date_histogram interval

Closes:#91408

* fix PR comments

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:41:41 +03:00
Pierre Gayvallet 8988bdf78e
Some package.json cleanup (#92136)
* some package.json cleanup

* update lockfile
2021-02-23 08:04:29 +01:00
Dominique Clarke 95516e6506
adjust waterfall chart sidebar CSS to appropriately display border (#92191)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 22:11:26 -05:00
Nathan L Smith 6ad09a856a
Change "whitelist" to "allowlist" on alerting getting started (#92260) 2021-02-22 21:00:45 -06:00
Nathan L Smith 84e16ebcd0
Pluralize "alerts" (#92261) 2021-02-22 21:00:08 -06:00
Oliver Gupte 3c5b91f5d6
[APM] Fix stale correlations chart data for selected term (#91867) (#92109)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 18:58:45 -08:00
Xavier Mouligneau eb21f576f9
[Security Solution] Fix paradigm around our container for search strategy query (#90982)
* fix paradigm around our serach strategy query

* simplify logic to act with search strategy

* miss to delete a declaration
2021-02-22 20:59:21 -05:00
Nathan Reese 7f9e9e828d
[Maps] convert map redux reducer to typescript (#91955)
* [Maps] convert map redux reducer to typescript

* fix jest test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 18:48:37 -07:00
Alison Goryachev 76f8dbbd4a
[Console] Update docs (#92240) 2021-02-22 20:44:39 -05:00