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

Also available in: Atom PDF