Actions
Bug #14241
closedMissing rule name in compliance API
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
74
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
The name of Directives appears in the output of the compliance API, but not the name of the Rules. This is fairly confusing
# curl -k -H "X-API-Token: A3l7RSAqK6AtOtUu3jhw93MbUaQkvsg6" -X GET 'https://localhost/rudder/api/latest/compliance/rules?level=2&prettify=true' { "action": "getRulesCompliance", "result": "success", "data": { "rules": [ { "id": "32377fd7-02fd-43d0-aab7-28460a91347b", "compliance": 47.37, "mode": "full-compliance", "complianceDetails": { "successAlreadyOK": 39.47, "successNotApplicable": 5.26, "unexpectedMissingComponent": 25.0, "error": 2.63, "unexpectedUnknownComponent": 25.0, "successRepaired": 2.63 }, "directives": [ { "id": "c16e3a90-b9d7-427d-83c1-d80e33124e4c", "name": "File content (from remote template)", "compliance": 50.0, "complianceDetails": { "successAlreadyOK": 41.67, "successNotApplicable": 8.33, "unexpectedMissingComponent": 25.0, "unexpectedUnknownComponent": 25.0 } },
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 4.3.9 to 4.3.10
Updated by François ARMAND almost 6 years ago
- Target version changed from 4.3.10 to 4.3.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.3.11 to 4.3.12
Updated by François ARMAND over 5 years ago
- Translation missing: en.field_tag_list set to good first bug
- Subject changed from Compliance API is inconsistent to Missing rule name in compliance API
- Target version changed from 4.3.12 to 5.0.10
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
- Effort required set to Very Small
- Priority changed from 0 to 76
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
Updated by Nicolas CHARLES over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/2217
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Rudder Quality Assistant over 5 years ago
- Assignee changed from François ARMAND to Nicolas CHARLES
Updated by Nicolas CHARLES over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|39aa684a910366871a55a45dc25d3639e458916a.
Updated by Vincent MEMBRÉ over 5 years ago
- Priority changed from 76 to 75
- Name check set to To do
Updated by Alexis Mousset over 5 years ago
- Priority changed from 75 to 74
- Name check changed from To do to Reviewed
Updated by Nicolas CHARLES over 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.12 which was released today.
Actions