class IamPolicyPassRoleWildcardResourceRule

Public Instance Methods

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