Benchmark: Cloud Functions
Description
This section contains recommendations for configuring Cloud Functions resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Cloud Functions.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_cloudfunction
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_cloudfunction --share
Controls
- Cloudfunction functions should restrict deployments manager permission
- Cloudfunction functions should restrict disrupt logging permission
- Cloudfunction functions ingress settings should not be set to allow all
- Cloudfunction functions should restrict public access
- Cloudfunction functions no roles/editor or roles/owner permission
- Cloudfunction functions VPC connector should be enabled