Update FalconSession - CrowdStrike/psfalcon GitHub Wiki
Refresh a single-host or batch Real-time Response session to prevent expiration
Real-time Response sessions expire after 5 minutes by default. Any commands that were issued to a session that take longer than 5 minutes will not return results without refreshing the session to keep it alive until the command process completes.
Requires 'Real time response: Read'.
Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
---|---|---|---|---|---|---|---|
QueueOffline | Boolean | Add non-responsive hosts to the offline queue | |||||
HostToRemove | String[] | Host identifier(s) to remove from a batch Real-time Response session | |||||
Timeout | Int32 | Length of time to wait for a result, in seconds [default: 30] | 1 |
600 |
|||
HostId | String | Host identifier, for a single-host session | X | X | |||
BatchId | String | Batch session identifier | X |
Update-FalconSession [[-QueueOffline] <Boolean>] -HostId <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Update-FalconSession [[-QueueOffline] <Boolean>] [[-HostToRemove] <String[]>] [[-Timeout] <Int32>] -BatchId <String> [-WhatIf] [-Confirm] [<CommonParameters>]
POST /real-time-response/combined/batch-refresh-session/v1
POST /real-time-response/entities/refresh-session/v1
RTR_PulseSession
BatchRefreshSessions
NOTE: Required when you expect to exceed the default session expiration time (5 minutes).
Update-FalconSession -BatchId $Batch.batch_id
NOTE: Required when you expect to exceed the default session expiration time (5 minutes).
Update-FalconSession -SessionId $Session.session_id
See Start-FalconSession.
2023-04-25: PSFalcon v2.2.5