mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[RAM] Allow conditional action for rule type with AAD (#167556)
## Summary With this change, we will let rule type to use conditional action if the rule type create alert in the alert index. We will need to some clean up on these two fields `HasAlertsMappings` and `hasFieldsForAAD` in future release. (https://github.com/elastic/kibana/issues/167558)
This commit is contained in:
parent
d7b7659322
commit
3545d3023e
2 changed files with 3 additions and 1 deletions
|
@ -164,6 +164,7 @@ describe('ActionForm - Slack API Connector', () => {
|
|||
|
||||
const testProps = {
|
||||
...baseProps,
|
||||
hasAlertsMappings: false,
|
||||
actions: testActions,
|
||||
};
|
||||
|
||||
|
|
|
@ -358,7 +358,8 @@ export const ActionTypeForm = ({
|
|||
setActionGroupIdByIndex &&
|
||||
!actionItem.frequency?.summary;
|
||||
|
||||
const showActionAlertsFilter = hasFieldsForAAD || producerId === AlertConsumers.SIEM;
|
||||
const showActionAlertsFilter =
|
||||
hasFieldsForAAD || producerId === AlertConsumers.SIEM || hasAlertsMappings;
|
||||
|
||||
const accordionContent = checkEnabledResult.isEnabled ? (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue