ScoutSuite
ScoutSuite copied to clipboard
error while scanning cloudfront
while running the scan, i get the following error:
2022-03-21 12:43:18 ip-172-16-1-105.ec2.internal scout[22483] ERROR browser.py L107: Unable to get "view_certificate" from target object {...}
i can also see that in the target object there is a parameter called viewer_certificate
and not view_certificate
, so i think this is the issue here.
- The exact CLI parameters used to run Scout Suite:
python scout.py aws -r us-east-1
- Any specific configuration within the cloud account which might have lead to the issue: We have cloudfront with certificate.
Fixed by https://github.com/nccgroup/ScoutSuite/pull/1383
is it fixed? Still showing error to me
same here
same here
It looks like a typo for me.
"view_certificate" instead of "viewer_certificate",
I also stumbled upon this issue.
Confirm I'm still seeing this with 5.11.0. A quick local hotfix to check for this condition added @ https://github.com/nccgroup/ScoutSuite/blob/master/ScoutSuite/providers/base/configs/browser.py#L106
elif p == 'view_certificate':
target_obj = target_obj['viewer_certificate']
Solved in version 5.12.0