fix ckv_aws_63 to handle conf dict properly
@@ -16,7 +16,7 @@ class IAMStarActionPolicyDocument(BaseResourceCheck):
def scan_resource_conf(self, conf):
if 'policy' in conf.keys():
try:
- policy_block = json.loads(conf['policy'][0])
+ policy_block = conf['policy'][0]
if 'Statement' in policy_block.keys():
for statement in force_list(policy_block['Statement']):
if 'Action' in statement and \
