ccbe3ec3b8
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>
11 lines
416 B
YAML
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
|