kibana/docs/developer
Umberto Pepato a2a8a0e9a8
[8.x] [ResponseOps][Alerts] Create embeddable alerts table plugin (#213909) (#215861)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Alerts] Create embeddable alerts table plugin
(#213909)](https://github.com/elastic/kibana/pull/213909)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-21T10:02:54Z","message":"[ResponseOps][Alerts]
Create embeddable alerts table plugin (#213909)\n\n## Summary\n\nCreates
a wrapper plugin around the alerts table, that registers a basic\nalerts
table embeddable panel for dashboards.\n\n> [!NOTE]\n> This PR is a
preparation work for the [embeddable
alerts\ntable](https://github.com/elastic/kibana/issues/197483). The
feature is\ndisabled for end-users while waiting for other dependent PRs
to be\nintegrated with this, and uses a partially hard-coded
table\nconfiguration for testing purposes. The final panel will be
fully\nconfigurable by the user.\n\n## Verification steps\n\n1.
Uncomment this
line\n\n4d49e98b4d/x-pack/platform/plugins/shared/embeddable_alerts_table/public/plugin.ts (L34)\n(I'm
using a comment to avoid polluting the embeddable examples app
with\nthis panel for a short time)\n2. Create one or more ES Query rules
that fire alerts\n3. Visit the Dashboards page and create a dashboard,
then enter edit\nmode\n4. Click \"Add panel\"\n5. Under
\"Visualizations\" choose \"Alerts table\"\n6. Check that the table
panel was created correctly\n6.1. Shows any alerts fired by the ES Query
rule(s)\n6.2. Check that the table adapts correctly to the panel when
resizing,\nand all normal interactions with the alerts table work
correctly\n(adding/removing fields, opening alerts in flyouts, using
row/bulk\nactions)\n6.3. Check that panels respond to the global time
filter (only time\nfilters, not KQL search or filters)\n6.4. Check that
panels respond to individual time filters (⛭ icon >\nApply custom time
range)\n11. Create a role with access to dashboards but without any
alerting\ncapability and a user assigned to that role\n12. Repeat steps
3 and 4, and verify that the \"Alerts table\" option\nisn't available
under \"Visualizations\"\n13. Add any alerting capability to the role,
such as Management > Stack\nrules\n14. Repeat steps 3 and 4, and verify
that the \"Alerts table\" is\navailable again\n\n## References\n\nCloses
#203611\n\n### Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4aab9d4c4832ae5f59c29cfa36d29b56317da344","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport
missing","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps][Alerts]
Create embeddable alerts table
plugin","number":213909,"url":"https://github.com/elastic/kibana/pull/213909","mergeCommit":{"message":"[ResponseOps][Alerts]
Create embeddable alerts table plugin (#213909)\n\n## Summary\n\nCreates
a wrapper plugin around the alerts table, that registers a basic\nalerts
table embeddable panel for dashboards.\n\n> [!NOTE]\n> This PR is a
preparation work for the [embeddable
alerts\ntable](https://github.com/elastic/kibana/issues/197483). The
feature is\ndisabled for end-users while waiting for other dependent PRs
to be\nintegrated with this, and uses a partially hard-coded
table\nconfiguration for testing purposes. The final panel will be
fully\nconfigurable by the user.\n\n## Verification steps\n\n1.
Uncomment this
line\n\n4d49e98b4d/x-pack/platform/plugins/shared/embeddable_alerts_table/public/plugin.ts (L34)\n(I'm
using a comment to avoid polluting the embeddable examples app
with\nthis panel for a short time)\n2. Create one or more ES Query rules
that fire alerts\n3. Visit the Dashboards page and create a dashboard,
then enter edit\nmode\n4. Click \"Add panel\"\n5. Under
\"Visualizations\" choose \"Alerts table\"\n6. Check that the table
panel was created correctly\n6.1. Shows any alerts fired by the ES Query
rule(s)\n6.2. Check that the table adapts correctly to the panel when
resizing,\nand all normal interactions with the alerts table work
correctly\n(adding/removing fields, opening alerts in flyouts, using
row/bulk\nactions)\n6.3. Check that panels respond to the global time
filter (only time\nfilters, not KQL search or filters)\n6.4. Check that
panels respond to individual time filters (⛭ icon >\nApply custom time
range)\n11. Create a role with access to dashboards but without any
alerting\ncapability and a user assigned to that role\n12. Repeat steps
3 and 4, and verify that the \"Alerts table\" option\nisn't available
under \"Visualizations\"\n13. Add any alerting capability to the role,
such as Management > Stack\nrules\n14. Repeat steps 3 and 4, and verify
that the \"Alerts table\" is\navailable again\n\n## References\n\nCloses
#203611\n\n### Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4aab9d4c4832ae5f59c29cfa36d29b56317da344"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213909","number":213909,"mergeCommit":{"message":"[ResponseOps][Alerts]
Create embeddable alerts table plugin (#213909)\n\n## Summary\n\nCreates
a wrapper plugin around the alerts table, that registers a basic\nalerts
table embeddable panel for dashboards.\n\n> [!NOTE]\n> This PR is a
preparation work for the [embeddable
alerts\ntable](https://github.com/elastic/kibana/issues/197483). The
feature is\ndisabled for end-users while waiting for other dependent PRs
to be\nintegrated with this, and uses a partially hard-coded
table\nconfiguration for testing purposes. The final panel will be
fully\nconfigurable by the user.\n\n## Verification steps\n\n1.
Uncomment this
line\n\n4d49e98b4d/x-pack/platform/plugins/shared/embeddable_alerts_table/public/plugin.ts (L34)\n(I'm
using a comment to avoid polluting the embeddable examples app
with\nthis panel for a short time)\n2. Create one or more ES Query rules
that fire alerts\n3. Visit the Dashboards page and create a dashboard,
then enter edit\nmode\n4. Click \"Add panel\"\n5. Under
\"Visualizations\" choose \"Alerts table\"\n6. Check that the table
panel was created correctly\n6.1. Shows any alerts fired by the ES Query
rule(s)\n6.2. Check that the table adapts correctly to the panel when
resizing,\nand all normal interactions with the alerts table work
correctly\n(adding/removing fields, opening alerts in flyouts, using
row/bulk\nactions)\n6.3. Check that panels respond to the global time
filter (only time\nfilters, not KQL search or filters)\n6.4. Check that
panels respond to individual time filters (⛭ icon >\nApply custom time
range)\n11. Create a role with access to dashboards but without any
alerting\ncapability and a user assigned to that role\n12. Repeat steps
3 and 4, and verify that the \"Alerts table\" option\nisn't available
under \"Visualizations\"\n13. Add any alerting capability to the role,
such as Management > Stack\nrules\n14. Repeat steps 3 and 4, and verify
that the \"Alerts table\" is\navailable again\n\n## References\n\nCloses
#203611\n\n### Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4aab9d4c4832ae5f59c29cfa36d29b56317da344"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-25 17:12:00 +02:00
..
advanced [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
architecture [8.x] SKA: Relocate core mock and test-helper modules (#208538) (#208725) 2025-01-29 14:31:21 +01:00
best-practices [8.x] SKA: Relocate remaining modules (#206103) (#206471) 2025-01-14 08:56:57 +01:00
contributing [8.x] SKA: Relocate /test to /src/platform/test (#210956) (#214791) 2025-03-18 14:48:04 +01:00
getting-started [8.x] [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) (#199438) 2024-11-08 10:41:00 +00:00
images docs: interpreting ci failures (#153549) 2023-03-24 17:27:11 +01:00
plugin [8.x] SKA: Relocate /test to /src/platform/test (#210956) (#214791) 2025-03-18 14:48:04 +01:00
dependencies-versions.asciidoc [Docs] Add link to dependencies page - 8.x (#214667) 2025-03-17 18:05:24 +00:00
index.asciidoc [Docs] Add link to dependencies page - 8.x (#214667) 2025-03-17 18:05:24 +00:00
plugin-list.asciidoc [8.x] [ResponseOps][Alerts] Create embeddable alerts table plugin (#213909) (#215861) 2025-03-25 17:12:00 +02:00
telemetry.asciidoc [dev/cli/timings] report on time to dev server listening (#95120) 2021-03-24 18:45:24 -04:00