Control: Lambda functions variable should not have any sensitive data
Description
Ensure functions environment variables is not having any sensitive data. Leveraging Secrets Manager enables secure provisioning of database credentials to Lambda functions while also ensuring the security of databases. This approach eliminates the need to hardcode secrets in code or pass them through environmental variables. Additionally, Secrets Manager facilitates the secure retrieval of credentials for establishing connections to databases and performing queries, enhancing overall security measures.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.lambda_function_variables_no_sensitive_data
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.lambda_function_variables_no_sensitive_data --share
SQL
This control uses a named query:
lambda_function_variables_no_sensitive_data