-
Notifications
You must be signed in to change notification settings - Fork 81
Filtering Results

Many PSFalcon commands support the use of Falcon Query Language ("FQL") statements using the Filter
parameter. When using Filter, it is important to keep in mind:
- Available FQL filters and their syntax will vary between APIs and are not determined by PSFalcon
- Each FQL filter and value may be case-sensitive (exact case, lowercase only, etc.)
- Each FQL filter statement can contain a maximum of 20 properties
Values in an FQL statement tend to either be restricted to $true, $false, null, an integer, or a string
(description, date or time, etc).
Comparison operators can be combined, depending on context.
-
=: Equal to -
<: Occurred before following value -
>: Occurred after following value -
!: Does not include following value -
*: Include following value as partial match -
~: Text match following value and ignore spaces, case, and punctuation
-Filter "last_seen:>'YYYY-MM-DD'"-Filter "created_timestamp:=<'YYYY-MM-DD'"-Filter "hostname:!'EXAMPLE-PC'"-Filter "name:*'*partial'"-Filter "name:~'partial*'"-Filter "assigned_to_uid:null"Multiple filters can be combined with + (AND) or , (OR). URL encoding is performed by PSFalcon automatically
when required.
-Filter "expiration_on:>'2021-11-02'+last_execution.status:'DONE'"Multiple values for a single property must be enclosed within square brackets, with each [string] value being
enclosed in quotes.
-Filter "name:['My','Example']"Timestamp filters use ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). The timezone is always UTC (as denoted by Z).
When entering a timestamp value, the full timestamp may not be required. You can supply various full and partial date and time combinations.
- Full date:
YYYY-MM-DD - Partial date:
YYYY-MM,YYYY - Full date with partial time:
YYYY-MM-DDThh,YYYY-MM-DDThh:mm,YYYY-MM-DDThh:mm:ss - Partial date with full time:
YYYY-MMthh:mm:ss.sZ,YYYYThh:mm:ss.sZ - Partial date with partial time:
YYYY-MM-Thh,YYYY-MM-Thh:mm,YYYY-MMThh:mm:ss,YYYYThh,YYYYThh:mm,YYYYThh:mm:ss
NOTE: PSFalcon will automatically convert last <int> days and last <int> hours to a compatible UTC
timestamp.
Timestamps are expected when working with properties that display timestamps in result output. Timestamps will often require comparison operators to match results.

- Using PSFalcon
-
Commands by Permission
- Actors (Falcon Intelligence)
- Alerts
- API integrations
- App Logs
- Assets
- CAO Hunting
- Case Templates
- Cases
- Channel File Control Settings
- Cloud Security API Assets
- Configuration Assessment
- Content Update Policies
- Correlation Rules
- CSPM registration
- Custom IOA rules
- Device Content
- Device control policies
- Event streams
- Falcon Complete Dashboards
- Falcon Container Image
- Falcon Data Replicator
- Falcon FileVantage
- Falcon FileVantage Content
- Firewall management
- Flight Control
- Host groups
- Host Migration
- Hosts
- Identity Protection Entities
- Identity Protection GraphQL
- Identity Protection Policy Rules
- Incidents
- Indicators (Falcon Intelligence)
- Installation tokens
- Installation token settings
- IOA Exclusions
- IOC Manager APIs
- IOCs
- IT Automation - Policies
- IT Automation - Task Executions
- IT Automation - Tasks
- IT Automation - User Groups
- Kubernetes Protection
- Machine Learning exclusions
- MalQuery
- Malware Families (Falcon Intelligence)
- Message Center
- Mobile Enrollment
- Monitoring rules (Falcon Intelligence Recon)
- NGSIEM
- NGSIEM Dashboards
- NGSIEM Lookup Files
- NGSIEM Parsers
- NGSIEM Saved Queries
- On demand scans (ODS)
- OverWatch Dashboard
- Prevention Policies
- Quarantined Files
- QuickScan Pro
- Real time response
- Real time response (admin)
- Reports (Falcon Intelligence)
- Response policies
- Rules (Falcon Intelligence)
- Sample uploads
- Sandbox (Falcon Intelligence)
- Scheduled Reports
- Sensor Download
- Sensor update policies
- Sensor Usage
- Sensor Visibility Exclusions
- Snapshot
- Snapshot Scanner Image Download
- Tailored Intelligence
- Threatgraph
- User management
- Vulnerabilities
- Vulnerabilities (Falcon Intelligence)
- Workflow
- Zero Trust Assessment
- Other Commands
- Examples
-
CrowdStrike SDKs
- FalconPy - Python 3
- goFalcon - Go
- Rusty Falcon - Rust