Commit graph

55638 commits

Author SHA1 Message Date
Kibana Machine
0054208e1d
Fix 302 on /favicon.ico (#137294) (#137461)
(cherry picked from commit a40d241388)

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: Spencer <spencer@elastic.co>
2022-07-28 08:19:02 -07:00
Kibana Machine
10460c84c8
[Security Solution][Endpoint] Display better success and failure messages for kill suspend process actions (#137353) (#137462)
* add map with endpoint action response code and associated i18n message

* Add component to handle getting a failure message from a completed action

* Add component to handle getting a failure message from a completed action

* Correct type definition for ActionResponseOutput

* New ActionSuccess component + use it in kill/suspend process

* Change default failure message

* add some jsdocs to the endpoint codes

(cherry picked from commit cb4d6aa8d5)

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2022-07-28 08:18:37 -07:00
Kibana Machine
3d6d405054
[Cases] Add alerts experimental flag (#137215) (#137458)
* Setting for experimetnal badge in the alerts table

* Fix types

(cherry picked from commit 31682bd3ff)

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2022-07-28 08:17:35 -07:00
Dmitry Tomashevich
2e49594903 [Discover] Fix hiding histogram for rollup data views (#137157) (#137457)
* [Discover] hide chart for rollup data views

* [Discover] change implementation

* [Discover] apply suggestion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0a938d5fb0)

# Conflicts:
#	src/plugins/discover/public/application/main/components/chart/discover_chart.tsx
2022-07-28 07:43:34 -07:00
Kibana Machine
2d751d46d8
[ML] Fix Anomaly Explorer tests for updated anomaly scores (#137434) (#137453)
(cherry picked from commit cb5b4cbd7f)

Co-authored-by: Pete Harverson <pete@elastic.co>
2022-07-28 07:36:57 -07:00
Kibana Machine
75253af029
Fix hardcoded doclinks in SO migration integ tests (#137414) (#137452)
* fix hardcoded doc links in SO migration IT

* unskip tests

* fix link value

(cherry picked from commit a8e5bf4c9f)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-07-28 07:32:35 -07:00
spalger
e800c11425 remove codeowners from 8.4 2022-07-28 09:13:27 -05:00
Kibana Machine
92f8352738
[APM] Errors: Update the theme for the error occurrence histogram (#137334) (#137447)
(cherry picked from commit 824dfb6d5f)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-07-28 07:06:28 -07:00
Kibana Machine
b2cef82744
[Security Solution] Fix Dashboard landing page images (#137271) (#137314)
* overview image changed and size fixed

* cloud posture image fixed

* remove unused video svg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit a9c1ac9eec)

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2022-07-28 04:15:22 -07:00
Kibana Machine
5de1d7117d
[ML] Lock the delete annotation button on click (#137306) (#137411)
(cherry picked from commit b378c064c8)

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2022-07-28 01:19:45 -07:00
Kibana Machine
e9fe4ad5f3
[Enterprise Search] Add Crawler docLinks to Content app (#137312) (#137360)
(cherry picked from commit c4b43f9b95)

Co-authored-by: Byron Hulcher <byron.hulcher@elastic.co>
2022-07-27 16:02:19 -07:00
Kibana Machine
5ee1c75acd
[ML] Fix Latest timestamp column in the Anomaly Detection jobs table (#137280) (#137359)
* fix position of the AD and SMV buttons

* show actions column header

* remove unused class

(cherry picked from commit 34b5a2f49a)

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2022-07-27 15:22:52 -07:00
Kibana Machine
a206de1b33
[Security Solution] Add missing 8.4 Policy advanced options (#137333) (#137351)
* [Security Solution] Add missing 8.4 Policy advanced options

(cherry picked from commit e3f62dcc03)

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2022-07-27 15:04:51 -07:00
Kibana Machine
435bb0c5c7
[Security Solution][Endpoint] Fix input area showing error state when invalid input is replaced with a valid command using the Help panel (#137296) (#137356)
(cherry picked from commit 52d52b106f)

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2022-07-27 14:56:22 -07:00
Kibana Machine
e55d0fc3d3
Add new terms rule type to privileges (#137293) (#137311)
(cherry picked from commit 483f484cb7)

Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
2022-07-27 14:43:16 -07:00
Kibana Machine
b6cfd604fe
[Security Solution][Endpoint] Fix the endpoint pending actions status and popover to include totals for all actions (#136966) (#137348)
* update pending badge logic

fixes elastic/security-team/issues/4356

* remove command/todo

* Rework logic in EndpointHostIsolationStatus to ensure that multiple pending of the same type, then still show isolating/releasing

* Fix for when there are no pending isolation but there are others

* Fix pending action api service so that it only waits for a metadta update for isolate/release

* Fix tests

* add additional test

Co-authored-by: Paul Tavares <paul.tavares@elastic.co>
(cherry picked from commit ccabbc735b)

Co-authored-by: Ashokaditya <1849116+ashokaditya@users.noreply.github.com>
2022-07-27 14:18:01 -07:00
Kibana Machine
70d12cd558
Fixing skipped saved tags test along with adding a missing aria-label (#137234) (#137347)
(cherry picked from commit 78da900fd4)

Co-authored-by: Bhavya RM <bhavya@elastic.co>
2022-07-27 14:03:49 -07:00
Kibana Machine
c134aa3130
health badges on indices table link to index overview (#137337) (#137344)
(cherry picked from commit cfbda0b249)

Co-authored-by: Byron Hulcher <byron.hulcher@elastic.co>
2022-07-27 13:43:39 -07:00
Kibana Machine
8d6a862600
Remove View in Discover button (#137315) (#137343)
(cherry picked from commit 374a3f0458)

Co-authored-by: Byron Hulcher <byron.hulcher@elastic.co>
2022-07-27 13:38:07 -07:00
Kibana Machine
4a01c553f6
[Security Solution][Exceptions] - Fix how entry conditions for is in list is displayed (#137236) (#137341)
## Summary

Addresses issue #137156

(cherry picked from commit 4f0950fc6f)

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2022-07-27 13:32:58 -07:00
Kibana Machine
b4f938d7a6
fix(NA): inver bazel config args order on kbn_pm runBazel function (#137307) (#137339)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 93c38fee22)

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2022-07-27 13:18:16 -07:00
spalger
faf828347b skip suite failing 8.4 (#137338) 2022-07-27 13:47:30 -05:00
spalger
dc12b4084f skip suite failing on 8.4 (#137331) 2022-07-27 13:03:32 -05:00
spalger
a5f615b41a skip suite failing on 8.4 (#137329) 2022-07-27 13:01:47 -05:00
spalger
e66cfb8db6 skip suite failing 8.4 (#137330) 2022-07-27 12:59:57 -05:00
spalger
f937a7c287 skip suite failing on 8.4 (#137328) 2022-07-27 12:51:40 -05:00
spalger
e902476dde skip flaky suite (#136000) 2022-07-27 11:35:23 -05:00
spalger
d16c8bbca9 skip suite failing es promotion (#137300) 2022-07-27 10:47:54 -05:00
Devin W. Hurley
13c10c1780 [Security Solution] [Platform] only display aggregatable fields where aggregatable = true (#137137) 2022-07-27 10:47:54 -05:00
Tiago Costa
6fc395615a
chore(NA): bump branch to 8.4 2022-07-27 16:14:14 +01:00
Sander Philipse
8bf7c32c8c
[Enterprise Search] Show success toast on index creation (#137284) 2022-07-27 08:09:56 -07:00
James Rucker
0fe8d3f468
[Enterprise Search] Conditionally include aliases when fetching indices (#137230)
* Conditionally include aliases when fetching indices

When we're looking for BYOEI candidates (in App Search), we want to include aliases.
When we're listing indices in Enterprise Search Content, we do not.

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-27 08:01:41 -07:00
Joe Reuter
2348f56bd3
[TSVB] Format the label with the right default formatter (#136934)
* format the label with the right default formatter

* Update convert_series_to_vars.js

* fix test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-07-27 16:33:47 +02:00
Gerard Soldevila
9c349a392a
[Global search bar] Create a loading spinner for the initial empty state (#137264)
* Create a loading spinner for the initial empty state (instead of "no results")

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Use EuiFlexGroup instead of plain div

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-27 07:28:28 -07:00
Matthew Kime
a428a418d9
[data views] Set default data view name (#137120)
* autopopulate name field when name isn't provided
2022-07-27 09:06:41 -05:00
Georgii Gorbachev
cc634ed59b
[Security Solution][Detections] Update the MITRE ATT&CK model to v11.3 (#137122)
**Related to:** https://github.com/elastic/detection-rules/pull/2073#issuecomment-1191758934, https://github.com/elastic/kibana/issues/89876

## Summary

Here we regenerate the MITRE ATT&CK model in the code based on the official MITRE content:

- we update to the version `ATT&CK-v11.3` (see https://github.com/elastic/detection-rules/pull/2073#issuecomment-1194691383)
- this corresponds to the `https://raw.githubusercontent.com/mitre/cti/ATT&CK-v11.3/enterprise-attack/enterprise-attack.json` content

Also, this PR fixes the model regeneration script (check the comment below).
2022-07-27 15:20:07 +02:00
Cauê Marcondes
bc256148e3
[APM] When comparison feature is disabled, we still see the shaded area (#137223) 2022-07-27 08:59:33 -04:00
Jordan
11d4866155
Limit findings page size (#137187) 2022-07-27 05:47:31 -07:00
Ari Aviran
0be138c0a9
[Cloud Posture] Fully integrate cloud posture pages into security solution (#137058) 2022-07-27 04:14:18 -07:00
Sander Philipse
58f7eaf0f8
[Enterprise Search] Add language analyzer to connector index creation (#137256) 2022-07-27 12:57:04 +02:00
Sander Philipse
37d5dd6637
[Enterprise Search] Fix scheduling callout and restrict width (#137255) 2022-07-27 12:56:50 +02:00
Sander Philipse
c1f21d4f4e
[Enterprise Search] Add link for connector documentation on create index page (#137259) 2022-07-27 12:56:35 +02:00
Rudolf Meijering
57f7a48b8d
Migrations wait for index status green if create index returns acknowledged=false or shardsAcknowledged=false (#136605)
* readWithPit set allow_partial_search_results: false

* createIndex wait for green index if shardsAcknowledged=false

* Fix cloneIndex tests

* Ensure requestTimeout > timeout for waitForIndexStatus & updateAndPickupMappings

* Elasticsearch requires string timeouts

* Update waitForINdexStatus ts docs

* Revert "Elasticsearch requires string timeouts"

This reverts commit f774474a30.

* Revert "Ensure requestTimeout > timeout for waitForIndexStatus & updateAndPickupMappings"

This reverts commit 91df1788ce.

* Use DEFAULT_TIMEOUT less than requestTimeout

* Use child client for default options

* Review feedback

* Review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-27 03:14:22 -07:00
Yulia Čech
2bfd2a8de2
[Guided onboarding] Observability tour: Unskipping the functional test (#137070)
* [Guided onboarding] Observability tour: Is the functional test flaky?

* [Guided onboarding] Observability tour: Increase timeout on the functional test
2022-07-27 11:10:15 +02:00
Kibana Machine
c572e3e2a3
[api-docs] Daily api_docs build (#137246) 2022-07-27 14:11:53 +09:30
Cristina Amico
5677d16c00
[Fleet] Update elastic agent versions list (#137193) 2022-07-26 20:13:00 -07:00
Byron Hulcher
1833bb314c
[Enterprise Search] Updated Fleet Integration tiles (#137231) 2022-07-26 19:49:20 -07:00
Luke Elmers
d3fe025b6e
[logging] Upgrade Kibana logs to ECS 8.4 (#136362)
* 8.1.0

* 8.2.0

* 8.3.0

* Upgrade ECS to 8.4.0

* Simplify EcsFields type in rule_registry.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2022-07-27 02:42:49 +01:00
Marshall Main
98384afd36
Pull source data index from kibana.alert.rule.indices to work with data views or index patterns (#137241) 2022-07-26 16:51:22 -07:00
Tiago Costa
b1c7efff8a
chore(NA): prevent disabling eslint protected rules (#137066)
* chore(NA): introduce barebones for no_protected_eslint_disable rule

* chore(NA): includes schema for protected eslint

* chore(NA): more progress on the rule

* chore(NA): first working logic for the rule

* fix(NA): correctly match allowed exclusions

* refact(NA): final refactor to complete rule

* chore(NA): remove non needed additional types

* fix(NA): remove wrongly left custom type

* refact(NA): create parseEslintDisableComment function

* refact(NA): remove option to configure disabled protected rules from configuration

* chore(NA): Update packages/kbn-eslint-plugin-disable/src/helpers/regex.ts

Co-authored-by: Spencer <email@spalger.com>

* refact(NA): use a const instead of function to setup protected rules

* chore(NA): run eslint fix

* refact(NA): removed unused functionality

* add failing test

* refact(NA): rebuild entire comment line on fixing

* refact(NA): joining with a space in between

* chore(NA): improved comparision logic

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spencer@elastic.co>
2022-07-26 16:40:01 -07:00