Commit graph

45750 commits

Author SHA1 Message Date
Brian Seeders 459dd04494
Persistent demo deployment for tracked branches (#109714) 2021-08-26 12:22:07 -04:00
Phillip Burch 85e1361ad5
[Stack Monitoring] Remove angular dep from legacy shims (#109132)
* Remove angular dep from legacy shims

* Fix ES lint
2021-08-26 11:16:14 -05:00
Christiane (Tina) Heiligers b15b3ce19d
Fixes bugs for product check in update and delete (#109979)
* Fixes bugs for product check in update and delete

* Apply suggestions from code review
2021-08-26 12:03:13 -04:00
Michael Olorunnisola 416d42a22a
[Security Solution][RAC] Refix expand (#110236) 2021-08-26 12:01:28 -04:00
Anton Dosov 00c9a76e0d
[fieldFormats] remove reliance on eslint-rule-no-export-all 2021-08-26 17:56:19 +02:00
Mark Hopkin 2a05ec9ff5
[Fleet] Don't ignore "index: false" in integration index template (#110234)
* fix: don't ignore index prop when falsey

* test: add unit test for index false
2021-08-26 11:47:11 -04:00
Angela Chuang 602392e88d
[Security Solution] Host details fly out modal is not working in alerts table (#109942)
* fix expanded host and ip panel

* reuse existing links components

* rename

* add unit tests

* add unit tests

* update comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 11:40:30 -04:00
Joe Portner 695280b756
bulkGet saved objects across spaces (#109967) 2021-08-26 11:26:34 -04:00
Casper Hübertz dc0c322847
[APM] Bugfix: Increase table columns for latency and throughput (#110187) 2021-08-26 17:21:28 +02:00
Esteban Beltran 0069faf8dd
[Security Solution] Show rule.description when displaying an alert view flyout (#110221) 2021-08-26 11:05:18 -04:00
Alejandro Fernández Haro bb8ee0ce05
Enable Product check from @elastic/elasticsearch-js (#107663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 15:36:46 +01:00
Gloria Hornero f806fa2eda
fixes opening alerts test (#110198) 2021-08-26 16:30:58 +02:00
Alejandro Fernández Haro 7cfdd000ee
[Home app] Fix this references (#110207)
* [Home app] Fix `this` references

* More readable if
2021-08-26 10:18:39 -04:00
Alexey Antonov 3cc7da8435
[Lens] Inspect flyout should be available in editor mode. (#109656)
* [Lens] Inspect flyout should be available in editor mode.

* fix typo

* add test

* add functional tests for inspector

* toMatchInlineSnapshot -> toMatchSnapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 10:18:09 -04:00
Casper Hübertz 85e030249f
[APM] Traces list: Decrease link size and impact indication (#110188)
* [APM] Decrease link size on Traces list

* [APM] Change impact column size to fixed
2021-08-26 15:59:46 +02:00
Esteban Beltran 9a8d40ffad
[Seciurity Solutions] Add additional tests for endpoint middleware (#109792) 2021-08-26 09:41:28 -04:00
Felix Stürmer 137c182761
[RAC] Populate common rule fields in alert helpers (#108679)
Co-authored-by: mgiota <panagiota.mitsopoulou@elastic.co>
2021-08-26 09:19:51 -04:00
Michael Olorunnisola 7d66cf9882
[Security Solution][RAC] Hide filters on case view (#110090) 2021-08-26 09:19:20 -04:00
Esteban Beltran c113c237f8
[Security solution] Correct memory protections label to memory manipulation protection (#110179) 2021-08-26 13:44:36 +02:00
Anton Dosov 44faefb715
[DataViews] filter apm- sources when deciding which empty state to show(#110094) 2021-08-26 12:33:16 +02:00
Anton Dosov 1af200b5e0
[DataViews] Fix checking remote clusters in empty state (#110054) 2021-08-26 12:26:02 +02:00
Ashokaditya c433893473
Remove onClear on date range picker inputs (#110035)
fixes elastic/kibana/issues/108864

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 12:03:39 +02:00
Anton Dosov ae17fe69dd
Update app services code owners (#110084) 2021-08-26 11:41:37 +02:00
Matthias Wilhelm dc07f4d00a
[Discover] Fix performance regression in sidebar (#109999) 2021-08-26 11:30:01 +02:00
Miriam 652470b900
[APM] Show hostname in JVM view (#109651)
* [APM] Show hostname in JVM view

* [APM] delete no needed param

* [APM] fix linting

* [APM] changes after review

* [APM] changes after review part deux

* [APM] fix snapshot

* [APM] improve guard on api response
2021-08-26 10:21:15 +01:00
Ester Martí Vilaseca 9c922a078c
[Stack monitoring] Add global state context and routeInit component (#109790)
* Add global state to stack monitoring react app

* Add type for state

* Add some todos

* Add route_init migration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 11:03:21 +02:00
Jean-Louis Leysens 9e04d2c5c7
[Reporting/Dashboard] Update integration to use v2 reports (#108553)
* very wip, updating dashboard integration to use v2 reports. at the moment time filters are not working correctly

* added missing dependency to hook

* added tests and refined ForwadedAppState interface

* remove unused import

* updated test because generating a report from an unsaved report is possible

* migrated locator to forward state on history only, reordered methods on react component

* remove unused import

* update locator test and use panel index number if panelIndex does not exist

* ensure locator params are serializable

* - moved getSerializableRecord to locator.ts to ensure that the
  values we get from it will never contain something that cannot
  be passed to history.push
- updated types to remove some `& SerializableRecord` instances
- fixed embeddable drilldown Jest tests given that we no longer
  expect state to be in the URL

* update generated api docs

* remove unused variable

* - removed SerializedRecord extension from dashboard locator params
  interface
- factored out state conversion logic from the locator getLocation

* updated locator jest tests and SerializableRecord types

* explicitly map values to dashboardlocatorparams and export serializable params type

* use serializable params type in embeddable

* factored out logic for converting panels to dashboard panels map

* use "type =" instead of "interface"

* big update to locator params: type fixes and added options key

* added comment about why we are using "type" alias instead of "interface" declaration

* simplify is v2 job param check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 09:53:28 +02:00
Gloria Hornero de7ae4138d
fixes 'Marking alerts as acknowledged' test (#110032)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 08:43:46 +02:00
Scotty Bollinger a50a87955c
Fix flakey test (#110154) 2021-08-26 01:32:13 -04:00
spalger c43429c13b skip all tests in failure config (#110153) 2021-08-25 17:21:56 -07:00
Patryk Kopyciński 90152edeaa
[Osquery] Fix scheduled query status (#106600) 2021-08-25 18:46:31 -04:00
spalger 562c3cc67c skip failing suite (#110153) 2021-08-25 14:44:37 -07:00
Tim Sullivan 06c6168d34
[Reporting] Fix ability to export CSV on searched data with frozen indices (#109976)
* use include frozen setting in csv export

* add api integration test

* add fixes

* Update x-pack/test/reporting_api_integration/reporting_and_security/search_frozen_indices.ts

* test polish

* update per feedback
2021-08-25 17:42:39 -04:00
Tiago Costa 36eaf7fd58
chore(NA): enables @babel/plugin-transform-runtime to decrease output size (#109843)
* chore(NA): enables @babel/plugin-transform-runtime to decrease output size

* chore(NA): update @kbn/pm bundle

* chore(NA): missing config on corejs for runtime

* fix(NA): flaky unit test

* chore(NA): update limits file

* chore(NA): remove corejs

* chore(NA): old config files

* chore(NA): update limmits file

* chore(NA): updated yarn lock file

* chore(NA): update limits

* chore(NA): restore original test file

* chore(NA): skip flaky test

* chore(NA): skip another failing test
2021-08-25 22:24:38 +01:00
Nathan L Smith a8cd0d1e15
Remove EuiCodeEditor from service map stories (#109290)
Replace with Monaco-based `CodeEditor` from kibanaReact.

Fixes #106927.
2021-08-25 15:54:35 -05:00
Kyle Pollich 99071ecbb2
[Fleet] Fix upgrades for packages with restructured inputs (#109887)
* Fix upgrades for packages with restructured inputs

Addresses errors surfaced when testing upgrades from AWS 0.6.1 to 0.10.4.
Namely, when inputs are removed from a package between versions,we were
initially throwing errors for each input in the new package that didn't
exist on the outdated package version. Now, we instead simply skip over
cases like this in which an input no longer exists on the new package version.

* Add basic test cases for restructured packages
2021-08-25 16:50:42 -04:00
spalger 2849b31d28 skip flaky suite (#106650) 2021-08-25 13:34:52 -07:00
Brandon Morelli 700f6d9394
docs: remove tabbed widget code (#109944) 2021-08-25 13:01:31 -07:00
Mikhail Shustov 2430673d44
convert ftr runners into TS (#110057) 2021-08-25 14:59:30 -05:00
renovate[bot] 9eaadd9041
Update dependency @elastic/charts to v34.2.1 (master) (#109678)
* Update dependency @elastic/charts to v34.2.1


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-08-25 15:34:06 -04:00
Tim Sullivan 4f6ece9237
[Reporting] Add SavedReport class (#109568)
* [Reporting] Add SavedReport class

* add unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-25 12:29:30 -07:00
Steph Milovic 27af6ef068
[Security Solution] Bugfix for disable state of External Alert context menu (#109914) 2021-08-25 12:49:19 -06:00
Georgii Gorbachev a299604c58
[RAC][Rule Registry] Implement versioning and backing indices (#109276)
**Ticket:** https://github.com/elastic/kibana/issues/109293

🚨 **This PR is critical for Observability 7.15** 🚨

## Summary

This PR fixes the indexing implementation in `rule_registry`. It implements the suggestions for backwards compatibility described in the ticket:

- changes the naming scheme and introduces the concept of "backing indices", so that names of the concrete ("backing") indices != names of their aliases
- adds versioning based on the current Kibana version

TODO:

- [x] Change index naming (implement the concept of backing indices)
- [x] Include Kibana version into the index template metadata
- [x] Include Kibana version into the document fields
- [x] Remove `version` from `IndexOptions` (parameters provided by solutions/plugins when initializing alerts-as-data indices)
- [x] Fix CI

### Checklist

- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [ ] [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-25 19:54:25 +02:00
Nathan L Smith 406df4d986
Open in dev tools button for request inspector (#109923)
Add a "Open in Dev Tools" link to the request inspector.

Allow the dev tools to open data uris that are lz-string encoded (the same method used by TypeScript Playground, which are a lot shorter than a base64 encoded string.)
2021-08-25 12:49:13 -05:00
CJ Cenizal 4fced99982
Provide guidance on how to retrieve current cloudId. (#109935) 2021-08-25 10:43:55 -07:00
Marius Dragomir ead9c02887
change windowSize (#110083) 2021-08-25 13:43:20 -04:00
Jen Huang 81fde90fa6
Fix project assigner syntax 2021-08-25 10:31:04 -07:00
Dima Arnautov 8fb22e606c
[ML] Fix bytes formatting and default message in the Anomaly detection jobs health rule type (#110069) 2021-08-25 19:10:11 +02:00
Devin W. Hurley 2fea917330
[RAC] [APM] removes hardcoded alerts as data index from apm integration test (#109715)
* removes hardcoded index from apm integration tests

* adds integration tests for rule registry's get index route

* more cleanup

* fail try-catch if response is not empty, adds comments as to why index refresh catch block is empty
2021-08-25 19:07:40 +02:00
Candace Park bc3a349a84
[Security Solution][Endpoint][Host Isolation] Fixes bug where Isolate Host option is missing from alert details take actions menu (#109991) 2021-08-25 13:03:51 -04:00