* Add icons
* Add new categories
* Add Workplace Search connectors to the unified integrations view
* Add a new enterprise_search shipper
* Update number of custom integrations in test
* Change customIntegrations type to optional
* Revert "Update number of custom integrations in test"
This reverts commit 30214b2c7c.
The reason is that while this test passes with 2 separate commands for
functional test runner, it fails when it is run with a single command.
Reverting to make the CI pass. We will look into this test separately.
I will link the investigation issue in the PR.
* Change source deletion to set entire page loading
Do this instead of having the button loading
* Replace text button with icon button for blocked windows
* Adding execution duration to get alert instance summary
* Showing execution duration on rule details view
* Fixing unit tests
* Updating to match new mockup
* Fixing types
* Fixing functional test
* Removing unneeded max and min and adding tests
* Removing unneeded max and min and adding tests
* Fixing functional test
* Adding left axis
* PR feedback
* Reducing chart height
* PR feedback
* PR feedback
* PR feedback
* fixing throughput chart api
* change backends
* adding intervalString to the observability callback functions
* fixing transaction group detailed stats
* fixing tests
* fixing test
* fixing obs tests
* fixing tests
* adding tests
* fixing ci
* using data generator
* changing name
* fixing i18n
* updating opbs test to use data generator
* fixing api tests
* fixing tests
* using data generator to run the tests
* fixing tests
* fixing test
* Add new toggle
* [ML] Add tooltip for p value
* [ML] Add tooltip for p value
* Update tooltip
* Add callback, revert i18n, compressed
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Persist hide chart to local storage
* [Discover] Persist hide chart option to local storage
* Fix state
* Fix dependency check
* Set chart state to undefined
* Update unit test
* Do not override saved search preferences
* Fix missing import
* Add a functional test
* Add a functional test
* Fix functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 🐛 First attempt to close the inspector automatically on app unmount
* 👌 Integrate feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
**Ticket:** https://github.com/elastic/kibana/issues/109815
## Summary
**Background:** `siem-detection-engine-rule-status` documents stores the `lastFailureMessage` a string which is indexed as `type: "text"` but some failure messages are so large that these documents are up to 26MB. These large documents cause migrations to fail because a batch of 1000 documents easily exceed Elasticsearch's `http.max_content_length` which defaults to 100mb.
This PR truncates `lastFailureMessage` and `lastSuccessMessage` in the following cases:
1. When we write new or update existing status SOs:
- The lists of errors/warnings are deduped -> truncated to max `20` items -> joined to a string
- The resulting strings are truncated to max `10240` characters
2. When we migrate `siem-detection-engine-rule-status` SOs to 7.15.2:
- The two message fields are truncated to max `10240` characters
### Checklist
Delete any items that are not applicable to this PR.
- [ ] [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
* [Reporting] Functional test structure & improvements
* show the error of the report generation failure in the test failure
* update snapshot
* remove import to non-existent functional app test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* ✨ compute the default threshold based on data bounds
* 🐛 Fix multi layer types issue
* ✅ Fix test
* ✅ Fix other test
* 🐛 Fix computation bug for the initial static value
* ✅ Add new suite of test for static value computation
* 🐛 Fix extents bug and refactor in a single function + tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* WIP replacing indexPattern.flattenHit by tabify
* Fix jest tests
* Read metaFields from index pattern
* Remove old test code
* remove unnecessary changes
* Remove flattenHitWrapper APIs
* Fix imports
* Fix missing metaFields
* Add all meta fields to allowlist
* Improve inline comments
* Move flattenHit test to new implementation
* Add deprecation comment to implementation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Enabled auto policy upgrades for APM and Synthetics
* fixup! Enabled auto policy upgrades for APM and Synthetics
* Rework preconfiguration policy upgrade flow + report errors
* Fix type error in test
* Fix type errors + tests
* wip
* Remove keep policies up to date checks
* Remove references to KEEP_POLICIES_UP_TO_DATE_PACKAGES
* Move package policy upgrade results to nonFatalErrors
* Fix types
* Fix type error
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This fixes the issue by rounding the values we pass on to the range agg.