inspec/examples/profile-aws/controls/iam_root_user_mfa.rb
Jerry Aldrich 9616ebf19a Add example profiles for AWS/Azure (#2680)
* Add example AWS profile

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Add example Azure profile

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-18 12:12:44 +01:00

8 lines
172 B
Ruby

control 'iam_root_user_mfa' do
title 'MFA should be enabled for the root user'
impact 1.0
describe aws_iam_root_user do
it { should have_mfa_enabled }
end
end