Skip to content
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

Improve DeletedUserRentention standard #2645

Merged
merged 4 commits into from
Jul 9, 2024
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
76 changes: 57 additions & 19 deletions src/data/standards.json
Original file line number Diff line number Diff line change
Expand Up @@ -1789,10 +1789,58 @@
"name": "standards.DeletedUserRentention",
"cat": "SharePoint Standards",
"tag": ["lowimpact"],
"helpText": "Sets the retention period for deleted users OneDrive to 1 year/365 days",
"docsDescription": "When a OneDrive user gets deleted, the personal SharePoint site is saved for 1 year and data can be retrieved from it.",
"addedComponent": [],
"label": "Retain a deleted user OneDrive for 1 year",
"helpText": "Sets the retention period for deleted users OneDrive to the specified number of years. The default is 1 year.",
"docsDescription": "When a OneDrive user gets deleted, the personal SharePoint site is saved for selected time in years and data can be retrieved from it.",
"addedComponent": [
{
"type": "Select",
"name": "standards.DeletedUserRentention.Days",
"label": "Retention in years (Default 1)",
"values": [
{
"label": "1 year",
"value": "365"
},
{
"label": "2 years",
"value": "730"
},
{
"label": "3 years",
"value": "1095"
},
{
"label": "4 years",
"value": "1460"
},
{
"label": "5 years",
"value": "1825"
},
{
"label": "6 years",
"value": "2190"
},
{
"label": "7 years",
"value": "2555"
},
{
"label": "8 years",
"value": "2920"
},
{
"label": "9 years",
"value": "3285"
},
{
"label": "10 years",
"value": "3650"
}
]
}
],
"label": "Set deleted user retention time in OneDrive",
"impact": "Low Impact",
"impactColour": "info",
"powershellEquivalent": "Update-MgBetaAdminSharepointSetting",
Expand Down Expand Up @@ -1826,9 +1874,7 @@
"impact": "Low Impact",
"impactColour": "info",
"powershellEquivalent": "Set-SPOTenant -EnableAzureADB2BIntegration $true",
"recommendedBy": [
"CIS 3.0"
]
"recommendedBy": ["CIS 3.0"]
},
{
"name": "standards.SPDisallowInfectedFiles",
Expand All @@ -1840,9 +1886,7 @@
"impact": "Low Impact",
"impactColour": "info",
"powershellEquivalent": "Set-SPOTenant -DisallowInfectedFileDownload $true",
"recommendedBy": [
"CIS 3.0"
]
"recommendedBy": ["CIS 3.0"]
},
{
"name": "standards.SPDirectSharing",
Expand All @@ -1854,9 +1898,7 @@
"impact": "Medium Impact",
"impactColour": "warning",
"powershellEquivalent": "Set-SPOTenant -DefaultSharingLinkType Direct",
"recommendedBy": [
"CIS 3.0"
]
"recommendedBy": ["CIS 3.0"]
},
{
"name": "standards.SPExternalUserExpiration",
Expand All @@ -1874,9 +1916,7 @@
"impact": "Medium Impact",
"impactColour": "warning",
"powershellEquivalent": "Set-SPOTenant -ExternalUserExpireInDays 30 -ExternalUserExpirationRequired $True",
"recommendedBy": [
"CIS 3.0"
]
"recommendedBy": ["CIS 3.0"]
},
{
"name": "standards.SPEmailAttestation",
Expand All @@ -1894,9 +1934,7 @@
"impact": "Medium Impact",
"impactColour": "warning",
"powershellEquivalent": "Set-SPOTenant -EmailAttestationRequired $true -EmailAttestationReAuthDays 15",
"recommendedBy": [
"CIS 3.0"
]
"recommendedBy": ["CIS 3.0"]
},
{
"name": "standards.DisableAddShortcutsToOneDrive",
Expand Down
Loading