policies_password_list
GET/policies/password/
Password Policy Viewset
Request
Query Parameters
Which field to use when ordering the results.
A page number within the paginated result set.
Number of results to return per page.
A search term.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
pagination
object
required
results
object[]
required
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
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.
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"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
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}