2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2025-01-06 10:19:07 +00:00
inspec/test/integration/verify/controls/aws_iam_users.rb
Chris Redekop 033bc13aa0 A real-world working AwsIamUsers ()
* Add aws_iam_users

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Get an aws_iam_users integration test to pass

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Fix RuboCop issues and tests

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Improving code based on PR feedback

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-08-08 15:50:35 +02:00

3 lines
118 B
Ruby

describe aws_iam_users.where(has_console_password?: true).where(has_mfa_enabled?: false) do
it { should exist }
end