Commit graph

45809 commits

Author SHA1 Message Date
Thom Heymann
035937a5c1
Interactive setup mode (#106881)
* Interactive setup mode

* remove first attempt

* Added suggestions from code review

* Verify CA before writing config

* fix i18n path

* updated plugin list

* Updated page bundle limits

* added manual configuration

* fetch certificate chain

* Fix race condition when calling multiple form methods

* Fix i18n errors

* added types and refactored slightly

* welcome page styling

* Remove holdsetup config option

* typo

* fix build errors

* Updated manual configuration form

* Remove issuer link

* Add tests for decode enrollment token

* Removed unused class names

* fix issue where credentials got inherited from base config

* Added tooltips and text overflow

* styling fixes

* refactored text truncate

* Added unit tests

* added suggestions from code review

* Fixed typo and tests

* Styling fixes

* Fix i18n errors

* Added suggestions from code review

* Added route tests

* Explicit type exports

* Fix server url

* Added unit tests

* Added product not supported scenario
2021-08-30 15:23:10 +01:00
Tre
234f7f6085
[Archive Migration][Partial] discover partial accessibility (#110073)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:16:22 +01:00
Tiago Costa
443979f0c5
skip failing es promotion suite (#110483) 2021-08-30 15:14:21 +01:00
Yulia Čech
949a4a6898
[ILM] Fixed loading layout that has degraded after adding RedirectAppLinks (#110461) 2021-08-30 16:09:36 +02:00
renovate[bot]
ac8b129141
Update dependency @elastic/elasticsearch to ^8.0.0-canary.19 (#110419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 09:56:56 -04:00
Milton Hultgren
ab2deb773a
[Observability] Make Alerts page callout more subtle (#110197) 2021-08-30 15:41:09 +02:00
Alexey Antonov
6d874caef5
[Lens] should register "suffix" field formatter in setup lifecycle (#110218)
Closes: #106838

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:17:09 +03:00
Tiago Costa
0082e5ac6b
skip flaky suite (#98463) 2021-08-30 13:08:13 +01:00
Tiago Costa
266769a833
skip flaky suite (#108633) 2021-08-30 12:50:38 +01:00
Alexey Antonov
265fed590e
[Data Table] Expensive queries are causing unnecessary load and delays on Elasticsearch (#98903)
* [Data Table] Expensive queries are causing unnecessary load and delays on Elasticsearch

Part of #93770

* remove extra cycles

* fix PR comments

* fix finder.close

* code cleanup

* add namespaces: ['*'],

* fix jest

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 14:11:42 +03:00
Gloria Hornero
1932540992
fixes failing tests (#110436) 2021-08-30 13:02:39 +02:00
Diana Derevyankina
e11e3fdb1b
[TSVB] Remove deprecated IFieldType (#110404)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:39:52 +03:00
Diana Derevyankina
b74c79ad32
[Lens] Remove deprecated IFieldType (#109825)
* [Lens] Remove deprecated `IFieldType`

* Fix types for terms.test

* Replace IndexPatternField with FieldSpec, revert terms.test and update other tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:39:17 +03:00
Alexey Antonov
9f5a93626b
[Vega] Expensive queries are causing unnecessary load and delays on Elasticsearch (#99023)
* [Vega] Expensive queries are causing unnecessary load and delays on Elasticsearch

Part of: #93770

* Update get_usage_collector.test.ts

* add namespaces: ['*']

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:34:47 +03:00
Alexey Antonov
aa8364a526
[Visualizations] Expensive queries are causing unnecessary load and delays on Elasticsearch (#99031)
* [Visualizations] Expensive queries are causing unnecessary load and delays on Elasticsearch

Part of: #93770

* fix CI

* fix typo

* fix namespaces issue

* fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:34:00 +03:00
Alexey Antonov
0e480d8623
[TSVB] Expensive queries are causing unnecessary load and delays on Elasticsearch (#98914)
* [TSVB] Expensive queries are causing unnecessary load and delays on Elasticsearch

Part of: #93770

* remove globalConfig

* fix tests

* fix finder.close

* cleanup code

* run queries concurrently

* add namespaces: ['*'],

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:31:08 +03:00
Uladzislau Lasitsa
f3562cf12d
Don't add split part of UI if we have one series (#109483)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 12:55:56 +03:00
Maja Grubic
a4c0c1c0aa
[Discover] Migrate angular routing to react router (#107042) 2021-08-30 10:48:21 +02:00
Candace Park
079fc9ad19
[Security Solution][Endpoint][Event Filters] Fixes missing spacers between event filters cards (#110282) 2021-08-29 22:17:46 -04:00
Walter Rafelsberger
8eea9005f1
[ML] Data Grid: Fix alignment of sorting arrow when histogram charts are enabled (#110053)
Adds a CSS override to align the sorting arrow at the bottom when histogram charts are enabled.
2021-08-27 23:50:44 +02:00
Clint Andrew Hall
2ed3fcdec1
[canvas] Fix image argument form issues (#109767)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 16:17:05 -04:00
Clint Andrew Hall
2520990e1e
Fix asset in Pitch template (#109742)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 16:10:52 -04:00
Tiago Costa
127402415c
chore(NA): moving @kbn/securitysolution-list-api to babel transpiler (#110265)
* chore(NA): moving @kbn/securitysolution-list-api to babel transpiler

* chore(NA): add web targets
2021-08-27 15:56:18 +01:00
Tiago Costa
c92978b9e5
chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler (#110269)
* chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler

* chore(NA): add web targets
2021-08-27 15:55:59 +01:00
Kyle Pollich
74f3b76592
[Fleet] Fix upgrade link in Fleet policy table (#110228)
* Fix upgrade link in Fleet policy table

* Ensure upgrade page displays as upgrade even without from prop
2021-08-27 08:08:53 -04:00
Walter Rafelsberger
54a45bba65
[ML] APM Latency Correlations: Fix empty state (#109813)
- Correctly renders the empty chart state when no data is available.
- Hides the "Click drag to select" and trace samples message when the chart shows an empty state to avoid redundant info.
- Adds jest unit tests that would fail with the previously visible loading indicators.
- Fix a bug with cancelling search strategies.
2021-08-27 07:08:50 -04:00
Yaroslav Kuznietsov
d43e9f586b
[Canvas] Fixes Storybook for DatasourceComponent is crashing. (#110180)
* Added mock for `es_service`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 06:58:10 -04:00
Tyler Smalley
73f8a92a33
[bazel] Move keepalive to common (#110351)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 03:30:59 -04:00
Catherine Liu
2e4e0fca4c
Clears resolved arg on embeddable destroy (#109945)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 02:46:11 -04:00
Yaroslav Kuznietsov
dde701faaa
[Canvas] ItemGrid refactor. (#110044) 2021-08-27 09:26:55 +03:00
Yaroslav Kuznietsov
dfa6aa8bdf
[Canvas] Fixes Expression Failed Exit Button not Clickable . (#110191)
* Fixed not clickable cross at error popup.
2021-08-27 09:06:31 +03:00
Yaroslav Kuznietsov
5208cfdbc7
[Canvas] Fixes Expression errors are not rendered as markdown. 2021-08-27 09:04:55 +03:00
Cauê Marcondes
49e3edf032
[APM] Latency threshold alerts are not being triggered (#110315) 2021-08-26 23:56:14 -04:00
Marshall Main
6d7998e70c
[Security Solution] Fix another reference to ALERT_STATUS (#110376) 2021-08-26 20:29:21 -05:00
Ross Wolf
e64a03677f
[Detection Rules] Add 7.15 rules (#110345) 2021-08-26 19:43:22 -04:00
Dominique Clarke
cf24e6ca76
[User Experience] Search filter input - remove undesired blur (#110314)
* ux filter input - remove undesired blur on input field

* adjust types
2021-08-26 19:01:55 -04:00
Marshall Main
682bc7c771
[RAC] Replace usages of kibana.alert.status: open with active (#109033)
* Replace usages of alert.status: open with active

* Update unit tests

* Add back home.disableWelcomeScreen=true

* Only disable welcome screen within APM ftr config

* Add disableWelcomeScreen option to security solution cypress config

* Fix reference to workflow status

* oops

* Remove duplicate disableWelcomeScreen

* Update README.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 18:58:44 -04:00
Matthew Kime
8babdc2462
Remove index pattern placeholder advanced setting (#110334)
* remove index pattern placeholder setting

* remove unused translations
2021-08-26 17:55:37 -05:00
Frank Hassanabad
35b59cd757
Changes the loading of indexes in tests from beforeEach() to before() (#110340)
## Summary

Changes the loading of indexes in tests from beforeEach() to before()

Hoping this fixes some flake we have seen recently. If it doesn't, at least tests should run faster and be less flake overall. If these two below do begin acting up again I will then probably resort to wrapping the individual tests around retry blocks or removing the tests.

Also found one area within `x-pack/test/detection_engine_api_integration/security_and_spaces/tests/generating_signals.ts` where we do a `load` twice but I fixed it to the `load`/`unload` pattern.

Issues this should fix:
* https://github.com/elastic/kibana/issues/107911
* https://github.com/elastic/kibana/issues/107856

### Checklist

- [ ] [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-08-26 16:53:01 -06:00
Kevin Logan
1986d2dc99
[Security Solution] Add additional advanced policy options for Memory protections (#110288)
* [Security Solution] Add additional advanced policy options for Memory protections
2021-08-26 18:19:23 -04:00
Frank Hassanabad
2859eeb7de
Removed one liner deprecation found with ElasticClient and made it harder to accidently import from the kbn package (#110318)
## Summary

Removes ElasticSearch deprecation and makes it harder to import it from the wrong package. I accidentally exposed a deprecated `ElasticSearch` from a package we do not want to expose and everyone's IDE is suggesting it rather than the correct one from Kibana core.

* Removes the type from the exports within the package
* Fixes the instance that is trying to import it in favor of the correct one.
2021-08-26 17:24:16 -04:00
Marius Dragomir
18fe8c4987
Fix for changed failed alert text (#110268) 2021-08-26 23:13:46 +02:00
Davis Plumlee
e093d3bcca
[Security Solution][Exceptions] Allows bulk close on exception to close acknowledged alerts (#110147) 2021-08-26 15:46:59 -04:00
Clint Andrew Hall
12ef3a4e9f
[canvas] Fix element stats (#109770) 2021-08-26 14:07:25 -05:00
Tiago Costa
d5d3c75850
chore(NA): add missing browser targets on @kbn/security-solution packages (#110260) 2021-08-26 20:02:56 +01:00
Patryk Kopyciński
f310490bc1
[Cases] Fix add Lens markdown plugin UX (#109178) 2021-08-26 14:56:45 -04:00
ymao1
a3d03ecbdf
[Alerting] Remove predefined connectors from rule reference array (#109437)
* Exposing preconfigured connectors through actions setup contract

* Adding stub for migration using preconfigured connectors

* Adding isPreconfigured fn to actions client

* Updating rules client logic to not extract predefined connector ids

* Functional tests

* Adding migration

* Adding functional test for migration

* Adding functional test for migration

* Adding note to docs about referenced_by_count if is_preconfigured

* Fixing functional test

* Changing to isPreconfiguredConnector fn in actions plugin setup contract

* Update docs/api/actions-and-connectors/get_all.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-08-26 14:50:32 -04:00
Pablo Machado
3854d3a586
[RAC] EuiDataGrid pagination (#109269)
* Update T-Grid to use DataGrid pagination

* It also improves the Gtid loading state
* DataGrid pagination makes sure that we display the grid with the proper height.

* Add DataGrid height hack to t-grid

HUGE HACK!!!

DataGrtid height isn't properly calculated when the grid has horizontal scroll.
https://github.com/elastic/eui/issues/5030

In order to get around this bug we are calculating `DataGrid` height here and setting it as a prop.

Please revert this commit  and allow DataGrid to calculate its height when the bug is fixed.

* Apply DataGrid laoding and pagination changes to observability

* Fix cypress tests

* Fix t-grid page render bug on Observability

* some pagination fixes

* hide table when analyzer active

* isolate exported function

Co-authored-by: semd <sergi.massaneda@elastic.co>
2021-08-26 14:41:47 -04:00
Tiago Costa
24575c3123
chore(NA): moving @kbn/securitysolution-io-ts-types to babel transpiler (#110097)
* chore(NA): moving @kbn/securitysolution-io-ts-types to babel transpiler

* chore(NA): update limits

* chore(NA): update limits file

* chore(NA): introduce web bundles

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 19:40:58 +01:00
Stacey Gammon
e307be985a
Turn off api changes for app services and remove legacy docs for App Services plugins (#109927)
* Turn off legacy docs build script for app services plugins

* Remove legacy docs

* remove all *.api.md (minus core)
2021-08-26 14:01:21 -04:00