This URL gets passive device profiling setting at the domain level.
Resource URL
GET /domain/<domain_id>/passivedeviceprofiling
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Inherit settings from parent node | Boolean |
| Passive device profiling setting | Object |
Details of fields in passiveDeviceProfilingSetting:
Field Name | Description | Data Type |
|---|---|---|
| Profiling technique to use for device profiling | Object |
| Profile expiration duration for re-profiling of a device | Object |
| Specifies the duration after which information for a device is considered invalid | Number |
Details of fields in profilingTechniques:
Field Name | Description | Data Type |
|---|---|---|
| Enable DHCP for device profiling | Boolean |
| Enable TCP for device profiling | Boolean |
| Enable HTTP for device profiling | Boolean |
Details of fields in profileExpiration:
Field Name | Description | Data Type |
|---|---|---|
| Profile expiration duration | Number |
| Profile expiration duration unit, can be "MINUTES" / "HOURS" | String |
Example
Request
GET https://<NSM_IP>/sdkapi/domain/0/passivedeviceprofiling
Response
{
"inheritSettingsfromIPSSettingsNode": false,
"passiveDeviceProfilingSetting":
{
"profilingTechniques":
{
"DHCPEnableStatus": true,
"TCPEnableStatus": true,
"HTTPEnableStatus": false
},
"profileExpiration":
{
"duration": 30,
"unit": "MINUTES"
},
"hostInactivityTimerInHrs": 2
}
}
Error Information
Following error code is returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1105 | Invalid domain |