Skip to content

Feat: Add new standard for SharePoint default sharing link configuration and deprecate SPDirectSharing #4368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 36 additions & 2 deletions src/data/standards.json
Original file line number Diff line number Diff line change
Expand Up @@ -3564,8 +3564,8 @@
{
"name": "standards.SPDirectSharing",
"cat": "SharePoint Standards",
"tag": ["CIS M365 5.0 (7.2.7)", "CISA (MS.SPO.1.4v1)"],
"helpText": "Ensure default link sharing is set to Direct in SharePoint and OneDrive",
"tag": [],
"helpText": "This standard has been deprecated in favor of the Default Sharing Link standard. ",
"executiveText": "Configures SharePoint and OneDrive to share files directly with specific people rather than creating anonymous links, improving security by ensuring only intended recipients can access shared documents. This reduces the risk of accidental data exposure through link sharing.",
"addedComponent": [],
"label": "Default sharing to Direct users",
Expand Down Expand Up @@ -3615,6 +3615,40 @@
"powershellEquivalent": "Set-SPOTenant -EmailAttestationRequired $true -EmailAttestationReAuthDays 15",
"recommendedBy": ["CIS", "CIPP"]
},
{
"name": "standards.DefaultSharingLink",
"cat": "SharePoint Standards",
"tag": ["CIS M365 5.0 (7.2.7)", "CIS M365 5.0 (7.2.11)", "CISA (MS.SPO.1.4v1)"],
"helpText": "Configure the SharePoint default sharing link type and permission. This setting controls both the type of sharing link created by default and the permission level assigned to those links.",
"docsDescription": "Sets the default sharing link type (Direct or Internal) and permission (View) in SharePoint and OneDrive. Direct sharing means links only work for specific people, while Internal sharing means links work for anyone in the organization. Setting the view permission as the default ensures that users must deliberately select the edit permission when sharing a link, reducing the risk of unintentionally granting edit privileges.",
"executiveText": "Configures SharePoint default sharing links to implement the principle of least privilege for document sharing. This security measure reduces the risk of accidental data modification while maintaining collaboration functionality, requiring users to explicitly select Edit permissions when necessary. The sharing type setting controls whether links are restricted to specific recipients or available to the entire organization. This reduces the risk of accidental data exposure through link sharing.",
"addedComponent": [
{
"type": "autoComplete",
"multiple": false,
"creatable": false,
"required": true,
"label": "Default Sharing Link Type",
"name": "standards.DefaultSharingLink.SharingLinkType",
"options": [
{
"label": "Direct - Only the people the user specifies",
"value": "Direct"
},
{
"label": "Internal - Only people in your organization",
"value": "Internal"
}
]
}
],
"label": "Set Default Sharing Link Settings",
"impact": "Low Impact",
"impactColour": "info",
"addedDate": "2025-06-13",
"powershellEquivalent": "Set-SPOTenant -DefaultSharingLinkType [Direct|Internal] -DefaultLinkPermission View",
"recommendedBy": ["CIS", "CIPP"]
},
{
"name": "standards.DisableAddShortcutsToOneDrive",
"cat": "SharePoint Standards",
Expand Down
Loading