Commit graph

47556 commits

Author SHA1 Message Date
Thom Heymann
6e7dfcd99a
Fix maps font path (#115453)
* fixed font path

* fix functional tests

* fix directory issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 10:22:04 +01:00
Søren Louv-Jansen
8fcfa79e73
Fix ESLint example (#115553) 2021-10-20 09:29:23 +01:00
Artem Shelkovnikov
7fe9573c00
Enterprise Search - Add note about Cases to Salesforce Content Source (#114457)
* Enterprise Search - Add note about Cases to Salesforce Content Source
* Minor copy update for xpack.enterpriseSearch.workplaceSearch.sources.objTypes.cases
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 10:25:26 +02:00
Dmitry Tomashevich
4ff3cb46f6
[Discover] Fix search highlighting of expanded document (#114884)
* [Discover] fix searches highlighting of expanded document

* [Discover] apply suggestion

* [Discover] apply suggestion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 10:34:03 +03:00
Dominique Clarke
c954c3b1e6
[Observability] [Exploratory View] add chart creation context (#114784)
* add chart creation context

* add chart creation tooltip, remove outer panel, and change default chart type for synthetics data

* adjust types

* remove extra translations

* add panel back

* update chart creation time date format

* update time format

* adjust tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 02:52:07 -04:00
Aleh Zasypkin
5894d75901
Register kibana_user role deprecations in UA. (#115573) 2021-10-20 08:14:55 +02:00
Yara Tercero
6a2b7fe3d3
[Security Solution][Platform] - Export exceptions with rule (#115144)
### Summary

Introduces exports of exception lists with rules. Import of exception lists not yet supported.
2021-10-20 01:17:08 -04:00
Frank Hassanabad
a01165ab30
[Security Solutions] Fixes 11 different flakey FTR/e2e tests and scenarios (#115688)
## Summary

Fixes flakes across tests that have either been skipped or have been a source of flake in the categories of:
* Sorting fixes because Elasticsearch can return hits/arrays back in different orders
* Flat array fixes because Elasticsearch can sometimes return `[]` or `[[]]` in-deterministically in some cases 🤷 , so we just flatten the array out completely and test for `[]` within those tests.
* `waitForSignalsToBePresent` was missing in a test and sometimes we would get an empty array response which would fail CI.

Also I audited other tests for `[[]]` and `waitForSignalsToBePresent` and fixed them where they were present or if the `waitForSignalsToBePresent` count was incorrect. This should give us more stability when the CI is under pressure.

Sorting fixes:
https://github.com/elastic/kibana/issues/115554
https://github.com/elastic/kibana/issues/115321
https://github.com/elastic/kibana/issues/115319
https://github.com/elastic/kibana/issues/114581


Flat array fixes:
https://github.com/elastic/kibana/issues/89052
https://github.com/elastic/kibana/issues/115315
https://github.com/elastic/kibana/issues/115308
https://github.com/elastic/kibana/issues/115304
https://github.com/elastic/kibana/issues/115313
https://github.com/elastic/kibana/issues/113418

Missing additional check for "waitForSignalsToBePresent" or incorrect number of signals to wait for fixes:
https://github.com/elastic/kibana/issues/115310


### 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-10-20 00:42:35 -04:00
Tyler Smalley
473cabcef5 skip flaky suite (#115666) 2021-10-19 21:37:50 -07:00
Dominique Clarke
78003671fc
[Uptime] [Synthetics Integration] browser - add script recorder option (#115184)
* Add script recorder tab for browser based monitors

* implement policy edit flow for script recorder

* add tests and translations

* adjust types

* update metadata key and add test

* merge master

* adjust usePolicy and source_field

* revert merge master

* adjust types

* use reusable hook

* update zip url tls default fields

* rename content constant

* adjust error handling and remove ts-ignore

* adjust error default value

* remove unnecessary fragment

* adjust types

* update tech preview content

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 00:13:02 -04:00
Marshall Main
ba20ea1630
[Security Solution] Improve rule statuses if user has no permissions to source index (#115114)
* Prevent error in field_caps from silencing privilege errors

* Fix threshold bug and fix privileges in new executor

* Fix unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 22:40:26 -04:00
Georgii Gorbachev
5d1b5104fc
Fix adding prepackaged rules via fleet plugin (#114467)
Co-authored-by: Garrett Spong <garrett.spong@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 20:16:31 -05:00
Matthew Kime
67d6355b2e
[data view management] Copy improvements (#114413)
* better copy
2021-10-19 18:36:24 -05:00
Brian Seeders
1a5570baf4
[buildkite] Add timeouts to all steps missing them (#115656) 2021-10-19 23:55:02 +01:00
Michael Olorunnisola
4f1e07117c
[Security Solution][Timelines] - Resolve UI (#114350) 2021-10-19 18:51:06 -04:00
Tyler Smalley
0c9e4b2dec [ci] Re-add removed file still used in Jenkins
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-19 15:29:17 -07:00
Scotty Bollinger
94e1144ba7
[App Search] Update copy on product selector page (#115637)
https://github.com/elastic/enterprise-search-team/issues/759#issuecomment-947032787
2021-10-19 15:09:40 -07:00
Jonathan Budzenski
fa1a233d23
Development and build support for ARM based Apple devices (#114879) 2021-10-19 23:01:52 +01:00
Ashokaditya
b1dd89e173
[Security Solution][Endpoint] Update host isolation pending status API to work with new endpoint (#115441)
* get the whole response when fetching responses by agentIds

fixes elastic/security-team/issues/1705

* search new response index with actionId

fixes elastic/security-team/issues/1705

* Find matching responses in new response index if fleet action response has an `ack`

* review changes

* hasIndexedDoc fix fetch logic

* remove file

* simplify code

* add some acks to generator responses

* meaningful names

review changes

Co-authored-by: Esteban Beltran <esteban.beltran@elastic.co>
2021-10-19 17:29:03 -04:00
Tyler Smalley
ab16b485cd
[ci] Disable Bazel cache on CI (#115428)
This is a short-term solution to reduce our hit count in Buildkite due to the increase in bootstraps so we can move forward with enabling Buildkite across all PRs.
2021-10-19 22:12:31 +01:00
Nathan L Smith
db53a79cc4
Waterfall layout and expansion fixes (#114889)
Fix according toggling behavior on trace waterfall. Previously clicking on any item would collapse the whole waterfall, now it just collapses the one you clicked on.

Truncate spans so ones with very long names don't overflow.

Make the left margin relative to the max level of depth so waterfalls with deep trees don't overflow.
2021-10-19 16:04:02 -05:00
Gloria Hornero
26d42523c5
fixes style bug (#114976) 2021-10-19 14:53:18 -06:00
Zacqary Adam Xeper
0b0d49ef51
[Logs/Metrics UI] Remove configurable fields in settings for 8.0.0 (#61302)
* [Logs/Metrics UI] Remove configurable fields in settings for 8.0.0

* Fix logs fields

* Fix i18n

* Fix typecheck and i18n

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 15:51:39 -05:00
Michael Olorunnisola
a22066ef41
[Security Solution] Fix height issue (#114718)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 16:18:17 -04:00
Shahzad
5477f609de
[Uptime] Added trends chart and deep link to exp view on waterfall step metric markers (#114068)
* added trend chart and link to exp view

* Added step level filtering/breakdowns

* fix type

* make step and monitor name single select

* fix test

* added step filters

* pr feedback

* hide step filter for non step metrics

* pr feedback

* remove step def when it's not applicable

* ^^also for step name breakdown

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>

* use side effct

* update monitor filter

* update all_value usage

* refactor

* fix type

* use last value operation

* use last 48 intervals

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-10-19 15:49:34 -04:00
Byron Hulcher
ea00e608dc
[App Search] Add EntSearchLogStream components to Curations History panels (#115467) 2021-10-19 15:39:21 -04:00
Tyler Smalley
f2ef8b3964 skip flaky suite (#92528) 2021-10-19 12:19:26 -07:00
Georgii Gorbachev
30ce299589
[Security Solution][Detections] Enable writing rule execution events to Event Log by default (#115394)
* Enable writing rule execution events to Event Log by default

* Update event log provider name according to the RFC

* Fix SavedObjectClient find method arguments

Co-authored-by: Dmitry Shevchenko <dmshevch@gmail.com>
2021-10-19 14:57:55 -04:00
Tyler Smalley
1d46541a98 skip flaky suite (#115614) 2021-10-19 11:50:23 -07:00
Jason Stoltzfus
6f56668cc5
Fix style (#115439) 2021-10-19 14:49:55 -04:00
Scotty Bollinger
fcb340fdb9
Handle edge case when estimates are empty (#115476)
There is an edge case where a connector does not sync and there is no estimate of next syncs in the UI. In this case, we simply omit the estimates from the UI.
2021-10-19 11:39:47 -07:00
Yuliia Naumenko
9dada56a20
[Alerting] Telemetry required for 7.16 (#114690)
* [Alerting] Telemetry required for 7.16

* rules namespaces

* rules fix

* failed task fix

* fixed due to the discussion about namespaces keys

* added missing telemetry props mappings

* added missing telemetry props mappings

* added missing telemetry props mappings

* fixed tests

* changed actions active structure under parent key for alerts

* fixed tests

* fixed tests

* fixed test data

* added preconfig connectors for email services count

* fixed if statement

* fixed default namespace

* fixed test

* fixed tests

* fixed task

* removed filtering by referenceType

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 11:22:37 -07:00
Mike Côté
c1e9fc9d0d
Remove TLS requirement for alerting when security is enabled (#115234)
* Initial commit

* Fix CI failures

* Fix test label

* Update messages

* Cleanup translations

* Fix type check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 14:07:22 -04:00
Walter Rafelsberger
975beb125a
[ML] APM Correlations: Log log chart enhancements. (#113039)
- By clicking on a row in the analysis tables, the row gets selected/pinned as the one highlighted in the chart, allowing the user to investigate this particular result via hovering in the chart.
- A subtitle is added to the charts to clarify the chart type "Log-log plot for latency (x) by transactions (y) with overlapping bands" and lists the areas. Allows the user to see the full name of the highlighted entity because it could be cut off in the chart's native legend for longer field/value combinations.
- The area palette has been tweaked for higher contrasts, the error area color now matched the orange used in other charts for errors/failed transactions.
- Some visual tweaks like adding the non-transparent upper line for the areas to make sure there's a color in the chart itself that matches the legend colors:
- The trace samples tab now also shows an area with all failed transactions.
2021-10-19 13:59:01 -04:00
Cauê Marcondes
36d128c3e7
[APM] Default time range overrides fetched range for link-to/trace URLs without range parameters (#115449)
* removing default time range from link trace url

* adding test
2021-10-19 13:57:51 -04:00
Maja Grubic
0447557c06
[Discover] Fix field filters test (#115062)
* [Discover] Fix field filters test

* Change the fixture for the test

* Fix discover fixture

* Remove empty line

* Restore after

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 19:53:15 +02:00
Uladzislau Lasitsa
d5b214a340
[TSVB] Weird state update on missing field (#115017)
* Remove condition for index string mode when we reset field

* Fix lint

* Fix types

* Update field_select.tsx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 20:40:22 +03:00
Poff Poffenberger
9ee377979c
Fix Canvas double render by preventing workpad and assets from being reloaded if it's already available (#114712)
* Fix Canvas double render by preventing workpad and assets from being reloaded if it's already available

* Better fix

* Another fix

* updating tests

* updating tests again

* remove unused async
2021-10-19 12:09:23 -05:00
Jonathan Budzenski
65f3a8458a
Remove Angular (#115464)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 10:08:53 -07:00
Ester Martí Vilaseca
ffeadc5241
[Stack monitoring] Remove react migration feature flag (#115575) 2021-10-19 19:03:34 +02:00
Kevin Logan
9bc4865170
[Security Solution] Make new Add Data page more fine grained (#115016)
* [Security Solution] Make new Add Data page more fine grained
2021-10-19 13:02:00 -04:00
Corey Robertson
9d0bf40c25
Fix potential error from undefined (#115562) 2021-10-19 12:53:24 -04:00
Orhan Toy
d78fa6c7d8
[App Search, Crawler] Fix validation step panel padding/whitespace (#115542)
* Remove padding override
* Move spacer to before action
2021-10-19 18:48:52 +02:00
Christos Nasikas
20b11c9f43
[Cases][Connectors] ServiceNow ITOM: MVP (#114125)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 12:39:51 -04:00
Aleh Zasypkin
83f12a9d82
Change default session idle timeout to 8 hours. (#115565) 2021-10-19 18:38:27 +02:00
Constance
498050e05b
Upgrade EUI to v39.1.1 (#114732)
* Upversion to EUI 39.1.0

* Update i18n_eui_mapping tokens

@see https://github.com/elastic/eui/blob/master/i18ntokens_changelog.json

* Merge refractor in yarn.lock

* Fix functional table filter selector

- Popover ID was removed in recent EUI a11y fix, so we're using child-position selection to target the Tags filter now

* Update snaphots

* Upgrade to 39.1.1 for extra bugfixes

* Update i18n mappings

* Fix i18n snapshot

* Attempt to harden flaky Security Cypress test

* More combobox entry hardening

- Got a flake on clicking the combobox dropdown on run 17/20 locally

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 09:15:38 -07:00
Jason Stoltzfus
b7577b5695
[App Search] Wired up organic results on Curation Suggestions view (#114717) 2021-10-19 12:09:51 -04:00
Ahmad Bamieh
9caab5858d
[i18n] remove i18n html extractor (#115004) 2021-10-19 12:05:53 -04:00
Zacqary Adam Xeper
adbb808893
[Logs/Metrics UI] Add deprecated field configuration to Deprecations API (#115103)
* [Logs/Metrics UI] Add deprecated field configuration to Deprecations API

* Add correction steps

* Add unit test for source config deprecations

* Apply suggestions from code review

Co-authored-by: Chris Cowan <chris@chriscowan.us>

* Lint fix

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-10-19 10:02:32 -06:00
Dima Arnautov
2aaa515bbc
[Transform] Add alerting rules management to Transform UI (#115363)
* transform alert flyout

* fetch alerting rules

* show alerting rules indicators

* filter continuous transforms

* add alert rules to the expanded row

* edit alert rule from the list

* fix ts issues

* fix types

* update texts

* refactor using context, wip create alert from the list

* update unit test

* fix ts issue

* privilege check
2021-10-19 17:15:52 +02:00