You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add custom action to registry and show actions list in siem (#58395)
* Add custom action to registry and show actions list in siem
* Exposed action form as reusable component
* Fixed few small bugs
* Fixed red ci
* Fixed type checks
* Fixed failed tests
* Fixed due to comments
* Fixed type check errors
* Fixed plugin check
* Rebalancing CI groups according to #58930
* Fixed merge issues
|addFlyoutVisible|Visibility state of the Create Alert flyout.|
717
-
|setAddFlyoutVisibility|Function for changing visibility state of the Create Alert flyout.|
718
718
|reloadAlerts|Optional function, which will be executed if alert was saved sucsessfuly.|
719
719
|http|HttpSetup needed for executing API calls.|
720
720
|alertTypeRegistry|Registry for alert types.|
721
721
|actionTypeRegistry|Registry for action types.|
722
722
|uiSettings|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
723
-
|toastNotifications|Optional toast messages.|
723
+
|toastNotifications|Toast messages.|
724
724
|charts|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
725
725
|dataFieldsFormats|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
726
726
|metadata|Optional generic property, which allows to define component specific metadata. This metadata can be used for passing down preloaded data for Alert type expression component.|
@@ -1204,6 +1204,150 @@ Clicking on the select card for `Example Action Type` will open the action type
1204
1204
or create a new connector:
1205
1205

1206
1206
1207
+
## Embed the Alert Actions form within any Kibana plugin
1208
+
1209
+
Follow the instructions bellow to embed the Alert Actions form within any Kibana plugin:
1210
+
1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies:
1211
+
1212
+
```
1213
+
import {
1214
+
TriggersAndActionsUIPublicPluginSetup,
1215
+
TriggersAndActionsUIPublicPluginStart,
1216
+
} from '../../../../../x-pack/plugins/triggers_actions_ui/public';
|reloadAlerts|Optional function, which will be executed if alert was saved sucsessfuly.|
1343
+
|http|HttpSetup needed for executing API calls.|
1344
+
|alertTypeRegistry|Registry for alert types.|
1345
+
|actionTypeRegistry|Registry for action types.|
1346
+
|uiSettings|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
1347
+
|toastNotifications|Toast messages.|
1348
+
|charts|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
1349
+
|dataFieldsFormats|Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring.|
1350
+
1207
1351
## Embed the Create Connector flyout within any Kibana plugin
1208
1352
1209
1353
Follow the instructions bellow to embed the Create Connector flyout within any Kibana plugin:
0 commit comments