* Adds sorting to Monitor Management monitors list table. Default sorting is 'asc' on the 'name' column.
* Fix column wrapping on monitor list table (Monitor Management UI).
#121117
* Round min/max values when we are turning off auto auto mode
* Fix the behavior so that we don't see the warning "The specified value '-Infinity' cannot be parsed or is out of range." in console.
* Allow to use correct max value in percentage mode for heatmap
* Change the wording of the `Add color range` button to `Add color` and `Distribute equally` button to `Distribute values`
* Don't show percent symbol append for the EuiFieldText components that are set to be the current data's min or max value
* Adds tooltips for the min, max, and pencil icon buttons
* Add support of changing the opacity
* Add tooltips for disabled color range action buttons (Reverse colors, Distribute values)
* Change the `Maximum value should be greater than preceding values` error message to be `Maximum value must be greater than preceding values`
* Apply sorting if min on mid value more than max instead of showing error
* Fix test
* Change increment by +1 for adding new color ranges
* Fix CI
* Allow customize max/min values in color ranges for gauge
* Fix CI
* Change Outside Data Bounds Message from warning to info type
* Remove warnings about value outside databounds
* Fix Checks
* Add tests
* Fix some remarks
* Update x-pack/plugins/lens/public/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Enable configuring of the row height using document explorer in Discover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: andreadelrio <andrea.delrio@elastic.co>
This is less of an issue on main since we've stopped querying `metricbeat-*` but might become important when we start doing agent testing (`metrics-*`).
On 8.0 it's easy to have error documents land in `metricbeat-*` for standalone logstash and break the UI.
* [ML] Support to set destination ingest pipeline.
* [ML] Fix jest tests.
* [ML] Fix permissions.
* [ML] Use EuiComboBox to be able to empty input.
* [ML] Add support to allow editing a transform destination ingest pipeline.
* [ML] Fix setting ingest pipeline field to optional.
* [ML] Fix translations.
* [ML] Fix functional tests.
* [ML] Fix unexposed form state.
* [ML] Tweaks.
## Summary
For e2e testing to be possible we have to enable an experimental preview endpoint:
```ts
GET /internal/security_solution/telemetry
```
You can only enable this endpoint if you edit your `kibana.dev.yml` and add this line:
```yml
xpack.securitySolution.enableExperimental: ['previewTelemetryUrlEnabled']
```
This PR adds the following:
* Pulls up an interface from both `TelemetryEventsSender` and `TelemetryReceiver`
* Issue in the e2e FTR where we weren't removing lists from agnostic and regular space
* Adds preview capabilities for `DetectionRules`, `SecurityLists`, `Endpoint`, and `Diagnostics`
* 19 FTR e2e tests for `DetectionRules` and `SecurityLists`. But does _NOT_ add any for `Endpoint` or `Diagnostics`
* Fixes a dangling promise that makes the preview deterministic
* Fixes a small issue seen with the trusted applications and endpoint application createLists
To run the test server and runner for FTR:
Start the FTR server and wait for it to be initialized first:
```sh
cd kibana/x-pack
node scripts/functional_tests_server.js --config test/detection_engine_api_integration/security_and_spaces/config.ts
```
In a seperate terminal run:
```sh
cd kibana/x-pack
node scripts/functional_test_runner.js --config test/detection_engine_api_integration/security_and_spaces/config.ts --include test/detection_engine_api_integration/security_and_spaces/tests/telemetry/index.ts
```
### 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
* Support installing bundled packages during Fleet setup
* Fix failing API integration test
* Sort packages in test
* Move get bundled packages + add tests
* Fix mock installPackage type
* Don't attempt to install already-installed bundled packageS
* Use unique installation status for bundled packages
* Fix failing tests
* Fix type error
* Fix logic for latest value
* Remove bundled packages from test since they no longer come back from list endpoint
* Change assertion for empty preconfiguration update request
* Add all bundled packages + refactor install to use Promise.allSettled
* Fix name comparison again
* Rework approach to use preferred source at install-time instead
* Add helper script + update bundled packages + allow updates for upload path
* Fix failing test
* Address code review + add additional tests for update cases
* Fix type error
* Remove configOverride concept for now
* Fix another type error 🙃
* Add build step for bundling fleet packages
* Fix unused import in build step
* Keep bundled_packages directory in place to prevent setup failures
* Remove gitkeep + make bundled package directory lookup fault tolerant
* Update gitignore
* Add doc comment + use build.resolvePath
* Add --use-snapshot-registry CLI flag
* Update snapshots
* Rename arg to use-snapshot-epr
* Don't fail the build on failure to bundled packages
* Update all checksums + don't attempt download multiple times
* Skip checksum process for bundled packages for now
* mkdirp destination directory to fix tests
* Revert build_distributables file
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add cursor sync from anomaly chart to elastic charts/lens
* Sync two way
* Sync two way
* Fix jest tests
* Add comments
* Move bg to constant, move exit to the end
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [maps] shapefile importer
* render importer editor
* shapefile_editor
* break geojson_importer into abstract class
* start shapefile_importer _readNext
* parse shapefile
* getProgress
* comments
* set table row count
* hide shapefile editor once all files selected
* i18n fixes
* validate sidecar file names match .shp name
* rename JsonUploadAndParse to GeoUploadWizard
* eslint
* tslint
* fix getFileNameWithoutExt
* backout i18n changes
* reset i18n files to main
* revert to main zh-CN.json
* i18n updates
* use geoJsonCleanAndValidate to clean features from all geo importers
* update docs
* doc refinement
* tslint fix for loaders
* eslint
* shapefile upload functional test
* geoFileUploadPageObject
* add geojson functional test with geoFileUpload page object
* replace old workflow functional tests with new ones based on geoFileUplad page object
* tslint and eslint
* eslint
* fix jest test
* use smaller chunks to avoid timeout in CI
* try without geojson test
* try small geojson file in CI
* point.json
* do not use copy to clipboard, does not work in CI
* eslint
* more linting
* add retry
* one more thing for functional tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add cluster_stats dataset to index pattern of query in fetchClusters
* update unit tests to test the params being called with
* add node_stats term filter
* update test for node_stats filter in missing monitoring fetch rule
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Fixes the issue where the transform list wouldn't be correctly refreshed when a filter is active via the query bar. The fix refactors application of the query so that filteredTransforms can no longer be a stale value. Also includes some cleanup regardings types and tests.
* remove internal field like monitoring on public API
* add/fix tests
* fix test
* update test for create/update route
* simplify api integration test + add three more to validate new functionality
* use internal api to test monitoring
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add Tail-based sampling settings
* Add platinum badge, interval validation and yaml editor for policies
* Add unit tests for isTailBasedSamplingValid function
* Hide Tail-based sampling settings if tail_sampling_enabled is not in the input vars
Co-authored-by: miriam.aparicio <miriam.aparicio@gmail.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>