| @@ -80,7 +80,7 @@ chmod +x aws_iam_users.sh |
| 80 | |
80 | |
| 81 | ``` text |
81 | ``` text |
| 82 | Fetching IAM Identity Center and Account details... |
82 | Fetching IAM Identity Center and Account details... |
| 83 | Successfully found Account 'cmc' with ID: 214941490075 |
83 | Successfully found Account 'cmc' with ID: 123456789012 |
| 84 | --- |
84 | --- |
| 85 | Step 2: Finding all permission sets provisioned to 'cmc'... |
85 | Step 2: Finding all permission sets provisioned to 'cmc'... |
| 86 | Found provisioned permission sets. Now checking assignments for each... |
86 | Found provisioned permission sets. Now checking assignments for each... |
| @@ -190,9 +190,9 @@ This will produce a JSON file as the output, with both metadata and the password |
| 190 | "aws_profile": "default", |
190 | "aws_profile": "default", |
| 191 | "aws_region": "eu-west-1", |
191 | "aws_region": "eu-west-1", |
| 192 | "aws_caller_identity": { |
192 | "aws_caller_identity": { |
| 193 | "UserId": "214941490075", |
193 | "UserId": "123456789012", |
| 194 | "Account": "214941490075", |
194 | "Account": "123456789012", |
| 195 | "Arn": "arn:aws:iam::214941490075:root" |
195 | "Arn": "arn:aws:iam::123456789012:root" |
| 196 | } |
196 | } |
| 197 | }, |
197 | }, |
| 198 | "PasswordPolicy": { |
198 | "PasswordPolicy": { |
| @@ -262,7 +262,7 @@ Summary: |
| 262 | # working_directory: /home/cloudshell-user |
262 | # working_directory: /home/cloudshell-user |
| 263 | # aws_profile: default |
263 | # aws_profile: default |
| 264 | # aws_region: eu-west-1 |
264 | # aws_region: eu-west-1 |
| 265 | "# aws_caller_identity: {'UserId': '214941490075', 'Account': '214941490075', 'Arn': 'arn:aws:iam::214941490075:root'}" |
265 | "# aws_caller_identity: {'UserId': '123456789012', 'Account': '123456789012', 'Arn': 'arn:aws:iam::123456789012:root'}" |
| 266 | |
266 | |
| 267 | Rule#,Policy‑Item,Expected,Actual,Result |
267 | Rule#,Policy‑Item,Expected,Actual,Result |
| 268 | 1,Minimum password length,8,8,PASS |
268 | 1,Minimum password length,8,8,PASS |