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 about 8 years ago. Updated about 8 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 #1

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from New to In progress
Actions #2

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
Actions #3

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Benoît PECCATTE about 8 years ago

  • Target version changed from 4.0.0~rc2 to 318
Actions #5

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 318 to 4.0.0~rc2
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Actions #7

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.

Actions

Also available in: Atom PDF