Merge "Manage password_validator regex"
This commit is contained in:
commit
ca8fc7ea69
@ -537,3 +537,15 @@ topics:
|
||||
description:
|
||||
requires:
|
||||
- overcloud-resource-registry-puppet.yaml
|
||||
|
||||
- title: Security Options
|
||||
description: Security Hardening Options
|
||||
environment_groups:
|
||||
- title: Horizon Password Validation
|
||||
description: Enable Horizon Password validation
|
||||
environments:
|
||||
- file: environments/horizon_password_validation.yaml
|
||||
title: Horizon Password Validation
|
||||
description:
|
||||
requires:
|
||||
- overcloud-resource-registry-puppet.yaml
|
||||
|
5
environments/horizon_password_validation.yaml
Normal file
5
environments/horizon_password_validation.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
# Use this enviroment to pass in validation regex for horizons password
|
||||
# validation checks
|
||||
parameter_defaults:
|
||||
HorizonPasswordValidator: '.*'
|
||||
HorizonPasswordValidatorHelp: 'Your password does not meet the requirements.'
|
@ -27,6 +27,14 @@ parameters:
|
||||
description: A list of IP/Hostname for the server Horizon is running on.
|
||||
Used for header checks.
|
||||
type: comma_delimited_list
|
||||
HorizonPasswordValidator:
|
||||
description: Regex for password validation
|
||||
type: string
|
||||
default: ''
|
||||
HorizonPasswordValidatorHelp:
|
||||
description: Help text for password validation
|
||||
type: string
|
||||
default: ''
|
||||
HorizonSecret:
|
||||
description: Secret key for Django
|
||||
type: string
|
||||
@ -71,6 +79,8 @@ outputs:
|
||||
options: ['FollowSymLinks','MultiViews']
|
||||
horizon::bind_address: {get_param: [ServiceNetMap, HorizonNetwork]}
|
||||
horizon::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
||||
horizon::password_validator: {get_param: [HorizonPasswordValidator]}
|
||||
horizon::password_validator_help: {get_param: [HorizonPasswordValidatorHelp]}
|
||||
horizon::secret_key:
|
||||
yaql:
|
||||
expression: $.data.passwords.where($ != '').first()
|
||||
|
Loading…
x
Reference in New Issue
Block a user