inspec / inspec-aws

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

Another error handling line for the backend.rb file, better error output and json logging #854

Closed jb897 closed 2 years ago

jb897 commented 2 years ago

Signed-off-by: Josh Bowman joshua.bowman@sap.com

Description

Edits requested by the SAP MCDevSecOps for better error output, especially for the JSON logs we collect.

Issues Resolved

This edit is working with the previous PR that was submitted and merged for error handling #851 and allows us to better log and read the error output which is generated from controls where errors such as NoSuchEndpoint and InvalidClientTokenId, so that we can better monitor and analyze results in our database.

Check List

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