Commit graph

45593 commits

Author SHA1 Message Date
Caroline Horn
e33cdc29c6
[Enterprise Search] Updated product_selector to match new No Data screens (#108592)
And updated product selector images to match new Kibana UI
2021-08-13 20:29:10 -04:00
CJ Cenizal
bfea4a1c2b
Add EuiCodeEditor to ES UI Shared. (#108318)
* Export EuiCodeEditor from es_ui_shared and consume it in Grok Debugger. Remove warning from EuiCodeEditor.
* Lazy-load code editor so it doesn't bloat the EsUiShared plugin bundle.
* Refactor mocks into a shared jest_mock.tsx file.
2021-08-13 16:49:55 -07:00
Marshall Main
5ef1f95711
Add signal.original_event.reason to signal_extra_fields for insertion into old indices (#108594) 2021-08-13 18:51:23 -04:00
Ross Bell
1311fe38ae
Add Workplace Search sync controls UI (#108558)
* Wip

* Things are more broken, but closer to the end goal

* Get patch request working

* Update event type

* Other two toggles

* Force sync button

* Remove force sync button for now

* Disable the checkbox when globally disabled and introduce click to save

* Wip tests

* One test down

* Test for skipping name alert

* Linter

* Fix undefined check

* Prettier

* Apply suggestions from code review

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>

* Refactor some structures into interfaces

* UI tweaks

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-08-13 18:41:17 -04:00
Sébastien Loix
b24d44d165
[Index pattern field editor] Add preview for runtime fields (#100198) 2021-08-13 18:27:23 -04:00
Clint Andrew Hall
d78d66d424
[canvas] Create Labs Service; remove legacy service (#107354) 2021-08-13 17:31:37 -04:00
Ece Özalp
f952643e54
[CTI] adds securitySoluion:defaultThreatIndex uiSetting (#108389) 2021-08-13 16:32:32 -04:00
Tim Sullivan
8ea29b6c5a
[Reporting] Implement a round of server code cleanup of types, unused files, and test mocks (#108480)
* rewrite createMockLevelLogger

* Remove redundant BaseParams references that were inlined

* remove unused files related to the 7.x compatibility shim

* remove unused legacy mock
2021-08-13 13:12:33 -07:00
Tim Sullivan
2fb785de64
[Reporting/Mgmt] Fix the missing deprecation warning under job status (#108484)
* [Reporting/Mgmt] Fix the missing deprecation warning under job status

* improve unit test

* add space before the text and update snapshots
2021-08-13 13:11:35 -07:00
Paul Tavares
3b31ffc5fd
[Security Solution][Endpoint] Improve logic for determining count of pending actions and reenable pending status on UI (#108114)
- Re-enable display of Pending isolation status on the UI along with a experimental feature flag to be able to turn it back off
- Improves the logic around determining if an isolation action has actually been processed by the Endpoint by looking for an endpoint metadata update whose `event.created` timestamp is more recent than the timestamp on the isolation Action Response. The goal is to minimize/avoid the UX around isolation where a user might not see the result from the Endpoint (isolated or released) after having seen the pending status on the UI.
- Add some protective code around our server side license watcher so that failures are not bubbled up and instead are logged to the kibana logs
- Added new `findHostMetadataForFleetAgents()` method to the `EndpointMetadataService`
- Added test mocks for `EndpointMetadataService` and tests for new method
2021-08-13 15:42:14 -04:00
Frank Hassanabad
c922005644
Changes out cypress pipe (#108457)
## Summary

Reduces flake by changing out a Cypress pipe for a `cy.wait`. This UI element does unusual things that make it unfit for Cypress pipe such as multiple clicks against it will cause the component to have a dialog appear and disappear with transition effects which can make pipe not able to click once when the click handler is present.


### 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-08-13 13:41:17 -06:00
Nathan Reese
505043898e
[Maps] 'show this layer only' layer action (#107947)
* [Maps] 'show this layer only' layer action

* review feedback

* remove ts code from js file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 13:38:57 -06:00
Apoorva Joshi
c6dc6e207a
Adding host_risk_score_latest to the list of patterns to track for telemetry (#108547)
* Adding host_risk_score_latest to the list of patterns to track for telemetry

* Adding a test

* Removing extra spaces at end of line- should make the linter happy
2021-08-13 11:04:42 -07:00
Brandon Morelli
79eb426a8f
docs: Add anonymous auth to central config (#108285) 2021-08-13 10:59:01 -07:00
Tiago Costa
79f1e18686
chore(NA): moving @kbn/io-ts-utils to babel transpiler (#108517)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 18:39:35 +01:00
Tiago Costa
560bd0b57b
chore(NA): moving @kbn/es-archiver to babel transpiler (#108370)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 18:38:56 +01:00
Clint Andrew Hall
2d385b339d
[canvas] Fix setup server expressions cache; move to mount (#108473) 2021-08-13 13:19:16 -04:00
Clint Andrew Hall
44014c78b6
[canvas] Create Custom Elements Service (#107356)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 13:08:50 -04:00
Jason Stoltzfus
f3e094c836
[App Search] Added a CrawlRulesTable to the Crawler view (#108458) 2021-08-13 13:08:46 -04:00
Joe Portner
e35be9d87c
Fix flaky security/spaces tests (#108088) 2021-08-13 13:05:11 -04:00
Luke Elmers
57e395540d
[docs] Update Maps docs based on 7.14 UI. (#104762) 2021-08-13 10:51:38 -06:00
Marta Bondyra
e33daccca3
[Lens] Disable the global timepicker for index pattern without primary timefield and visualizations without timefield (#108052) 2021-08-13 18:24:00 +02:00
Sandra G
dd85150f73
[Monitoring] Convert elasticsearch_settings dir to typescript (#108112)
* convert elasticsearch_settings dir files to typescript

* fix type

* change tests to ts
2021-08-13 12:07:46 -04:00
Dima Arnautov
fe3b7d61c8
[ML] Fix the Job audit messages service (#108526)
* [ML] refactor to ts

* [ML] fix types
2021-08-13 11:55:38 -04:00
Walter Rafelsberger
fa3ae84b5b
[ML] APM Latency Correlations: Improve log log chart loading behavior and axis ticks. (#108211)
- Makes use of ChartContainer to improve the loading behavior of the log log chart to include a loading indicator.
- Improves y axis ticks for the log log chart. Will set the max y domain to the next rounded value with one more digit, for example, if the max y value is 4567, the y domain will be extended to 10000 and 10000 being the top tick. This makes sure we'll always have a top tick, fixes a bug where with low number <10 we'd end up with just a low 1 tick.
- Improves x axis ticks to support different time units.
2021-08-13 11:52:04 -04:00
Casper Hübertz
4a1366ca52
[APM] Change table SparkPlot content properties (#108516) 2021-08-13 17:01:56 +02:00
Tiago Costa
7dc24e65d6
chore(NA): upgrades bazel rules nodejs into v3.8.0 (#108471) 2021-08-13 15:24:51 +01:00
Brian Seeders
212b1898e6
Revert "[Enterprise Search] Set up basic scaffolding for Cypress tests in Kibana (#108309)" (#108541)
This reverts commit 4d7aa45e14.
2021-08-13 10:10:53 -04:00
Jason Stoltzfus
5bfba1b014
[App Search] Added a SitemapsTable to the Crawler view (#108405) 2021-08-13 10:00:48 -04:00
Ece Özalp
a8b4433294
[CTI] Fixes AlienVaultOTX counts on the Overview page (#108448) 2021-08-13 09:50:43 -04:00
Dario Gieselaar
a474a63a7f
[APM] Make environment & kuery required (#108338) 2021-08-13 09:50:14 -04:00
Tiago Costa
3c75b1faf5
skip flaky suite (#106660) 2021-08-13 14:15:45 +01:00
Kevin Qualters
dcfb19fb53
Reposition the take action popover on scroll (#108475) 2021-08-13 08:51:52 -04:00
David Sánchez
37053e6a8d
[Security solution][Endpoint] Don't hide "add trusted app" button if we are checking if data exists and there was data before (#108373)
* Don't hide add button if we are checking if data exists and there was data before

* Moves duplicated code in a useCallback
2021-08-13 14:37:50 +02:00
Jen Huang
7fb30ba6f4
[Fleet] Link to Add Data (Beats tutorials) when there are no integrations found (#108224)
* Link to add data/beats tutorials when there are no integrations found

* Address PR feedback + fox i18n

* Update integrations page subtitle

Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
2021-08-13 08:22:52 -04:00
Jean-Louis Leysens
6a7cb09764
[Dashboard] Minor copy tweak for copy to dashboard action 2021-08-13 07:26:53 -04:00
Dario Gieselaar
444355cdc3
[APM] Index reason field for alerts (#108019) 2021-08-13 07:05:45 -04:00
Cauê Marcondes
3b4dca1efb
[APM] Backends UI: Show "NEW" badge in the Observability solution nav for the new Backends view (#108397)
* adding badge to obs nav

* addressing PR comments

* refacroting
2021-08-13 06:38:54 -04:00
Rudolf Meijering
ebdda25fa8
migrationsv2: handle 413 errors and log the request details for unexpected ES failures (#108213)
* Log the failing request and response code when an action throws a response error

* Provide useful log message when migrations fail due to ES 413 Request Entity Too Large

* Don't log request body for unexpected ES request failures

* Fix types

* CR feedback: fix order of ES request debug log

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 11:44:07 +02:00
Esteban Beltran
8cc5f49eeb
[Security Solution] Move Endpoint details flyout and related middleware to their own functions (#108330)
* Split function to load endpoint details using parameters

* Add action to load endpoint details

* Moving all the endpoint details content to a separate component

* Rename endpoint details to endpoint details content

* Rename temporal file into EndpointDetails

* Remove unused dispatch

* Refactor ingestPolicies dispatching in the middleware
2021-08-13 09:54:58 +02:00
Aleh Zasypkin
dc1ceefbfd
Bump Node.js from version 14.17.3 to 14.17.5. (#108324) 2021-08-13 09:26:42 +02:00
Yaroslav Kuznietsov
ac0d785eba
[Canvas] DatasourcePreview refactor. (#106644)
* Moved `DatasourcePreview` from `recompose` to `hooks`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 08:55:40 +03:00
Yaroslav Kuznietsov
3e542e556a
[Canvas] ESFieldSelect refactor. (#107004)
* Refactored `ESFieldSelect`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 08:54:46 +03:00
Davey Holler
21397b65e8
Enterprise Search UI Copy Pass (#107812)
* First session of copy passes. More to come.

* Setup guide copy changes

* can not → cannot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-12 21:55:14 -04:00
Chris Roberson
b5bd063f51
Deprecate ability to disable alerting, actions, task manager, stack alerts, and event log plugins (#108281)
* Add deprecation warnings for .enabled config for all our plugins

* Add tests

* Add stackAlerts

* Fix stack alerts

* Add tests

* Add triggers_action_ui

* Add deprecated warning to the docs
2021-08-12 21:34:05 -04:00
liza-mae
e235a0a8b0
Fix unhandled promise rejection (#108430)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-12 18:39:14 -06:00
DeviousLab
6a053a5d10
[APM] Update throughput chart tooltip content (#108351) 2021-08-12 20:04:43 -04:00
Caroline Horn
ba14713623
[KibanaPageTemplate] Adding a noDataConfig for templated add data screens (#108293) 2021-08-12 20:01:54 -04:00
Constance
4d7aa45e14
[Enterprise Search] Set up basic scaffolding for Cypress tests in Kibana (#108309)
* Set up tsconfigs

- Required if we're going to have several different Cypress suites (one for each plugin/product essentially) in order for global cy.() commands and it()/describe() to register as expected

@see https://docs.cypress.io/guides/tooling/typescript-support#Clashing-types-with-Jest

* Set up shared commands and routes

NOTE: Unlike ent-search, shared/ will *not* have its own set of tests - rather, shared/cypress is a resource/set of helpers for other test suites to extend/import/etc.

* Create basic Enterprise Search Overview E2E tests

- For happy path testing, we _likely_ shouldn't need more than these tests going forward

- If we ever want to add an error connecting test however, this is likely where it should go (or alternatively, use Kibana's FTR with Enterprise Search host set but not spun up)

* Set up App Search Cypress test scaffolding

- placeholder/hello world test only

* Set up Workplace Search Cypress test scaffolding

- placeholder/hello world test only

* Add helper script and update README

* Add config setup & documentation for potentially running Cypress against Kibana functional server

* PR feedback: Remove unnecessary return true
2021-08-12 17:58:26 -04:00
Devon Thomson
33f3933118
[Dashboard] [Embeddable] Add Ability to Defer Embeddable Loaded State (#107227)
Added defer embeddable loading flag to embeddable for embeddables which aren't finished loading after their constructor is finished
2021-08-12 17:43:57 -04:00