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
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)
Updated by Benoît PECCATTE about 8 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1057
Updated by Benoît PECCATTE about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|d8f6537c0fd7ebdaaba3f8331ba91b9c561646a5.
Updated by Benoît PECCATTE about 8 years ago
- Target version changed from 4.0.0~rc2 to 318
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 318 to 4.0.0~rc2
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Updated by Alexis Mousset about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.