mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
## Summary Partially resolves: https://github.com/elastic/kibana/issues/164255, this is 2/3 of the scoped query changes. Maintenance window scoped query frontend changes. Adds the ability to add and edit scoped query for maintenance windows. Due to limitations with the alerts search bar and each solution fetches AAD fields, we only allow users to associate scoped query with 1 category (manangement, o11y, or security solution). The intended usage in this case is for the user to create multiple maintenance windows if they wish to apply scoped queries to multiple solutions. ### To test: go to `x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts` and set `IS_SCOPED_QUERY_ENABLED` to `true` ### Scoped query off, multiple category allowed: ![image]( |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.mdx | ||
setup_tests.ts | ||
tsconfig.json |
# @kbn/alerts-ui-shared --- id: AlertsUIShared/Components/AlertLifecycleStatusBadge slug: /kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx title: Alert Lifecycle Status description: A component to show the status of an alert tags: ['kbn-alerts-ui-shared', 'component'] date: 2023-02-07 --- ## Description A component to show the status of an alert