Your DLP API Detection Appliance is up and running and you wish to test the API appliance with some basic tests.
DLP Policies tested:
Keyword test matching: PurpleMonkeyLizard, Secret, Foobar
Creditcard numbers
Social Security numbers
Application to test: Postman (https://www.postman.com/downloads/)
We must first register the postman application for testing.
Registering the application:
1. Log onto the Enforce console as a privileged user.
2. Navigate to Manage -> Application Detection -> Configuration
3. Click 'New Configuration'
4. Name the new application(Postman)
5. Set the 'type' to 'Detection API Appliance'
6. Set the 'Transfer Type' to 'Upload'
7. Save the application.
8. Click on the application and note/copy the ID. We will need this to be in the body of the test data.
Testing with Postman
1. Download, Install, and Open Postman
2. Click on 'Workspaces'
3. Click 'Create Workspace'
4. Name the Workspace
5. Set visibility to 'personal'
6. within the workspace click 'new'
7. Select 'Http Request'
8. Click 'Headers'
9. in the 'KEY' column type 'Content-Type' without quotes
10. in the 'VALUE' column type 'application/json' without quotes
11. click 'Body'
12. Paste the following:
13. Note the 2 instances of 'TO_BE_CHANGED' above.
14. Set common.application to be the name that you named the registered application in step 4 of the 'Registering an Application' section
15. Set comm.filter to the the application ID noted in step 8 of the 'Registering an Application' section.
16. Click 'send'
17. Note the response, and verify an incident is generated in Enforce.