From a07d643c441e3c5c4b874e599ea7d86379efaa15 Mon Sep 17 00:00:00 2001 From: Kenneth Toler Date: Tue, 25 Sep 2018 16:25:07 -0400 Subject: [PATCH] commenting assumable role functionality --- libs/iam.py | 2 +- modules/iam.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/iam.py b/libs/iam.py index 426263f..2d3121b 100644 --- a/libs/iam.py +++ b/libs/iam.py @@ -457,7 +457,7 @@ def iam_list_roles(): def iam_list_roles_assumable(): ''' - Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list + Lists IAM roles that are assumable by AWS Principals and excludes roles that are assumable by Services ''' print("### Roles that can be Assumed by AWS Principals ###") try: diff --git a/modules/iam.py b/modules/iam.py index 105067a..901494d 100644 --- a/modules/iam.py +++ b/modules/iam.py @@ -62,8 +62,8 @@ def module_iam_list_roles(): def module_iam_list_roles_assumable(): ''' - Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list. - python3 weirdAAL.py -m iam_list_roles -t yolo + Lists the IAM roles that have the specified path prefix that are assumable by AWS principals and excludes roles assumable by AWS services. If there are none, the operation returns an empty list. + python3 weirdAAL.py -m iam_list_roles_assumable -t yolo ''' iam_list_roles_assumable()