Idira Identity: SCA – Session Continues Beyond End Users Requested Duration

Idira Identity: SCA – Session Continues Beyond End Users Requested Duration

109
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:52 PM


Symptom


When an end user requests temporary privilege elevation via Idira using Dual Control (or On-Demand Access) for a short duration (for example, 30 minutes), the active cloud access session continues beyond the requested timeframe and only terminates after 2 hours.

This behavior occurs because the SCA Policy has its Max Session Duration configured for 2 hours, causing session duration discrepancies that impact compliance and reporting.



Environment


Identity;Secure Cloud Access (SCA) SCA UI;Session Monitoring;Access Control Policy
  • Idira Secure Cloud Access (SCA)

  • Dual Control / On-Demand Access Enabled

  • Cloud Service Providers (CSP): AWS, Azure, GCP, or Entra ID



Cause


This behavior is expected technical behavior resulting from how Idira SCA provisions Just-In-Time (JIT) access alongside native Cloud Service Provider (CSP) token lifecycles:

  1. Policy-Level Max Duration vs. JIT Request Duration: In Idira SCA, the duration set at the policy level (e.g., 2 hours) dictates the maximum allowed lifecycle for dynamically provisioned entitlements when Dual Control is enabled.

  2. JIT Provisioning & Revocation Mechanism: SCA provisions temporary role mappings to grant access. However, session revocation and cleanup cycles execute at the backend level based on the policy's defined limits rather than forcibly closing active browser sessions mid-task.

  3. CSP Token Behavior: When SCA assigns a role or group, the Cloud Service Provider issues access tokens (which often have default minimum lifetimes, such as 1 hour in Entra ID). Even though SCA revokes the permission grant on the backend, native CSP token evaluation and propagation latency control when active browser/API tokens expire on the cloud provider's side.



Resolution


To enforce strict session termination matching the requested time limit, choose one or more of the following options:

  1. Adjust Max Session Duration at the Policy Level:

    • Modify the SCA Policy conditions so that the Max Session Duration is set directly to 30 minutes (or 0.5 hours) instead of 2 hours.

    • Navigation: Idira SCA Docs > Access Control Policies > Define Policy Conditions.

    • Impact: Forces SCA’s automated revocation engine to revoke the role/entitlement from the target cloud provider exactly 30 minutes after elevation starts.

  2. Integrate with Idira Secure Web Sessions (SWS):

    • While SCA manages JIT permission elevation at the cloud provider level, it does not forcibly close active browser tabs on its own.

    • Enable Secure Web Sessions (SWS) on the associated web application to provide continuous browser-level monitoring and enforce active session termination.

    • Navigation: Idira Identity SCA Docs > Web App Configuration > SWS Integration.

  3. Early Session Termination via API:

    • If an end user completes their task before the policy duration finishes, terminate the session programmatically via the SCA Access API using:
      POST /api/access/sessions/{sessionId}/terminate



Actions
  • Print
  • Copy Link

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