Skip to content

GetSecurityPolicy

Returns the platform-wide password and authentication throttling policy.

GET

https://{some_domain}/mng/security/policy

Authorization

Requires an authenticated staff session whose manager record has super_admin: 1. Other staff receive 403 PERMISSION_DENIED.

Success Response

{
  "password": {
    "profile": "strong",
    "min_length": 15,
    "max_length": 128,
    "require_uppercase": false,
    "require_lowercase": false,
    "require_digit": false,
    "require_special": false,
    "reject_common": true
  },
  "bruteforce": {
    "profile": "strong",
    "window_seconds": 900,
    "password_attempts": 5,
    "otp_attempts": 3,
    "initial_block_seconds": 300,
    "max_block_seconds": 1800,
    "ip_attempts": 100,
    "ip_block_seconds": 300
  }
}

The response includes every field: password profile, min_length, max_length, require_uppercase, require_lowercase, require_digit, require_special, reject_common; brute-force profile, window_seconds, password_attempts, otp_attempts, initial_block_seconds, max_block_seconds, ip_attempts, and ip_block_seconds.

Errors

HTTP Error Description
403 PERMISSION_DENIED Caller is not a SuperAdmin.
503 SECURITY_GUARD_UNAVAILABLE The policy manager is unavailable.