Skip to content

Commit 57aba41

Browse files
Merge pull request #2645 from kris6673/dev
Improve DeletedUserRentention standard
2 parents 2b5d0b3 + 66a298d commit 57aba41

File tree

1 file changed

+57
-19
lines changed

1 file changed

+57
-19
lines changed

src/data/standards.json

Lines changed: 57 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,10 +1789,58 @@
17891789
"name": "standards.DeletedUserRentention",
17901790
"cat": "SharePoint Standards",
17911791
"tag": ["lowimpact"],
1792-
"helpText": "Sets the retention period for deleted users OneDrive to 1 year/365 days",
1793-
"docsDescription": "When a OneDrive user gets deleted, the personal SharePoint site is saved for 1 year and data can be retrieved from it.",
1794-
"addedComponent": [],
1795-
"label": "Retain a deleted user OneDrive for 1 year",
1792+
"helpText": "Sets the retention period for deleted users OneDrive to the specified number of years. The default is 1 year.",
1793+
"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.",
1794+
"addedComponent": [
1795+
{
1796+
"type": "Select",
1797+
"name": "standards.DeletedUserRentention.Days",
1798+
"label": "Retention in years (Default 1)",
1799+
"values": [
1800+
{
1801+
"label": "1 year",
1802+
"value": "365"
1803+
},
1804+
{
1805+
"label": "2 years",
1806+
"value": "730"
1807+
},
1808+
{
1809+
"label": "3 years",
1810+
"value": "1095"
1811+
},
1812+
{
1813+
"label": "4 years",
1814+
"value": "1460"
1815+
},
1816+
{
1817+
"label": "5 years",
1818+
"value": "1825"
1819+
},
1820+
{
1821+
"label": "6 years",
1822+
"value": "2190"
1823+
},
1824+
{
1825+
"label": "7 years",
1826+
"value": "2555"
1827+
},
1828+
{
1829+
"label": "8 years",
1830+
"value": "2920"
1831+
},
1832+
{
1833+
"label": "9 years",
1834+
"value": "3285"
1835+
},
1836+
{
1837+
"label": "10 years",
1838+
"value": "3650"
1839+
}
1840+
]
1841+
}
1842+
],
1843+
"label": "Set deleted user retention time in OneDrive",
17961844
"impact": "Low Impact",
17971845
"impactColour": "info",
17981846
"powershellEquivalent": "Update-MgBetaAdminSharepointSetting",
@@ -1826,9 +1874,7 @@
18261874
"impact": "Low Impact",
18271875
"impactColour": "info",
18281876
"powershellEquivalent": "Set-SPOTenant -EnableAzureADB2BIntegration $true",
1829-
"recommendedBy": [
1830-
"CIS 3.0"
1831-
]
1877+
"recommendedBy": ["CIS 3.0"]
18321878
},
18331879
{
18341880
"name": "standards.SPDisallowInfectedFiles",
@@ -1840,9 +1886,7 @@
18401886
"impact": "Low Impact",
18411887
"impactColour": "info",
18421888
"powershellEquivalent": "Set-SPOTenant -DisallowInfectedFileDownload $true",
1843-
"recommendedBy": [
1844-
"CIS 3.0"
1845-
]
1889+
"recommendedBy": ["CIS 3.0"]
18461890
},
18471891
{
18481892
"name": "standards.SPDirectSharing",
@@ -1854,9 +1898,7 @@
18541898
"impact": "Medium Impact",
18551899
"impactColour": "warning",
18561900
"powershellEquivalent": "Set-SPOTenant -DefaultSharingLinkType Direct",
1857-
"recommendedBy": [
1858-
"CIS 3.0"
1859-
]
1901+
"recommendedBy": ["CIS 3.0"]
18601902
},
18611903
{
18621904
"name": "standards.SPExternalUserExpiration",
@@ -1874,9 +1916,7 @@
18741916
"impact": "Medium Impact",
18751917
"impactColour": "warning",
18761918
"powershellEquivalent": "Set-SPOTenant -ExternalUserExpireInDays 30 -ExternalUserExpirationRequired $True",
1877-
"recommendedBy": [
1878-
"CIS 3.0"
1879-
]
1919+
"recommendedBy": ["CIS 3.0"]
18801920
},
18811921
{
18821922
"name": "standards.SPEmailAttestation",
@@ -1894,9 +1934,7 @@
18941934
"impact": "Medium Impact",
18951935
"impactColour": "warning",
18961936
"powershellEquivalent": "Set-SPOTenant -EmailAttestationRequired $true -EmailAttestationReAuthDays 15",
1897-
"recommendedBy": [
1898-
"CIS 3.0"
1899-
]
1937+
"recommendedBy": ["CIS 3.0"]
19001938
},
19011939
{
19021940
"name": "standards.DisableAddShortcutsToOneDrive",

0 commit comments

Comments
 (0)