inspec / inspec-aws

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

Bug in 'aws_iam_access_keys' resource #901

Closed Rohit1509 closed 1 month ago

Rohit1509 commented 2 years ago

Lazy loading not working for 'aws_iam_access_keys' resource

Describe the problem

For resource pack version v1.83.0 just before lazy loading was added this resource was working fine.

bug1

For latest resource pack version v1.83.8 we are not getting any API response

Bug2

Possible Solution

sathish-progress commented 2 years ago

@Rohit1509 , I just fixed this. Could you please remove the inspec.lock and try again ?

Rohit1509 commented 2 years ago

Hi @sathish-progress , thanks for the update. I will test it today and update it here.

Rohit1509 commented 2 years ago

@sathish-progress , the issue is still not resolved.

image

image

Rohit1509 commented 2 years ago

Pretty much every function is giving out errors

sathish-progress commented 2 years ago

@Rohit1509 , thanks for pointing out the issues, the above PR fixes the issues.

Rohit1509 commented 2 years ago

Hi @sathish-progress , there was still a bug in the code. Here is the PR: https://github.com/inspec/inspec-aws/pull/904 for that bugfix.

Vasu1105 commented 1 month ago

Closing this Fixed in #904