How to Find Public AWS Lambda Functions
Publicly accessible services could expose sensitive data to bad actors.
This security check is part of the CIS Amazon Web Services Benchmarks and is rated severity high.
> search is(aws_lambda_function) and function_url_config.auth_type not in [null, AWS_IAM]
kind=aws_lambda_function, ..., region=resoto-poweruser
kind=aws_lambda_function, ..., account=poweruser-team
searchcommand into the
> search is(aws_lambda_function) and function_url_config.auth_type not in [null, AWS_IAM] | dump
The command output will list the details of all non-compliant
- Define an authorizer for your Lambda Function.
Please refer to the AWS Lambda documentation for details.