IAM Password Without Uppercase Letter
- Query id: c5ff7bc9-d8ea-46dd-81cb-8286f3222249
- Query name: IAM Password Without Uppercase Letter
- Platform: Terraform
- Severity: Medium
- Category: Best Practices
- URL: Github
Description¶
IAM password should have at least one uppercase letter
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Postitive test num. 1 - tf file
resource "aws_iam_account_password_policy" "positive1" {
require_lowercase_characters = true
require_numbers = true
require_uppercase_characters = false
require_symbols = true
allow_users_to_change_password = true
}
resource "aws_iam_account_password_policy" "positive2" {
minimum_password_length = 3
require_lowercase_characters = true
require_numbers = true
require_symbols = true
allow_users_to_change_password = true
}