turbot/steampipe-mod-azure-perimeter

Benchmark: CORS Policy Public Access

This benchmark answers the following questions:

  • Are there Cosmos DB accounts with CORS policies that allow public access?
  • Are there Web Apps with CORS policies that allow public access?
  • Are there Function Apps with CORS policies that allow public access?

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-azure-perimeter

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select CORS Policy Public Access.

Run this benchmark in your terminal:

powerpipe benchmark run azure_perimeter.benchmark.cors_policy_public_access

Snapshot and share results via Turbot Pipes:

powerpipe benchmark run azure_perimeter.benchmark.cors_policy_public_access --share

Controls

Tags