Project

General

Profile

Bug #4247

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

Added by Jonathan CLARKE over 6 years ago. Updated over 4 years ago.

Status:
Released
Priority:
4
Assignee:
Matthieu CERDA
Category:
Web - Compliance & node report
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.

#1

Updated by Jonathan CLARKE over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/251
#2

Updated by Jonathan CLARKE over 6 years ago

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

Applied in changeset policy-templates:commit:8f0138d3402db9fb989613fa00675c8ef562161c.

#3

Updated by Jonathan CLARKE over 6 years ago

Applied in changeset policy-templates:commit:8f165c18b3a7944b75cf81512b102701df117853.

#4

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.4.13 to 2.6.10

Since we will not make any more releases of 2.4 version, moving all those issues to 2.6

#5

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.10 which was released today.
Check out:

#6

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 2.6.10 to 2.9.2

Also available in: Atom PDF