qs_cfn_lint_rules/IAMNotAction.py [43:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    shortdesc = 'Combining Action and NotAction is a bad idea.'
    description = 'Making sure Action and NotAction are not used in an IAM statement together'
    source_url = 'https://github.com/qs_cfn_lint_rules/qs-cfn-python-lint-rules'
    tags = ['iam']
    SEARCH_PROPS = ['Resource']

    def match(self, cfn):
        """Basic Matching"""
        violation_matches = []
        term_matches = []
        for prop in self.SEARCH_PROPS:
            term_matches += cfn.search_deep_keys(prop)
        for tm in term_matches:
            violating_policy = determine_action_notaction_violation(cfn, tm[:-2])
            if violating_policy:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



qs_cfn_lint_rules/IAMNotResource.py [38:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    shortdesc = 'Combining Action and NotAction is a bad idea.'
    description = 'Making sure Action and NotAction are not used in an IAM statement together'
    source_url = 'https://github.com/qs_cfn_lint_rules/qs-cfn-python-lint-rules'
    tags = ['iam']
    SEARCH_PROPS = ['Resource']

    def match(self, cfn):
        """Basic Matching"""
        violation_matches = []
        term_matches = []
        for prop in self.SEARCH_PROPS:
            term_matches += cfn.search_deep_keys(prop)
        for tm in term_matches:
            violating_policy = determine_action_notaction_violation(cfn, tm[:-2])
            if violating_policy:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



