class IamManagedPolicyPassRoleWildcardResourceRule

Public Instance Methods

policy_type() click to toggle source
# File lib/cfn-nag/custom_rules/IamManagedPolicyPassRoleWildcardResourceRule.rb, line 19
def policy_type
  'AWS::IAM::ManagedPolicy'
end
rule_id() click to toggle source
# File lib/cfn-nag/custom_rules/IamManagedPolicyPassRoleWildcardResourceRule.rb, line 15
def rule_id
  'F40'
end
rule_text() click to toggle source
# File lib/cfn-nag/custom_rules/IamManagedPolicyPassRoleWildcardResourceRule.rb, line 7
def rule_text
  'IAM managed policy should not allow a * resource with PassRole action'
end
rule_type() click to toggle source
# File lib/cfn-nag/custom_rules/IamManagedPolicyPassRoleWildcardResourceRule.rb, line 11
def rule_type
  Violation::FAILING_VIOLATION
end