Project

General

Profile

Actions

Bug #11071

closed

Generated technique name for dsc technique in rudder-directives.ps1 contains forbiden chars

Added by Nicolas CHARLES over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
-
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

We generate technique name with / in it, which is invalid: it prevents the reports from being insered in database
So we should either:
  1. update the rsyslog rule to autorize / in technique name
  2. update the name to not use / in it

editing rudder-directives.ps1 to remove the / in it fixes the reporting

Actions #1

Updated by François ARMAND over 7 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #2

Updated by Nicolas CHARLES over 7 years ago

rsyslog rule is [ a-zA-Z0-9_\-]+?

Actions #3

Updated by François ARMAND over 7 years ago

  • Subject changed from Generated technique name for dsc technique in rudder-directives.ps1 is invalid to Generated technique name for dsc technique in rudder-directives.ps1 contains forbiden chars
Actions #4

Updated by François ARMAND over 7 years ago

OK, so I really don't want to code a generic "utf-8 to ascci" algo for now, I propose to use the technique ID (the one "normalized" by technique editor, used in the Technique directory name, and add the full name as a comment at the end of the line.

Actions #5

Updated by François ARMAND over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1690
Actions #6

Updated by François ARMAND over 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.2.0~beta2 which was released today.

Actions

Also available in: Atom PDF