lib/resources/aws/aws_iam_users.rb in inspec-3.7.1 vs lib/resources/aws/aws_iam_users.rb in inspec-3.7.11

- old
+ new

@@ -3,11 +3,11 @@ # author: Simon Varlow # author: Chris Redekop class AwsIamUsers < Inspec.resource(1) name 'aws_iam_users' desc 'Verifies settings for AWS IAM users' - example ' + example <<~EXAMPLE describe aws_iam_users.where(has_mfa_enabled?: false) do it { should_not exist } end describe aws_iam_users.where(has_console_password?: true) do it { should exist } @@ -16,10 +16,10 @@ it { should_not exist } end describe aws_iam_users.where(has_attached_policies?: true) do it { should_not exist } end - ' + EXAMPLE supports platform: 'aws' include AwsPluralResourceMixin def self.lazy_get_login_profile(row, _criterion, table)