APIv2 passwords masked
Posted: Tue Sep 20, 2022 8:13 am
Hi,
we're currently running Unimus 2.2.4.
From time to time I use the API to compile a list of devices for scipting, querying connection details from Unimus.
Currently I cannot get credentials, as passwords are masked with asterisks in the JSON reply.
The API key has "Credentials access", the credentials are not in "high security mode".
Is there something I miss?
Is this expected?
An example:
we're currently running Unimus 2.2.4.
From time to time I use the API to compile a list of devices for scipting, querying connection details from Unimus.
Currently I cannot get credentials, as passwords are masked with asterisks in the JSON reply.
The API key has "Credentials access", the credentials are not in "high security mode".
Is there something I miss?
Is this expected?
An example:
Code: Select all
{"data":{"id":0,"createTime":1570610816,"address":"192.168.111.222","description":"Firewall demo","schedule":null,"vendor":"Fortinet","type":"FortiOS","model":"FortiGate-100D","lastJobStatus":"SUCCESSFUL","connections":[{"type":"SSH","port":1243,"credentials":[{"id":1,"username":"demo","password":"*********","sshKey":null,"description":"Demo"}],"enablePassword":null}]}}