Project

General

Profile

Actions

Bug #4247

closed

Reports containing a _ in the "Policy" (human readable policy name) are rejected by rsyslog

Added by Jonathan CLARKE over 10 years ago. Updated over 8 years ago.

Status:
Released
Priority:
4
Assignee:
Matthieu CERDA
Category:
Web - Compliance & node report
Target version:
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

Also available in: Atom PDF