Files
watcher/releasenotes/notes/bug-2134046-7daa7debfc302122.yaml
Alfredo Moralejo ccbe3ec3b8 Check Audit state in the decision-engine before starting the execution
In some cases, a oneshot audit may be CANCELLED before being executed
and before it's moved to ONGOING. In those cases, the decision-engine is
moving the audit to ONGOING as it is not checking the state.

This patch is implementing Audit state check right before executing it
to make sure it has not been cancelled before.

Closes-Bug: 2134046
Change-Id: I14a59e897dc5c522fd7f7b21eee99e3f4b70a392
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
2026-02-25 11:01:11 +01:00

11 lines
416 B
YAML

---
fixes:
- |
The decision-engine could move a oneshot audit to ONGOING and start
execution even when the audit had already been CANCELLED (e.g. before
it reached ONGOING). The decision-engine now checks the audit state
immediately before execution, so cancelled audits are no longer
executed or transitioned to ONGOING.
For more info see: https://bugs.launchpad.net/watcher/+bug/2134046