mirror of
https://github.com/inspec/inspec
synced 2024-12-21 02:23:13 +00:00
8 lines
269 B
Ruby
8 lines
269 B
Ruby
|
describe aws_iam_user('mfa_not_enabled_user') do
|
||
|
its('has_mfa_enabled?') { should be false }
|
||
|
its('has_console_password?') { should be false }
|
||
|
end
|
||
|
|
||
|
describe aws_iam_user('console_password_enabled_user') do
|
||
|
its('has_console_password?') { should be true }
|
||
|
end
|