CISA.MS.SHAREPOINT.3.1 - Expiration days for Anyone links SHALL be set to 30 days or less.
Overviewβ
Expiration days for Anyone links SHALL be set to 30 days or less.
Rationale: Anyone links that do not expire or have excessively long expiration periods pose a persistent risk of unauthorized access. Setting an expiration of 30 days or less ensures that shared content access is time-limited.
Remediation action:β
- Sign in to the SharePoint admin center.
- Select Policies > Sharing.
- Under Advanced settings for Anyone links, check These links must expire within this many days and set to 30 days or less.
- Select Save.
Related linksβ
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | CISA.MS.SHAREPOINT.3.1 |
| Severity | Unknown |
| Suite | CISA |
| Category | spo |
| PowerShell test | Test-MtCisaSpoAnyoneLinkExpiration |
| Tags | CISA, CISA.MS.SHAREPOINT.3.1, MS.SHAREPOINT, MS.SHAREPOINT.3.1 |
Sourceβ
- Pester test:
tests/cisa/spo/Test-MtCisaSpoAnyoneLinkExpiration.Tests.ps1 - PowerShell source:
powershell/public/cisa/spo/Test-MtCisaSpoAnyoneLinkExpiration.ps1