Commit graph

45634 commits

Author SHA1 Message Date
Liza Katz 268a279930
[Data][Es Query] Use ES types in Filters (#108378)
* es-query types

* jest and lint

* cc

* options

* type

* types for kuery FUNCTIONS

* doc

* types for filters

* sec fixes

* filtersss

* typey type

* typey type

* comparator options

* test typescript

* test

* fixes

* test types

* test

* cr

* cleanup a bit more

* Jest fix + types

* Remove geo bounding box and geo polygon filters

* delete geo filters

* geo

* geo

* Fix tests \_0_/

* doc

* types and fixes

* jests

* ts

* Remove geo bounding box and geo polygon filters

* delete geo filters

* delete geo filters

* geo

* remove geo docs

* ts

* plg ts

* types

* cast

* Update types.ts

* Update create_threat_signal.ts

* Update packages/kbn-es-query/src/es_query/migrate_filter.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* Code review

* revert change

* docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-08-24 11:28:22 +02:00
Matthias Wilhelm 42527e4188
[Discover] Remove Angular from doc viewer (#109368)
* Remove angular from doc viewer

* Remove types

* Remove plugin_functional for angular doc_view, since testing angular is no longer necessary
2021-08-24 10:50:22 +02:00
Pete Harverson e733b6ae0d
[ML] Removes hardcoded datafeed indices for security auth and network modules (#109692) 2021-08-24 09:22:10 +01:00
Dima Arnautov 20529be326
[ML] Update API docs generation script to comply with new docs format (#109343)
* [ML] update deps

* [ML] fix script

* [ML] add header

* [ML] generate header
2021-08-24 10:03:37 +02:00
Angela Chuang e4bb6a91c4
fix disabled dropdown in alerts table (#109724) 2021-08-24 08:59:15 +01:00
Søren Louv-Jansen 114dbb4cd9
Improve APM issue template (#109561)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 09:50:46 +02:00
Uladzislau Lasitsa 1e8609b3db
[Saved Search] Interrupted Loading Throws Console Error (#108926)
* Add check if embeddable was destroyed.

* Move isDestroyed inside SavedSearchEmbeddable

* Use destroyed variable from parent

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 10:37:03 +03:00
Clint Andrew Hall b382500a6b
[canvas] Fix numeric variable casting (#109744) 2021-08-23 22:41:58 -05:00
Jason Stoltzfus d9e0b981df
Remove CrawlerLanding page (#109712)
* Remove CrawlerLanding page

The CrawlerLanding page was being shown in non-development versions.
Now that we are at 7.15, CrawlerOverview should be shown all of the
time instead.

* Remove translations from ja-JP and zh-CN

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-08-23 22:27:59 -04:00
Cauê Marcondes a466382aa3
adding e2e test (#109723) 2021-08-23 19:34:26 -04:00
Felix Stürmer 627b2fd6c6
[RAC] [Observability] Temporarily enable RAC feature flags (#109113)
* Temporarily enable Observability RAC feature flags

This enables the feature flags for two weeks until a decision is made
about keeping it on or reverting to the disabled-by-default state.

* Adapt uptime functional test

* Adapt additional functional tests

* Adapt cases functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 01:05:44 +02:00
gchaps c1808ee1c9
[DOCS] Updates create index pattern (#106935)
* [DOCS] Updates create index pattern

* [DOCS] Adds info on refresh

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* [DOCS] Addresses more review comments

* [DOCS] Updates images

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-08-23 14:31:36 -07:00
Joe Portner c3086b0ec7
Fix buggy validation when editing an existing space (#109709) 2021-08-23 16:22:38 -04:00
Steph Milovic a0bd0affdd
[Security Solution] [Bugfix] Fix analyzer missing from alert table (#109183)
* fix n test heyyyy

* more dead code

* fix type things

* change field type to const
* type fix
2021-08-23 12:38:56 -06:00
Spencer 238152287d
[tests] prevent unhandled rejection (#109560)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 14:38:01 -04:00
Gloria Hornero fe6e97f0f9
[Security Solution] Fixes the Alerts timeline failing test on master (#109644)
* fixes 'Alerts timeline' tests

* adds data test subj for the loading spinner
2021-08-23 20:13:38 +02:00
mgiota 098a797636
[Logs UI] stop accordion chart preview from auto expanding/collapsing (#109581)
* stop propagation to the criterion popovers

* fix toggling issue with criteria popovers

* Fixes for more popovers staying open

* another toggling fix "for the last" popover
2021-08-23 20:08:24 +02:00
Michael Olorunnisola 953e21b20e
[Security Solution][RAC] Remove toggle column when not usable (#109534) 2021-08-23 13:51:45 -04:00
Mikhail Shustov ab054df509
update renovate config for elasticsearch-js client (#109672) 2021-08-23 19:36:04 +02:00
Tiago Costa 25cf47bac8
skip failing es promotion suites (#109703) 2021-08-23 18:13:06 +01:00
Anton Dosov bea4865374
[DataViews] Fix excessive resolve_index requests in create data view flyout (#109500) 2021-08-23 18:35:32 +02:00
Kyle Pollich 6f2629560f
[Fleet] Improve Integration Tests for Package Policy Upgrade API (#109448)
* Improve integration tests + fix various error cases for package policy upgrade API

* Fix test name

* Throw string error when validation fails instead of array

* Update validatePackagePolicy tests to include bool check

* Address PR feedback + use IngestError class

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 12:35:17 -04:00
Sergi Massaneda 7a4a5d8ff6
typo fixed (#109407) 2021-08-23 12:34:18 -04:00
Lukas Olson 0a8d42c80b
[data.search] Remove deprecated courier:batchSearches advanced setting (#109350)
* [data.search] Handle warnings inside of headers

* Update docs

* Add tests

* Remove isWarningResponse

* Remove deprecated courier:batchSearches advanced setting

* Update docs

* Remove legacy tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 09:31:13 -07:00
Robert Oskamp de846fb07e
[ML] Functional tests - add UI tests for jobs spaces management (#109431)
This PR adds functional UI tests for anomaly detection (AD) and data frame analytics (DFA) job spaces management via the stack management jobs UI.
2021-08-23 18:12:38 +02:00
Greg Thompson 873f2e23a9
Upgrade EUI to v37.3.0 (#109157)
* eui to 37.3.0

* i18n tokens

* reinstate discover_grid_flyout test

* more i18n tokens

* snapshot updates

* fix jest failures

* update cell position pattern

* clean up pattern

* buttongroup click -> change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 11:12:02 -05:00
Michael Olorunnisola d49519149b
[Security Solution][RAC] - Remove timestamp from reason field (#109492)
* remove timestamp from reason

* fix test type errors

* update tests
2021-08-23 11:31:34 -04:00
CJ Cenizal d07c73330f
Add more details to and reformat the Cloud plugin README. (#109529) 2021-08-23 08:24:56 -07:00
Matthias Wilhelm 6f7ded9fd4
[Discover][Context] Set trackTotalHits to false in requests to Elasticsearch (#108661) 2021-08-23 17:03:47 +02:00
Tiago Costa 9a3e8ef054
chore(NA): moving @kbn/securitysolution-t-grid to babel transpiler (#109442)
* chore(NA): moving @kbn/securitysolution-t-grid to babel transpiler

* chore(NA): fix package.json

* chore(NA): finetunning package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:54:15 +01:00
Tiago Costa 3128c99d54
chore(NA): moving @kbn/securitysolution-es-utils to babel transpiler (#109426)
* chore(NA): moving @kbn/securitysolution-es-utils to babel transpiler

* chore(NA): update packages/kbn-securitysolution-es-utils/.babelrc

Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

* chore(NA): correct deps

* chore(NA): finetunning package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-08-23 15:51:31 +01:00
Tyler Smalley 8632084f59
[project-assigner] Add entry for Operations Team (#109586)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-23 07:46:10 -07:00
Tiago Costa 9a7ebb7b2c
chore(NA): moving @kbn/securitysolution-hook-utils to babel transpiler (#109432)
* chore(NA): moving @kbn/securitysolution-hook-utils to babel transpiler

* chore(NA): update packages/kbn-securitysolution-hook-utils/.babelrc

Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

* chore(NA): correct deps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-08-23 15:26:42 +01:00
Nathan Reese 3669aad41f
fix TableListView empty view trapping users with no action to create new item (#109345)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 08:25:08 -06:00
Tiago Costa c736d99c87
skip failing es promotion suite (#109660) 2021-08-23 15:18:00 +01:00
Andrew Goldstein 6a61c43f06
[RAC] [Security Solution] Hides the Show top <field> action in chart legends (#109566)
## Summary

Fixes <https://github.com/elastic/kibana/issues/108910> , which allowed users to launch a new `Top <field>` popover from an existing popover, to infinity (and beyond)

The `Show top <field>` action is now hidden in the `Top <field>` popover's chart legend, and also:

- In the legend items of charts throughout the Security Solution (e.g. on the `Overview` page, and in the `Trend` chart on the `Alerts` page)
- For items in the `Count` aggregation table on the `Alerts` page

## Screenshots

### Before (Top `signal.rule.name` popover)

![before-top-signal-rule-name](https://user-images.githubusercontent.com/4459398/130302784-00a6c24d-17c8-4361-979e-01b8467f100e.png)

_Above: It was possible to launch another `Top <field>` popover from the legend of an existing popover_

### After (Top `signal.rule.name` popover)

![after-top-signal-rule-name](https://user-images.githubusercontent.com/4459398/130302925-d5aaa1ff-9565-4374-aa87-bde5880cb64f.png)

_Above: It is no longer possible to launch another `Top <field>` popover from the legend of an existing popover_

### Before (Chart legends)

![before-overview](https://user-images.githubusercontent.com/4459398/130303169-dc6c6de3-a2ba-40fe-a1f0-fe0d78b9638c.png)

_Above: It was possible to launch a `Top <field>` popover from chart legends_

### After (Chart legends)

![after-overview](https://user-images.githubusercontent.com/4459398/130303519-2eb0a60e-c6cd-4659-b6b2-d5ba234f668f.png)

_Above: It is no longer possible to launch a `Top <field>` popover from chart legends_

### Before (`Count` items)

![before-count](https://user-images.githubusercontent.com/4459398/130304111-b37373cf-1afb-41b8-9f38-b5d9b37cdb2d.png)

_Above: It was possible to launch a `Top <field>` popover from `Count` items_

### After (`Count` items)

![after-count](https://user-images.githubusercontent.com/4459398/130304166-fb641fa2-b52e-44ff-8210-0e228a43330c.png)

_Above: It is no longer possible to launch a `Top <field>` popover from `Count` items_

cc @mdefazio
2021-08-23 08:09:00 -06:00
Dario Gieselaar 6e3af2b524
[APM] Support multiple route paths in useApmParams (#109370)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:38:06 +02:00
Esteban Beltran 60a74e8eaf
Fix detection rules link for memory and behaviour protections cards (#109591) 2021-08-23 15:15:21 +02:00
Joe Portner 65e04b1380
Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
Aleh Zasypkin 3a0f209bde
Cumulative set of the preboot stage adjustments (#108514) 2021-08-23 15:01:46 +02:00
Søren Louv-Jansen 8deaa573de
[APM] Change username in readme (#109604) 2021-08-23 09:00:47 -04:00
Matthias Wilhelm 8489e91f2a
[Discover] Fix keeping error state after invalid KQL query (#109514) 2021-08-23 14:55:26 +02:00
Sergi Massaneda 64dff78dce
[RAC] Actions popovers UI unification (#109221)
* popover padding size unified

* remove panels from all context menus

* action items order changed

* cases menu items test fixed

* translations and small changes

* remove components not used anywhere

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
2021-08-23 08:42:24 -04:00
Ester Martí Vilaseca ec7889a938
[Stack Monitoring] Add initial react app (#109218)
* Add feature toggle

* Add basic react app with router and simple loading page

* Add title hook

* Add loading page with page template and clusters hook

* fix types

* fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 14:29:10 +02:00
Mark Hopkin 69f2a0e94a
[Fleet] Fix Fleet settings and HostInput error handling (#109418)
* fix: HostInput error placement onChange

* fix: check for duplicates in hosts

* fix: validate all sections

* fix: error swapping

* fix: yaml placeholder position and styling

* test: add unit tests for delete behaviour

* tidy: use generic for reduce typing
2021-08-23 13:26:29 +01:00
Kerry Gallagher 597593d056
[RAC] Fix hover on alert status column (#109273)
* Fix alert status column hover
2021-08-23 13:10:27 +01:00
Pablo Machado f2df9cc959
Small improvements around Reason field and AlertCountTable draggable fields (#109239)
* Make count table field and alert table event renderer undraggable

* Remove tooltip from alert count table

* Remove DefaultDraggable wrapper from reason field

* Fix unit test and remove unused props

I am not 100% sure, but apparently, the test was broken due to a long import chain loop.
I cut the import chain by extracting some constants to a file.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 13:45:53 +02:00
Quynh Nguyen 63ef9d10b0
[ML] Fix UI inconsistencies in APM Failed transaction correlations (#109187)
- Show the same empty state in the correlations table
- Add "Correlations" title above the table
- Add EuiSpacer between the sections before and after progress
- Update the copy within the beta badge title=Failed transaction correlations description=Failed transaction correlations is not GA...
- Remove s size from the beta badge
- Move the help popover to the top of the panel (similar to the Latency correlations tab)
- Move the Cancel/Refresh option to the right of the progress bar (similar to the Latency correlations tab)
- When the correlation job is running the correlations tab should show a loading state similar to the latency correlations table
- Indicate in the table headers Score is sorted by default
- Add sortability to both Latency and failed transactions correlations table
- Refactor to prevent duplicate code/components like Log, progress bar
- Fix alignments of the tab content header (previously navigating from one Trace samples tab to Latency correlation tabs will cause a minor jump in the header, or the titles within the same tab were not the same size )
- Remove the event.outcome as a field candidate (because event.outcome: failure would always be significant in this case)
- Shrink the column width for impact (previously it was at 116px)
- Added badge for High, medium, low [APM] Correlations: Show impact levels (high, medium, low) as colored badges indicating their severity
- Fix license prompt text
- Functional tests for the new tab
- Make the p value & error rate columns visible only when esInspect mode is enabled
2021-08-23 07:28:18 -04:00
Georgii Gorbachev f9aa9deef9
[Security Solution][Detections] Skip failing Cypress test detection_alerts/acknowledged.spec.ts (#109532)
## Summary

I’ve been re-running CI for my PR multiple times, getting failed Cypress tests every time:

https://github.com/elastic/kibana/pull/109276/checks?check_run_id=3382731658

The test is `detection_alerts/acknowledged.spec.ts` "Mark one alert as acknowledged when more than one open alerts are selected".

I’m getting the same failure also on a fresh master branch locally, so it seems like the test is broken there as well.

Skipping for now as it's blocking a critical fix for 7.15: https://github.com/elastic/kibana/pull/109276
2021-08-23 13:18:51 +02:00
Dmitry Tomashevich 68afb8d0e1
[Discover] Fix discover footer width (#109403)
* [Discover] fix discover footer width

* [Discover] fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 14:16:51 +03:00