RedHatProductSecurity / trestle-bot

A workflow automation tool for `compliance-trestle`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mapping a rule to multiple control results in a failure

jpower432 opened this issue · comments

Describe the bug

Mapping multiple controls in a rules YAML file results in a failure

To Reproduce
Steps to reproduce the behavior:

  1. Create a component definition with trestlebot-create-cd
  2. Edit the once of the create rules.YAML files to include another control ID (Example here)
  3. Run trestlebot-rules-transform

Expected behavior
The job passes and the rule is mapped to the control I specified

Additional context
Bug discovered here