Commit graph

40442 commits

Author SHA1 Message Date
Poff Poffenberger
4ee5f094ce
[Time to Visualize] Add functional tests for adding visualizations from Visualize, Lens, and Maps and adjust capabilities for new modal (#89245)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 12:48:32 -06:00
Spencer
4f38d163bf
ignore CI Stats failures in flaky test jobs (#90999)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-10 13:45:32 -05:00
Clint Andrew Hall
20ddd39610
Remove custom plot plugins when Canvas is unmounted (#90722)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 12:19:13 -06:00
Pete Harverson
4881306419
[ML] Stops new line on enter key press for KQL query bars (#90960) 2021-02-10 17:22:37 +00:00
Patryk Kopyciński
c058d9b024
[Asset Management] Migrate Osquery plugin to TS project references (#90916) 2021-02-10 17:48:42 +01:00
Jessica David
d1653bc425
Adding new fields to the allowlist for alert telemetry (#90868) 2021-02-10 11:26:58 -05:00
Kevin Qualters
f563a82903
[Security Solution] Use sourcerer selected indices in resolver (#90727)
* Use sourcer indices

* Add indices to panel requests

* Use a separate indices selector for resolver events

* Use valid timeline id in tests

* Update TimelineId type usage, make selector test clearer

* Update tests to use TimelineId type
2021-02-10 11:15:21 -05:00
Felix Stürmer
874960e1c5
[Logs UI] Handle undefined composite key in category dataset response (#90472)
This fixes the handling of Elasticsearch responses that don't contain a composite key when querying for the available category datasets.
2021-02-10 17:13:05 +01:00
Joe Reuter
0fc9467e51
fix popover state (#90942) 2021-02-10 17:08:38 +01:00
Jonathan Budzenski
ec8305baa7
[docs] Include setup instructions for environment variable KBN_PATH_CONF (#90794) 2021-02-10 10:01:49 -06:00
Melissa Alvarez
2a93ebe43b
[ML] Data Frame Analytics creation wizard: adds support for extended hyper-parameters (#90843)
* add support for new hyperparameters in the creation wizard

* fix translation error
2021-02-10 10:52:46 -05:00
Bohdan Tsymbala
e94a164b7e
Initial version of adding artifacts per policy to the manifest. (#89130)
* Initial version of adding artifacts per policy to the manifest.

* Minor renaming to convey the purpose of the variable.

* Added ability to override list item mock data.

* Changed function signature to be more reusable.

* Implementationg of support of artifacts per policy in the manifest data structure.

* Added saved objects migrations.

* Renamed the endpoint to reflect that it's artifacts endpoint.

* Fixed tests.

* Fixed the manifest data.

* Fixed linting errors (result of merge).

* Updated ES mappings for manifest in all test setups.

* Updated hash in the mappings.

* Fixed the typo that lead to failing test.

* Fixed the problem with manifest not being dispatched to policies if there are same artifact names but different content. Artifact name in the ManifestSchema is not unique id, hence added decoded_sha256 to the comparison. Added test case to cover this.

* Fixed the problem with the task flow when failure to dispatch to policies will result in commited manifest and no redispatch on next task run. Changed tests to reflect new flow (actually restored previous flow).

* Forgot to commit changes in mock.

* Made other tests more readable using same varialbe naming pattern.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 16:47:56 +01:00
Aaron Caldwell
bcdc022efe
[Maps] Add redux devtools back to Maps (#90863) 2021-02-10 08:40:13 -07:00
Angela Chuang
a60e475260
[Security Solution] Split test cases into blocks (#89978)
* split test cases into blocks

* run tests individually

* fix up timeline creation

* fix up timeline creation

* add assertions for timeline creation

* create timeline by api

* create timeline by api

* fix lint error

* add selector to timeline screen

* fix type error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 15:30:43 +00:00
Ahmad Bamieh
fa18be9beb
[Telemetry] use fresh keys (#90446)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 17:19:34 +02:00
Scotty Bollinger
4aabf358b0
[Workplace Search] Fix error message in Schema (#90869)
In SchemaErrors, we have an edge case where a user navigates to a non-existent error message state. When migrating I took a stab at passing the custom message to the `flashAPIErrors` helper. It turns out that since we don’t have to parse an error object, we can just set the error message directly
2021-02-10 09:08:59 -06:00
Matthias Wilhelm
40f44a91c8
[Discover] Add "Hide chart" / "Show chart" persistence (#88603) 2021-02-10 16:08:20 +01:00
Marta Bondyra
a87535624d
[Lens] (performance) replace operationsSupportMatrix by getOperationsByField for drag and drop (#90744) 2021-02-10 15:25:47 +01:00
Alejandro Fernández Haro
3497c04d28
Exclude telemetry schemas from the distributables (#90819) 2021-02-10 14:18:11 +00:00
Alejandro Fernández Haro
061cb50c71
[Telemetry] Add stakeholders to schema changes (#90143)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 14:13:27 +00:00
Nicolas Chaulet
f95bfe83b7
[Fleet] Use Fleet Server indices in the search bar (#90835) 2021-02-10 08:28:22 -05:00
Liza Katz
7e80bb3274
[Search Sessions] added an info flyout to session management (#90559)
* added an info flyout to session management

* better filter serialization

* Fix jest tests

* jest

* display the originalState as a json object

* code review

* Text improvements

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 15:26:25 +02:00
Jean-Louis Leysens
e17878ef33
[ILM] Revisit searchable snapshot field after new redesign (#90793)
* moved searchable snapshot field out of cold phase accordian

* refactor styling to padding top and bottom to get advanced settings drop down to sit flush with side of panel

* Error clearing fix and cosmetic changes

- the error state of the form would not clear correctly if the
  erroring field was unmounted. The logic for clearing form errors
  was also incorrectly using "keys" instead of "values".
- updated the width of wait for snapshot policy field to be the
  same as other fields

* fix hook dependency causing clearError to be called

* slight improvement to component integration test

* re-add singleSelection to snapshot policiy field config

* refactored Phase component API and fixed typo in comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 14:25:53 +01:00
ymao1
3e91bc728d
[Alerting] License Errors on Alert List View (#89920)
* Adding tooltips to alert list and modal for license upgrade

* Fixing typings

* Custom License Error status. Moving modal to alerts list page

* Adding unit test

* Cleanup

* Unit tests

* Removing tooltip from alert name

* License

* PR fixes

* Updating modal wording

* Updating license state error message

* i18n fix

* Fixing functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 08:06:09 -05:00
Rudolf Meijering
ce441bdc32
RFC Improve saved object migrations algorithm (#84333)
* Instead of cloning, reindex legacy index

* Reindex for every v2 migration

* Use _reindex?require_alias=true and a write block toggle to prevent lost deletes

* Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent

The first version of the reindex block had only the instance which was able to mark the migration as complete
set and remove the write block. This means other instances couldn't know if any reindex operaitons were in
progress if the migration was already marked as complete. It also meant that a failure in this critical step
could result in a permanent write block.

* Revert "Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent"

This reverts commit 8baf9b13db.

* Revert "Use _reindex?require_alias=true and a write block toggle to prevent lost deletes"

This reverts commit d7237ca42c.

* Use reindex + clone as a way to prevent lost deletes

* Fix numbering and ignore index_not_found_exceptionfor temporary index

* Apply suggestions from code review

Co-authored-by: Josh Dover <me@joshdover.com>

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 13:54:52 +01:00
Marta Bondyra
df3e14dbbd
[Lens] (Accessibility) Fix focus on drag and drop actions (#90561) 2021-02-10 13:50:41 +01:00
Sonja Krause-Harder
4ee9603801
Use new shortcut links to Fleet discuss forums. (#90786)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 11:33:17 +01:00
Aleh Zasypkin
03a53b9f39
Do not generate an ephemeral encryption key in production. (#81511) 2021-02-10 11:27:31 +01:00
Nicolas Ruflin
634c0b3424
[Fleet] Use staging registry for snapshot builds (#90327)
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry.

Closes https://github.com/elastic/kibana/issues/90131

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-02-10 09:57:09 +01:00
Brandon Kobel
240da2bf2a
Actually deleting x-pack/tsconfig.refs.json (#90898) 2021-02-10 09:38:37 +01:00
Sonja Krause-Harder
af277b8396
Add deprecation warning to all Beats CM pages. (#90741) 2021-02-10 09:16:19 +01:00
Tyler Smalley
ab401c9857 skip flaky suite (#90136) 2021-02-09 23:29:52 -08:00
Zacqary Adam Xeper
38a6475396
Revert "Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)"" (#90889)
* Revert "Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)""

This reverts commit 8166becc55.

* Fix type error
2021-02-09 21:30:25 -05:00
spalger
59cc39434e remove ref to removed tsconfig file 2021-02-09 17:57:05 -07:00
Christiane (Tina) Heiligers
646732f96d
[core.logging] Uses host timezone as default (#90368)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 19:49:53 -05:00
Nathan Reese
1ba7d7af9a
[Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin (#90292)
* get geojson working with api/file_upload/import

* remove maps_file_upload server code

* remove common folder

* remove maps_file_upload plugin

* fix tsconfig paths

* rename file_upload plugin in maps tsconfig

* fix file path

* node scripts/build_plugin_list_docs

* fix webpack compile errors

* telemetry schema cleanup, i18n cleanup, limits cleanup

* remove mapsFileUpload from limits.yml

* remove index pattern link test case

* update telemetry/v2/clusters/_stats for new file_upload path

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 17:31:57 -07:00
spalger
8166becc55 Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)"
This reverts commit 0d94968df1.
2021-02-09 17:15:12 -07:00
Spencer
4bab95229d
[dev-utils/ci-stats] support disabling ship errors (#90851)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 19:09:02 -05:00
Chris Roberson
82f0328232
Prefix with / (#90836) 2021-02-09 18:59:47 -05:00
Zacqary Adam Xeper
0d94968df1
[Metrics UI] Add Metrics Anomaly Alert Type (#89244)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 18:40:18 -05:00
Brandon Kobel
7627d35443
Getting rid of the x-pack tsconfig refs (#90537) 2021-02-09 15:34:42 -08:00
Ryland Herrick
8e4f899380
Ignore intermediate records in ML Rule anomalies query (#90316)
We were incorrectly including records with is_interim: true in our
query, which lead to false positive signals if the rule executed while
an anomaly's score was (temporarily) above the specified threshold, but
then dipped below after it was finalized.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 17:21:44 -06:00
Nick Peihl
d14e37fd68
Bump @elastic/ems-client@7.12.0 (#90841) 2021-02-09 15:00:37 -08:00
Nathan Reese
a9ee83c37c
[Maps] convert HeatmapLayer to TS (#90666)
* [Maps] convert HeatmapLayer to TS

* make VectorLayer implement IVectorLayer

* fix jest test and functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 15:49:44 -07:00
Rashmi Kulkarni
1a9f8cab17
[uptime] unskip previously skipped functional tests (#90702)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping uptime -functional test

* unskipping location.ts script
2021-02-09 14:12:46 -08:00
Shahzad
08111e40d3
[Uptime-UX] Added nav search keywords for uptime and user experience app (#90616) 2021-02-09 15:41:47 -06:00
Nathan Reese
6c224e5a10
Switch import route tag from access:ml:canFindFileStructure to access:fileUpload:import (#90677) 2021-02-09 14:34:34 -07:00
Stacey Gammon
10adb72ddb
Plugin introduction doc improvements (#90502)
* More plugin docs improvements

* remove speculation about the future

* remove registries section

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 16:27:36 -05:00
Scotty Bollinger
ad2f5d7918
[Workplace Search] Fix paths to nest correctly (#90831)
We have serveral places that I went up one level too many when getting shared components. This refactors that to align with other usages.
2021-02-09 16:19:08 -05:00
Zacqary Adam Xeper
95948fd5eb
[Metrics UI] Add warning severity to Metric Alerts (#90070) 2021-02-09 15:12:13 -06:00