Skip to content

Commit

Permalink
Beta release coinciding with blog post QA
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 27, 2023
1 parent 33891bf commit 1d6816a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pacu/modules/cognito__enum/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,14 @@ def main(args, pacu_main):
next_token = response['NextToken']
for identity_pool in response['IdentityPools']:
identity_pool['Region'] = region
print("Scanning identity pool " + identity_pool['IdentityPoolId'] + " for vulnerabilities.")
print("Attempting unauthenticated retrieval of identity Id")
try:
identity_id = client.get_id(
IdentityPoolId=identity_pool["IdentityPoolId"]
)
print(f"Identity ID: {identity_id}")
if identity_id is not None:
print("Identity id successfully retrieved: " + identity_id["IdentityId"])
print(
"Attempting unauthenticated retrieval of identity Id credentials"
)
Expand Down

0 comments on commit 1d6816a

Please sign in to comment.