Commit graph

1399 commits

Author SHA1 Message Date
Stratoula Kalafateli
6f4d8a52dc
[Vislib] Removes old implementation of xy chart (#110786)
* [Vislib] Remove xy chart

* Update i18n

* Remove uncecessary file

* Fix types

* More fixes

* Fix functional tests part 1

* Fix functional tests part 2

* Fix bug with shard-delay

* Fix functional tests part 3

* fix functional tests part4

* Fix async_serch FT

* Fix functional dashboard async test

* REplace screenshot area chart image

* Cleanup vislib from xy charts

* Remove unused fixtures

* Address PR comments

* Remove miaou :D

* Address PR comments

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 18:35:51 +03:00
Ahmad Bamieh
436bb0fea5
[i18n] Integrate 7.15.0 Translations (#111488) 2021-09-08 14:59:39 +03:00
Christiane (Tina) Heiligers
b1a81bb5e0
Remove unused legacy import code (#111071)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-07 07:01:35 -07:00
Yaroslav Kuznietsov
eef094bafb
[Canvas] TagCloud (#106858)
* Added `tagCloud` to canvas.

* Added `icon` to the `tagCloud` element.

* Added column name support at `tag_cloud`.

* Added condition to `vis_dimension` not to pass invalid index.

Added check of accessor index, if such column exists at vis_dimension.
Removed checks of column existance from TagCloudChart.
Added test for accessing data by column name in addition to a column number.
Updated tag_cloud element in Canvas.
Fixed types. Removed almost all `any` and `as` types.

* Added test suites for `vis_dimension` function.

* Added tests for DatatableColumn accessors at tag_cloud_fn and to_ast.

* Refactored metrics, tagcloud and tests.

Added valid functional tests to metrics and tag_cloud.
Fixed types of metrics_vis.
Added handling of empty data at tag_cloud renderer.

* Added storybook ( still doesn't work ).

* Fixed some mistakes.

* Added working storybook with mocks.

* Added clear storybook for tag_cloud_vis_renderer.

* Updated the location of vis_dimension test after movement of the function.

* Fixed unused type.

* Fixed tests and added handling of the column name at `visualizations/**/*/prepare_log_table.ts`

* Reduced the complexity of checking the accessor at `tag_cloud_chart.tsx`

* Added comments at unclear places of code.

* Added the logic for disabling elements for renderers from disabled plugins.

* removed garbage from `kibana.yml`.

* Fixed element_strings.test error.

* Made changes, based on nits.

* Fixed mistake.

* Removed `disabled` flag for `expression_*` plugins.

* recovered lost comments at the unclear places.

* removed dead code.

* fixed test errors.

* Fixed test error, I hope.

* fixed more tests.

* fixed code, based on nits.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-06 04:13:38 -04:00
Christiane (Tina) Heiligers
66cb058fa7
Removes support for legacy exports (#110738)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 07:22:14 -07:00
Davis Plumlee
9c165a1bc4
[Security Solution][Detection Rules] Changes 'activated' text on rule details page (#111044) 2021-09-02 23:45:15 -04:00
Byron Hulcher
f3bb942845
Remove beta tag from Crawler document ingestion card (#110922) 2021-09-02 11:12:07 +02:00
Constance
47b86e1bf7
Upgrade EUI to v37.3.1 (#109926)
* Upgrade EUI to v37.3.1

* Update i18n token mappings

* Skip i18n_eui_mapping defString checks for functions

* Update snapshots

* Update failing Security tests with extra nodes

* Remove hook cleanup now that elastic/eui#5068 is merged

* [i18n PR feedback] Prefer specific token skipping over all functions skipping

* Revert "Remove hook cleanup now that elastic/eui#5068 is merged"

This reverts commit e40ebfa929.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 08:39:20 -07:00
Xavier Mouligneau
16af3e95cb
[RAC] Remove rbac on security solution side (#110472)
* wip to remove rbac

* Revert "[Cases] Include rule registry client for updating alert statuses (#108588)"

This reverts commit 1fd7038b34.

This leaves the rule registry mock changes

* remove rbac on Trend/Count alert

* update detection api for status

* remove @kbn-alerts packages

* fix leftover

* Switching cases to leverage update by query for alert status

* Adding missed files

* fix bad logic

* updating tests for use_alerts_privileges

* remove index alias/fields

* fix types

* fix plugin to get the right index names

* left over of alis on template

* forget to use current user for create/read route index

* updated alerts page to not show table when no privileges and updates to tests

* fix bug when switching between o11y and security solution

* updates tests and move to use privileges page when user tries to access alerts without proper access

* updating jest tests

* pairing with yara

* bring back kbn-alerts after discussion with the team

* fix types

* fix index field for o11y

* fix bug with updating index priv state

* fix i18n issue and update api docs

* fix refresh on alerts

* fix render view on alerts

* updating tests and checking for null in alerts page to not show no privileges page before load

* fix details rules

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
2021-09-01 04:23:44 -04:00
Cauê Marcondes
31057f7215
[APM] "Backends" naming (#110523)
* renaming backends to dependencies

* changing name on service maps
2021-09-01 00:01:10 -04:00
Quynh Nguyen
42acf39a70
[ML] Populate date fields for Transform (#108804)
* [ML] Add index pattern info & select control for date time

* [ML] Update translations

* [ML] Gracefully handle when index pattern is not available

* [ML] Fix import

* [ML] Handle when unmounted

* [ML] Remove load index patterns because we don't really need it

* [ML] Add error obj to error toasts

* [ML] Update tests

* [ML] Update hook

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 13:08:17 -05:00
Nathan L Smith
3bae4cdc06
Add inspector panel for APM routes (#109696)
When the observability:enableInspectEsQueries advanced setting is enabled, show an inspector that includes all queries through useFetcher.

Remove the callout.
2021-08-31 11:10:54 -05:00
Patryk Kopyciński
3d4b5c595d
[Osquery] Fix 7.15 BC3 issues (#110425) 2021-08-30 22:57:54 +02:00
Nathan Reese
9e1a4dda42
[Maps] remove map.regionmap.* (#109896)
* remove regionmap config

* clean-up

* clean up docs and i18n cleanup

* telemetry check fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 12:55:03 -06:00
Matthew Kime
8babdc2462
Remove index pattern placeholder advanced setting (#110334)
* remove index pattern placeholder setting

* remove unused translations
2021-08-26 17:55:37 -05:00
Kyle Pollich
99071ecbb2
[Fleet] Fix upgrades for packages with restructured inputs (#109887)
* Fix upgrades for packages with restructured inputs

Addresses errors surfaced when testing upgrades from AWS 0.6.1 to 0.10.4.
Namely, when inputs are removed from a package between versions,we were
initially throwing errors for each input in the new package that didn't
exist on the outdated package version. Now, we instead simply skip over
cases like this in which an input no longer exists on the new package version.

* Add basic test cases for restructured packages
2021-08-25 16:50:42 -04:00
Diana Derevyankina
e3a6fc59f3
Chore(TSVB): Replace aggregations lookup with map (#109424)
* Chore(TSVB): Replace aggregations lookup with map

* Fix types, update test expected data and remove unused translations

* Correct typo and refactor condition in std_metric

* Fix metric type

* Fix CI and label for Bucket Script

* Update agg_utils.test expected data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-25 13:06:24 +03:00
Dmitry Shevchenko
f0bf877686
Update Missing Privileges callout (#109420) 2021-08-24 12:55:48 +02:00
Jason Stoltzfus
d9e0b981df
Remove CrawlerLanding page (#109712)
* Remove CrawlerLanding page

The CrawlerLanding page was being shown in non-development versions.
Now that we are at 7.15, CrawlerOverview should be shown all of the
time instead.

* Remove translations from ja-JP and zh-CN

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-08-23 22:27:59 -04:00
Lukas Olson
0a8d42c80b
[data.search] Remove deprecated courier:batchSearches advanced setting (#109350)
* [data.search] Handle warnings inside of headers

* Update docs

* Add tests

* Remove isWarningResponse

* Remove deprecated courier:batchSearches advanced setting

* Update docs

* Remove legacy tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 09:31:13 -07:00
Greg Thompson
873f2e23a9
Upgrade EUI to v37.3.0 (#109157)
* eui to 37.3.0

* i18n tokens

* reinstate discover_grid_flyout test

* more i18n tokens

* snapshot updates

* fix jest failures

* update cell position pattern

* clean up pattern

* buttongroup click -> change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 11:12:02 -05:00
Joe Portner
65e04b1380
Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
Quynh Nguyen
63ef9d10b0
[ML] Fix UI inconsistencies in APM Failed transaction correlations (#109187)
- Show the same empty state in the correlations table
- Add "Correlations" title above the table
- Add EuiSpacer between the sections before and after progress
- Update the copy within the beta badge title=Failed transaction correlations description=Failed transaction correlations is not GA...
- Remove s size from the beta badge
- Move the help popover to the top of the panel (similar to the Latency correlations tab)
- Move the Cancel/Refresh option to the right of the progress bar (similar to the Latency correlations tab)
- When the correlation job is running the correlations tab should show a loading state similar to the latency correlations table
- Indicate in the table headers Score is sorted by default
- Add sortability to both Latency and failed transactions correlations table
- Refactor to prevent duplicate code/components like Log, progress bar
- Fix alignments of the tab content header (previously navigating from one Trace samples tab to Latency correlation tabs will cause a minor jump in the header, or the titles within the same tab were not the same size )
- Remove the event.outcome as a field candidate (because event.outcome: failure would always be significant in this case)
- Shrink the column width for impact (previously it was at 116px)
- Added badge for High, medium, low [APM] Correlations: Show impact levels (high, medium, low) as colored badges indicating their severity
- Fix license prompt text
- Functional tests for the new tab
- Make the p value & error rate columns visible only when esInspect mode is enabled
2021-08-23 07:28:18 -04:00
Yaroslav Kuznietsov
237fcac254
[Canvas] Expression tagcloud (#108036)
* Added `expression_tagcloud` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 06:52:19 -04:00
Devon Thomson
95463f47f3
[Dashboard] Remove Legacy Dashboard Only Mode (#108103)
Remove all dashboard only mode code and tests. Align dashboard permissions to use showWriteControls only
2021-08-20 15:39:10 -04:00
Alison Goryachev
fcd89703f7
[Upgrade Assistant] New ES deprecations page (#107053) 2021-08-20 08:54:50 -04:00
Alejandro Fernández Gómez
5fd903b7fe
[RAC] Enable workflow status filtering (#108215)
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 12:07:09 +02:00
Søren Louv-Jansen
a93a7efa80
[APM] Refactor Cypress e2e tests (#109024)
* Improve script to setup users and roles

* fix readme

* CI fixes

* add index permissions to roles

* disable welcome screen

* Run es archive once before tests

* Fix ts issues

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-08-19 16:46:25 +02:00
Nathan Reese
dd9dd52718
[maps] remove tile_map, region_map, and maps_legacy plugins (#105326)
* [maps] remove tile_map plugin

* initial bounds

* update embeddable query context

* start editor

* remove tile_map from tsconfig and i18n cleanup

* implement view in maps button

* tslint

* remove empty lines

* remove tileMap from limits.yml

* remove region_map and maps_legacy plugins

* region_map vis with Map embeddable

* make MapComponent

* lint

* clean up

* shorten text

* lint

* remove region_map from interpreter functional tests

* update docs

* add migration for removing ui_settings

* remove tile_map and region_map functional tests

* tslint

* call handlers.done when layers are loaded

* fix visualize create menu test

* eslint

* add owner comment to ui_settings/saved_objects/migrations.ts

* remove deleted plugins from codeowners

* review feedback

* use correct value for TILE_MAP_RENDER

* down select mapModules for getLayerDescriptors callback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 12:51:31 -06:00
mgiota
ed78d4b700
[RAC][Observability] temporarily hide severity column (#109004)
* [RAC][Observability] temporarily hide severity column

* remove severity from flyout & rename Trigerred to last updated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 12:01:42 -04:00
Candace Park
7a1ece68a2
[Security Solution][Endpoint][TrustedApps] Update trusted apps ui (#108583) 2021-08-18 03:49:06 -04:00
Ignacio Rivas
1d98cb6512
[Upgrade Assistant] Overview page redesign (#106521) 2021-08-18 09:12:55 +02:00
Davis Plumlee
fc1a2bbd1b
[Security Solution][Detection Alerts] Changes in-progress status to acknowledged (#107972) 2021-08-18 02:12:16 -04:00
Walter Rafelsberger
2908ecef3b
[ML] APM Latency Correlations UX improvements/fixes (#108860)
- Tweak label for log log chart data series for all transactions.
- Show tip to drag to select a range in the Trace samples distribution chart panel.
- Change the selected range label and clear selection option to `EuiBadge` with click action and tooltip on hover 'Clear selection'.
- Move the 'current sample' annotation to the bottom axis to not overlap with the 95p annotation marker.
- Move the help popover to the top of the panel.
- Move the refresh/cancel option to the right of the progress bar.
- Always display the table for correlations.
- Show improved empty state using the `EuiEmptyPrompt` for the correlations table when no significant correlations are found.
- Fix Filter behaviour: when clicking on the filter item, jump to show top of page where the filter bar is evident, and reset the correlation tabs and show the Trace Samples tab
- Fix updating the log log chart and correlation service when the user changes the kquery or time span.
2021-08-17 23:35:21 -04:00
Kyle Pollich
b1253db197
[Fleet] Improve API logic for package policy upgrades (#108924)
* Improve API logic for package policy upgrades

- Allow dry runs to be invoked for non-installed package versions
- Re-use existing validation service for validating package policies
  following an attempted dry run or upgrade

See https://github.com/elastic/kibana/issues/106048#issuecomment-899747732 for more details

Ref #106048

* Fix input overriding in dry run/upgrade APIs

* Fix i18n

* Fix types

* Fix var merge logic
2021-08-17 21:43:55 -04:00
Quynh Nguyen
09e8cfd305
[ML] Replace APM error rate table with failed transactions correlations (#108441)
* [ML] Refactor with new table

* [ML] Fix types, rename var

* [ML] Remove duplicate action columns

* [ML] Finish renaming for consistency

* [ML] Add failure correlations help popover

* [ML] Add failure correlations help popover

* [ML] Extend correlation help

* Update message

* [ML] Delete old legacy correlations pages

* [ML] Address comments, rename

* [ML] Revert deletion of latency_correlations.tsx

* [ML] Add unit test for getFailedTransactionsCorrelationImpactLabel

* [ML] Rename & fix types

* [ML] Fix logic to note include 0.02 threshold

* [ML] Refactor to use state handler

* [ML] Fix hardcoded index, columns, popover

* [ML] Replace failed transaction tab

* [ML] Fix unused translations

* [ML] Delete empty files

* [ML] Move beta badge to be inside tab content

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 15:47:31 -05:00
Pablo Machado
ab637303e7
Remove 'missing fields' from alerts trend graph and count table (#108843) 2021-08-17 13:48:59 -04:00
Walter Rafelsberger
d07f7a5d5e
[ML] Move APM Latency Correlations from flyout to transactions page. (#107266)
- Moves APM Latency Correlations from flyout to transactions page.
- Introduces a tab based navigation for `Trace samples` / `Latency correlations` / `Failed transactions correlations`
- For trace samples, the previous low detailed histogram chart gets replaced with the new log log based histogram chart. Users can drag select a range of lantency to filter trace samples.
- Removes code related to the previous distribution chart. Renames `useTransactionDistributionFetcher` to `useTransactionTraceSamplesFetcher`. Instead of a histogram with top hits, this will now just return a sample of traces for the given filters.
2021-08-17 11:15:44 -04:00
Dominique Clarke
8bfd5e2f95
[Uptime][Synthetics Integration] Add browser monitors configuration options (#102928)
* update types

* add browser context

* update validation

* add browser fields to custom fields

* add browser simple fields and source field

* add browser context to create and edit wrappers

* update content

* add formatters for formatting javascript values to integration policy yaml

* fix policy name bug

* adjust tests

* adjust types

* add normalizers for converting yaml to javascript

* update default values

* add params field to browser monitors

* adjust types, formatters and normalizers to account for browser advanced fields

* add browser advanced fields context and components

* adjust http and tcp providers

* adjust use_update_policy and wrappers

* update types

* update content

* adjust timeout content

* adjust zip url content

* adjust content

* remove unused content

* hide monitor options that do not have corresponding data streams from the integration package

* Update x-pack/plugins/uptime/public/components/fleet_package/browser/simple_fields.tsx

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/fleet_package/browser/source_field.tsx

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/fleet_package/custom_fields.test.tsx

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/fleet_package/http/simple_fields.tsx

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

* adjust content

* adjust validation

* adjust tests

* adjust normalizers and formatters and add tests

* resolves validation error with inline scripts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2021-08-17 09:48:04 -04:00
Michael Dokolin
3c95c43c57
[Reporting] Add support of chunked export (#108485)
* Decouple job error fetching from the content stream
* Encapsulate content encoding and decoding in the content stream
* Move report size calculation from task runners
* Remove configuration check from the reporting diagnostics
* Add support of chunked export
2021-08-17 15:05:15 +02:00
Yulia Čech
a884fab069
[ILM] Added index templates flyout to the edit policy form (#108362)
* [ILM] Added index templates flyout to the edit policy form

* Fixed i18n errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 13:46:33 +02:00
Yulia Čech
a22a079614
[ILM] Fixed policy request flyout requiring policy name to show json (#108550)
* [ILM] Fixed policy request flyout requiring policy name to show json

* [ILM] Fixed policy name in the request flyout for a new policy

* [ILM] Renamed saveAsNew to isClonedPolicy

* Fixed i18n errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 13:39:04 +02:00
Dmitry Tomashevich
e258f46167
[Discover] Improve Doc viewer (#107869)
* [Discover] fix doc-vewer

* [Discover] remove redundant stuff

* [Discover] remove redundant i18n

* [Discover] remove unused translation

* [Discover] fix by comments

* [Discover] clean up remaining things

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 12:48:32 +03:00
Joe Portner
3bf7275653
Change unexpected log in error message (#108787) 2021-08-16 19:26:35 -04:00
Michael Marcialis
f80104df0e
Home Page Solutions & Add Data Updates (#108580)
* balance solutions

* clean up solution changes

* change footer button size

* update management section

* apply max-width to management items

* remove right side items from page header

* add data content update

* illustration poc

* add data content updates per feedback

* img size and alignment

* moved shared images to shared assets folder

* more solutions clean up

* rm unneeded import

* remove references to subtitle and appDescriptions

* update tests and snapshots

* more test and snapshot updates

* restore solution sort order

* ts and jest fixes; thx catherine!

* i18n fixes

* use new `KibanaPageTemplateSolutionNavAvatar` comp

* change solution imgs from png to svg

* update tests and snapshots

* rm spacer and update snapshots

* account for flex margin changes in img offset

* Change "Kibana" overview page text to "Analytics"

* update overview icon to match hp changes

* update snapshots

* center justify solutions and update snapshots

* update snapshots

* title case dev tools and stack management

* update text and snapshots

* fix merge error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 19:21:25 -04:00
Scotty Bollinger
ec120a2cc1
[Workplace Search] Misc tech debt (#108767)
* Remove TODOs

Removes 2 todos:
- in index.tsx, the access is handled somewhere else and visiting any org page as a non-admin results in an error message. No further action needed
- error_state.tsx - this had been completed by Constance in a separate PR but the comment was missed.

* Remove a bunch of unused components

These were left over from the user migration project and mainly have to do with users displayed in the groups section, which is no longer a feature.

* This commit needs no explanition

This was missed in this commit:
19ccd27e04

Refacotred and somehow renaming resulted in this monstrosity 🤦🏼‍♂️

* Remove source descriptions

Since this commit, these are no longer displayed in the UI

16d089acfd (diff-a4761afc86544a299d0129b749e3001625f5b194b95ebc31303824f8f95f4381L173)
2021-08-16 18:02:37 -04:00
Sandra G
7ce9d07746
[Monitoring] change errors dir to typescript (#108297)
* change errors dir to ts

* fix internationalization

* fix internationalization

* change test name
2021-08-16 16:58:27 -04:00
Ryan Keairns
36bba6ffe0
Update Analytics overview page to new empty state template (#108532)
* Use empty state page template

* Remove unused translations

* Fixed snaps

* Use docLinks service

* Fix test

* Revert "Use docLinks service"

Use exisiting docLinks.ELASTIC_WEBSITE_URL instead

* Update learn more link and test

* fix test

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 14:54:22 -05:00
Lisa Cawley
619db1cc5f
[ML] Edits introductory text for uploading files (#108608) 2021-08-16 12:25:11 -07:00
Kevin Qualters
0828788b66
[RAC][Security Solution][Observability] Add the add to new case and add to existing case actions to observability alerts table (#108502)
* [RAC][Security Solution][Observability] Add the add to new case and add to existing case actions to observability alerts table

* Remove fake data and make features work with observability data format

* Remove console.log and unused translations

* Remove commented out code

* Remove unneeded copy pasta id, create initializeStore function in timelines

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-15 13:27:28 -04:00