Tested on ubuntu 24.04 and parrot, both return same error:
Pacu (test:imported-myuser) > run iam__enum_permissions
Running module iam__enum_permissions...
[iam__enum_permissions] Confirming permissions for users:
[iam__enum_permissions] myuser...
[iam__enum_permissions] List groups for user failed
[iam__enum_permissions] FAILURE: MISSING REQUIRED AWS PERMISSIONS
[iam__enum_permissions] Get user policy failed
[iam__enum_permissions] FAILURE: MISSING REQUIRED AWS PERMISSIONS
[2024-07-20 09:52:55] Pacu encountered an error while running the previous command. Check /home/user/.local/share/pacu/test/error_log.txt for technical details. [LOG LEVEL: MINIMAL]
<class 'UnboundLocalError'>: cannot access local variable 'document' where it is not associated with a value
Tested on ubuntu 24.04 and parrot, both return same error:
User myuser has 1 inline role:
User myuser is in a group which has an inline role for this group: