Skip to content

Malicious copy paste detection

Manage the rules that detect malicious copy-paste activity across your organization.

Retrieve the malicious copy paste detection configuration

Request

Returns your organization's current malicious copy paste detection configuration, including every rule and its settings. Rules are returned in the order they're evaluated, with the highest-priority rule first.

Security
x-api-key
GET
/v1/controls/maliciousCopyPasteDetection/configuration
curl -i -X GET \
  https://api.pushsecurity.com/v1/controls/maliciousCopyPasteDetection/configuration \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
globalsobject(Malicious Copy Paste Detection Globals)required

Control-wide settings that apply across every rule.

rulesArray of objects(Malicious Copy Paste Detection Rule)required

Complete list of Malicious Copy Paste Detection rules.

Response
{ "globals": { "ignoredHosts": [ "*.internal.example.com", "build-server", "10.0.1.1" ] }, "rules": [ { "id": "c478966c-f927-411c-b919-179832d3d50c", "name": "Block malicious paste for Finance", "enabled": true, "mode": "BLOCK", "title": "Paste blocked", "subtext": "This paste looks malicious and has been blocked.", "buttonText": "Proceed anyway", "safeText": "This paste is safe to use.", "payloadCollection": true, "osTarget": "WINDOWS", "criteria": { "employeeIds": { "matches": [] }, "employeeGroups": { "matches": [] } } } ] }