Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #9356: Change rudder_common_report to automatically convert the report type based on audit mode #1057

Conversation

peckpeck
Copy link
Member

Copy link
Member

@ncharles ncharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question on the method used

"new_status" string => ifelse(strcmp("${status}", "result_na"), "audit_na", "${status}");
"new_status" string => ifelse(strcmp("${status}", "result_success"), "audit_compliant", "${status}");
"new_status" string => ifelse(strcmp("${status}", "result_repaired"), "audit_error", "${status}");
"new_status" string => ifelse(strcmp("${status}", "result_error"), "audit_noncompliant", "${status}");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, the result_repaired need to be checked below in audit, so we can replace the value.
Thank you !

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit d8f6537 into Normation:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants