Commit graph

33617 commits

Author SHA1 Message Date
igoristic
6ef2a2c07e
Fixed access denied page (#68046)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 02:06:20 -04:00
Alison Goryachev
2abf9d5946
[ILM] Add missing time unit labels (#68205)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 21:18:44 -04:00
Paul Tavares
cdb6b4dd33
[Endpoint] Move the Endpoint Host page over to the Management Endpoints sub-tab (#68002)
* move code dir. to management/pages
* Make hosts appear on endpoints tab
* Add support for `className` to `<FormattedDate>` component
* add FormattedDate to Host list to display last seen date
2020-06-04 21:09:00 -04:00
Paul Tavares
c3269fa117
Fix typo in policy response action name (#68307) 2020-06-04 21:04:05 -04:00
spalger
6f5a0c3b41 remove and ignore legacy/plugins/reporting directory 2020-06-04 17:10:07 -07:00
Tiago Costa
7201e9c9cc
chore(NA): move bin scripts into build (#67568)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 00:37:04 +01:00
Chris Cowan
4fde7a69d4
[Metrics UI] Handle event.target properly for Legend Controls (#68029)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 16:26:45 -07:00
Phillip Burch
a4549a71ed
[Metrics UI] Add back context variables with descriptions (#67487)
* Add context variables for metric, value and threshold with descriptions

* Remove timestamp from this PR

* sentences are hard

* Fix lint rules

* Add more usage examples

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 15:56:54 -05:00
Devon Thomson
97a72b33c5
[Chore] Simplify Embeddable Panel usage (#68006)
Replaced usages of the EmbeddablePanel component with a shortcut panel API
2020-06-04 16:55:11 -04:00
Sébastien Loix
c77e9bf8f8
[Composable templates] Table to list templates (#67282)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 22:34:04 +02:00
Nicolas Chaulet
f7739b5db6
[Ingest Manager] Fix agent stream to support optionnal yaml root values (#68272)
* [Ingest Manager] Fix agent stream to support optionnal yaml root values

* Update x-pack/plugins/ingest_manager/server/services/epm/agent/agent.test.ts

Co-authored-by: Jen Huang <its.jenetic@gmail.com>

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2020-06-04 16:10:59 -04:00
Jonathan Buttner
8fe1eb1f78
Adding related event category stats for resolver nodes (#67909)
* Allowing the categories to be specified for related events

* Adding checks in the api tests for the stats

* Adding more comments

* Allow array or number of cateogires generation and fix up comment

* Fixing type error

* Renaming to byCategory

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 16:10:42 -04:00
Mike Côté
c8e6855281
Hide action types in action form that don't have actionParamsFields set (#68171)
* Hide action types in alert flyout that don't have actionParamsFields set

* Fix jest tests
2020-06-04 15:58:48 -04:00
Pierre Gayvallet
3602f0f9aa
implements extends to ObjectSchema (#68067)
* implements `extends` to `ObjectSchema`

* add unit tests

* use expectType for types assertions

* allow to extends options

* add comment about deep extend
2020-06-04 20:55:03 +02:00
Ryland Herrick
5fd6416861
Prevent removal of actions via the UI from breaking rule AAD (#68184)
This fixes #64870 _for real_.

The issue ended up being caused by a
conditional form field that mapped to a nested field on the rule's
params: when a rule is created with an action, it has a
meta.kibana_siem_app_url field. When the rule's actions were removed via
the UI, that field was _also_ removed, which broke AAD and thus rule
execution.

This fixes the issue by making that field unconditional, and also
removes the previous workaround.
2020-06-04 13:38:27 -05:00
Tim Sullivan
094b34c065
[Reporting] Adds the enabled key to schema (#68288) 2020-06-04 11:37:12 -07:00
Angela Chuang
e488e831b5
[SIEM] Update links for add-data button (#68240)
* update links for add-data button

* update links

* rename SIEM with security

* add back missing key

* fixup

* fixup
2020-06-04 18:55:06 +01:00
Liza Katz
537d2f2de1
[FIX] Allow filters without index (#68225)
* Allow filters without index

* Explicitly return true from isFilterApplicable id no index patterns were provided

* Adjust test result
2020-06-04 20:42:52 +03:00
Melissa Alvarez
edc4d58e12
[ML] DF Analytics: Creation wizard part 1 (#67564)
* create newJob route and start of wizard

* wip: create configStep component

* finish configStep form and details

* wip: create andvanced step components

* create details step component

* createStep component

* ensure advanced options are correct for each job type

* add validation to each step

* use custom table for excludes

* move customSelectionTable to shared components

* form validation for advanced fields

* wip: source index selection modal

* add source index preview

* update details

* ensure advanced parameters added to config on creation

* can create job from savedSearch. can set source query in ui

* validate source object has supported fields

* eslint updates

* update tests. comment out clone action for now

* add create button to advanced editor

* remove deprecated test helper functions

* fix translation errors

* update help text. read only once job created.

* fix functional tests

* add nextStepNav to df service for tests

* fix excludes table page jump and hyperParameter not showing in details

* fix checkbox width for custom table
2020-06-04 13:39:43 -04:00
CJ Cenizal
efcc2bf6b7
Update ILM UI to support presence of searchable snapshot options (#68047) 2020-06-04 09:38:39 -07:00
Larry Gregory
a9b2d50e76
Record security feature usage (#67526)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 12:29:28 -04:00
Yara Tercero
c5e9ad513e
[SIEM][Exceptions] - Part 1 of ExceptionViewer UI (#68027)
### Summary

The ExceptionViewer is a component that displays all of a user's exception list items. It will allow them to delete, edit, search and add exception items.

This is part 1 of the UI for the ExceptionViewer. Trying to keep PRs relatively small and found this was one way to split it up. This first part accomplishes the following:

- adds helper functions that will be used in the ExceptionBuilder as well and offer ways to format and access the new exception list item structure
- creates ExceptionItem component, this is the component that displays the exception item information
- moves the and_or_badge component into the common folder
- adds stories for the ExceptionItem to easily test changes (Note that the color of some things like the and_or_badge is a bit off, as the light gray color used for it isn't picked up in the mock eui theme)
2020-06-04 12:04:34 -04:00
Brandon Morelli
1f3379a0e2
docs: use correct inequality symbols (#67986) 2020-06-04 08:03:08 -07:00
EamonnTP
63eabdbc19
[DOCS] Move Uptime Kibana documentation into Uptime guide (#67508)
* Move Uptime content from Kibana doc

* Fix doc build

* Committing deleted image files

* Updates following review

* Change attribute name

* Update Uptime doc link in UI

* Update doc url

* Doc url update

* Update alert images and further edits

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 15:58:58 +01:00
Quynh Nguyen
a8f04f8304
[ML] Keep the edit rule flyout open if there are multiple rules (#68174) 2020-06-04 09:34:47 -05:00
Pierre Gayvallet
c5546f4a39
Add globalSearch x-pack plugin (#66293)
* add skeleton for global_search plugin

* base implementation of the server-side service

* add utils tests

* add server-side mocks

* move take_in_array to common folder

* implements base of client-side plugin

* add tests for server-side service

* fix server plugin tests

* implement `navigateToUrl` core API

* extract processResults for the client-side

* fetch server results from the client side

* factorize process_results

* fix plugin start params

* move things around

* move all server types to single file

* fix types imports

* add basic FTR tests

* add client-side service tests

* add tests for addNavigate

* add getDefaultPreference & tests

* use optional for RequestHandlerContext

* add registerRoutes test

* add base test for context

* resolve TODO

* common nits/doc

* common nits/doc on public

* update CODEOWNERS

* add import for declare statement

* add license check on the server-side

* add license check on the client-side

* eslint

* address some review comments

* use properly typed errors for obs

* add integration tests for the find endpoint

* fix unit tests

* use licensing start contract

* translate the error message

* fix eslint rule for test_utils

* fix test_utils imports

* remove NavigableGlobalSearchResult, use `application.navigateToUrl` instead.

* use coreProvider plugin in FTR tests

* nits

* fix service start params

* fix service start params, bis

* I really need to fix this typecheck oom error

* add README, update missing jsdoc

* nits on doc
2020-06-04 16:18:02 +02:00
James Gowdy
3d2c3f1eac
[ML] Remove assignment_explanation when cloning job (#68226) 2020-06-04 15:02:09 +01:00
James Gowdy
c9d1c1f945
[ML] Adding annotations_enabled to model plot config (#68228) 2020-06-04 14:59:27 +01:00
Hendrik Muhs
50013bfd83
[Console]remove completion for type for filter queries and aggs (#68103)
remove suggesting "type" for filter queries and aggregations, because "type"
got removed in the backend.
2020-06-04 14:30:30 +02:00
Dima Arnautov
63bb072064
[ML] Transforms: Filter aggregation support (#67591)
* [ML] WIP filter support

* [ML] value selector

* [ML] only supported filter aggs as options

* [ML] WIP apply config

* [ML] fix form persistence

* [ML] refactor

* [ML] support clone

* [ML] validation, get es config

* [ML] support "exists", fixes for the term form, validation

* [ML] fix ts issues

* [ML] don't perform request on adding incomplete agg

* [ML] basic range number support

* [ML] filter bool agg support

* [ML] functional tests

* [ML] getAggConfigFromEsAgg tests

* [ML] fix unit tests

* [ML] agg name update on config change, add unit tests

* [ML] update snapshot

* [ML] range selector enhancements

* [ML] improve types

* [ML] update step for range selector to support float numbers

* [ML] range validation

* [ML] term selector improvements

* [ML] fix switch between advanced editor

* [ML] prefix test ids

* [ML] support helper text for aggs item
2020-06-04 14:21:03 +02:00
Jean-Louis Leysens
1346b154ad
[ES UI Shared] Monaco XJSON (#67485)
* First iteration of xjson in monaco

* Throwaway implementation in painless lab - THIS MUST BE REVERTED

* WiP on build process for new kbn-lang package

* new @kbn/langs package and update ui-shared-deps

* Update jest config for new work files

* Update painless lab -- REVERT THIS COMMIT

* Create shared useXJson mode hook

* Final update to using the new shared useXJsonMode hook -- REVERT

* Created @kbn/monaco and share through shared deps

* always access monaco through `@kbn/monaco`

* use path.resolve to create path

* add basic readme

* remove console.log call

* remove typescript support from ui-shared-deps webpack config

* use `@kbn/babel-preset`

* include the monaco styles in the kbn-ui-shared-deps

* sort package.json

* build worker at bootstrap rather than commiting to repo

* only build worker, don't pre-bundle monaco

* fix type check errors

* remove section from readme about committed dist

* keep editor.worker.js postfix

* forgot to save update to import

* license package as apache-2.0

* Added regenerator runtime for worker bundle

* revert changes to painless lab

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 13:43:21 +02:00
Jean-Louis Leysens
c97f5fb03f
[Index Management] Add data streams functionality to indices tab (#67940)
* First iteration of data streams in index management

- Added the data streams column
- Moved state down to component (using withRouter)
- Removed previous middleware for syncing url hash param
- call history.push to update the url in the component

* Updated jest tests

* refactor: includeHidden -> includeHiddenIndices

* Fix types

* Fix jest test and remove getting filter param from parent

* Small refactor to read url params in render function

* Clean up old data streams code

* Fix sorting on data stream field in table

* dataStream -> data_stream

* qs > * as qs
2020-06-04 13:37:02 +02:00
Matthias Wilhelm
fa8187ba2a
[Discover] Fix renaming of saved search not displayed in breadcrumb (#67577) 2020-06-04 11:45:08 +02:00
Xavier Mouligneau
1216b0f7cd
[SECURITY] Rename siem plugin to security_solution (#67902)
* rename siem to security_solution

* rename siem to security solution inside of code

* rename translation keys

* fix snapshot

* replace siem for security solution in tutorial

* missing translation to be renamed

* fix types for api test integration

* updates runner file to match the new path

* change category for kibana settings

* miss renaming in advance settings

* fixes cypress tests

* fix api integration test

* fix new translation

* fix unit test

* update translation i18n

* update translation i18n II

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2020-06-04 05:35:13 -04:00
Shahzad
8e74275b3e
[Uptime] Fix Telemetry Api flaky test (#67358)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 10:55:10 +02:00
Alexey Antonov
6195f3eddf
[Data plugin] Add configuration property to enable / disable autocomplete (#67847)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 11:44:57 +03:00
Mikhail Shustov
0493978a6e
remove scripts. prettire update has been done (#68130) 2020-06-04 09:23:44 +02:00
Oliver Gupte
6db55aaccd
Closes #68055 by detecting the local Kibana version and using that as (#68198)
the stack version for e2e tests.
2020-06-04 08:10:43 +02:00
Brandon Morelli
c9f71dd717
[apm] docs: add deployment annotation example (#67408) 2020-06-03 21:03:04 -07:00
Quynh Nguyen
2266dd969e
[ML] Extend population preview chart to show actual and typical value (#67569)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-03 20:19:04 -05:00
CJ Cenizal
573409b9f0
Refactor index management client integration tests for scalability (#67917) 2020-06-03 16:49:38 -07:00
Marshall Main
a40076b658
Add generator function that creates multiple alerts (#67713)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-03 19:23:47 -04:00
Tiago Costa
386c3fd341
chore(NA): remove config arg from os packages (#67871)
* chore(NA): remove config arg from os packages

* chore(NA): remove args from exec on init d

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 00:10:00 +01:00
Tim Sullivan
2f67cbfa9c
[Reporting] Move code out of Legacy (#67904)
* [Reporting] Move code out of Legacy

* Elasticsearch is not a plugin dep

* add data as plugin dependo

* diff cleanup 1

* log the browser download

* Update paths in outside code for new Reporting home

* fix download test

* add numeral typing for x-pack/test

* Fix jest tests for np migration

* Shorten import paths

* remove this file, add typings to the node module

* remove local typing that has been provided by node module

* Add optional security plugin dep

* revert conflicting apm typings removal

* fix i18n

* fix snakecase whitelist

Co-authored-by: Joel Griffith <joel.griffith@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-03 15:40:56 -07:00
Chris Cowan
0b8e0c054f
[Metrics UI] Add overrides to Snapshot API to support alert previews (#68125)
* [Metrics UI] Add overrides to Snapshot API to support alert previews

* Renaming tests from infra to metrics_ui; renaming waffle to snapshot; adding tests for overrides

* removing limit and afterKey; removing extra interval

* Setting the minimum value for lookbackSize
2020-06-03 15:25:39 -07:00
Steph Milovic
0279b18a46
[Security] [Cases] Manage timeline UI API (#67719) 2020-06-03 15:51:23 -06:00
Candace Park
dd86ccf747
[ENDPOINT][INGEST]Task/endpoint ingest update (#67234)
Custom endpoint Datasource configuration in ingest

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2020-06-03 17:30:40 -04:00
Dmitry Lemeshko
77abbf257d
Fix code coverage for jest, upload merged reports (#68149)
* replace path in json files

* upload combined reports to artifacts for debug purpose
2020-06-03 22:21:28 +02:00
Constance
b3e7ab3f5c
Update documentation/examples of deprecated namespaceAgnostic field (#68039)
* Update documentation/examples of deprecated namespaceAgnostic field to namespaceType

* Update src/core/CONVENTIONS.md

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2020-06-03 12:40:11 -07:00
Kaarina Tungseth
ee323bd86e
[DOCS] Updates Canvas docs with new menus (#66061)
* [DOCS] Updates for Canvas menus

* Image set up

* Update docs/canvas/canvas-share-workpad.asciidoc

Co-authored-by: Catherine Liu <catherineqliu@outlook.com>

* Update docs/canvas/canvas-present-workpad.asciidoc

Co-authored-by: Catherine Liu <catherineqliu@outlook.com>

* Update docs/canvas/canvas-tutorial.asciidoc

Co-authored-by: Catherine Liu <catherineqliu@outlook.com>

* [DOCS] Adds Catherine's images and minor updates to content

* Final images and clean up

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
2020-06-03 14:28:33 -05:00