Commit graph

43647 commits

Author SHA1 Message Date
Sandra Gonzales
ae411dd1e9
fix node id comparison (#101941)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 11:52:51 -04:00
Tyler Smalley
c735342ea9
[docker] Audit of missing settings (#102504)
Discovered the banner settings were missing and took the time to audit
the settings to ensure everything in the docs is present.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-17 11:50:18 -04:00
Dan Panzarella
9be0d4d5ad
[Security Solution] Endpoint Pending Action full count (#102502) 2021-06-17 11:47:26 -04:00
Jonathan Budzenski
c79519a90f skip flaky suite. #102332 2021-06-17 10:34:00 -05:00
Josh Dover
97feae3d1b
Add xpack.cloud.full_story configuration (#102363) 2021-06-17 10:25:32 -04:00
Josh Dover
02971177cc
Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) 2021-06-17 10:19:07 -04:00
Robert Oskamp
a9d7431b45
[ML] Functional tests - fix and re-enable module API tests (#102477)
This PR fixes and re-enables the temporarily skipped API test suite for ML modules.
2021-06-17 16:13:10 +02:00
Dzmitry Lemechko
3707496627
Load testing/restart stack for simulation (#102492)
* [load testing] restart Kibana & ES before each simulation

* [load testing] add sleep 30s before starting ES/Kibana
2021-06-17 16:07:21 +02:00
Søren Louv-Jansen
ca523479d1
[APM] Remove omitEsFieldValue and update parseEnvironmentUrlParam (#101876) 2021-06-17 15:54:05 +02:00
Marco Liberati
421493c57a
[Lens] More memoization work on the editor_frame (#102186)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:47:08 +02:00
Jean-Louis Leysens
7a08bd8b69
[Fleet] Add packages to global search results (#102227)
* added public-side implementation for package search

* added a test for the new search results provider and updated behaviour

* added comment about open issue regarding hash router in fleet

* fixed jest tests

* refactor to reduce size of if statement

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:45:28 +02:00
Dmitry Tomashevich
0cfd04c87d
[Discover] Migrate angular context app controllers to react (#100530)
* [Discover] migrate remaining context files from js to ts

* [Discover] get rid of any types

* [Discover] replace constants with enums, update imports

* [Discover] use unknown instead of any, correct types

* [Discover] skip any type for tests

* [Discover] add euiDataGrid view

* [Discover] add support dataGrid columns, provide ability to do not change sorting, highlight anchor doc, rename legacy variables

* [Discover] update context_legacy test and types

* [Discover] update unit tests, add context header

* [Discover] update unit and functional tests

* [Discover] remove docTable from context test which uses new data grid

* [Discover] update EsHitRecord type, use it for context app. add no pagination support

* [Discover] resolve type error in test

* [Discover] move fetching methods

* [Discover] complete fetching part

* [Discover] remove redundant controller

* [Discover] split up context state and components

* [Discover] revert redundant css class

* [Discover] rename component

* [Discover] revert to upstream changes

* [Discover] return upstream changes

* [Discover] refactoring, context test update

* [Discover] add tests for fetching methods, remove redundant files

* [Discover] remove redundant angular utils, add filter test

* [Discover] refactor error feedback

* [Discover] fix functional test

* [Discover] provide defaultSize

* [Discover] clean up code

* [Discover] fix eslint error

* [Discover] fiix context settings

* [Discover] return tieBreaker field check

* [Discover] optimize things

* [Discover] optimize rerenders

* Update src/plugins/discover/public/application/components/context_app/context_app.tsx

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] resolve comments

* [Discover] replace url instead of pushing to history. refactoring

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2021-06-17 16:27:26 +03:00
Aaron Caldwell
246e7be3e5
[Maps] Add layer edit controls (#99812)
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
2021-06-17 09:21:45 -04:00
Søren Louv-Jansen
d57ffce8ec
[APM] Show JVM tab for Java Otel agent (#102346) 2021-06-17 08:56:04 -04:00
Tiago Costa
9569fe0561
skip flaky suite (#101454) 2021-06-17 13:00:22 +01:00
Stratoula Kalafateli
36f8cb394e
[Visualizations] Update the kibana.json with the owner and the description (#102459)
* [Visualizations] Update the kibana.json with the owner and the description

* Update plugin list
2021-06-17 14:36:45 +03:00
Joe Reuter
f65d450d56
fix auto interval filter building (#102086) 2021-06-17 13:32:36 +02:00
Søren Louv-Jansen
17e264e55e
[APM] Fix SVG rendered agent icon in Service Map, and improve storybook for icons (#102182) 2021-06-17 06:24:39 -04:00
Joe Reuter
84e86763f4
[Lens] Formula time shift (#101718) 2021-06-17 12:17:45 +02:00
Ashokaditya
1445aaa964
Do not show activity log error popups (#102450)
we show an empty state on the actions log tab anyway

refs 2dd22ed92b

fixes elastic/kibana/issues/102335
2021-06-17 12:13:03 +02:00
Marco Liberati
7f625530fb
[Lens] Add some more documentation for dynamic coloring (#101369)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 10:27:25 +02:00
Sergi Massaneda
d92ddf4b70
hide not searchable results when no term (#102401) 2021-06-17 10:17:17 +02:00
Marco Liberati
4447ca2a16
[Lens] Fix Formula functional test with multiple suggestions (#102378) 2021-06-17 10:14:29 +02:00
Esteban Beltran
a83d0e7f9a
Fix trusted apps modified by field displayed as a date field (#102377)
Fixes https://github.com/elastic/kibana/issues/102308
2021-06-17 09:40:16 +02:00
Joe Reuter
c75f369536
[Lens] Docs for time shift (#102048) 2021-06-17 09:32:28 +02:00
mgiota
fd5883b465
update readme of logs-metrics-ui (#101968) 2021-06-17 08:28:34 +02:00
Nathan L Smith
6113520470
Refactor observability plugin breadcrumbs (#102290)
Previously the observability plugin set the page title and breadcrumbs in the main app rendering component based on the `breadcrumb` property of the current route.

In addition, there's a `useBreadcrumb` hook used by the UX app, exploratory view, and cases.

The conflict between these was creating situations where neither would work and the breadcrumbs would just show "Kibana".

Remove the breadcrumb properties from the routes and the main app breadcrumb handling and just use `useBreadcrumb` on all pages.

Fixes #102131.
2021-06-17 00:27:23 -05:00
Matthew Kime
bfca0c3197
[Index Patterns] Move rollup config to index pattern management v2 (#102285)
* move rollup config to index pattern management
2021-06-16 20:14:28 -05:00
Paul Tavares
2507d37e37
[Security Solution][Endpoint] Isolate Action should only be available to Platinum+ licenses (#102374)
* Isolate action should only be available for platinum license
* Moved `useLicense` hook mock into `__mocks__`
2021-06-16 18:45:40 -04:00
Tyler Smalley
8d14128216
[build] Updates Ironbank templates (#102407)
* Bump to Ironbank 8.4
* Updates to stay consistant with upstream repo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-16 18:43:47 -04:00
Joe Portner
d4cc6861a1
Update security best practices document (#100814) 2021-06-16 18:24:01 -04:00
Constance
66c9d801d5
[Enterprise Search] Set up initial KibanaPageTemplate (#102170)
* Set up shared EnterpriseSearchPageTemplate component

* Set up product-specific page templates + setPageChrome

+ misc tech debt - create AS components/layout/index.ts for imports

* Set up navigation helpers for EuiSideNav usage

- Update react_router_helpers to pass back props as a plain JS obj instead of only working with React components (+ update react components to use new simpler helper)

- Convert SideNavLink active logic to a plain JS helper

* Set up top-level product navigations

NYI: sub navigations (future separate PRs)

* Set up test_helpers for inspecting pageHeaders

- primarily useful for rightSideItems, which often contain conditional logic

* Initial example: Convert RoleMappings views to new page template

Minor refactors:
+ remove unnecessary type union
+ fix un-i18n'ed product names
+ add full stop to documentation sentence
+ add semantic HTML tags around various page landmarks (header, section)

* EUI feedback: add empty root parent section

* Revert Role Mappings union type removal

- but shenanigans it a bit to take our i18n'd shared product names (requires as const assertion)

- done to reduce merge conflicts for Scotty / make his life (hopefully) a bit easier between ent-search and Kibana

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 18:23:13 -04:00
Tim Sullivan
a816dae162
[Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs (#102278)
* [Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs

* Update docs/user/reporting/reporting-troubleshooting.asciidoc

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

* use script formatting around error message block

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-16 13:55:53 -07:00
Janeen Mikell-Straughn
dcb5a6708d
[DOCS] Updating Elastic Security Overview topic (#101922)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks
2021-06-16 15:45:12 -04:00
Dominique Clarke
1cf82cbc36
[Uptime] refactor Synthetics Integration package UI (#102080)
* refactor contexts

* add http, tcp, and icmp folders

* adjust types

* adjust useUpdatePolicy hook

* adjust synthetics policy create and edit wrappers

* adjust validation

* fix typo and types

* remove typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 15:29:28 -04:00
Chris Roberson
ab2a80f4b0
[Task Manager] Log at different levels based on the state (#101751)
* Log at different levels based on the state

* Fix types and add tests

* Remove unnecessary code

* Add more descriptive message

* Partially fix failing tests

* Move into separate function

* Get rid of customStatus in favor of moving the logging logic to a separate, mockable function

* Remove debug logging

* Do not log as an error if the stats are empty

* PR feedback

* Add docker whitelist

* alpha order

* English is hard

* Removing extra newline

* PR feedback around ignoring capacity estimation

* Move json utils
2021-06-16 15:20:28 -04:00
Cauê Marcondes
adc95c1023
[APM] Fixing time comparison types (#101423)
* fixing time comparison types

* fixing ts issues

* addressing PR comments

* addressing PR comments

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 14:32:22 -04:00
Dario Gieselaar
8eea491412
[RAC] Update alert documents in lifecycle rule type helper (#101598)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 14:15:59 -04:00
Robert Oskamp
154150732d
[ML] Functional tests - fix and re-activate alerting flyout test (#102368)
This PR fixes the ML alerting flyout tests and re-activates it.
2021-06-16 13:42:44 -04:00
Tim Sullivan
c26d178937
[Reporting] remove unused reference to path.data config (#102267) 2021-06-16 10:32:48 -07:00
Kyle Pollich
4a94156550
[Fleet + Integrations UI] Migrate Fleet UI to new tabbed layout (#101828)
* WIP: Migrate fleet to new page layout system

* Add 'Add Agent' button to agents table

* Fix flyout import in search and filter bar

* Place settings/feedback in header

* Move actions to top nav

* Fix i18n + types + unit test failures

* Remove unused props in DefaultLayout

* Fix background height in Fleet layout

This is fixed through a hack for now, because Kibana's layout doesn't
allow apps to flex the top-level wrapper via `flex: 1`. The same
behavior reported in the original issue (#101781) is present in all
other Kibana apps.

Fixes #101781

* Use euiHeaderHeightCompensation for min-height calc

* Move settings portal to app component

* Fix agent details URL in failing unit test

* Remove unreferenced overview files + update functional tests

* Remove unneeded fragment

* Remove beta badges in Fleet + Integrations

Fixes #100731

* Fix i18n

* Fix page path reference

* Fix failing tests

* Re-fix i18n post merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 10:29:38 -07:00
spalger
3e723045a0 remove nested skip (#100296) 2021-06-16 10:14:15 -07:00
spalger
f4e0895b17 skip flaky suite (#100296) 2021-06-16 10:10:38 -07:00
spalger
c8256d57bd skip flaky suite (#101984) 2021-06-16 10:07:21 -07:00
Nick Partridge
dbe3ca9708
Add auto-backport by default to ech renovate bot prs (#102208) 2021-06-16 12:05:56 -05:00
Wylie Conlon
e47ee5ace7
Fix 7.13 aggregation reference issue (#102256) 2021-06-16 12:42:15 -04:00
John Dorlus
d2e81ee785
CIT for circle processor (renewed PR) (#102277)
* Added CITs for Circle processor.

* Fixed issue with form function using int instead of string.

* Added changed per nits.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 12:07:50 -04:00
Thomas Watson
973d057846
Upgrade normalize-url from v4.5.0 to v4.5.1 (#102291) 2021-06-16 12:01:53 -04:00
Madison Caldwell
c5e74d8241
[RAC][Security Solution] Pull Gap Remediation out of search_after_bulk_create (#102104)
* Modify threshold rules to receive a single date range tuple

* Modify threat match rules to receive a single date range tuple

* Modify custom query rules to receive a single date range tuple

* Fix up tests (partially)

* Change log message to indicate single tuple instead of array

* Bad test?

* Prevent max_signals from being exceeded on threat match rule executions

* Revert "Prevent max_signals from being exceeded on threat match rule executions"

This reverts commit ba3b2f7a382ef7c369f02c7939e1495f72d92bfe.

* Modify EQL rules to use date range tuple

* Modify ML rules to use date range tuple

* Fix ML/EQL tests

* Use dateMath to parse moments in ML/Threshold tests

* Add mocks for threshold test

* Use dateMath for eql tests
2021-06-16 11:35:07 -04:00
Liza Katz
8abb656d7f
[Kuery] Move json utils (#102058)
* Move JSON utils to utils package

* Imports from tests

* delete

* split package

* docs

* test

* test

* imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 18:15:47 +03:00