inspec / inspec-aws

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

Bugfix in iam access keys resource #904

Closed Rohit1509 closed 2 years ago

Rohit1509 commented 2 years ago

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

Description

'lazy_load_last_used_hours_ago' function was never called (always 'nil') hence when it was referenced in 'lazy_load_last_used_days_ago' function this was giving an error if it had a non-nil value. This fix calls the function if it is previously nil.

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 6787330d4805819152f4fddc726a9aaca6ee69c7
Latest deploy log https://app.netlify.com/sites/inspec-aws/deploys/627557266d5976000962a8c2