Skip to content

Commit

Permalink
Merge pull request #43 from InRule/DI-46-MarketplaceSQLPassword
Browse files Browse the repository at this point in the history
Updated SQL password validation for marketplace
  • Loading branch information
Connor-Lynch authored Mar 28, 2022
2 parents 07e7613 + 7ea8144 commit 7026b9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Marketplace/CreateUIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"type": "Microsoft.Common.TextBox",
"label": "Resource Name Prefix",
"toolTip": "Resource name prefix that will be used to derive all resource names. The suggested convention is companyName-inrule-environmentName, but other conventions are also allowed.",
"placeholder": "yourCompanyName-inrule-environment",
"placeholder": "yourcompanyname-inrule-environment",
"visible": true,
"constraints": {
"required": true,
Expand Down Expand Up @@ -240,7 +240,9 @@
"toolTip": "The server admin password for the Azure SQL server used to host the irCatalog database",
"visible": true,
"constraints": {
"required": true
"required": true,
"regex": "^(?=.{8,128})((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])|(?=.*\\d)(?=.*[a-zA-Z])(?=.*[\\W_])|(?=.*[a-z])(?=.*[A-Z])(?=.*[\\W_])).*",
"validationMessage": "Your password must be at lest 8 characters and contain characters from three of the following categories – English uppercase letters, English lowercase letters, numbers (0-9), and non-alphanumeric characters (!, $, #, %, etc.)"
}
},
{
Expand Down

0 comments on commit 7026b9b

Please sign in to comment.