Use this REST API call to send a request to apply Network Discovery policies. This API pushes all enabled Network discovery scans to the Trellix DLP Discover server.
POST request URL
https://<epo_server_name:port>/rest/dlp/networkDiscovery/policy/apply
Where, epo_server_name:port is the server IP address and port number.
Request Parameters
Parameter name | Description | Required | Values |
|---|---|---|---|
Authorization | User credentials for ePO - On-prem. | Required |
Sample POST request URL
https://172.27.108.53:8443/rest/dlp/networkDiscovery/policy/apply
Sample cURL command
curl -k -v -X POST 'https://172.27.108.53:8443/rest/dlp/networkDiscovery/policy/apply' -u '<user>:<password>'
Sample response
Applied successfully
Status and error codes
List of HTTP status codes returned for the query.
Code | Description |
|---|---|
200 OK | Returns a message when the policies are applied successfully. |
404 Not Found | Incorrect ePO - On-prem URL. |
500 Internal Server Error | An error on the server side that failed the request. See the ePO - On-prem |