Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Fix custom rules
Browse files Browse the repository at this point in the history
  • Loading branch information
l01cd3v committed Aug 4, 2017
1 parent b386eb9 commit 45f8288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWSScout2/rules/rule.py
Expand Up @@ -72,7 +72,7 @@ def set_definition(self, rule_definitions, attributes = [], ip_ranges = [], para
condition[2] = read_ip_ranges(filename, local_file = local_file, ip_only = True)
break
else:
condition[2] = params[testcase]['name']
condition[2] = testcase['regex']
break

if len(attributes) == 0:
Expand Down

0 comments on commit 45f8288

Please sign in to comment.