Returns your organization's current account condition enforcement 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
- https://api.pushsecurity.comhttps://api.pushsecurity.com/v1/controls/accountConditionEnforcement/configuration
curl -i -X GET \
https://api.pushsecurity.com/v1/controls/accountConditionEnforcement/configuration \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
{ "globals": {}, "rules": [ { "id": "c478966c-f927-411c-b919-179832d3d50c", "name": "Block personal accounts where a password login is observed.", "enabled": true, "mode": "BLOCK", "title": "Account blocked", "subtext": "Logging into this app with a personal email address is not permitted.", "terminateButtonText": "Terminate session", "continueButtonText": "Continue session", "criteria": { "employeeIds": { "matches": [ … ] }, "employeeGroups": { "matches": [ … ] }, "appTypes": { "matches": [ … ] }, "loginDomains": { "matches": [ … ] }, "loginTypes": { "matches": [ … ] }, "browserTypes": { "matches": [ … ] }, "domainScope": { "matches": [ … ] }, "profileScope": { "matches": [ … ] } } } ] }