mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
9616ebf19a
* Add example AWS profile Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add example Azure profile Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
8 lines
245 B
Ruby
8 lines
245 B
Ruby
control 'iam_users_console_users_mfa' do
|
|
title 'Users with console access must have MFA enabled'
|
|
impact 1.0
|
|
|
|
describe aws_iam_users.where { has_console_password and not has_mfa_enabled } do
|
|
its('entries') { should be_empty }
|
|
end
|
|
end
|