nccgroup / ScoutSuite

Multi-Cloud Security Auditing Tool
GNU General Public License v2.0
6.71k stars 1.06k forks source link

Exception Handling in Scout Suite Not Working #1673

Open somugnanasekar opened 1 month ago

somugnanasekar commented 1 month ago

Hi All

I am facing an issue with exception handling in Scout Suite. Despite configuring exceptions for specific findings in the scoutsuite_config.json file, the exceptions are not being respected when I run the tool.

Details: Scout Suite version:5.14.0

I followed the steps described on the GitHub page. First, I downloaded the exception file from the webpage, then I ran the mentioned command:

$ python scout.py aws --profile --local --exceptions /path/to/exceptions.json --no-browser

I tried executing the downloaded exception file, but the exceptions did not work. It threw the following error: __main__.py L341: Failure while updating report: [Errno 2] No such file or directory: 'scoutsuite-report/scoutsuite-results/scoutsuite_results_aws-default.js

After referring to some blog posts, I tried a different command to execute Scout Suite, but the exceptions still didn’t work:

scout.py aws --profile default --local --exceptions /Users/somu/Downloads/exceptions-aws.json --no-browser However, the exceptions are still not being applied.

Any guidance on resolving this issue or clarification on the correct way to implement exceptions would be greatly appreciated. Thank you for your support!

ActualAl commented 1 month ago

It doesn't appear to working for me either with my GCP scan.