This URL identifies whether configuration changes occurred.
Resource URL
sensor/<sensor_ID>/config/status
Request Parameters
URL parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| ID of the Sensor | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct.
Field Name | Description | Data Type |
|---|---|---|
| Displays the configuration status | Boolean |
| Displays the reason for modification | String |
Example
Request
GET https://<IPSM_IP>/sdkapi/sensor/1039/config/status
Response
{
"ConfigModified": false,
"Reason": "NA"
}
Note
The ConfigModified field always displays false for Suricata Sensors.
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 |