Sha256: cfdfa8cce92b1632d2840ce7dfef05f9e3a278c06314f0cff8627df511a71141
Contents?: true
Size: 565 Bytes
Versions: 10
Compression:
Stored size: 565 Bytes
Contents
module Outliers module Resources module Aws module Iam class User < Resource def no_access_keys? logger.debug "#{id} has #{access_keys.count} access key(s)." !access_keys.any? end def no_password_set? !source.login_profile.exists? end def mfa_enabled? source.mfa_devices.count > 0 end private def access_keys @access_keys ||= source.access_keys end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems