turbot/steampipe-mod-googleworkspace-compliance

Query: drive_domain_restriction

Usage

powerpipe query googleworkspace_compliance.query.drive_domain_restriction

Steampipe Tables

SQL

select
name as resource,
case
when domain_users_only = true then 'ok'
else 'alarm'
end as status,
case
when domain_users_only = true then 'Shared drive "' || name || '" is restricted to domain users only.'
else 'Shared drive "' || name || '" allows external domain access.'
end as reason
from
googleworkspace_drive;

Controls

The query is being used by the following controls: