This URL fetches user data for a given cluster. The user data is used in deploying a Sensor.
Resource URL
GET /cluster/userdata
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Name of the cluster | string | Yes |
Payload Parameters:
None
Response Parameters
The following fields are returned in the response:
Field Name | Description | Data Type |
|---|---|---|
| Indicates if the GET operation was successful. Value is set to Value is set to | string |
| Displays the message if the GET operation is successful. | string |
| Displays the userdata details. | object |
Details of data object:
Field Name | Description | Data Type |
|---|---|---|
| IP address of the primary Manager | string |
| IP address of the secondary Manager | string |
| Name of the cluster | string |
| Shared secret key | string |
| Mode of the traffic | string |
Example
Request
GET https://<NSM_IP>/intruvert/webservice/api/v1/cloud/cluster/userdata
Response
{
"success": true,
"msg": "Success",
"data": {
"Primary Manager IP": "10.100.10.10",
"Secondary Manager IP": "",
"Cluster Name": "cluster-name",
"Sensor Shared Key": "",
"Traffic Mode": "PROBE"
}
}