This DLP Endpoint
REST API sample attachment adds a functionality that allows the user to update some of the DLP Endpoint definitions. The authentication mechanism that the DLP Endpoint
REST API uses is ePolicy Orchestrator (ePO). An ePO user name and password is needed to authenticate. Technical Support recommends using a dedicated ePO user account for authentication purposes.
The files attached to this article are:
- DlpRestClient.java - Provides full API description; uses Java 7 with Apache HTTP Client 4.5 (https://hc.apache.org/httpcomponents-client-4.5.x)
- DlpClient.cs - Provides an example of C# (.NET 4.5.2) use with RestSharp
- DlpImportGroupSample.csv - Provides a sample CSV file to create the Device Template group.
NOTE: Each CSV line represents a Device Template item that needs to be added to the group. Make sure that the listed Device Template items are present before creating the group.
IMPORTANT: Technical Support doesn’t support the coding or troubleshooting custom scripts for use with the REST API. The scripts provided in the attachments are examples for your reference.
The article also contains the following sample PowerShell scripts to use the API:
- PowerShell to Export Enriched DLP User Information
- PowerShell for Importing Enriched User Information
Considerations before using:
- Make sure that the web services are enabled on the DLP Endpoint Settings page.
- Verify that the user has the correct DLP Endpoint permissions configured in the ePO Policy Catalog for DLP Definitions. Go to Permission Sets, Module, and edit the DLP Endpoint permissions for the user that is calling the REST API.