Project

General

Profile

Actions

Bug #27369

open

Nodes API payload for agentKey has the wrong JSON format

Added by Clark ANDRIANASOLO 4 days ago. Updated 2 days ago.

Status:
Pending technical review
Priority:
2
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
91
Name check:
To do
Fix check:
To do
Regression:
No

Description

In 8.3, since #25884, the POST /api/nodes/<nodeid> endpoint only supports to update the agent key value with a wrapping JSON object, however a string is expected :

{"agentKey":{"status":"certified", "value": { "value": "-----BEGIN CERTIFICATE---[..] "}}}

instead of

{"agentKey":{"status":"certified", "value": "-----BEGIN CERTIFICATE---[..] "}}


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #25884: Migrate SecurityToken ldap json serialisation to ZIOReleasedClark ANDRIANASOLOActions
Actions #1

Updated by Clark ANDRIANASOLO 4 days ago

Actions #2

Updated by François ARMAND 2 days ago

  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND 2 days ago

  • Priority changed from To review to 2
Actions #4

Updated by François ARMAND 2 days ago

  • Status changed from New to In progress
Actions #5

Updated by François ARMAND 2 days ago

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

Also available in: Atom PDF