fix(regex): update Postgres Password, Sentry Secret and Sentry Superuser Password regular expressions for validation (#89)

This commit is contained in:
Aldair Cruz 2019-08-23 01:34:10 +01:00 committed by Kasra Bigdeli
parent 1ffeca9d80
commit 14ffb08e59
1 changed files with 6 additions and 6 deletions

View File

@ -156,14 +156,14 @@
{
"id": "$$cap_pg_pass",
"label": "Postgres Password",
"description": "Password strength requeriments: Should contain at least one digit, one lower case, one upper case and at least 12 from the mentioned characters.",
"validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/"
"description": "Password strength minimal requeriments: Should contain at least one digit, one lower case, one upper case, one special character and at least 12 from the mentioned characters.",
"validRegex": "/^(?=.*[A-Z])(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{12,}$/"
},
{
"id": "$$cap_sentry_secret",
"label": "Sentry Secret",
"description": "A secret key used for cryptographic functions within Sentry. This key should be unique and consistent across all running instances. You can generate a new secret key doing something like: docker run --rm sentry config generate-secret-key. Minimum length: 50 characters.",
"validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{50,}$/"
"description": "A secret key used for cryptographic functions within Sentry. This key should be unique and consistent across all running instances. Password strength minimal requeriments: Should contain at least one digit, one lower case, one special character and at least 50 from the mentioned characters. You can generate a new secret key doing something like: docker run --rm sentry config generate-secret-key",
"validRegex": "/^(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{50,}$/"
},
{
"id": "$$cap_sentry_superuser_email",
@ -173,8 +173,8 @@
{
"id": "$$cap_sentry_superuser_password",
"label": "Sentry Superuser Password",
"description": "Password strength requeriments: Should contain at least one digit, one lower case, one upper case and at least 12 from the mentioned characters.",
"validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/"
"description": "Password strength minimal requeriments: Should contain at least one digit, one lower case, one upper case, one special character and at least 12 from the mentioned characters.",
"validRegex": "/^(?=.*[A-Z])(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{12,}$/"
},
{
"id": "$$cap_sentry_server_mail",