aws-samples / aws-waf-dashboard

1 click deployment for creating AWS WAF dashboard
MIT No Attribution
39 stars 41 forks source link

User Sign Up is open #1

Closed pkennedyvt closed 3 years ago

pkennedyvt commented 4 years ago

The login page allows a user to sign up, get a verification code and then have access. Would probably be best to have the cognito user pool set to "Only Allow Administrators To Create Users".

pkennedyvt commented 4 years ago

I can't make a pull request. Here's what would get added to waf-dashboard.yaml:

AdminCreateUserConfig: AllowAdminCreateUserOnly: True

So that entire resource would be: `UserPool: Type: AWS::Cognito::UserPool Properties: UserPoolName: 'WAFKibanaUsers' AdminCreateUserConfig: AllowAdminCreateUserOnly: True UsernameAttributes:

tstachlewski commented 3 years ago

Fixed.