Commit graph

45879 commits

Author SHA1 Message Date
Thomas Watson 29b45883be
Bump Node.js from version 14.17.5 to 14.17.6 (#110654) 2021-09-01 08:50:50 +02:00
Dario Gieselaar 0d4fb4f338
[APM] Filter throughput on transaction name (#110645)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 08:41:37 +02:00
Cauê Marcondes 31057f7215
[APM] "Backends" naming (#110523)
* renaming backends to dependencies

* changing name on service maps
2021-09-01 00:01:10 -04:00
Cauê Marcondes 5b6588d8cb
[APM] Custom links creation don't work (#110676)
* fixing custom links issue

* Removing unused imports
2021-08-31 23:56:47 -04:00
Tiago Costa ff73025533
chore(NA): check for used dependencies on multiple level plugins (#110626) 2021-09-01 03:34:54 +01:00
Kevin Logan 53c011830d
[Security Solution] Correct memory exception field names (#110705) 2021-08-31 22:07:00 -04:00
Yuliia Naumenko 3e15695d06
[Alerting][8.0] Prepare alerting SOs to sharecapable (#110386)
* [Alerting] [8.0] Prepare for making alerting saved objects sharecapable (#109990)

* [Alerting] [8.0] Prepare for making alerting saved objects sharecapable

* removed v8 check

* removed link

* added no op migration

* fixed name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [Actions] [8.0] Prepare for making action saved objects sharecapable. (#109756)

* [Actions] [8.0] Prepare for making action saved objects sharecapable.

* added more tests

* made it compatible to merge to 7.x

* fixed due to comments

* fixed tests

* added tests

* fixed tests

* fixed due to comments

* added no-opactions migration

* fixed test

* [Task Manager][8.0] Added migrations to savedObject Ids for "actions:* and "alerting:*" task types (#109180)

* [Task Manager][8.0] Added migrations to savedObject Ids for "actions:* and "alerting:*" task types

* fixed due to comments

* fixed typo

* added more tests

* added unit test

* added func test

* added func tests

* fixed test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* fixed merge

* fixed legacy tests

* fixed tests

* fixed eslint

* Update migrations.ts

fixed action task

* fixed due to comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 16:38:33 -07:00
Jonathan Budzenski 40b91c97ce
[deb/rpm] Generate os package specific kibana.yml (#98213)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 18:00:29 -05:00
Cauê Marcondes 634c272edd
[APM] Fleet: adding support for legacy fields (#110136)
* supporting legacy fields

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 18:02:00 -04:00
Spencer 72f6700270
[eslint] prevent async Promise constructor mistakes (#110349)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-31 17:54:13 -04:00
Kyle Pollich 522a0c4281
[Fleet] Fix bug when upgrading Windows package policies (#110698)
* Fix bug when upgrading Windows package policies

Ensure package policy merge logics accounts for cases in which an
input/stream which previously had no variables declared but has
variables in a later package version.

Fixes #110202

* Refactor original var set into deepMergeVars
2021-08-31 17:43:00 -04:00
nastasha-solomon 5e9617474c
[DOCS] Documenting securitySolution:defaultThreatIndex field (#110313) 2021-08-31 17:20:00 -04:00
Domenico Andreoli 01e1e4af3f
Merge junit results also for CCS functional tests (#110591) 2021-08-31 16:47:05 -04:00
Jonathan Budzenski 45b13349dc
Ignore elasticsearch-js product check warning by name (#110680) 2021-08-31 16:02:07 -04:00
Jonathan Budzenski 23a178895f
[renovate] cleanup and disable dependency dashboard (#110664) 2021-08-31 14:17:50 -04:00
Tim Sullivan 1ea921368f
[Reporting/Docs] Clarify reporting user access control options (#110545)
* [Reporting/Docs] Clarify reporting user access control with kibana privileges

* add reporting docs to code owners

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/settings/reporting-settings.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-08-31 11:09:07 -07:00
Tim Sullivan ca120eef91
[Reporting] Remove any from pdf job compatibility shim (#110555)
* [Reporting] Remove `any` from pdf job compatibility shim

* remove `any` usage in a few other isolated areas
2021-08-31 11:08:49 -07:00
Quynh Nguyen 42acf39a70
[ML] Populate date fields for Transform (#108804)
* [ML] Add index pattern info & select control for date time

* [ML] Update translations

* [ML] Gracefully handle when index pattern is not available

* [ML] Fix import

* [ML] Handle when unmounted

* [ML] Remove load index patterns because we don't really need it

* [ML] Add error obj to error toasts

* [ML] Update tests

* [ML] Update hook

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 13:08:17 -05:00
Tim Sullivan bbfad19051
[Reporting] Remove any from public/poller (#110539)
* [Reporting] Remove `any` from public/poller

* remove unnecessary comment
2021-08-31 11:07:56 -07:00
Gloria Hornero f8c80a7422
[Security Solution] Updates loock-back time on Cypress tests (#110609)
* updates loock-back time

* updates loock-back value for 'expectedExportedRule'
2021-08-31 20:07:06 +02:00
Mikhail Shustov a3fd138da1
do not make an assumption on user-supplied data content (#109425)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 20:06:47 +02:00
Dima Arnautov 95eab7ccca
[ML] Fix "Show charts" control state (#110602)
* [ML] fix show charts state

* [ML] fix export
2021-08-31 13:54:13 -04:00
Dmitry Tomashevich 3f7c461cd5
[Graph] Deangularize graph app controller (#106587)
* [Graph] deaungularize control panel

* [Graph] move main graph directive to react

* [Graph] refactoring

* [Graph] remove redundant memoization, update import

* [Graph] fix settings menu, clean up the code

* [Graph] fix graph settings

* [Graph] code refactoring, fixing control panel render issues

* [Graph] fix small mistake

* [Graph] rename components

* [Graph] fix imports

* [Graph] fix graph search and inspect panel

* [Graph] remove redundant types

* [Graph] fix problem with selection list

* [Graph] fix functional test which uses selection list

* [Graph] fix unit tests, update types

* [Graph] fix types

* [Discover] fix url queries

* [Graph] fix types

* [Graph] add react router, remove angular stuff

* [Graph] fix styles

* [Graph] fix i18n

* [Graph] fix navigation to a new workspace creation

* [Graph] fix issues from comments

* [Graph] add suggested changed

* Update x-pack/plugins/graph/public/components/graph_visualization/graph_visualization.tsx

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

* [Graph] remove brace lib from imports

* [Graph] fix url navigation between workspaces, fix types

* [Graph] refactoring, fixing url issue

* [Graph] update graph dependencies

* [Graph] add comments

* [Graph] fix types

* [Graph] fix new button, fix control panel styles

* [Graph] apply suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-08-31 19:26:45 +03:00
Nathan L Smith 3bae4cdc06
Add inspector panel for APM routes (#109696)
When the observability:enableInspectEsQueries advanced setting is enabled, show an inspector that includes all queries through useFetcher.

Remove the callout.
2021-08-31 11:10:54 -05:00
Michael Dokolin 475eaf2c76
[Expressions] Fix flaky test checking execution duration (#110338) 2021-08-31 17:59:51 +02:00
Garrett Spong 77b8e25b98
[RAC][Security Solution] Adds Machine Learning rule type (#108612)
## Summary

Ports over the existing Security Solution ML Rule to the RuleRegistry.

How to test this implementation
1. Enable the following in your `kibana.dev.yml`
```
xpack.ruleRegistry.enabled: true
xpack.ruleRegistry.write.enabled: true
xpack.securitySolution.enableExperimental: ['ruleRegistryEnabled']
```

2. Create a rule by running:
```
./x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/scripts/create_rule_ml.sh
```

3. Push document to anomalies index (or trigger anomaly for job id from `create_rule_ml.sh` script)


### Checklist

Delete any items that are not applicable to this PR.


- [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-08-31 09:48:10 -06:00
Brian Seeders 31642cbf0a
[CI] Disable baseline_trigger job (#110659) 2021-08-31 11:45:25 -04:00
Ester Martí Vilaseca 50a95ff78a
[Stack Monitoring] Add overview page first version (#110486)
* Add header to page template

* add external config provider and overview content

* REmove unnecessary todos

* Remove non working section from header

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 17:44:34 +02:00
Georgii Gorbachev 192556ef63
[RAC][Rule Registry] Put index upgrade logic under a feature flag (#110592)
**Ticket:** https://github.com/elastic/kibana/issues/110594

## Summary

This PR adds a feature flag around the logic that finds existing Alerts as Data indices and upgrades the mappings or rolls the index if the mappings can't be upgraded in place.

**IMPORTANT:**

- **The feature flag is switched off by default**. This is intentional, because we need to **disable the upgrade logic in 7.15.0**.
- **This is a temporary measure**. We're going to work on fixing the index upgrade logic asap and ship it before the next release that makes any mapping changes, possibly as soon as 7.15.1.
- Developers will need to enable it in their local kibana configs this way:

    ```yaml
    xpack.ruleRegistry.unsafe.indexUpgrade.enabled: true
    ```

Please check the ticket for the background of this fix.

### Checklist

Delete any items that are not applicable to this PR.

- [ ] [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
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
2021-08-31 17:40:06 +02:00
Josh Dover 257cdddc5f
Increase timeout for displaying welcome interstitial for new users (#110498) 2021-08-31 11:13:58 -04:00
Katrin Freihofner 8bcbc2dabd
increases contrast of recovered health badge (#110210)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 17:12:15 +02:00
Aaron Caldwell 10185fecb8
[Maps] Ensure draw tools updates by index name, not index pattern title (#108394) 2021-08-31 10:49:34 -04:00
Tiago Costa 560426e7ee
skip flaky suite (#110396) 2021-08-31 15:20:12 +01:00
Tim Roes c510288c05
Split KibanaApp into VisEditors and DataDiscovery (#110588)
* Split KibanaApp into VisEditors and DataDiscovery

* Add discover functional tests to codeowners

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 15:57:23 +02:00
Oliver Gupte e22c46bcc6
[APM] Fix for no-data state for fallback from aggregated transactions (#109995)
* [APM] Fix for no-data state for fallback from aggregated transactions (#109609)

* PR feedback and unit tests

* fixes lint error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 09:57:10 -04:00
Corey Robertson d3774519c0
[Canvas] Adds references extract/inject for Workpads (#109874)
* Register embeddable functions server side.  Adds reference extraction/injection to workpads

* Clean up

* Fix Types

* Update API docs

* Remove API doc from expression (bad conflict resolution)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 09:45:48 -04:00
Steph Milovic 03d52e9920
[Security Solution] [Bugfix]Alerts table event rendered view timestamp (#110561) 2021-08-31 07:40:59 -06:00
Marco Liberati 3b81205a23
[Lens] Show validation feedback on top values out of bounds number of values (#110222)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 15:23:18 +02:00
Miriam c568a433f3
[APM] Set preference to any value for APM searches (#110480) 2021-08-31 14:11:54 +01:00
Kyle Pollich a49700f95d
[Fleet] Fix policy upgrade from APM 0.3.0 to 0.4.0 (#110505)
* Fix policy upgrade from APM 0.3.0 to 0.4.0

Add debug log + logic to skip over any package variables that have been
removed from the base policy object. Issue was initially surfaced
testing upgrade from APM integration v0.3.0 to v0.4.0.

Ref #109907

* Fix type error in test

* Remove translation for validation debug log

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 08:08:00 -04:00
Kyle Pollich adde076d58
Add breadcrumbs for upgrade package policy page (#110468)
Adds distinct breadcrumbs for both "upgrade package policy" paths:
1. From the fleet agent policies list page
2. From the integrations package policie slist page

Closes #110434
2021-08-31 08:07:11 -04:00
Xavier Mouligneau 782f29a407
[RAC][o11y] fix o11y privileges when rule created in stack (#110167)
* fix o11y privileges when rule created in stack

* fix merge

* fix dsl alerts

* fix privileges on o11y

* after discussion with o11y, we agree to simplify logic of the count of alerts

* remove unused variable

* fix one more type error

Co-authored-by: mgiota <panagiota.mitsopoulou@elastic.co>
2021-08-31 07:31:38 -04:00
Marta Bondyra 03469515cf
[Lens] Fix filters reappearing in the saved object when saving (#110460)
* bugs fixed

* test for loading

* fix workspace panel

* Update x-pack/plugins/lens/public/xy_visualization/visualization.tsx

* revert useEffect for external embeddables
2021-08-31 11:51:54 +02:00
Sergi Massaneda 7ebed9321a
fix view all fields button when filtered (#110464) 2021-08-31 10:19:11 +02:00
mgiota b7ad4268d0
[RAC][Observability] preserve lifecycle alert changes for active alerts (#110124)
* preserve lifecycle changes for active alerts

* fix failing tests

* fix failing lifecycle executor tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 09:42:33 +02:00
Milton Hultgren 02538b6b41
[Observability] Update AlertsSearchBar placeholder (#110192)
* [Observability] Update AlertsSearchBar placeholder (#108179)
* [Observability] Remove default search query from Alerts page (#110242)

This is done to align with other placeholder texts found within the
Observability solution.
2021-08-31 08:32:46 +02:00
Jonathan Budzenski ed7beee634
Bump re2 to 1.16.0 (#110489) 2021-08-30 23:05:34 -04:00
Candace Park f5655e4b36
[Security Solution][Endpoint][Policy] Updated Policy details UI (#110429) 2021-08-30 21:49:53 -04:00
Tiago Costa d8f69b8ae1
chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler (#110488)
* chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler

* chore(NA): introduce web bundles
2021-08-31 02:20:45 +01:00
Tiago Costa fc236ad494
chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler (#110490)
* chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler

* chore(NA): remove comments

* chore(NA): introduce web bundles
2021-08-31 02:20:18 +01:00