Commit graph

40988 commits

Author SHA1 Message Date
Tim Sullivan
348472cd59
[Reporting] Clean up test helpers and mocks (#92550)
* [Reporting] Clean up logger instances and mocks

* revert logging changes, just keep test changes

* remove fluff

* clean up too much logger.clone

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 10:19:13 -07:00
Jonathan Buttner
b5cd44e7ac
[Security Solution][Case][Bug] Only add rule object for alert comments (#92977)
* Adding test for alert rule fields migration

* Fixing directory issue

* Add more descriptive message

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 11:14:14 -05:00
Christos Nasikas
4ab91daa2d
[Security Solution][Case] Show the current connector name in case view (#93018) 2021-03-01 18:09:09 +02:00
Angela Chuang
1fa774cfe9
[Security Solution] Remove unused mock data (#92357)
* update mocked index

* update mocked index

* update mocked index

* remove unused mock data

* update mock data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 15:25:12 +00:00
Frank Hassanabad
4b42574846
Adds mapping to the signals for the indicator rules that were missing (#92928)
## Summary

Indicator rules were missing the mappings and the copy code for when they were being created. This fixes that.

**Manual testing instructions**

Add an indicator rule:
<img width="1075" alt="Screen Shot 2021-02-25 at 3 33 05 PM" src="https://user-images.githubusercontent.com/1151048/109229217-37c35700-7780-11eb-9988-573d53f2c076.png">

Then after it fires check that it shows up in the timeline and tables and also check that it is queryable:
<img width="473" alt="Screen Shot 2021-02-25 at 3 31 48 PM" src="https://user-images.githubusercontent.com/1151048/109229261-4a3d9080-7780-11eb-808b-06fb0e9e4099.png">
<img width="509" alt="Screen Shot 2021-02-25 at 3 32 12 PM" src="https://user-images.githubusercontent.com/1151048/109229269-4c075400-7780-11eb-96bd-2464a7ac555e.png">
<img width="1390" alt="Screen Shot 2021-02-25 at 3 39 20 PM" src="https://user-images.githubusercontent.com/1151048/109229290-545f8f00-7780-11eb-982c-4506552973df.png">

### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-03-01 08:43:43 -06:00
Tiago Costa
31041af43c
skip flaky suite (#85208) 2021-03-01 13:34:10 +00:00
Joe Portner
8710a81bea
Cleanup spaces plugin (#91976) 2021-03-01 07:56:44 -05:00
Uladzislau Lasitsa
ccf1fcc00e
Control round and decimal places in Gauge Visualization when using aggregate functions like average (#91293)
* Add field for providing format in percentage mode

* Fix CI

* Add tests

* Fix ci

* Fix some remarks

* Fix ci

* Fix some remarks

* Fix ci

* Fix width

* Fix some remarks

* Fix text

* Fix i18n

* Remove unneeded import

* Remove unneeded code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 14:58:16 +03:00
Shahzad
b3499f0849
Added alerting ui mock for jest test (#92604)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 12:55:41 +01:00
Vadim Dalecky
99929433a4
Remove "beta" label from URL Drilldown as it is now GA (#92859)
* fix: 🐛 remove "beta" label from URL Drilldown as it is now GA
2021-03-01 12:54:07 +01:00
Felix Stürmer
c116477198
[Logs UI] Round up the end timestamp in the log stream embeddable (#92833)
This fixes the interpretation of the end timestamp in the log stream embeddable such that it rounds it up. Without this a date range of `now/d` to `now/d` would be resolved to a zero-duration time range even though the date picker semantics are "Today".
2021-03-01 08:59:03 +01:00
Tiago Costa
c6336e50bf
skip flaky suite (#91939) 2021-02-28 00:56:02 +00:00
Tiago Costa
58a5a7c67d
skip flaky suite (#89072) 2021-02-28 00:47:40 +00:00
Dario Gieselaar
38bcde1aea
[APM] Include services with only metric documents (#92378)
* [APM] Include services with only metric documents

Closes #92075.

* Explain as_mutable_array

* Use kuery instead of uiFilters for API tests
2021-02-27 08:44:47 +01:00
Jonathan Buttner
993ac50105
[Security Solution][Case][Bug] Improve case logging (#91924)
* First pass at bringing in more logging

* Adding more logging to routes

* Adding more logging fixing tests

* Removing duplicate case string in logs

* Removing unneeded export

* Fixing type error

* Adding line breaks to make the messages more readable

* Fixing type errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-26 12:48:09 -05:00
Yuliia Naumenko
83234aad2d
[Alerts][Doc] Added README documentation for alerts plugin status and framework health checks configuration options. (#92761)
* [Alerts][Doc] Added README documentation for alerts plugin status and framework health checks configuration options.

* Apply suggestions from code review

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-26 08:48:51 -08:00
Marshall Main
910a19f3c4
Add warning for EQL and Threshold rules if exception list contains value list items (#92914) 2021-02-26 10:25:06 -05:00
Christos Nasikas
c2877a6d96
[Security Solution][Case] Fix subcases bugs on detections and case view (#91836)
Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
2021-02-26 15:35:43 +02:00
Dario Gieselaar
a1d2d870d3
[APM] Always allow access to Profiling via URL (#92889) 2021-02-26 10:37:24 +01:00
Uladzislau Lasitsa
4192ea71c3
[Vega] Allow image loading without CORS policy by changing the default to crossOrigin=null (#91991)
* changing the default to crossOrigin=null in Vega

* Fix eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-26 10:04:44 +03:00
Tiago Costa
3d9139089f
skip flaky suite (#92114) 2021-02-26 02:58:55 +00:00
Oliver Gupte
7aae6c5f50
[APM] Fix for default fields in correlations view (#91868) (#92090)
* [APM] Fix for default fields in correlations view (#91868)

* removes useCallback hook

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 18:56:06 -08:00
Tiago Costa
d0e9b5133c
chore(NA): bump bazelisk to v1.7.5 (#92905) 2021-02-26 00:48:47 +00:00
Nathan Reese
e409405ccb
[Maps] fix selecting EMS basemap does not populate input (#92711)
* [Maps] fix selecting EMS basemap does not populate input

* tslint
2021-02-25 17:09:52 -07:00
Stacey Gammon
3df61f7602
API docs (#92827) 2021-02-25 18:36:47 -05:00
Spencer
0aabc317ec
[kbn/test] add import/export support to KbnClient (#92526)
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 16:13:27 -07:00
Rashmi Kulkarni
9c527347ef
Test fix management scripted field filter functional test and unskip it (#92756)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping the functional test, removing the unload and adding an empty kibana in the after method
2021-02-25 14:11:11 -08:00
Constance
0198607eb3
[App Search] Create Curation view/functionality (#92560)
* Add server route and logic listener

* [Misc] Remove 'Set' from 'deleteCurationSet'
- to match createCuration

- IMO, this language isn't necessary if we're splitting up Curations and CurationLogic - the context is fairly evident within a smaller and more modular logic file

* Add CurationQueries component

+ accompanying CurationQueriesLogic & CurationQuery row

* Add CurationCreation view
2021-02-25 17:07:05 -05:00
Tim Sullivan
fd348d3f82
[Reporting/Discover] include the document's entire set of fields (#92730)
* fix get_sharing_data to provide a list of fields if none are selected as columns in the saved search

* add logging for download CSV that fields must be selected as columns

* add more functional test coverage

* fix ts in test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 14:47:04 -07:00
Paul Tavares
cb60584571
[Fleet] Add new index to fleet for artifacts being served out of fleet-server (#92860)
* Added index definition for artifacts
2021-02-25 16:42:50 -05:00
Yuliia Naumenko
ad19f821d6
[Alerts][Doc] Added README documentation for API key invalidation configuration options. (#92757)
* [Alerts][Doc] Added README documentation for API key invalidation configuration options.

* Apply suggestions from code review

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-25 12:49:00 -08:00
Matthias Wilhelm
3894ecf862
[Discover][docs] Add search for relevance (#90611)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-02-25 21:45:14 +01:00
Yuliia Naumenko
0627573dbd
[Alerts][Docs] Extended README.md and the user docs with the licensing information. (#92564)
* [Alerts][Docs] Extended README.md and the user docs with the licensing information.

* Apply suggestions from code review

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* fixed due to comments

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-25 12:41:48 -08:00
Pete Hampton
9306663115
[7.12][Telemetry] Security telemetry allowlist fix. (#92850)
* Security telemetry allowlist fix.

* Also add process.thread.
2021-02-25 15:15:09 -05:00
Sandra Gonzales
fa4dda0def
[Metrics UI] use global kibana time for metrics explorer in Default View (#92520)
* use global kibana time for explorer, stop using local storage for time

* fix inventory time
2021-02-25 14:26:34 -05:00
Wylie Conlon
272bf97e31
[Discover] Fix persistence of "hide/show chart" in saved search (#92731) 2021-02-25 14:17:47 -05:00
Spencer
1f58bc2ebb
[ts] disable forceConsistentCasingInFileNames, it seems broken (#92849)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 13:59:02 -05:00
Yuliia Naumenko
83b22dc568
[Actions][Doc] Added user doc for default value for PagerDuty deduplication key. (#92746)
* [Actions][Doc] Added user doc for default value for PagerDuty deduplication key.

* Apply suggestions from code review

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-25 10:56:32 -08:00
Kerry Gallagher
c561a18b1e
[Logs UI] Hide Create Alert option when user lacks privileges (#92000)
* Hide Create Alerts option when lacking permissions
2021-02-25 18:44:47 +00:00
joxley-elastic
06d966eca5
[Console] Autocompletion of component_templates (#91180) 2021-02-25 13:30:59 -05:00
James Gowdy
3b66bf7cc5
[ML] Adding ml_capabilities api tests (#92786)
* [ML] Adding ml_capabilities api tests

* updating test text

* changes based on review
2021-02-25 18:24:39 +00:00
Nathan Reese
37d7ea2713
[Maps] fix index pattern references not extracted for tracks source (#92226)
* [Maps] fix index pattern references not extracted for tracks source

* merge with master

* tslint

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 11:11:15 -07:00
Jean-Louis Leysens
2d011e2b95
[Rollup] Fix use of undefined value in JS import (#92791)
* Remove use of undefined import

* added component integration test for default value in frequency
2021-02-25 18:09:14 +01:00
Jean-Louis Leysens
bc347d8633
[ILM] Fix replicas not showing (#92782)
* remove logic that disables SS action in cold if no rollover and always show replicas field

* update test coverage to be consistent with new form behaviour and expand hot phase without rollover test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 18:05:19 +01:00
Yuliia Naumenko
bd38d4aab2
[Event Log] Extended README.md with the documentation for a REST API and Start plugin contract. (#92562)
* [Event Log] Extended README.md with the documentation for a REST API and Start plugin contract.

* Apply suggestions from code review

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* fixed due to comments

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-25 08:59:30 -08:00
Stratoula Kalafateli
0b15a06f8a
[XY] Enables page reload toast for the legacyChartsLibrary setting (#92811) 2021-02-25 18:43:02 +02:00
Christos Nasikas
a3760ce988
[Security Solution][Case] Improve hooks (#89580) 2021-02-25 18:30:02 +02:00
Angela Chuang
6c96fbbddc
[Security Solution] Update wordings and breadcrumb for timelines page (#90809)
* update wordings

* unit tests

* remove tabName from breadcrumbs

* update wordings

* change default status of timelines to null

* fix loading message

* update select timeline wording

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 16:21:49 +00:00
Ece Özalp
6b91f480f5
[Security Solution] Replace EUI theme with mocks in jest suites (#92462)
Previously there were a large number of jest specs that utilized
the ThemeProvider (from styled-components package) to inject EUI
themes into the mounted components. The full EUI theme is almost
never necessary for unit tests as each tested component usually
consumes no more than a single field or two from the EUI theme.
In certain cases, the theme was not used at all. This change is
intended to remove all unnecessary ThemeProviders from the suites,
and replaces the imported EUI theme json files with mock themes
customized for each tested component. With this change, snapshots
are now significantly smaller, and tests are lighter.

Closes #64092.
2021-02-25 11:00:42 -05:00
Vadim Dalecky
805e729bdb
docs: ✏️ use correct heading level (#92806)
* docs: ✏️ use correct heading level

* docs: ✏️ correct heading in data plugin
2021-02-25 16:44:13 +01:00