Describe the bug
When all alerts, in an incident set to resolve on all_resolved, are resolved it does not resolve the incident.
These alerts are resolved by enriching the alert to "resolved" through a workflow.
Manually resolving these alerts does resolve the incident. However for my purposes I need to be able to resolve incidents programatically.
To Reproduce
I am on version 0.51 (latest).
Create an incident via correlation set to Resolve on all_resolved.
Resolve those alerts via a workflow. The incident will not resolve.
This is the action I am using to resolve the alerts:
`
actions:
- name: resolve-dag-alerts
foreach: " {{ steps.get-firing-alerts.results }} "
provider:
type: mock
with:
enrich_alert:
- key: status
value: resolved
disposable: true
- key: resolved_by
value: keep-workflow
`
Expected behavior
When a workflow enriches all alerts to resolve in an incident set to resolve on all alerts resolved, that incident should resolve.
Screenshots
Additional context
There is another issue describing the same problem which apparently has been fixed, however this does not seem to be the case for me.
#3142
Describe the bug
When all alerts, in an incident set to resolve on all_resolved, are resolved it does not resolve the incident.
These alerts are resolved by enriching the alert to "resolved" through a workflow.
Manually resolving these alerts does resolve the incident. However for my purposes I need to be able to resolve incidents programatically.
To Reproduce
I am on version 0.51 (latest).
Create an incident via correlation set to Resolve on all_resolved.
Resolve those alerts via a workflow. The incident will not resolve.
This is the action I am using to resolve the alerts:
`
actions:
`
Expected behavior
When a workflow enriches all alerts to resolve in an incident set to resolve on all alerts resolved, that incident should resolve.
Screenshots
Additional context
There is another issue describing the same problem which apparently has been fixed, however this does not seem to be the case for me.
#3142