Commit graph

45951 commits

Author SHA1 Message Date
Matthias Wilhelm 8f728977f2
[Discover] Remove export* syntax (#110934) 2021-09-03 07:48:32 +02:00
Yuliia Naumenko d421c4dda7
[Event log][7.x] Updated event log client to search across legacy IDs (#109365)
* [Event log][7.x] Updated event log client to search across legacy IDs

* fixed tests

* extended kibana null version check

* added logic to alerting plugin

* fixed typechecks

* fixed typechecks

* Revert "fixed typechecks"

This reverts commit 6f6770fa4b.

* removed legacyId for routes

* fixed typechecks

* fixed position

* fixed query

* fixed query

* fixed tests

* fixed types place

* fixed due to comments

* fixed due to comments

* fixed eslint

* fixed due to comments

* splitted test data

* fixed test data

* increased the delay time to await the search

* removed version for 7.9 docs

* Update x-pack/plugins/event_log/server/es/cluster_client_adapter.ts

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

* fixed unit test

* fixed test data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-09-03 01:18:48 -04:00
Davis Plumlee 9c165a1bc4
[Security Solution][Detection Rules] Changes 'activated' text on rule details page (#111044) 2021-09-02 23:45:15 -04:00
Zacqary Adam Xeper a99360fa32
[Metrics UI] Filter out APM nodes from the inventory view (#110300)
* [Metrics UI] Filter out APM nodes from the inventory view

* Update jest snapshots

* Add tests for fs for filtering out APM nodes
2021-09-03 09:28:11 +09:00
Jonathan Budzenski 95423242ac
[package testing] Update logging and pid configuration (#111059)
With the merge of #98213, pid and log file settings were moved from
command line options to kibana.yml.  Package tests use a non-default
kibana.yml and these settings were not applied.  This updates our
configuration to include these settings.
2021-09-02 20:11:45 -04:00
Devon Thomson e704a52f6e
[Dashboard] Read App State from URL on Soft Refresh (#109354)
Subscribe to app changes from URL to allow dashboard URL to be used as an API. On URL change, update filters, timerange, and query
2021-09-02 17:50:02 -04:00
Poff Poffenberger c692ad3724
Add correct roles to test user for functional tests in dashboard (#110880)
* Add animals role to test user for functional tests in dashboard

* Fix two more dashboard tests by applying proper roles

* Restore test user defaults

* Fix one last dashboard test

* forgot security service

* Cleanup
2021-09-02 16:35:12 -05:00
Kaarina Tungseth d92010575c
[DOCS] Adds Lens Inspector and minor edits (#109736)
* [DOCS] Adds Lens Inspector and minor edits

* Update docs/user/dashboard/lens.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Removes outdated menus and adds new visual component content

* Updates with review comments

* Last review comment

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-02 15:49:47 -05:00
Kaarina Tungseth a658feac72
[DOCS] Updates Spaces page (#111005) 2021-09-02 15:49:34 -05:00
Pierre Gayvallet 00305dbfb2
normalize initialNamespaces (#110936) 2021-09-02 22:01:32 +02:00
Tim Sullivan e6faa58873
[Reporting] Clean up any usage, reorganize server route files (#110740)
* refactor/reflatten server routes

* fix import

* fix any usage in server/lib

* clean up unused parameter

* remove any in server/browsers

* refactor handle request function into a class

* more cleanup
2021-09-02 11:35:39 -07:00
Khristinin Nikita b0a0dc224b
[Security Solution] [CTI] Fixes bug that caused Threshold and Indicator Match rules to ignore custom rule filters if a saved query was used in the rule definition. (#109253)
* Ignore saved_id for Threat match and threshold rules

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-02 20:26:34 +02:00
Jonathan Budzenski e8191eda7d skip flaky suites: #111001, #111022 2021-09-02 13:24:48 -05:00
Michael Olorunnisola 3dda4dafa0
[Security Solution][RAC] - Update reason field text (#110308) 2021-09-02 13:52:10 -04:00
Kevin Qualters f8e86f5e02
[RAC][Security Solution] Make analyzer work with EuiDataGrid full screen (#110913)
* Make analyzer work with EuiDataGrid full screen

* Don't ever restrict the width, remove console.log

* Remove isEventViewer prop no longer used

* Make global filters appear below data grid
2021-09-02 13:21:44 -04:00
Chris Cowan 0452483e7d
[Metrics UI] Add integration tests for Metric Threshold Rule and refactor to fire correctly (#109971)
* [Metrics UI] Add integration tests for Metric Threshold and refactor to fire correctly

* Removing unused variables

* Fixing tests for metric_threshold_executor

* Fixing test for metric_query

* fixing test

* Changing type guard
2021-09-02 10:38:45 -06:00
gchaps 3cdced3c45
[DOCS] Updates Discover docs (#110346)
* [DOCS] Updates search for relevance doc

* [DOCS] Updates Discover intro doc
2021-09-02 07:41:54 -07:00
Sergi Massaneda 56669c034c
[RAC] Persistent timeline fields fix (#110685)
* fix stringify circular ref crash and default columns on createTimeline

* rollback reset buton fix to split PR

* adding fields to the storage cleaning

* tests fixed

* test fix
2021-09-02 16:33:07 +02:00
Byron Hulcher f21731fb3a
Support the warning state for crawler validation steps (#110864) 2021-09-02 10:00:29 -04:00
Jonathan Buttner d2fffdcca1
[Cases] Cleaning up migration and re-hiding comments saved object (#109344)
* Cleaning up migration and so

* Refactoring filter to be check in reduce
2021-09-02 09:24:37 -04:00
Byron Hulcher c7ee7d7898
Split CrawlerLogic from CrawlerOverviewLogic (#110850) 2021-09-02 14:56:20 +02:00
Matthias Wilhelm 814cf7a4fc
[Discover] Remove Angular (#109774)
- This PR removes a remaining Angular related code in Discover
2021-09-02 14:49:14 +02:00
Uladzislau Lasitsa 51b0f5aa15
[XY axis] Split chart and alphabetical descending order doesn't work as expected (#108858)
* We should use 'sort' from terms for 'GroupBy'

* Fix conflicts

* Fix import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-02 15:47:06 +03:00
Nathan L Smith 6509fb31e4
Fix request inspector text display (#110647)
In #110116 I added the `RedirectAppLinks` component, which makes it so links outside the app automatically do not cause a page reload.

This component inserts a div into the DOM. Apparently this also caused the text areas in the request and response tabs of the request inspector to be collapsed to zero height.

Remove `RedirectAppLinks` and handle the navigation with an `onClick` callback instead.
2021-09-02 07:45:50 -05:00
Dima Arnautov 0ae7455377
[ML] Add job audit messages API integration tests (#110793) 2021-09-02 14:43:14 +02:00
Mikhail Shustov 1205ba4ce0
do not export all the types from licensing plugin (#110942)
* do not export all the types from licensing plugin

* another export issue
2021-09-02 07:08:02 -04:00
Alexey Antonov 88617325f3
[TSVB] Add migration script for 'drop_last_bucket' value (#110782)
* [TSVB] Add migration script for 'drop_last_bucket' value

* Update visualization_saved_object_migrations.test.ts

* fix PR comments
2021-09-02 12:49:47 +03:00
Diana Derevyankina 8a357fdabd
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_table·ts - visualize app visualize ciGroup12 visual builder table should display correct values on changing metrics aggregation (#110784) 2021-09-02 12:22:29 +03:00
Byron Hulcher f3bb942845
Remove beta tag from Crawler document ingestion card (#110922) 2021-09-02 11:12:07 +02:00
Angela Chuang fb77be26ea
update topN panel width (#110803)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-02 09:04:31 +01:00
Spencer fecdba7eba
[eslint] add rule to prevent export* in plugin index files (#109357)
* [eslint] add rule to prevent export* in plugin index files

* deduplicate export names for types/instances with the same name

* attempt to auto-fix duplicate exports too

* capture exported enums too

* enforce no_export_all for core too

* disable rule by default, allow opting-in for help fixing

* update tests

* reduce yarn.lock duplication

* add rule but no fixes

* disable all existing violations

* update api docs with new line numbers

* revert unnecessary changes to yarn.lock which only had drawbacks

* remove unnecessary eslint-disable

* rework codegen to split type exports and use babel to generate valid code

* check for "export types" deeply

* improve test by using fixtures

* add comments to some helper functions

* disable fix for namespace exports including types

* label all eslint-disable comments with related team-specific issue

* ensure that child exports of `export type` are always tracked as types

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 18:05:45 -07:00
Pete Hampton 4f0a63f575
Security Telemetry Refactor (#109875)
* [@pjhampton/@donaherc] Move sec telem tasks into own package.

* Split filter out into its own module, started abstracting ES interaction into a queries module

* Implemented querier and fixed some types

* Updated tests, moved receiver to plugin from sender to decouple them.

* fixed integration in detection engine, misc fixes

* [@pjhampton] Fix type ref problems. Update test defs.

* Make url transformer a member func of the sender class.

* [@pjhampton] clean up receiver commentary.

* [@pjhampton] add null check consistency.

* Fix bad formatting.

Co-authored-by: cdonaher <cdonaher@endgame.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 17:37:01 -06:00
spalger 356954061a add issue link to skipped suite (#110920) 2021-09-01 16:29:58 -07:00
spalger b127b57630 skip failing suite (no issue yet) 2021-09-01 15:40:54 -07:00
spalger 38d08c4008 skip flaky suite (#110801) 2021-09-01 15:31:49 -07:00
CJ Cenizal cf8ab3bb11
Add snapshotsUrl to Cloud plugin public interface. (#110328)
* Add unit tests for Cloud plugin setup interface.
2021-09-01 14:42:01 -07:00
Marshall Main f58865c1f5
[Rule Registry][RAC] Rename kibana.alert.id to kibana.alert.instance.id (#110528)
* Rename kibana.alert.id to kibana.alert.instance.id

* Update test snapshot

* Fix test

* One more fix
2021-09-01 16:56:49 -04:00
Cauê Marcondes 2fe56f9793
[APM] tests restructure (#110703)
* refactoring test

* improving test structure

* improvements

* improving readmes

* readme

* test

* fixing ts issue

* addressing pr comments

* fixing readme files

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 16:42:33 -04:00
Tim Sullivan d25108e870
Update reporting-settings.asciidoc (#110752) 2021-09-01 12:55:23 -07:00
Tyler Smalley c13957e63e
Add GitHub action for synchronizing commits from master to main branch (#110874)
Part of #97827

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-01 12:44:37 -07:00
Spencer 8c567624d3
[ci-stats] retry calls to ci-stats slower (#110845)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 15:41:13 -04:00
Lisa Cawley a82f6ca20e
[DOCS] Latency correlations (#110557) 2021-09-01 12:34:48 -07:00
Patrick Mueller dfa6924bee
[task manager] provide better diagnostics when task manager performance is degraded (#109741)
resolves #109095
resolves #106854

Changes the way task manager and alerting perform their health / status
checks:

- no longer sets an `unavailable` status; now uses `degraded` instead
- change task manager "hot stats freshness" calculation to allow for
  staler data before signalling a problem
- Changed the "Detected potential performance issue" message to sound
  less scary, include a doc link to task manager health monitoring, and
  log a debug instead of warning level
- add additional debug logging when task manager sets a status that's
  not `available`, indicating why it's setting that status (in the code,
  it's when task manager uses HealthStatus.Warning or Error)
2021-09-01 15:12:46 -04:00
Lisa Cawley 714735db21
[APM] Use doc link service instead of ElasticDocsLink (#109027) 2021-09-01 12:08:38 -07:00
Tyler Smalley 9850414b92
[ci] Removes all verbose flags (#110842)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-01 12:05:28 -07:00
Dominique Clarke e25c9dfece
[Uptime] [Synthetics Integration] browser functional tests (#110648)
* uptime - synthetics integration - add browser functional tests

* focus tests

* unfocus test

* Uptime - Synthetics Integration - adds stringToJsonFormatter
2021-09-01 14:54:00 -04:00
Angela Chuang 9dec97b5f4
[Security Solution] Enable repositionOnScroll for overflow popovers (#110584)
* enable repositionOnScroll

* unit test

* update test case

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 14:50:33 -04:00
Mark Hopkin 508d045f90
fix: do not show upgrade button on latest version of package (#110764) 2021-09-01 11:25:41 -07:00
Brian Seeders b5f69a5aa5
[ci] Handle ci-stats HTTP errors a little better to avoid accidentally printing credentials (#110858) 2021-09-01 14:11:22 -04:00
Christos Nasikas 1f90712c47
[Timeline] Show cases create flyout with timeline open (#110811) 2021-09-01 20:06:55 +03:00