Merge "Manage password_validator regex"
This commit is contained in:
@@ -537,3 +537,15 @@ topics:
|
|||||||
description:
|
description:
|
||||||
requires:
|
requires:
|
||||||
- overcloud-resource-registry-puppet.yaml
|
- 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.
|
description: A list of IP/Hostname for the server Horizon is running on.
|
||||||
Used for header checks.
|
Used for header checks.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
|
HorizonPasswordValidator:
|
||||||
|
description: Regex for password validation
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
HorizonPasswordValidatorHelp:
|
||||||
|
description: Help text for password validation
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
HorizonSecret:
|
HorizonSecret:
|
||||||
description: Secret key for Django
|
description: Secret key for Django
|
||||||
type: string
|
type: string
|
||||||
@@ -71,6 +79,8 @@ outputs:
|
|||||||
options: ['FollowSymLinks','MultiViews']
|
options: ['FollowSymLinks','MultiViews']
|
||||||
horizon::bind_address: {get_param: [ServiceNetMap, HorizonNetwork]}
|
horizon::bind_address: {get_param: [ServiceNetMap, HorizonNetwork]}
|
||||||
horizon::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
horizon::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
||||||
|
horizon::password_validator: {get_param: [HorizonPasswordValidator]}
|
||||||
|
horizon::password_validator_help: {get_param: [HorizonPasswordValidatorHelp]}
|
||||||
horizon::secret_key:
|
horizon::secret_key:
|
||||||
yaql:
|
yaql:
|
||||||
expression: $.data.passwords.where($ != '').first()
|
expression: $.data.passwords.where($ != '').first()
|
||||||
|
Reference in New Issue
Block a user