Actions
Bug #4247
closedReports containing a _ in the "Policy" (human readable policy name) are rejected by rsyslog
Status:
Released
Priority:
4
Assignee:
Matthieu CERDA
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The reports line is defined as follows (see https://www.rudder-project.org/foswiki/Development/ReportsInTechniques):
@@Policy@@Type@@RuleId@@DirectiveId@@VersionId@@Component@@Key@@ExecutionTimeStamp##NodeId@#HumanReadableMessage
The regex in the rsyslog config file for the Policy field is:
[ a-zA-Z0-9\-]+?
This is rather limited for a "human readable" name. We need at least to add underscore because many things in the CFEngine world use underscores.
Actions