Project

General

Profile

Actions

Bug #9356

closed

User 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

Added by Nicolas CHARLES over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
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)


Subtasks 1 (0 open1 closed)

Bug #9463: Change rudder_common_report to automatically convert the report type based on audit modeReleasedAlexis Mousset2016-10-19Actions
Actions

Also available in: Atom PDF