Check ID: appstream_fleet_maximum_session_duration
Provider: AWS
Service: appstream
Severity: MEDIUM
Resource type: Other

What this check verifies

AppStream fleets enforce a maximum user session duration. This finding evaluates each fleet’s configured limit against a threshold-default 10 hours (36000 seconds)-and identifies fleets whose session duration exceeds that limit.

Risk

Overlong sessions widen the window for session hijacking, lateral movement, and data exfiltration if endpoints or tokens are compromised. Reduced reauthentication weakens confidentiality and integrity, and extended access can increase costs and resource contention.

Recommendation

Configure the maximum session duration to <= 10 hours (e.g., 600 minutes) or less based on data sensitivity. Prefer shorter limits, enforce reauthentication on renewal, apply least privilege, and enable idle timeouts. Monitor session activity as part of defense in depth.

Remediation

aws appstream update-fleet —name <example_resource_name> —max-user-duration-in-seconds 3600

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = appstream_fleet_maximum_session_duration. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks