Project

General

Profile

Actions

Bug #23987

closed

Bug #23930: lost audit/enforce on the node compliance page

Add policy mode info to node compliance API

Added by Clark ANDRIANASOLO 5 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

We don't have neither the policy mode of each rule nor the policy mode of each directive when fetching the compliance for a node (/compliance/nodes/{nodeId}).

We need it to display the badge in the compliance tree


Files


Subtasks 1 (0 open1 closed)

Bug #24085: We need a consistant presence of policyMode in compliance API outputsReleasedFrançois ARMANDActions
Actions #1

Updated by Clark ANDRIANASOLO 5 months ago

  • Status changed from New to In progress
Actions #2

Updated by Clark ANDRIANASOLO 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/5308
Actions #3

Updated by Clark ANDRIANASOLO 5 months ago

  • Status changed from Pending technical review to Pending release

Updated by François ARMAND 4 months ago

The policy mode is missing at top level for node:

And not present at all for rules:

It is inconsistent, I don't think we want that.

Actions #5

Updated by François ARMAND 4 months ago

  • Subtask #24085 added
Actions #6

Updated by François ARMAND 4 months ago

  • Fix check changed from Error - Blocking to Checked
Actions #7

Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.5 which was released today.

Actions

Also available in: Atom PDF