Commit graph

44982 commits

Author SHA1 Message Date
Stacey Gammon 899a6f3f11
Fix the API docs bug, where optional functions on interfaces were losing their children. (#107236)
* Fix the bug and update tests

* update api docs

* Fix tests
2021-08-03 11:58:03 -04:00
Spencer 3d8a2cfcf1
[cli-dev-mode] get values from completed state subjects (#107428)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 08:37:10 -07:00
Mark Hopkin 48a97f6d18
[Fleet] Agent policy search, support simple text filter. (#107306)
* feat: fall back to simple search on parse error

* fix: simplify query

* lint: fix docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 16:16:17 +01:00
Ravi Kesarwani 5cd7358834
Update SM doc for alert per object (#107420)
Update stack monitoring doc to account for alert notification now being send for each node, index, or cluster based on the rule type, instead of always per cluster (PR# 102544)
2021-08-03 10:30:55 -04:00
Joey F. Poon 14f66b54e0
[Security Solution] add transform failed warning banner on endpoints … (#107248) 2021-08-03 09:15:55 -05:00
Nathan L Smith b1a0c7dd93
Jest and Storybook fixes for observability plugin (#106255)
* Get rid of all the Jest console warnings
* Make sure none of the observability storybook pages throw errors (whether they all work correctly or are useful is another matter, but they all load now.)
2021-08-03 09:15:36 -05:00
Ahmad Bamieh 6d145c807c
[l10n] remove a couple of unused translations (#106977)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 17:04:16 +03:00
Aleh Zasypkin ed28155165
Implement interactiveSetup plugin server side functionality: setup layout (#105222) 2021-08-03 15:52:11 +02:00
Yuliia Naumenko ff2a5a8566
[Actions] Fixed broken link for ServiceNow docs (#107480) 2021-08-03 06:44:25 -07:00
Stratoula Kalafateli e3572e306b
[Visualizations] Fixes the wrong desciption of the kibana.json file (#107503) 2021-08-03 16:42:57 +03:00
Dmitry Shevchenko fddd9d7992
Implement RuleExecutionLog (#103463) 2021-08-03 15:25:26 +02:00
Andrew Kroh 4b4525ab05
[Fleet] Remove subseconds from event.ingested (#104044)
The `event.ingested` field is added to all documents ingested via
Fleet plus Agent. By removing the subseconds we can be better compression
of the values in Elasticsearch.

The primary user of `event.ingested` today is the the Security Detection Engine
as a tie-breaker in search_after, but once it moves to the using the
point-in-time API the need for precision will be lessened because PIT has
an implicit tie-breaker.

Relates #103944
Relates https://github.com/elastic/beats/issues/22388

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 08:47:50 -04:00
Tiago Costa 11c32c3de1
chore(NA): moving @kbn/i18n to babel transpiler (#107447) 2021-08-03 12:55:04 +01:00
Dario Gieselaar cee5bc6f41
[APM] Add throughput, error rate charts to backend detail page (#107379) 2021-08-03 12:36:20 +02:00
Dario Gieselaar 66b951c07c
[APM] Use 7.x compatible archive for API tests (#107367) 2021-08-03 06:29:06 -04:00
Vadim Kibana 0df0255bbf
Make url saved object in SO app clickable (#106646) 2021-08-03 12:03:42 +02:00
Tre 8f16ad3657
[Archive Migration] Swap es archiver for kbn archiver - Canvas app (#102533)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 10:40:03 +01:00
Tre 837eca1e32
[Archive Migration] x-pack..discover/feature_controls/security (#107156)
* [Archive Migration] x-pack..discover/feature_controls/security

Migrate x-pack..discover/feature_controls/security

* Drop fields stanza.

Signed-off-by: Tre' Seymour <wayne.seymour@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 10:37:31 +01:00
Stratoula Kalafateli 4d3aed52a1
[Visualizations] Adds dimensionName in datatable meta info (#107265)
* [Visualizations] Adds dimensionName in datatable meta info

* Delete unused file

* fix i18n

* Another fix of i18n

* Fix translations

* Remove double types

* Fix types

* Another type fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 12:05:55 +03:00
Pablo Machado 402702d55b
[Security solution] [RAC] Add checkbox control column to t-grid (#107144)
* Add checkbox control column to t-grid

* Add unit tests

* Update translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 09:31:14 +02:00
Liza Katz 7af1ec246d
[Data] Align deprecation messages (#107175)
* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

* Better docs

* typos

* typo

* Align deprecation messages

* fixes

* casting

* Code review

* Update meta_filter.ts

* Update types.ts

* Deprecate by 8.1

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 09:18:44 +02:00
Tiago Costa a923d9e091
chore(NA): moving @kbn/monaco to babel transpiler (#107461) 2021-08-03 02:40:19 +01:00
Zacqary Adam Xeper 26c1dae0df
[Stack Monitoring] Convert first half of server/lib folder to Typescript (#106327)
* TS convert top-level files

* Fix ccs_utils

* TS convert beats folder

* Add missing types file

* TS covert cluster folder

* TSify details folder

* TSify top level of nodes folder

* TSify elasticsearch nodes folder

* TSify elasticsearch shards folder

* TSify APM folder

* Fix type errors

* Fix failing typechecks and tests

* Fix more failing checks and tests

* Fix typecheck

* Fix typecheck

* Restore lodash get to logstash

* Fix fetching logstash cluster

* Restore lodash get to get_clusters_from_request

* Fix typecheck

* Fix detect_reason

* Fix get_kibanas_for_clusters

* Simplify kibanaUuids in get_kibanas_for_clusters

* Revert "Simplify kibanaUuids in get_kibanas_for_clusters"

This reverts commit 99597b09d7.

* Simplify kibanaUuids

* Fix test fixture
2021-08-03 10:33:59 +09:00
Clint Andrew Hall 5533a4061f
[canvas] Create Embeddables Service; remove legacy service (#107351) 2021-08-02 21:29:17 -04:00
Catherine Liu cc9d69ebc6
Fixed import for buildQueryFilter helper function (#107321)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 20:12:58 -04:00
Marius Dragomir f0e9210302
add accept alerts option (#107414)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 18:03:35 -04:00
Tiago Costa 24c85b51ca
chore(NA): moving @kbn/test to babel transpiler (#107455) 2021-08-02 22:35:43 +01:00
Tiago Costa 78a54fb985
chore(NA): moving @kbn/typed-react-router-config to babel transpiler (#107437) 2021-08-02 22:35:13 +01:00
Clint Andrew Hall 303526ffdb
[canvas] Create Expressions Service; remove legacy service (#107350) 2021-08-02 17:10:38 -04:00
Casper Hübertz 5707178b8e
[Observability] Change Resource links and labels (#107155)
* [Observability] Change labels
* [Observability] Add link to quick start videos
2021-08-02 23:05:33 +02:00
ymao1 1334622833
Removing legacy es client from alerting test (#107152)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 15:26:53 -04:00
Matthew Kime 9d47c6a9ec
STYLEGUIDE reference .md => .mdx (#107440)
Path to styleguide needs to be updated.
2021-08-02 14:05:58 -05:00
Kaarina Tungseth d699d165b5
[DOCS] Adds runtime fields vs formula to Lens (#107419)
* [DOCS] Adds runtime fields vs formula to Lens

* Moved up in list

* Review comment

* Comments from Graham
2021-08-02 13:56:40 -05:00
Jonathan Budzenski 91bb2c5b57
[kbn/pm] Remove legacy build code (#107217) 2021-08-02 13:53:27 -05:00
Tyler Smalley f3a17a80b4
[docs] Include information on supplying array config options (#107258)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-02 11:43:46 -07:00
Scotty Bollinger 571c5c41b6
[Workplace Search] Fix a11y issues for Workplace Search dashboards (#107240)
* Add “Actions” table header to tables

- Also adds missing i18n to SourcesTable
- Replaces bespoke TableHeader component with EUI comonents
- TableHeader is only used in one other place, GroupUsersTable, and that component itself is no longer used. Will delete both in a separate PR

* Refactor ViewContentHeader and ContentSection

Before using EuiTitle for sizing, we used conditional headings. We now only need to know if this is the top-level ViewContentHeader or nested in a ContentSection. ContentSections will use h3 and the top-level ViewContentHeader will use h2. The Personal Dashboard does not have an h1 tag, so we will add an h1 in the sidebar on those pages.

* Add some i18n

* Change headings to be semantically correct

- Removed unnecessary strong tag from heading
- Replaces instances of EuiText wrapping headings with EuiTitle
- For the Content Source Overview, spans were used for chldren of h6’s since h6 has special styling and there is no h7

* Add labels

* Hide Action header from Personal dashboard org sources

* Fix icon label

AXE was complaining because the text (name of the source) was the same as the alt text. Added ‘ logo’ to differentiate

* - Configured Sources list
- Connect instance heading
Also removes unused imports from 16d089acfd (diff-a4761afc86544a299d0129b749e3001625f5b194b95ebc31303824f8f95f4381)

Will create a separate PR to clean up this code more.

* Add roles to Personal Dashboard

* Update Platinum Feature badge for a11y

After discussion, it was determined to remove all custon styles and use the 'accent' built-in color for this badge

* Fix failing tests

* Flip boolean from isPersonal to isOrganization

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 14:40:33 -04:00
Clint Andrew Hall 01eb6c7430
[canvas] Create Reporting Service; remove legacy service (#107352)
* [canvas] Create Reporting Service; remove legacy service

* Fix merge mistake
2021-08-02 14:20:12 -04:00
Oliver Gupte 100ab8b615
[APM] Adds custom tabs with new UI extension point 'package-policy-edit-tabs' (#107400)
* [APM] Adds custom tabs with new UI extension point 'package-policy-edit-tabs' (#106440)

* fixes linting error
2021-08-02 14:10:22 -04:00
Byron Hulcher afb5044f56
[App Search] Add multi-step validation to the Crawler Add Domain Form (#107251)
* New types

* Add crawlDomainValidationToResult to crawler utils

* Add domainValidationStateToPanelColor and domainValidationFailureResultChange to add domain utils

* New ValidationStateIcon component

* New ValidationStepPanel component

* New AddDomainValidation component

* Add AddDomainValidation to AddDomainForm

* Updates to AddDomainLogic to support multi-step validation

* i18n-itize all text

* Update AddDomainFormSubmitButton to use new allowSubmit selector

* Added displayValidation selector to AddDomainLogic

* Clean up AddDomainLogic tests

* Clean-up crawlDomainValidationToResult tests

* Clean-up AddDomainForm tests

* Clean-up ValidationStepPanel component and tests

* Clean-up AddDomainLogic tests
2021-08-02 13:44:03 -04:00
Sergi Massaneda 3832aeb608
[RAC] [TGrid] Field Browser migrated to modal (#106541)
* tGid header using EuiDataGrid

* useFetchIndex migrated and column_headers refactor

* removed useless mock

* add badges translations

* i18n translations keys fixed

* code format

* filter default columns not present in field browser

* reset button to initial columns

* cleaning

* dependencies moved

* fix functional test with missing data service

* remove unused code (unrelated)

* fieldBrowser integration with security solutions timeline

* lint and translations cleaned

* timeline toolbar removed for merge & some test fixes

* type fix

* type fixes

* timeline static default colums

* limit size temporary increase

* limit size temporary increase

* field browser migrated to modal

* field browser header remaned to search

* commented code removed

* toolbar index removed

* security solutions field browser button custom styles

* bring back FieldsBrowserContainer

* UI fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 19:28:27 +02:00
CJ Cenizal 3491f05e95
Migrate Index Management and enrichers to the new ES JS client (#105863)
* Destructure index API request bodies consistently.
* Remove unnecessary calls to encodeURIComponent on the server.
* Migrate routes to handleEsError. Delete wrapEsError helpers. Remove unused isEsError and parseEsError dependencies. Remove isEsError from es_ui_shared.
* Update tests and migrate API integration tests.
* Clarify test details in CCR README. Update Index Management README with steps for testing Cloud-managed index templates and steps for testing indices and data streams that contain special characters.
2021-08-02 10:20:54 -07:00
Tim Sullivan 5e8b24230a
[Reporting] add version to all export types job params (#106137)
* add version to csv params

* fix ts

* fix api tests

* use kibana version from packageInfo

* use kibana version from packageInfo

* clean up ide warnings

* utility to log and set a default params version

* fix baseparams ts

* update snapshot

* check version in enqueue job

* add temporary ts-ignore for canvas

* clarify comment

* fix hardcoded version in png_pdf_panel

* clarify the UNVERSIONED_VERSION variable with a comment

* fix canvas jest test

* fix ts in example app

* fix types

* send version param to canvas util for job params

* update jest snapshot

* Update utils.test.ts

* fix snapshot

* remove browserTimezone and version from integration boilerplate

* wip ensure version is always populated in job params inside of the service

* wip2

* wip3

* wip4

* wip5

* wip6

* update note

* update example plugin

* wip7

* improve tests

* fix dynamic job params

* better testing

* improve enqueue_job test

* more tests

* fix types

* fix types

* fix example ts

* simplify props

* fix test

* --wip-- [skip ci]

* consolidate baseparams back into one interface

* fix rison encoding of apiClient param

* clean up

* reorganize imports

* back out functional change

* fix 400 error in download csv

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 13:00:37 -04:00
Stacey Gammon 81fd64c838
Remove line numbers from the json files (#107158)
* Stop tracking line numbers

* Updated api docs

* Fix type error and update tests

* wrap label in encodeURIComponent for the links

* Update docs after encodeUriComponent change
2021-08-02 12:57:22 -04:00
Clint Andrew Hall 2d17071c9f
[canvas] Create Nav Link service; remove legacy service (#107346)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 11:49:49 -04:00
Mikhail Shustov 3bd9ff361d
Disable reporting for all "oss: false" integration tests (#107360)
* disable reporting for all the integration test with oss:false

* unskip test
2021-08-02 17:44:50 +02:00
Mikhail Shustov 169d75ff9f
remove core dependency on data plugin (#107259)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 17:44:20 +02:00
Nicolas Chaulet 08bb8a73ea
[Fleet] Make preconfiguration add package policy error fatal and allow recovery on next setup retry (#107304) 2021-08-02 11:30:39 -04:00
Matthew Kime 8d62cd28e8
use IndexPattern instead of IIndexPattern (#107222)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 10:25:22 -05:00
Matthew Kime df9330ae7a
use IndexPattern instead of IIndexPattern (#107176)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 09:55:31 -05:00
ymao1 df421f869f
[Alerting] Fix health check to allow access to alerting when ES security is disabled (#107032)
* Using license plugin to check if es security is enabled

* Adding unit tests and updating legacy health route

* Updating UI copy and docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 10:37:30 -04:00