-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0-dev Lambda Client Error #24
Comments
Oooh, this smells like the issue in ScoutSuite/botocore surrounding the |
Could be! I haven't enabled any of the new regions on this account. |
I was able to reproduce with the following test script what is happening in import botocore.session
session = botocore.session.Session(profile='personal')
client = session.create_client('lambda', region_name='ap-east-1')
client.list_functions() Error stack:
|
The lambda_regions = self.session.get_available_regions('lambda') I expected that the returned list would exclude disabled regions. I'll have to add an extra few lines of code instead. Should be fixed by 1.0.0 release. The |
One more comment... A bit ago I was POCing an AWS Organizations SCP that would deny any API call outside of US regions. That wouldn't explicitly disable them (which only seems to work on regions launched after March 20, 2019), but API calls would still fail. |
Just pushed 6046c00 to fix this in |
Works great - thank you! |
…_section Removed privilege escalation section. Moved into Exploitation
Describe the bug
UnrecognizedClientException during Lambda checks
To Reproduce
Steps to reproduce the behavior, please include information on suspected users/roles that are the source of the issue when possible:
python3 pmapper.py --profile personal graph --create
python3 pmapper.py graph --create
Expected behavior
Lambda to succeed as other services did.
Error Stack
The text was updated successfully, but these errors were encountered: