Commit graph

38724 commits

Author SHA1 Message Date
Joel Griffith
9073aec955
[Reporting] Bump puppeteer 5.4.1 + roll chromium rev (#85066)
* Update puppeteer + new headless shell bin

* Bump types for pptr

* Fix broken mock for pptr
2020-12-04 14:50:07 -08:00
Thomas Neirynck
d41fbf948e
[Maps] Update style when metrics change (#83586) 2020-12-04 17:24:21 -05:00
Ryland Herrick
918dbb17de
[Security Solution] Fixes some misconfigured settings (#85056)
* Remove nonexistent paths from our API tests config

These paths (or rather their absence) breaks the functional_tests_server script.

An analogous problem for cases was fixed in #79127.

* Remove duplicated context from logger

This context is already provided to the logger by kibana; adding it a
second time leads to duplicated log tags, e.g.:

```
server    log   [12:36:07.138] [debug][plugins][plugins][securitySolution][securitySolution] ...
```

This is now fixed:

```
server    log   [12:41:52.112] [debug][plugins][securitySolution] ...
```
2020-12-04 15:57:12 -06:00
Tre
b6a6a30f26
[QA][Stack Integration Tests] Support defining the tests list in the Integration Test Repo (#83363)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:34:03 -07:00
Spencer
fd1328f6f8
[cli/dev] remove cluster module, modernize, test (#84726)
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:28:06 -07:00
Henry Harding
c6ef1ae30b
Design cleanup details panel (#85044)
* cleanup overlay panel. fixed sizes, variable panel height, responsive breakpoint

* cleanup metrics tab. use EuiFlexGrid + ChartSizeArray for chart sizing + fixed responsive issues on flex items

* cleanup metadata tab. disabled responsive table and fixed alignment of filter icon + value

* cleanup logs search. adjusted button size + spacing

* fix responsivness on array values

* remove responsive behavior on search + view-in-logs button

* fix typecheck
2020-12-04 15:05:13 -05:00
Gidi Meir Morris
c85f2545da
[Actions] Fixes issue which causes PagerDuty Params to rerender continuously. (#85050)
* prevent aciton form from rerendering constantly

* fixed typing
2020-12-04 14:50:50 -05:00
Christos Nasikas
fcccb016f4
[Security Solution][Case] Add in-progress status to case (#84321) 2020-12-04 21:36:23 +02:00
Brian Seeders
554ee9ebf9
Revert "[Monitoring][Alerting] Added core features to Kibana services (#84486)"
This reverts commit 4545f56a46.
2020-12-04 14:24:49 -05:00
spalger
b507dbf8a1 [renovate] update label config 2020-12-04 12:23:47 -07:00
Thom Heymann
f413957827
ECS audit events for alerting (#84113)
* ECS audit events for alerts plugin

* added api changes

* fixed linting and testing errors

* fix test

* Fixed linting errors after prettier update

* Revert "Allow predefined ids for encrypted saved objects (#83482)"

This reverts commit 7d929fe903.

* Added suggestions from code review

* Fixed unit tests

* Added suggestions from code review

* Changed names of alert events

* Changed naming as suggested in code review

* Added suggestions from PR

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:13:30 +00:00
Tiago Costa
6be3cf4f9f
chore(NA): check git version on pre-commit hook install (#84811)
* chore(NA): checks installed git version when installing pre-commit hook

* chore(NA): throw an error instead of log a warning

* chore(NA): use createFailError instead

* fix(NA): apply feedback from pr review for isCorrectGitVersionInstalled

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:10:33 +00:00
renovate[bot]
81b45ee9d0
Update dependency @elastic/charts to v24.3.0 (#85039) 2020-12-04 13:05:07 -06:00
Henry Harding
ba428fc2d9
Fleet agent details design review (#84939)
* small design fixs for integrations list

* use tooltip for upgrade available

* remove enrollment token info

* remove border-bottom from last table row

* Fix type issue

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 13:47:45 -05:00
Chris Roberson
58f90280cb
[Monitoring] Convert APM-related server files that read from _source to typescript (#84829)
* get_apms converted

* More APM ones

* get_beat_summary

* Fix test

* This is optional

* Fix tests

* Be more safe
2020-12-04 13:36:09 -05:00
igoristic
4545f56a46
[Monitoring][Alerting] Added core features to Kibana services (#84486)
* added core features to kibana services

* Added test for alert form

* Added mocking of legacy shims and actions
2020-12-04 13:33:47 -05:00
Marta Bondyra
2cf4e72394
[Lens] (Accessibility) Added focus state and accessible name to suggestions (#84653)
* [Lens] (Accessibility) Added focus state and accessible name to suggestions

* Apply suggestions from code review

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx

padding oops

* cr
2020-12-04 19:28:33 +01:00
Scotty Bollinger
7310ea7f3c
[Workplace Search] Cleanup a couple of minor sources issues. (#84961)
* Set queued message instead of immediate message

After being redirected from an oauth configuration, a redirect occurs to show the flash message. A queued message is needed here because the message is lost before the redirect happens otherwise

* Don’t pass empty query params

The kibana server didn’t like the empty param so this commit removes it

Before:
/status?

After
/status

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 11:38:03 -06:00
Tim Sullivan
880c8d35e8
[Send To Background UI] Isolate functional test for wip feature (#84833)
* [Send To Background UI] Isolate functional test for wip feature

* add tests to cigroup 3
2020-12-04 10:22:26 -07:00
Jonathan Budzenski
0dbe1cd006
[deb/rpm] Build aarch64 distributions (#84364)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 10:59:49 -06:00
Chandler Prall
2f72c8ad10
Upgrade EUI to v30.5.1 (#84677)
* Updated to eui@30.4.1, fixed types and unit tests

* Cleanup some imports

* Fix a text color swap, now back to danger text

* Bump EUI to v30.4.2

* Revert snapshot changes from ownFocus modification

* Clean up alert flyout test actions to better represent user actions

* Upgrade EUI to 30.5.1

* More accurate test interaction

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 09:39:03 -07:00
Jason Stoltzfus
40e206e587
[App Search] Added the Documents View (#83947) 2020-12-04 11:17:10 -05:00
Wylie Conlon
f176e8b7fd
[Lens] Remove extra render when closing flyout with valid column (#84951)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 11:00:10 -05:00
Sandra Gonzales
db70286bca
[Fleet] add readme to uploaded package info and fix images (#84944)
* use the relative src instead of path for package images

* add readme to package info for uploaded packages

* let toPackageImage take the image object and check path if no src

* use variable
2020-12-04 10:58:04 -05:00
Ahmad Bamieh
aa9a353205
[Telemetry] Introduce UI Counters (#84224)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 17:47:04 +02:00
Matthew Kime
e7d8dd48f3
Fix lookup and color field formatters (#84994)
* fix lookup field formatter

* fix color formatter
2020-12-04 09:46:42 -06:00
Alexey Antonov
71f863ef66
[TSVB] Wrong x-axis formatting if "dateFormat" configuration property is not specified (#84899)
* [TSVB] Wrong x-axis formatting if "dateFormat" configuration property is not specified

* Update create_xaxis_formatter.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 18:14:58 +03:00
Jean-Louis Leysens
9d6d78320b
[ILM] Fix delete phase serialization bug (#84870)
* added test for correctly deserializing delete phase, and added fix

* clarify test comment

* fix serialization of hot phase to include delete action

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 16:02:00 +01:00
Tiago Costa
9c3ca2023e
chore(NA): removes auto install of pre-commit hook (#83566)
* chore(NA): remove kibana pre-commit hook installation from bootstrap

* chore(NA): add support for git ref flag on run precommit hook script

* chore(NA): integrate quick commit checks within the CI

* chore(NA): introduce logging trap to warn about quick commit checks failure and how to reproduce it

* chore(NA): update quick commit checks message

* fix(NA): quick commit checks function def

* chore(NA): fix quick commit checks message quotes

* chore(NA): fix functional call

* chore(NA): fix script to run

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): update message to log before quick commit checks

* chore(NA): remove extra debugger statement

* chore(NA): add echo message inline with script execution

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): wrapping quick commit checks in a func

* chore(NA): export function to use later

* chore(NA): export function to use later

* chore(NA): use child bash script on github checks reporter

* chore(NA): define dir context for commit_check_runner.sh

* fix(NA): permissions for commit_check_runner.sh

* fix(NA): permissions for commit.sh

* chore(NA): format message to log

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): format runner message

* chore(NA): replace log.info by log.warning

* docs(NA): include docs for removing the pre-commit hook auto installation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:43:33 +00:00
Tiago Costa
a6bd1aa5de
chore(NA): upgrade node-sass into last v4.14.1 to stop shipping old node-gyp (#84935)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:37:42 +00:00
Gidi Meir Morris
249a1a41aa
[Alerting] Enables AlertTypes to define the custom recovery action groups (#84408)
In this PR we introduce a new `recoveryActionGroup` field on AlertTypes which allows an implementor to specify a custom action group which the framework will use when an alert instance goes from _active_ to _inactive_.
By default all alert types will use the existing `RecoveryActionGroup`, but when `recoveryActionGroup` is specified, this group is used instead.

This is applied across the UI, event log and underlying object model, rather than just being a label change.
To support this we also introduced the `alertActionGroupName` message variable which is the human readable version of existing `alertActionGroup` variable.
2020-12-04 13:54:48 +00:00
Robert Oskamp
b9b2704832
[ML] Functional tests - add missing test data cleanup (#84998)
This PR adds a few missing cleanup calls to the after methods of the functional ML test suite and the functional basic ML test suite.
2020-12-04 14:40:31 +01:00
Aleh Zasypkin
0a42b6534c
Migrate privilege/role/user-related operations to a new Elasticsearch client. (#84641) 2020-12-04 14:24:30 +01:00
Gidi Meir Morris
ad498530e3
[Actions] fixes bug where severity is auto selected but not applied to the action in PagerDuty (#84891)
In this PR we ensure the EuiSelects in the PagerDuty params components don't auto select a value when the field doesn't have a default value.
2020-12-04 09:28:07 +00:00
Marshall Main
3b92fa2a2a
Only attempt to rollover signals index if version < builtin version (#84982) 2020-12-04 01:19:29 -05:00
Tiago Costa
7277aaac5c
skip flaky suite (#84978) 2020-12-04 02:01:29 +00:00
Jonathan Budzenski
9170d4999c skip lens rollup tests 2020-12-03 18:46:03 -06:00
KOTungseth
865824bb87 [DOCS] 7.11 Dashboard docs refresh 2020-12-03 16:52:20 -06:00
Aaron Caldwell
8ab43daef0
Add geo containment tracking alert type (#84151) 2020-12-03 15:31:42 -07:00
John Dorlus
08bb03841d
Changed rollup tests to use test user rather than elastic super user. (#79567)
* removed .only for testing

* Added config with minimum permissions.

* Removed kibana user role. 

I removed the kibana user role to remove redundancy.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 17:29:59 -05:00
Jonathan Budzenski
60202b3ba0 skip 'should allow creation of lens xy chart' #84957 2020-12-03 16:05:00 -06:00
Colton Myers
eb46f3a117
[APM] Add log_level/sanitize_field_names config options to Python Agent (#84810)
* [APM] Add log_level config option to Python Agent

* Add sanitize_field_names as well
2020-12-03 15:01:42 -07:00
Nathan Reese
e72d174e2a
[Maps] geo line source (#76572)
* [Maps] geo line source

* update editor with metrics

* show track name in tooltip

* fix styling by category

* avoid killing ES, limit to 100 tracks

* better source tooltip message

* fix imports

* increase max tracks

* use tracks icon

* tslint

* Making layer wizard select tooltip flex

* tslint and jest snapshot updates

* clean up

* add trimmed property to tooltip

* change complete label to 'track is complete'

* show incomplete data icon if tracks are trimmed

* add jest test for getSourceTooltipContent

* clean up areResultsTrimmed logic

* split request into 2 fetches

* review feedback

* do not allow selecting split field as sort field

* reduce number of tracks to 250

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
2020-12-03 14:50:21 -07:00
Lukas Olson
726424a256
[data.search] Move search method inside session service and add tests (#84715) 2020-12-03 14:28:21 -07:00
Jonathan Budzenski
9f09c846a3 skip lens drag and drop test. #84941 2020-12-03 15:19:21 -06:00
Alison Goryachev
5c88a3c4ab
[Ingest Node Pipelines] Integrate painless autocomplete (#84554) 2020-12-03 16:18:05 -05:00
Marta Bondyra
1ff2bb3d8a
[Lens] allow drag and drop reorder on xyChart for y dimension (#84640)
* [Lens] allow drag and drop on xyChart for y dimension

* wip

* tests

* dimension panel fix

* eslint

* fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 20:30:42 +01:00
Wylie Conlon
47917b39ca
[Lens] Fix error when selecting the current field again (#84817) 2020-12-03 13:40:22 -05:00
Phillip Burch
61fdec2486
[Metrics UI] Add metadata tab to node details flyout (#84454)
* Add properties tab to flyout

* Better id for i18n title

* Update i18n ids

* Fix test and styling

* Style changes, add support for collapsing array fields

* Add loading indicators

* Fix type check

* Fix another test

* Fix tests for pods

* Add link to node details page

* Only show the overlay when viewing hosts

* Take into account cores when showing cpu

* Make it easier to read

* Remove unnecessary cast

* Fix PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 12:14:02 -06:00
Tyler Smalley
74ef540e42
[CI] Enables APM collection (#81731)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-03 09:25:40 -08:00