./check-aws.rb:155:in check_password_policy': undefined method>' for nil:NilClass (NoMethodError)
from ./check-aws.rb:132:in check_iam' from ./check-aws.rb:444:in'
In this case max_password_age is nill. should fail the check for sure, need to add nill checks to all the statements.
./check-aws.rb:155:in'
check_password_policy': undefined method
>' for nil:NilClass (NoMethodError) from ./check-aws.rb:132:incheck_iam' from ./check-aws.rb:444:in
In this case max_password_age is nill. should fail the check for sure, need to add nill checks to all the statements.