Actions
Bug #27369
openNodes API payload for agentKey has the wrong JSON format
Status:
Pending technical review
Priority:
2
Assignee:
Category:
API
Target version:
Pull Request:
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---[..] "}}
Actions