turbot/steampipe-mod-aws-compliance

Control: AppStream fleet session disconnect timeout should be set to less than or equal to 5 mins

Description

The disconnect timeout in minutes refers to the duration for which a streaming session remains active even after users have disconnected. It is recommended to set the disconnect timeout to 5 minutes or less for the AppStream Fleet.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.appstream_fleet_session_disconnect_timeout_300_seconds

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.appstream_fleet_session_disconnect_timeout_300_seconds --share

SQL

This control uses a named query:

select
arn as resource,
case
when disconnect_timeout_in_seconds <= 300 then 'ok'
else 'alarm'
end as status,
title || ' disconnect timeout in seconds is set to ' || disconnect_timeout_in_seconds || ' seconds.' as reason
, region, account_id
from
aws_appstream_fleet;

Tags