Control: AppStream fleet idle disconnect timeout should be set to less than or equal to 10 mins
Description
Ensure session idle disconnect timeout is set to 10 minutes or less.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.appstream_fleet_idle_disconnect_timeout_600_seconds
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.appstream_fleet_idle_disconnect_timeout_600_seconds --share
SQL
This control uses a named query:
select arn as resource, case when idle_disconnect_timeout_in_seconds <= 600 then 'ok' else 'alarm' end as status, title || ' idle disconnect timeout in seconds is set to ' || idle_disconnect_timeout_in_seconds || ' seconds.' as reason , region, account_idfrom aws_appstream_fleet;