Skip to main content

lockout_settings

Creates, updates, deletes, gets or lists a lockout_settings resource.

Overview

Namelockout_settings
TypeResource
Idokta.attack_protection.lockout_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
preventBruteForceLockoutFromUnknownDevicesbooleanPrevents brute-force lockout from unknown devices for the password authenticator.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_lockout_settingsselectsubdomainRetrieves the User Lockout Settings for an org
replace_user_lockout_settingsreplacesubdomainReplaces the User Lockout Settings for an org

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)

SELECT examples

Retrieves the User Lockout Settings for an org

SELECT
preventBruteForceLockoutFromUnknownDevices
FROM okta.attack_protection.lockout_settings
WHERE subdomain = '{{ subdomain }}' -- required;

REPLACE examples

Replaces the User Lockout Settings for an org

REPLACE okta.attack_protection.lockout_settings
SET
data__preventBruteForceLockoutFromUnknownDevices = {{ preventBruteForceLockoutFromUnknownDevices }}
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
preventBruteForceLockoutFromUnknownDevices;