turbot/steampipe-mod-microsoft365-compliance

Query: microsoft365_sharepoint_resharing_by_external_users_disabled

Usage

powerpipe query microsoft365_compliance.query.microsoft365_sharepoint_resharing_by_external_users_disabled

SQL

select
tenant_id as resource,
case
when not (sharepoint_settings -> 'is_resharing_by_external_users_enabled')::bool then 'ok'
else 'alarm'
end as status,
case
when not (sharepoint_settings -> 'is_resharing_by_external_users_enabled')::bool then title || ' SharePoint guest users cannot share items they don''t own.'
else title || ' SharePoint guest users can share items they don''t own.'
end as reason
, tenant_id as tenant_id
from
microsoft365_organization;

Controls

The query is being used by the following controls: