Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Expiration days for Anyone links SHALL be set to 30 days or less

CISA.MS.SHAREPOINT.3.1MediumSharePointSharing links

Part of CISA · SharePoint · Sharing links · All checks

Run this check
Invoke-Maester -TestId CISA.MS.SHAREPOINT.3.1

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.

  1. Sign in to the SharePoint admin center.
  2. Select Policies > Sharing.
  3. Under Advanced settings for Anyone links, check These links must expire within this many days and set to 30 days or less.
  4. Select Save.
Every attribute of this check
FieldValue
Test IDCISA.MS.SHAREPOINT.3.1
SeverityMedium
SuiteCISA
ProductSharePoint
FeatureSharing links
AreaExternal access and sharing
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1048 Exfiltration Over Alternative Protocol, T1213.002 Sharepoint, T1530 Data from Cloud Storage
Supports benchmarkCISA SCuBA Secure Configuration Baselines for Microsoft 365 (version ScubaGear main, 2026-10-11), requirement MS.SHAREPOINT.3.1
CriticalitySHALL
Upstream requirementMS.SHAREPOINT.3.1v1
Supports controlscisa-scuba:MS.SHAREPOINT.3.1, nist-800-53-r5:AC-3, nist-800-53-r5:AC-21b
PowerShell testTest-MtCisaSpoAnyoneLinkExpiration
ServicesSharePointOnline