Microsoft SharePoint Online & OneDrive
Section 7 of the CIS Microsoft 365 Foundations Benchmark v7.0.0 holds 12 controls on SharePoint Online and OneDrive: external sharing, link defaults, guest access and site settings. ConfigCobra assesses it read-only through Microsoft Graph permissions, with no agents and no shared admin passwords.
About this section
Section 7 of the CIS Microsoft 365 Foundations Benchmark v7.0.0 covers Microsoft SharePoint Online and OneDrive. It has 12 of the benchmark's 160 controls, in two subsections: 7.2 with 11 controls on sharing and access settings, and 7.3 with a single control on infected files. The admin surface is the SharePoint admin center, where the sharing policies for both SharePoint and OneDrive are configured.
The dominant theme, reading the control titles, is external sharing. Controls ask that external content sharing is restricted, that OneDrive content sharing is restricted, and that external sharing is further narrowed by security group or managed through domain allow and block lists. A second theme is how links behave: link sharing should be restricted in SharePoint and OneDrive, and the default sharing link permission should be set deliberately, so that people do not hand out broader access than they meant to.
A third theme is the lifecycle and trust of guests. One control asks that guest access to a site or OneDrive expires automatically, another that reauthentication with a verification code is restricted, another that guest users cannot share items they do not own, and one that SharePoint and OneDrive integration with the B2B guest model is enabled. A fourth theme is the sign-in baseline: modern authentication for SharePoint applications should be required. Finally, 7.3.1 asks that infected files cannot be downloaded from SharePoint, a malware-containment setting.
Five of these controls are Level 2 and 7.3.1 is an E5 profile control, so check the profile of each control before planning a rollout. Tightening sharing is the kind of change that users notice quickly: a restricted default link or an expiring guest can interrupt a project that relies on outside collaborators.
ConfigCobra assesses this section in the same automated scan as the rest of the benchmark, which returns results in 20–25 minutes. It reads your tenant through read-only Microsoft Graph permissions, with no agents and no admin password sharing. Scans run on a daily, weekly or monthly schedule or on demand. Each finding carries a ConfigCobra severity estimate used to prioritise remediation (CIS publishes no severity) and a copy-paste remediation script in PowerShell or as admin portal steps. Remediation impact analysis lists the affected users, groups and apps and the effect of a fix before you apply it, and the inventory includes SharePoint sites and a risk view of sites allowing Anyone links. Drift detection alerts you by email when a control regresses, and evidence goes into the PDF report and the audit-ready export.
Numbering and counts follow the CIS Microsoft 365 Foundations Benchmark v7.0.0; the theme descriptions are ConfigCobra's own reading of the control titles.
The 12 controls
| CIS ID | Check | Profile | Assessment |
|---|---|---|---|
| 7.2.1 | Ensure modern authentication for SharePoint applications is required | E3 Level 1 | Automated |
| 7.2.2 | Ensure SharePoint and OneDrive integration with Azure AD B2B is enabled | E3 Level 1 | Automated |
| 7.2.3 | Ensure external content sharing is restricted | E3 Level 1 | Automated |
| 7.2.4 | Ensure OneDrive content sharing is restricted | E3 Level 2 | Automated |
| 7.2.5 | Ensure that SharePoint guest users cannot share items they don't own | E3 Level 2 | Automated |
| 7.2.6 | Ensure SharePoint external sharing is managed through domain whitelist/blacklists | E3 Level 2 | Automated |
| 7.2.7 | Ensure link sharing is restricted in SharePoint and OneDrive | E3 Level 1 | Automated |
| 7.2.8 | Ensure external sharing is restricted by security group | E3 Level 2 | Automated |
| 7.2.9 | Ensure guest access to a site or OneDrive will expire automatically | E3 Level 1 | Automated |
| 7.2.10 | Ensure reauthentication with verification code is restricted | E3 Level 1 | Automated |
| 7.2.11 | Ensure the SharePoint default sharing link permission is set | E3 Level 1 | Automated |
| 7.3.1 | Ensure Office 365 SharePoint infected files are disallowed for download | E5 Level 2 | Automated |
Check all 12 controls on your Microsoft 365
ConfigCobra runs this section with the rest of the CIS Microsoft 365 Foundations Benchmark v7.0.0, read-only.