fix(iwooos): restore wazuh manager posture access
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m34s
CD Pipeline / build-and-deploy (push) Successful in 6m32s
CD Pipeline / post-deploy-checks (push) Successful in 1m49s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m34s
CD Pipeline / build-and-deploy (push) Successful in 6m32s
CD Pipeline / post-deploy-checks (push) Successful in 1m49s
This commit is contained in:
@@ -46,10 +46,10 @@ ProbeRunner = Callable[..., Awaitable[ReadOnlyProbeResult]]
|
||||
_POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"ansible:wazuh-manager-posture-readback": (
|
||||
AssetPostcondition(
|
||||
"host_112_wazuh_manager_control_binary",
|
||||
"host_112_wazuh_manager_unit_loaded",
|
||||
"security",
|
||||
"host_112",
|
||||
"test -f /var/ossec/bin/wazuh-control",
|
||||
"systemctl show --property=LoadState --value wazuh-manager.service | grep -Fxq loaded",
|
||||
),
|
||||
AssetPostcondition(
|
||||
"host_112_wazuh_manager_runtime",
|
||||
|
||||
Reference in New Issue
Block a user