###Summary
This PR adds the subfeature UI for alerts to security solution. Note that the ability to customize subfeatures is still a gold feature. How will this map with existing users? The feature and subfeature are tied. So if a user was previously assinged All for security solution - they would get all for alerts, etc.
It still remains behind a feature flag, so to see the change you'll need to have the following in your kibana.dev.yml
xpack.securitySolution.enableExperimental: ['ruleRegistryEnabled']
xpack.ruleRegistry.write.enabled: true
Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
* Change hardcoded image size value to prevent clipping of mobile synthetics screenshots.
* Compute max values for `ref`-style screenshots to improve display ux.
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
* [ML] Transforms: Fixes overflow of data grid into side navigation
* [ML] Remove unnecessary whitespace
* [ML] Remove wrapping div on app
Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h
Closes: #105854
* add tests, remove extra logic
* add functional test, update help text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* [TSVB] Add more functional tests for Table
* Update filter ratio setting numerator denominator function
* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts
* Update setFilterRatioOption function
* unskipped test and added additional checks when using time picker
* rather wait for the timepicker to close
* set up test for flaky test runner
* Additional .only
* Remove .only
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* right align duration on alerts observability table
* reason column takes up the remaining width
* add horizontal scrollbar to the table
* add actions label temp solution
* use abbreviated format for duration
* Internationalization for actions
* remove horizontal scroll and bring back initial width
* remove unused import
* remove data as dependency
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: mgiota <giota85@gmail.com>
### Summary
Updates breadcrumbs text for returning to rules page from rule creation and rule details.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* comment out UI display of pending isolation statuses and associated tests
* Change un-isolate form to use `EuiForm` and `EuiFormRow`
* Fix: move component `displayName` to file that has that component's src
* [Metrics UI] Change dropLastBucket to dropPartialBuckets
- Change offset calculation to millisecond percission
- Change dropLastBucket to dropPartialBuckets
- Impliment partial bucket filter
- Adding partial bucket filter to metric threshold alerts
* Cleaning up getElasticsearchMetricQuery
* Change timestamp to from_as_string to align to how date_histgram works
* Fixing tests to be more realistic
* fixing types; removing extra imports
* Fixing new mock data to work with previews
* Removing value checks since they don't really provide much value
* Removing test for refactored functinality
* Change value to match millisecond resolution
* Fixing values for new partial bucket scheme
* removing unused var
* Fixing lookback since drops more than last buckets
* Changing results count
* fixing more tests
* Removing empty describe
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add comments for other developers.
* Move OS infomation into meta key.
* Refmt endpoint metrics.
* Add helper funcs to batch sending.
* Add test to ensure opt in status.
* Add helpers test.
* Finish reshaping the document based on feedback.
* Add better type safety. Add policy package version to output.
* Fix sender implementation for aggregating EP datastreams.
* Fix type issues.
* Fix cadence inference + miss default agent id.
* Dynamically control search ranges for metrics + policy responses.
* Set back to 24h.
* Add comment for ignoring the default policy id.
* explicitly type the sub agg search query.
* Improve type safety.
* Add additional type safety + try/catch the last block.
* Remove unneeded optional chaining.
* Destructure host metrics.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
* [ML] Fix flaky saved search
* [ML] Re-enable tests
* [ML] Make data viz the only tests for flaky test suite runner
* [ML] Make ML only
* [ML] Remove describe.only
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>