This URL retrieves the details of the domain name exception from the IPS inspection allowlist.
Resource URL
GET /domainnameexceptions/ipsinspectionallowlist/IPSDNEDetail/<domainName>
Request Parameters
URL Parameters:
Field Name | Description | Data Type |
|---|---|---|
| Name of the domain | String |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| List of domains from the IPS inspection allowlist | ObjectList |
Details of dneDetail :
Field Name | Description | Data Type |
|---|---|---|
| Domain name exception id | Number |
| State of the domain name exception (Enabled/Disabled) | String |
| Name of the domain | String |
| Description of the exception | String |
| Type of the domain (Custom/Default) | String |
| Details of the time and username under which the domain name exception was added | String |
Example
Request
GET https://<NSM_IP>/domainnameexceptions/ipsinspectionallowlist/IPSDNEDetail/www.google.com
Response
{
'dneDetail': [{
'id': 10118,
‘state’: ‘E’,
'domainName':'www.google.com', ‘comment’: ‘Google’
‘domainType’: ‘C’,
'lastUpdated': 'Jan 13 6:35 (admin)'
},
}
Error Information
Following error codes are returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 500 | 1001 | Internal error message: Internal server error |
2 | 500 | 1001 | Internal error message: Domain name not found |