You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran report I got a few dozen of these errors:
* Auditing accounts
WARNING:policyuniverse:ARN Could not parse [AID*******************CS].
WARNING:policyuniverse:Auditor could not parse ARN AID********************CS.
Then the report had a critical finding for audit error which detailed as:
"exception": "'Arn'",
"traceback": "Traceback (most recent call last):\n File \"/cloudmapper/shared/audit.py\", line 1076, in audit\n audit_iam(findings, region)\n File \"/cloudmapper/shared/audit.py\", line 210, in audit_iam\n find_admins_in_account(region, findings)\n File \"/cloudmapper/shared/iam_audit.py\", line 276, in find_admins_in_account\n policy[\"Arn\"],\nKeyError: 'Arn'\n"
When I ran
report
I got a few dozen of these errors:Then the report had a critical finding for audit error which detailed as:
Which flags this line:
cloudmapper/shared/iam_audit.py
Line 276 in 1e60e1f
I think the error is that the
ARN
is at the next level of JSON up. Whenpolicy
is defined here:cloudmapper/shared/iam_audit.py
Line 267 in 1e60e1f
So line 276 should be
role['Arn']
and I think the errors are related but not sure.The text was updated successfully, but these errors were encountered: