Benchmark: 3.1.2.1 Sharing Settings
Overview
Set global policies for sharing files outside your organization, and define the default link sharing visibility of new files.
Google has added Trust rules to create granular polices for access to Google Drive. Trust rules should be used based on organizational decisions. You can find out more here: Create and manage trust rules for Drive sharing.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-googleworkspace-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select 3.1.2.1 Sharing Settings.
Run this benchmark in your terminal:
powerpipe benchmark run googleworkspace_compliance.benchmark.cis_v120_3_1_2_1
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run googleworkspace_compliance.benchmark.cis_v120_3_1_2_1 --share