Actions
Bug #9356
closedUser story #1808: Add an Audit mode to Rudder: only check properties, no modification on nodes
Bug #9265: Add support for audit_* reports in rudder stdlib
Change rudder_common_report to automatically convert the report type based on audit mode
Status:
Released
Priority:
N/A
Assignee:
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Techniques are full of calls to rudder_common_report, with hard_coded result_success, repaired or error
We should update the rudder_common_report to automatically map the result to the right value in audit
String | Enforce | Audit |
result_na | result_na | audit_na |
result_success | result_success | audit_compliant |
result_repaired | result_repaired | audit_error |
result_error | result_error | audit_noncompliant |
A quick remark: the mapping result_error > audit_noncompliant is not complete, as the case n errors + 1 repaired leads to result_error in enforce but it leads to audit_error in audit (error wins in enforce, but repair wins in audit)
Actions