- Replace the clipboard blocking configuration
Retrieve the clipboard blocking configuration
Replace the clipboard blo...
Replaces your organization's clipboard blocking configuration with the configuration you send. Any rule you don't include is deleted, and globals.customContentPatterns replaces your entire custom-pattern list — send the complete set you want to keep, or an empty array to clear it.
A rule with an id updates the existing rule with that id. A rule without an id is created. Rules are evaluated in the order you send them, and the first rule that matches wins.
To change part of the configuration, retrieve it first, apply your changes, and send the complete configuration back.
Security
x-api-key
PUT
- Remove all rules and clear custom content patterns
- Warn when incident tickets are copied on company profiles
curl -i -X PUT \
https://api.pushsecurity.com/v1/controls/clipboardBlocking/configuration \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"globals": {
"customContentPatterns": []
},
"rules": []
}'Response
{ "globals": { "customContentPatterns": [ { "enum": "CUSTOM_INCIDENT_TICKET", "name": "Incident ticket", "regex": "INC-\\d{6}" } ] }, "rules": [ { "id": "c478966c-f927-411c-b919-179832d3d50c", "name": "Warn when copying incident tickets", "enabled": true, "mode": "WARN", "operation": "COPY", "contentCapture": true, "maskPii": true, "title": "Sensitive content", "subtext": "Copying incident tickets outside company applications is not permitted.", "copyRedactedButtonText": "Copy redacted", "copyOriginalButtonText": "Copy anyway", "acknowledgeButtonText": "Understood", "criteria": { "employeeIds": { "matches": [ … ] }, "employeeGroups": { "matches": [ … ] }, "urlPatterns": { "matches": [ … ] }, "regexPatterns": { "matches": [ … ] }, "profileScope": { "matches": [ … ] } } } ] }