This URL allows you to get details of licenses assigned to the Sensor in a stack
Resource URL
sensorstack/license/<stack_name>
Request Parameters
URL parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Name of the stack | String | Yes |
Response Parameters
Following fields are returned if the request parameters are correct.
Field Name | Description | Data Type |
|---|---|---|
| Displays the success status | Boolean |
| Displays the message | String |
| Displays the error message | Boolean |
| An object that contains the details of the field | Object |
| Error code | Number |
Details of data:
Field Name | Description | Data Type |
|---|---|---|
| List of license details | Array |
| Validity status of license | String |
Details of licensedevList:
Field Name | Description | Data Type |
|---|---|---|
| License ID details | String |
| Capacity details | Number |
| Name of the customer | String |
| Grant ID details | String |
| Grant index details | Number |
| Sensor model details | String |
| Date of license expiry | String |
| Perpetual license status | Boolean |
| Status of grace period | Boolean |
Example
Request
GET https://<IPSM_IP>/sdkapi/sensorstack/license/suricata_stack_41_42
Response
{
"success": true,
"msg": "Success",
"errMsg": null,
"data": {
"licensedevList": [
{
"licenseId": "NS96000605",
"capacity": 60.0,
"customerName": "Trellix - for Eval Purposes Only",
"grantID": "96000605",
"grantIndex": 1,
"sensorModel": "IPS-NS9600",
"expiryDate": "05-01-2026",
"perpetual": false,
"gracePeriodActive": false
},
{
"licenseId": "NS96000604",
"capacity": 60.0,
"customerName": "Trellix - for Eval Purposes Only",
"grantID": "96000604",
"grantIndex": 1,
"sensorModel": "IPS-NS9600",
"expiryDate": "05-01-2026",
"perpetual": false,
"gracePeriodActive": false
}
],
"licensevalState": "VALID"
},
"errorCode": 0
}Error Information
The following error code is returned by this URL:
S.No | Generic Error Codes | ErrorMessage | Error Reason |
|---|---|---|---|
1 | 1001 | Bad URL - HTTP 404 Not Found | Mistyped URL |
Internal Error – Null | Incorrect Input data, authentication issues |