turbot/aws_compliance
Loading controls...

Control: Lambda functions CORS configuration should not allow all origins

Description

Enable this rule to ensure that the CORS configuration for your Lambda functions does not allow all origins.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.lambda_function_cors_configuration

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.lambda_function_cors_configuration --share

SQL

This control uses a named query:

lambda_function_cors_configuration

Tags