Idira Secure Cloud Access: Session Timeout Not Enforced for SCA Policies in AWS IAM

Idira Secure Cloud Access: Session Timeout Not Enforced for SCA Policies in AWS IAM

119
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:10 PM


Symptom


This article addresses a reported issue where Secure Cloud Access (SCA) policies configured with session timeouts are not effectively terminating user sessions in AWS. Despite audit logs showing expected logout times, users continue to access AWS resources beyond the policy-defined duration.

For example: 

The SCA policy for AWS access is configured for a maximum of 1 hour.
Audit logs confirm the user activated the policy at 2:33 PM and was logged out from the cloud provider at 3:33 PM.
However, the user was still able to continue working in AWS after 3:33 PM, and session activity was recorded beyond the expected timeout.



Environment


Secure Cloud Access (SCA)

Cause


If multiple SCA policies apply to the same role, the session duration is determined by the longer of the two—yet the IAM role’s session duration always determines the limit.

This means that even if the SCA policy enforces a 1-hour limit, the IAM role’s session duration will override it if it is longer. The IAM role configuration acts as the upper bound for session duration, regardless of SCA policy settings.

Please see the following document: https://docs.cyberark.com/sca/latest/en/content/dpaforcloud/sca_create-policies-aws.htm#Step4Definetheaccessrules



Resolution


To resolve the issue and enforce the intended session timeout:

1) Review IAM Role Configuration:
Navigate to AWS Identity Center and verify the session duration set for the IAM role.
Ensure it matches or is shorter than the SCA policy duration.

2) Align SCA Policies:
If multiple SCA policies apply to the same role, ensure they are harmonized to avoid unintended overrides.

3) Audit and Monitor:
Continue monitoring audit logs to confirm session behavior aligns with policy expectations.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Ym1CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail