-
Notifications
You must be signed in to change notification settings - Fork 69
Invoke FalconCommand
bk-cs edited this page Oct 24, 2022
·
20 revisions
Issue a Real-time Response read-only command to an existing single-host or batch session
Sessions can be started using 'Start-FalconSession'. A successfully created session will contain a 'session_id' or 'batch_id' value which can be used with the '-SessionId' or '-BatchId' parameters.
The 'Wait' parameter will use 'Confirm-FalconCommand' to check for command results every 5 seconds for a total of 60 seconds.
Requires 'Real Time Response: Read'.
Name | Type | Min | Max | Allowed | Pipeline | PipelineByName | Description |
---|---|---|---|---|---|---|---|
Command | String |
cat cd clear csrutil env eventlog backup eventlog export eventlog list eventlog view filehash getsid help history ifconfig ipconfig ls mount netstat ps reg query users
|
Real-time Response command | ||||
Argument | String | Arguments to include with the command | |||||
OptionalHostId | String[] | Restrict execution to specific host identifiers | |||||
Timeout | Int32 | 30 |
600 |
Length of time to wait for a result, in seconds | |||
SessionId | String | X | Session identifier | ||||
BatchId | String | X | Batch session identifier | ||||
Wait | Switch | Use 'Confirm-FalconCommand' to retrieve single-host command results |
Invoke-FalconCommand [-Command] <String> [[-Argument] <String>] [[-OptionalHostId] <String[]>] [[-Timeout] <Int32>] -BatchId <String> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>]
Invoke-FalconCommand [-Command] <String> [[-Argument] <String>] -SessionId <String> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>]
2022-10-24: PSFalcon v2.2.3
- Using PSFalcon
-
Commands and Permissions
- Configuration Import/Export
- Container Security
- Detection and Prevention Policies
- Discover for Cloud and Containers
- Discover
- Event Streams
- Falcon Complete Dashboards
- Falcon Complete Message Center
- Falcon Data Replicator
- Falcon Intelligence
- Falcon Intelligence Recon
- Falcon OverWatch Dashboards
- Falcon Sandbox
- FileVantage
- Firewall Management
- Flight Control
- Horizon
- Host and Host Group Management
- Identity Protection
- Image Assessment
- Incident and Detection Monitoring
- Installation Tokens
- Kubernetes Protection
- MalQuery
- Mobile Host Enrollment
- On-Demand Scanning
- Quarantine
- Real-time Response
- Real-time Response Policy
- Scheduled Reports and Searches
- Sensor Download
- Sensor Update Policy
- Spotlight
- Tailored Intelligence
- Third-party ingestion
- USB Device Control Policy
- Users and Roles
- Zero Trust Assessment
- Examples
-
CrowdStrike SDKs
- PSFalcon - PowerShell
- FalconPy - Python 3
- goFalcon - Go
- Rusty Falcon - Rust