Skip to content

Account condition enforcement

Manage the rules that enforce conditions on accounts across your organization.

Retrieve the account condition enforcement configuration

Request

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
curl -i -X GET \
  https://api.pushsecurity.com/v1/controls/accountConditionEnforcement/configuration \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
rulesArray of objects(Account Condition Enforcement Rule)required

Complete list of Account Condition Enforcement rules.

globalsobject

Reserved for control-wide settings. Empty for this control.

Example:
{}
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": [] } } } ] }