Sha256: afb42bd29ccfa31eea6550cd8469b29ad89ccaab5f0b086aa1021e61c82fce25

Contents?: true

Size: 218 Bytes

Versions: 34

Compression:

Stored size: 218 Bytes

Contents

control 'iam_users_access_key_age' do
  title 'No access keys may be older than 90 days'
  impact 1.0

  describe aws_iam_access_keys.where { created_days_ago > 90 } do
    its('entries') { should be_empty }
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
inspec-2.3.10 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.3.5 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.3.4 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.112 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.102 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.101 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.78 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.70 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.64 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.61 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.55 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.54 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.50 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.41 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.35 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.34 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.27 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.20 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.16 examples/profile-aws/controls/iam_users_access_key_age.rb
inspec-2.2.10 examples/profile-aws/controls/iam_users_access_key_age.rb