inspec / inspec-aws

InSpec AWS Resource Pack https://www.inspec.io/
Other
133 stars 106 forks source link

bugfix for aws_iam_users resource #895

Closed Rohit1509 closed 2 years ago

Rohit1509 commented 2 years ago

Signed-off-by: Rohit Joshi rohit.prasad.joshi@sap.com

Description

The bug was initially the hash for one record was getting overwritten with the second one and so on. So the count of iam users was always returned one (which is the last one). Adding a fix for that issue where each result is getting appended to an array.

Issues Resolved

List any existing issues this PR resolves, or any Discourse or StackOverflow discussion that's relevant

Check List

Please fill box or appropriate ([x]) or mark N/A.

netlify[bot] commented 2 years ago

Deploy Preview for inspec-aws canceled.

Name Link
Latest commit 72266f7556cb42f5dd39d69478a344891d7572a8
Latest deploy log https://app.netlify.com/sites/inspec-aws/deploys/6255d05519ec120008e9ab0b