If you plan to address this via CA policies, you will need to edit the settings on each SPO site you want to be accessible, as by default everything is block. This article gives you the relevant details: https://learn.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices
An alternative approach is to consider blocking sync for non-domain joined devices, via the Set-SPOTenantSyncClientRestriction cmdlet: https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/set-spotenantsyncclientrestriction?view=sharepoint-ps
This approach only affects the OneDrive sync functionality and nothing else, but as the setting name suggests, only affects domain-joined machines. To account for Entra joined ones, you have to implement a workaround, namely populating the AADJMachineDomainGuid reg key on the device with the value of your tenantID. Refer tot his forum thread for more details on this workaround: https://techcommunity.microsoft.com/discussions/sharepoint_general/onedrive-sync-for-azure-ad-joined-computers/3261055/replies/3629963