policies_password_retrieve
GET/policies/password/:policy_uuid/
Password Policy Viewset
Request
Path Parameters
A UUID string identifying this Password Policy.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
Get object component so that we know how to edit the object
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Return objects policy is bound to
Field key to check, field keys defined in Prompt stages are available.
Possible values: <= 2147483647
Possible values: <= 2147483647
Possible values: <= 2147483647
Possible values: <= 2147483647
Possible values: <= 2147483647
How many times the password hash is allowed to be on haveibeenpwned
Possible values: <= 2147483647
If the zxcvbn score is equal or less than this value, the policy will fail.
Possible values: <= 2147483647
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"execution_logging": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"bound_to": 0,
"password_field": "string",
"amount_digits": 0,
"amount_uppercase": 0,
"amount_lowercase": 0,
"amount_symbols": 0,
"length_min": 0,
"symbol_charset": "string",
"error_message": "string",
"check_static_rules": true,
"check_have_i_been_pwned": true,
"check_zxcvbn": true,
"hibp_allowed_count": 0,
"zxcvbn_score_threshold": 0
}
- application/json
- Schema
- Example (from schema)
Schema
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}