Commit graph

41690 commits

Author SHA1 Message Date
Kibana Machine
e0f2ed9f1f
Add comments to some alerting plugin public API items (#101551) (#102130)
* Add comments. Remove ruleType as the second param, not needed.

* Add comments. Remove ruleType as the second param, not needed.

* Fix bad type check and update docs

* update docs

* Remove unused import

* change exports to type to avoid increasing bundle size

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>

Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-14 17:51:30 -04:00
Kibana Machine
fabd28a8ff
[ML] Adds Authentication module with six ML jobs for ECS data (Auditbeat, Winlogbeat, Filebeat and Logs) (#101840) (#102127)
* Adding Security Authentication jobs in 7.14

* Renamed some jobs

* Changing memory limits and linting change

* Linting fix

* Changed the order

* Adding module to ml_modules.tsx

* Update recognize_module.ts

this test modules uses older Auditbeat data which predates the event.category field so the test has to be skipped per https://elastic.zoom.us/j/93000943632?pwd=TmpvNWhtYUNzMUc0c0N6Tlc2QlVPZz09

* Update recognize_module.ts

needs to be a single line

* Update recognize_module.ts

Some linters want spaces and some linters want no spaces. This linter wants spaces.

* descriptions

added description text

* Update auth_rare_hour_for_a_user.json

removed a wayward newline char

* Minor nitpicking

* memory limits

raised memory limits to 128mb which is larger than the highest observed peak model bytes for the most memory hungry jobs in this event class.

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

Co-authored-by: Apoorva Joshi <30438249+ajosh0504@users.noreply.github.com>
Co-authored-by: Craig <mailredirector36@gmail.com>
2021-06-14 21:44:57 +00:00
Kibana Machine
57e3f8c3e2
Fix esArchiver path in the Jenkins context (#102095) (#102126)
Co-authored-by: Domenico Andreoli <domenico.andreoli@elastic.co>
2021-06-14 17:41:57 -04:00
Kibana Machine
54256e353b
[Logs / Metrics UI] Convert logs and metrics pages to the new Observability page template (#101239) (#102112)
* Convert Logs and Metrics pages to use the Observability page template

Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>
2021-06-14 16:36:44 -04:00
Kibana Machine
a134c9e278
[Discover] Unskip runtime field editor test (#101059) (#102111)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-14 16:33:43 -04:00
Kibana Machine
129385a580
[Security Solution] Refactor rules for modularization by updating bulkCreate and wrapHits methods (#101544) (#102107)
creates bulkCreate and wrapHits factories for the modularization of the detection engine

Co-authored-by: Marshall Main <marshall.main@elastic.co>

Co-authored-by: Ece Özalp <ozale272@newschool.edu>
Co-authored-by: Marshall Main <marshall.main@elastic.co>
2021-06-14 15:52:48 -04:00
Kibana Machine
61dda649f9
[FTSR] Add pluginFunctional to test suites (#102113) (#102120)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-06-14 12:04:05 -07:00
Kibana Machine
7d31209dce
[APM] Change View full trace button fill (#102066) (#102098)
Co-authored-by: Casper Hübertz <casper@elastic.co>
2021-06-14 14:54:34 -04:00
Kibana Machine
17563a2ac2
[APM] Change impact indicator size (#102060) (#102094)
Co-authored-by: Casper Hübertz <casper@elastic.co>
2021-06-14 18:42:58 +00:00
Kibana Machine
ca852e3691
[Fleet] Display NOTICE.txt from package if it exists (#101663) (#102093)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-06-14 14:42:03 -04:00
Kibana Machine
3195ccf763
Document platform security plugins in kibana.json (#101965) (#102091)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-06-14 14:31:35 -04:00
Kibana Machine
cb92d45aba
[APM] Add AWS and Azure icons for additional services (#101901) (#102082)
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-06-14 14:16:59 -04:00
Kaarina Tungseth
d9736abf3c
[7.x] [DOCS] Adds the 7.13.2 release notes (#101924) (#101928)
* [7.x] [DOCS] Adds the 7.13.2 release notes

* Update docs/CHANGELOG.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Review comments

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2021-06-14 13:07:12 -05:00
Dima Arnautov
2f947a5cb5
[ML] Add usage collection for pages in the ML app (#101886) (#102088)
* [ML] setup usageCollection provider

* [ML] track page usage
2021-06-14 13:51:45 -04:00
Kibana Machine
a1705f0bc4
Fix delayed status API updates in alerting and task_manager (#101778) (#102084)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-14 13:23:02 -04:00
Kibana Machine
9bbb87bf03
Update building_a_plugin.mdx (#101921) (#102079)
* Update building_a_plugin.mdx

* put back the numbers on the same line

* Add info about requiredBundles

* Fix numbers again

* Update dev_docs/tutorials/building_a_plugin.mdx

Co-authored-by: Mikhail Shustov <restrry@gmail.com>

* Update dev_docs/tutorials/building_a_plugin.mdx

Co-authored-by: Mikhail Shustov <restrry@gmail.com>

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

Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-06-14 13:09:24 -04:00
Alison Goryachev
eca9c2dfe6
[ILM] Migrate to new page layout (#101927) (#102077) 2021-06-14 12:57:28 -04:00
Kibana Machine
f9edb4ee0d
stabilize opening of Lens from listing page (#101569) (#101903)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-14 12:46:42 -04:00
Anton Dosov
99e7c9058e
[Index Patterns] Cover field editor with a11y tests (#101888) (#102074) 2021-06-14 12:44:36 -04:00
Kibana Machine
2c130bb8df
[Uptime] Align synthetics report types (#101855) (#102071)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-06-14 12:03:58 -04:00
James Gowdy
ef1e110b7f
[ML] Switching to new datafeed preview (#101780) (#102068)
* [ML] Switching to new datafeed preview

* fixing wizard test button

* adding schema validator

* fixing tests

* adding check for empty detectors list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.js
2021-06-14 11:53:42 -04:00
Kibana Machine
aa95a814f2
[Security Solution][Endpoint] Actions Log API (#101032) (#102064)
* WIP

add tabs for endpoint details

* fetch activity log for endpoint

this is work in progress with dummy data

* refactor to hold host details and activity log within endpointDetails

* api for fetching actions log

* add a selector for getting selected agent id

* use the new api to show actions log

* review changes

* move util function to common/utils

in order to use it in endpoint_hosts as well as in trusted _apps

review suggestion

* use util function to get API path

review suggestion

* sync url params with details active tab

review suggestion

* fix types due to merge commit

refs 3722552f73

* use AsyncResourseState type

review suggestions

* sort entries chronologically with recent at the top

* adjust icon sizes within entries to match mocks

* remove endpoint list paging stuff (not for now)

* fix import after sync with master

* make the search bar work (sort of)

this needs to be fleshed out in a later PR

* add tests to middleware for now

* use snake case for naming routes

review changes

* rename and use own relative time function

review change

* use euiTheme tokens

review change

* add a comment

review changes

* log errors to kibana log and unwind stack

review changes

* search on two indices

* fix types

* use modified data

* distinguish between responses and actions and respective states in UI

* use indices explicitly and tune the query

* fix types after sync with master

* fix lint

* do better types

review suggestion

* add paging to API call

* add paging info to redux store for activityLog

* decouple paging action from other API requests

* use a button for now to fetch more data

* add index to fleet indices

else we get a type check error about the constant not being exported correctly
from `x-pack/plugins/fleet/common/constants/agent`

* add tests for audit log API

* do semantic paging from first request

* fix ts error

review changes

* add document id and total to API

review suggestions

* update test

* update frontend to consume the modified api correctly

* update mock

* rename action

review changes

* wrap mock into function to create anew on each test

review changes

* wrap with schema.maybe and increase page size

review changes

* ignore 404

review changes

* use i18n

review changes

* abstract logEntry component logic

review changes

* move handler logic to a service

review changes

* update response object

review changes

* fix paging to use 50 as initial fetch size

* fix translations and move custom hook to component file

review changes

* add return type

review changes

* update default value for page_size

review changes

* remove default values

review changes

https://github.com/elastic/kibana/tree/master/packages/kbn-config-schema#schemamaybe

https://github.com/elastic/kibana/tree/master/packages/kbn-config-schema#default-values

* fix mock data

refs 1f9ae70194

* add selectors for data

review changes

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

Co-authored-by: Ashokaditya <am.struktr@gmail.com>
2021-06-14 11:51:23 -04:00
Kibana Machine
02bc7931be
[APM] Display automatic deployment annotations correctly (#102020) (#102062)
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-06-14 11:32:40 -04:00
Kibana Machine
50f382f35c
[ML] Functional tests - stabilize alerting flyout test (#102030) (#102056)
This PR stabilizes and re-activates the ML alerting flyout test suite.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-06-14 11:01:28 -04:00
Gidi Meir Morris
3c4e70b074
[Task Manager] adds capacity estimation to the TM health endpoint (#100475) (#102054)
Adds Capacity Estimation to the Task Manager Health Endpoint.
Below is a diagram depicting what information we use to estimate the varying capacity variables.

Please use the user facing docs to understand how it fits together. If the docs aren't clear enough - make a review comment and I'll clarify in the docs.
2021-06-14 10:57:17 -04:00
Kibana Machine
15aaecf057
move the example app to be mounted in the developerExamples plugin instead of visible in navbar (#101464) (#102052)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-06-14 10:53:25 -04:00
Kibana Machine
ccc120843c
Upgrade polished dependency (1.9.23.7.2, 4.0.54.1.3). (#101719) (#102051)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-06-14 10:41:27 -04:00
Vadim Dalecky
b1c097552d
Management app locator (#101795) (#102049)
* feat: 🎸 create management app locator

* refactor: 💡 simplify management locator

* feat: 🎸 export management app locator from plugin contract

* feat: 🎸 improve share plugin exports

* test: 💍 fix test mock

* test: 💍 adjust test mocks

* Update src/plugins/management/public/plugin.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/public/types.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/public/types.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/server/plugin.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-06-14 10:26:58 -04:00
Kibana Machine
d700291621
[Uptime] Add owner and description properties to Uptime's kibana.json (#101963) (#102041)
Co-authored-by: Shahzad <shahzad31comp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2021-06-14 09:40:43 -04:00
Kibana Machine
45ef7baf83
[Security solution][Endpoint] Removes zip compression when creating artifacts (#101379) (#102033)
* Removes zlib compression when creating artifacts. Also fixes related unit tests and removes old code

* Replaces artifact in new manifest using the ones from fleet client with zlip compression

* Fixes create_policy_artifact_manifest pushArtifacts missing new manifest. Also fixes unit tests

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

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-06-14 08:33:04 -04:00
Maja Grubic
df392554c3
[Discover] Deangularization of search embeddable (#100552) (#102027)
* [Discover] Render empty embeddable

* First version of grid embeddable

* More search embeddable

* Almost stable version

* Fixing typescript errors

* Fixing filtering and sorting

* Add data-shared-item to DiscoverGridEmbeddable

* Trigger rerender when title changes

* Fixing incorrectly touched files

* Remove search_embeddable

* Remove lodash

* Fixing imports

* Minor fixes

* Removing unnecessary files

* Minor fix

* Remove unused import

* Applying PR comments

* Applying PR comments

* Removing search embeddable

* Fix missing import

* Addressing PR comments

* Do not memoize saved search component

* Applying Matthias's suggestion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	api_docs/deprecations.mdx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 08:30:53 -04:00
Stratoula Kalafateli
4f3041de79
[Dashboard]: Fixes disabled viz filter is applied (#101859) (#102031)
* Fixes filter is applied even if is disabled on a dashboard

* Fix 18n problem

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 08:06:47 -04:00
Tiago Costa
81a3ef5f8d
skip flaky suite (#100438) 2021-06-14 12:52:51 +01:00
Kibana Machine
1a8ad6879c
[Fleet] Adjustments to the "Add agent" flyout (#101576) (#101919)
* updated add agent flyout buttons

* move close button to left

* added new optional prop for the add agent flyout and factored out a component from the index.tsx file

* quite a big refactor, moved the agent policy authentication to own component and reused in two places

* fixed layout on view where policy was not selected, also fixed a render cycle

* removed unnecessary filter

* move handler to function body instead of in JSX

* remove unused i18n

* added jest test for agent enrollment flyout steps behaviour

* fix issues after master merge

* Fix bad import in type file

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-06-14 10:24:00 +00:00
Tyler Smalley
c272bdbc25
Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)
* Revert "[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)"

This reverts commit 9851b7bcfa.

* Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)"

This reverts commit 73225daa87.
2021-06-13 23:29:03 -07:00
Tyler Smalley
9851b7bcfa
[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-13 01:12:38 -04:00
Tyler Smalley
73225daa87
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)
* [FTR][CI] Use default distribution for all tests (#94968)
* [FTR] Use importExport for saved_object/basic archive (#100244)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 09:53:10 -07:00
Tiago Costa
e41594ec5b
skip flaky suite (#94043) 2021-06-12 16:08:59 +01:00
Tyler Smalley
7b476b7e38 skip flaky suite (#102012) 2021-06-12 06:49:30 -07:00
Kibana Machine
00cf95cdc0
[esArchive] Persists updates for management/saved_objects/* (#101992) (#102011)
Same as #101950 - these archives are causing issues with a non-oss build https://github.com/elastic/kibana/issues/101654

Last remaining fix for https://github.com/elastic/kibana/pull/101118

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 01:50:36 -04:00
Matthew Kime
36431d0d1e
[Index patterns] Field editor example app (#100524) (#102010)
* add example app
2021-06-11 23:40:40 -04:00
Kibana Machine
1f52dd0384
remove unnecessary hack (#101909) (#101993)
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-06-11 15:23:00 -04:00
Tyler Smalley
32b7329c62 skip flaky suite (#101449) 2021-06-11 12:18:26 -07:00
Kibana Machine
3fe8ac9a50
[Exploratory View] Use human readable formats (#101520) (#101989)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-06-11 08:14:29 -04:00
Michael Dokolin
f09704df30
[Expressions] Refactor expression functions to use observables underneath (#100409) (#101988) 2021-06-11 06:00:14 -04:00
Tyler Smalley
5c18bedd49
[esArchives] Persist migrated Kibana archives (#101951)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-10 20:47:22 -07:00
Kibana Machine
aaa983ea2a
[kbnArchiver] fix save to non-existent file (#101974) (#101981)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-10 23:22:55 -04:00
ymao1
edad104ca4
[Alerting][Docs] Combine rule creation and management pages (#101498) (#101979)
* Combining rule management stuff into single page

* Cleaning up image widths and header sizes

* Adding in placeholder pages

* Adding in placeholder pages

* Apply suggestions from code review

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

* PR and test fixes

* Apply suggestions from code review

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

* PR fixes

* PR fixes

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/user/monitoring/kibana-alerts.asciidoc
2021-06-10 22:14:56 -04:00
Kibana Machine
4e0900282d
[Enterprise Search] Add owner and description properties to kibana.json (#101957) (#101978)
* [Enterprise Search] Add owner and description properties to kibana.json

Adds owner and description properties to kibana.json

* Reorder to match other plugins

Both others have the props at the end of the file:

https://github.com/elastic/kibana/blob/master/src/plugins/bfetch/kibana.json

Also removes redundant prefix from description

* Copy change

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-06-10 22:08:51 -04:00
Karen Metts
6601c7269d
[DOCS] Update release notes with known issue (#101980) (#101983)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-06-10 21:52:23 -04:00