WKL-05.2: Functions are continuously assessed for misconfigurations such as being directly exposed to the internet, storing sensitive secrets in environment variables and keeping older vulnerable versions that can be potentially deployed. They should also be scanned for code-level security vulnerabilities in the pipeline, which overlaps with the Application Security category.
To achieve Level 5 maturity requires automation using CSPM, CNAPP or other tooling; either third-party or from your cloud provider (if supported).
Code scanning may be automatically assessed when using a cloud provider's assessment service or when included as a feature in the assessment tooling.
Control automation: Automated
AWS control specification: * Lambda functions are not publicly accessible
Lambda functions do not store secrets in environment variables
OPTIONAL: Code scanning with Inspector for Lambda functions is enabled
Lambda function versions older than six months are not detected
Azure control specification: none
GCP control specification: none
Third-party (CSPM/CNAPP) control specification: The CSPM includes the checks identified in each provider's section
Description
Control automation: Automated
AWS control specification: * Lambda functions are not publicly accessible
Lambda functions do not store secrets in environment variables
OPTIONAL: Code scanning with Inspector for Lambda functions is enabled
Lambda function versions older than six months are not detected
Azure control specification: none
GCP control specification: none
Third-party (CSPM/CNAPP) control specification: The CSPM includes the checks identified in each provider's section