Commit graph

45102 commits

Author SHA1 Message Date
Yaroslav Kuznietsov
0ebe3657c1
[Canvas] Date format argument refactor. (#106496)
* Refactored date_format argument.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 09:08:40 +03:00
Jason Rhodes
3d6aa9f44d
[Stack Monitoring] Adds optional debug logging for Stack Monitoring (#107711) 2021-08-10 00:09:26 -04:00
Davis Plumlee
6b29ca1ce8
[Security Solution][Detection Page] Status filter refactor (#107249) 2021-08-09 23:00:58 -04:00
Lisa Cawley
4f535c6621
[DOCS] Updates file data visualizer details (#107609) 2021-08-09 18:42:55 -07:00
Christiane (Tina) Heiligers
5d9b9a15d8
Adds team details to core/telemetry/localization-owned plugins (#107843)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 20:45:25 -04:00
Constance
b4dfe9aeb1
Fix Kibana nav CSS overrides leaking into other plugins (#107973)
- Because we were previously not scoping our Kibana CSS overrides, loading the Enterprise Search plugin and then another plugin would cause that CSS to leak
2021-08-09 19:04:09 -04:00
Paul Tavares
a3119a5541
[Security Solution][Roles] Add Read-Only Endpoint indexes to the (Detections) role creation scripts + FTR improvements (#107086)
* Add needed indexes to the role scripts
* Moved/renamed detection engine roles and user utility to `x-pack/test/common/security_solution`
* removed duplicate code in rule_registry and instead exported same methods from `common/services/security_solution`
* new endpoint FTR service that includes methods for loading and unloading data (uses existing data indexer methods)
* Transforms: Added additional methods to the FTR Test service
2021-08-09 16:24:58 -04:00
Stacey Gammon
2230c032c6
Add a new hello world plugin and adjust the welcome message. (#107789)
* Add a new hello world plugin and adjust the welcome message.

* update and move files

* Update CODEOWNERS

* add a tsconfig.json file

* update tsconfig.json

* fix type check

* address code review comments
2021-08-09 16:22:02 -04:00
James Gowdy
f074091ef1
[ML] Adding job import export usage telemetry collection (#107772)
* [ML] Adding job import export usage telemtry collection

* removing accidental managemet type change

* adding tests

* changes based on review

* adding constant for event ids

* adding toHaveBeenCalledWith tests

* renaming tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 21:04:18 +01:00
Rashmi Kulkarni
91366f0221
Rollup - Conversion of functional test files to use custom roles and permissions and also convert esArchiver to kbnArchiver (#107818)
* updated the test to use kbnArchiver to load the data and also the test uses minimal set of roles-permissions for the test-user

lint errors

lint errors

* hybrid index pattern - conversion to kbnArchiver and the test user to use specific roles n permissions
2021-08-09 12:50:13 -07:00
Devin W. Hurley
ab43afab88
[RAC] [RBAC] Adds bulk update route to rule registry and bulk update function to alerts client (#106297)
Adds a bulk update route (POST /internal/rac/alerts/bulk_update) to the rule registry and bulkUpdate function to the alerts as data client.
2021-08-09 15:39:48 -04:00
Nathan Reese
bc171418d2
[Maps] fix fonts api (#107768)
* [Maps] fix fonts api

* update expect statement name

* eslint

* add test case for './../'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 13:17:58 -06:00
Joe Portner
475c618434
Change Role Mappings editor to use CodeEditor (#107459) 2021-08-09 15:08:43 -04:00
Byron Hulcher
bd06fcaacd
[App Search] Migrate Manage Crawls Popover and Process Crawls UI (#107839) 2021-08-09 14:46:09 -04:00
Caroline Horn
be7ec79006
[SolutionNav] Fixed tabindex and collapsible functionality (#107462)
* Fixed `tabIndex`
* Added embellishment back in
* Fixed the collapse button visibility and usability
2021-08-09 13:36:54 -04:00
Spencer
30f2289883
[perf-testing] send detailed APM data from report generation (#107592)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-09 13:36:02 -04:00
Stacey Gammon
b9f398875a
Add more information on kibana.json properties, update example plugins (#107600)
* Add more information on kibana.json properties, update example plugin kibana.jsons

* fix auto save fix

* Update anatomy_of_a_plugin.mdx

* Update anatomy_of_a_plugin.mdx

* update based on review comments

* Update anatomy_of_a_plugin.mdx

* Put kibanaVersion back and adjust the explanations of the fields

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 13:32:07 -04:00
Matthew Kime
dcd628b8a3
remove IFieldType references (#107355)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 12:25:41 -05:00
Josh Dover
f3d8431dd6
Add test harness for SO migration integration tests (#106116)
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 13:08:56 -04:00
Christiane (Tina) Heiligers
fe0fb4efb5
Changes tag saved object namespaceType to multiple-isolated (#106341)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 13:03:14 -04:00
Alejandro Fernández Gómez
3eac913c34
[Observability RAC] Leave the severity of the alerts empty if it's unknown (#107029)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 12:39:20 -04:00
Tiago Costa
da8edcbb37
chore(NA): moving @kbn/analytics to babel transpiler (#107781)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 17:08:53 +01:00
Byron Hulcher
be5f538a1b
[App Search] Migrate Delete Domain Panel (#107795)
* Add deleteDomain action to CrawlerSingleDomainLogic

* New DeleteDomainPanel component

* Added DeleteDomainPanel to CrawlerSingleDomain

* Missing tests for DeleteDomainPanel

* Abstract getDeleteDomainConfirmationMessage
2021-08-09 11:43:02 -04:00
Tiago Costa
58054c3325
chore(NA): moving @kbn/cli-dev-mode to babel transpiler (#107779)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 16:20:34 +01:00
Tiago Costa
2558194f80
chore(NA): moving @kbn/config to babel transpiler (#107763)
* chore(NA): moving @kbn/config to babel transpiler

* chore(NA): fix types

* chore(NA): include missing deps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 16:20:01 +01:00
Liza Katz
21f4de833c
Clear out unused imports (#107638)
* Clear out unused imports
Add public to some exports

* types and funzies

* flattenHitWrapper

* t

* restore

* SAD

* bad merge
2021-08-09 16:35:10 +02:00
Ester Martí Vilaseca
fafac5b488
Remove ui-library (#107533)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 16:26:25 +02:00
Liza Katz
8d90df3bca
filter FilterBar suggestions by time (according to flag) (#107192)
* filter filter bar suggestions by time (according to flag)
add api integration tests for autocomplete apis

* test fix: setDefaultAbsoluteRange

* timeRangeForSuggestionsOverride

* revert

* tests

* doc

* set time range

* Added tests following code review

* eslint

* fun-ctional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 15:58:27 +02:00
Esteban Beltran
417d093a29
[Security Solution] Move endpointdetails into its own middleware function (#107632) 2021-08-09 09:17:08 -04:00
Josh Dover
e7a05c0110
Move src/core/TESTING.md to mdx (#107039)
* Move src/core/TESTING.md to mdx

* PR comments

* Fix conventions link

* Fix FTR api config link
2021-08-09 14:03:35 +02:00
Tiago Costa
4fb20e71e1
skip flaky suite (#107856) 2021-08-09 13:02:51 +01:00
Tiago Costa
854faa4bb7
skip flaky suite (#107831) 2021-08-09 12:55:49 +01:00
Yulia Čech
c79f37f976
[ILM] Refactored policies list to use EuiInMemoryTable (#107510)
* [ILM] Created policy list context

* [ILM] Created policy action component

* [ILM] Fixed i18n errors

* [ILM] Implemented code review suggestion

* [ILM] Fixed a11y tests

* [ILM] Updated the test description

* [ILM] Renamed policy table components

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 13:50:55 +02:00
Anton Dosov
bc8530e591
Fix search sessions management UI displays wrong warning (#107556) 2021-08-09 07:43:07 -04:00
Esteban Beltran
10efecf585
[Security Solution] Adds behavior protection support for mac and linux (#107749)
* Add behaviour-protection-for-mac-and-linux

* Display the correct os names in the OS section

* Fix policy config returning windows values
2021-08-09 13:03:27 +02:00
David Sánchez
37084f759c
[Security solution][Endpoint] Refactor of event filters form test in order to use context provider. (#107725)
* adds entries.list.id field in the searchable event filters fields list

* adds test case for list.id operator

* Revert "adds entries.list.id field in the searchable event filters fields list"

This reverts commit 45a66fd966.

* Revert "adds test case for list.id operator"

This reverts commit 9dba145df2.

* Disable large value list option in operators dropdown

* Refactor event filters form test to use context provider

* Fix ts checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 12:06:55 +02:00
Ashokaditya
78cc089ec2
update linting doc (#105748)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 09:40:09 +02:00
Søren Louv-Jansen
b16d20b50a
[APM] Various improvements from #104851 (#107726) 2021-08-07 13:22:47 +02:00
renovate[bot]
244d7579e6
Update dependency @elastic/charts to v33.2.0 (master) (#107842)
* Update dependency @elastic/charts to v33.2.0

* update jest snapshot

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
2021-08-06 19:01:47 -05:00
Dave Snider
957ef4ca95
Fix default route link on kibana homepage (#107809) 2021-08-06 09:32:21 -04:00
Dario Gieselaar
2407080cc2
[APM] Invalidate trackPageview on route change (#107741)
Closes #107728.
2021-08-06 13:04:00 +02:00
Nathan L Smith
43868ac125
Service map backend links (#107317)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-06 08:19:57 +02:00
Matthew Kime
d44df74598
[index patterns] index pattern create modal (#101853)
index pattern creation flyout
2021-08-05 22:58:57 -05:00
Xavier Mouligneau
923eca0adf
[RAC] integrating rbac search strategy with alert table (#107242)
### Summary

We are integrating alert search strategy with RBAC on top of alert tables for security solution and o11y.
2021-08-05 21:10:27 -04:00
Marshall Main
28084f858d
[Security Solution] Siem signals -> alerts as data field and index aliases (#106049)
* Add aliases mapping signal fields to alerts as data fields

* Add aliases mapping alerts as data fields to signal fields

* Replace siem signals templates per space and add AAD index aliases to siem signals indices

* Remove first version of new mapping json file

* Convert existing legacy siem-signals templates to new ES templates

* Catch 404 if siem signals templates were already updated

* Enhance error message when index exists but is not write index for alias

* Check if alias write index exists before creating new write index

* More robust write target creation logic

* Add RBAC required fields for AAD to siem signals indices

* Fix index name in index mapping update

* Throw errors if bulk retry fails or existing indices are not writeable

* Add new template to routes even without experimental rule registry flag enabled

* Check template version before updating template

* First pass at modifying routes to handle inserting field aliases

* Always insert field aliases when create_index_route is called

* Update snapshot test

* Remove template update logic from plugin setup

* Use aliases_version field to detect if aliases need update

* Fix bugs

* oops update snapshot

* Use internal user for PUT alias to fix perms issue

* Update comment

* Disable new resource creation if ruleRegistryEnabled

* Only attempt to add aliases if siem-signals index already exists

* Fix types, add aliases to aad indices, use package field names

* Undo adding aliases to AAD indices

* Remove unused import

* Update test and snapshot oops

* Filter out kibana.* fields from generated signals

* Update cypress test to account for new fields in table

* Properly handle space ids with dashes in them

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-05 18:11:17 -04:00
Zacqary Adam Xeper
eed9723c85
[Metrics UI] Add checkbox to optionally drop partial buckets (#107676) 2021-08-05 14:23:33 -07:00
Zacqary Adam Xeper
e9913264c7
[Metrics UI] Fix metric threshold preview regression (#107674) 2021-08-05 13:39:22 -07:00
Alejandro Fernández Haro
74107a1fbd
Disable Product check in @elastic/elasticsearch-js (#107642)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-05 15:55:41 -04:00
Byron Hulcher
125a22c233
[App Search] Migrate Crawler Status Indicator, Crawler Status Banner, and Crawl Request polling (#107603) 2021-08-05 15:53:31 -04:00
Ryland Herrick
8665f36cf3
[Security Solution, Lists] Replace legacy imports from 'elasticsearch' package (#107226)
* Remove legacy imports from 'elasticsearch' package

This prefers the newer types from '@elastic/elasticsearch'.

There was one instance where mock data was insufficient to satisfy the
newer analogous types; in all other cases this was just a find/replace.

* Fix type errors with a null guard

We know that this mock has hits with _source values, but we cannot
convey this to typescript as null assertions are disabled within this
project. This seems like the next best solution, preferable to a
@ts-expect-error.

* Fix a few more type errors

* Replace legacy type imports in integration tests

* refactors destructuring due to _source being properly declared as
  conditional

* Update more integration tests to account for our optional _source

Changes here fall into one of two categories:

* If the test was making an assertion on a value from _source, we simply
null chain and continue to assert on a possibly undefined value.

* If the test logic depends on _source being present, we first assert that
presence, and exit the test early if absent.

* Fix more type errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-05 15:36:44 -04:00