-
Notifications
You must be signed in to change notification settings - Fork 121
Event Streams
Joshua Hiller edited this page Apr 11, 2021
·
21 revisions
API Function | Description |
---|---|
refreshActiveStreamSession | Refresh an active event stream. Use the URL shown in a GET /sensors/entities/datafeed/v2 response. |
listAvailableStreamsOAuth2 | Discover all event streams in your environment |
Refresh an active event stream. Use the URL shown in a GET /sensors/entities/datafeed/v2 response.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
✅ | action_name | query | string | Action name. Allowed value is refresh_active_stream_session. |
✅ | appId | query | string | Label that identifies your connection. Max: 32 alphanumeric characters (a-z, A-Z, 0-9). |
✅ | partition | path | integer | Partition to request data for. |
from falconpy import event_streams as FalconES
falcon = FalconES.Event_Streams(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'action_name': 'string',
'appId': 'string'
}
PARTITION = 0 #Refresh the partition we are working with
response = falcon.refreshActiveStreamSession(parameters=PARAMS, partition=PARTITION)
print(response)
from falconpy import api_complete as FalconSDK
falcon = FalconSDK.APIHarness(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
}
)
PARAMS = {
'action_name': 'string',
'appId': 'string'
}
PARTITION = 0 #Refresh the partition we are working with
response = falcon.command('refreshActiveStreamSession', parameters=PARAMS, partition=PARTITION)
print(response)
falcon.deauthenticate()
Discover all event streams in your environment
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
✅ | appId | query | string | Label that identifies your connection. Max: 32 alphanumeric characters (a-z, A-Z, 0-9). |
format | query | string | Format for streaming events. Valid values: json, flatjson |
from falconpy import event_streams as FalconES
falcon = FalconES.Event_Streams(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'appId': 'string',
'format': 'string'
}
response = falcon.listAvailableStreamsOAuth2(parameters=PARAMS)
print(response)
from falconpy import api_complete as FalconSDK
falcon = FalconSDK.APIHarness(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
}
)
PARAMS = {
'appId': 'string',
'format': 'string'
}
response = falcon.command('listAvailableStreamsOAuth2', parameters=PARAMS)
print(response)
falcon.deauthenticate()
- Home
- Discussions Board
- Glossary of Terms
- Installation, Upgrades and Removal
- Samples Collection
- Using FalconPy
- API Operations
-
Service Collections
- Alerts
- API Integrations
- ASPM
- Certificate Based Exclusions
- Cloud Connect AWS (deprecated)
- Cloud Snapshots
- Compliance Assessments
- Configuration Assessment
- Configuration Assessment Evaluation Logic
- Container Alerts
- Container Detections
- Container Images
- Container Packages
- Container Vulnerabilities
- CSPM Registration
- Custom IOAs
- Custom Storage
- D4C Registration (deprecated)
- DataScanner
- Delivery Settings
- Detects
- Device Control Policies
- Discover
- Downloads
- Drift Indicators
- Event Streams
- Exposure Management
- Falcon Complete Dashboard
- Falcon Container
- Falcon Intelligence Sandbox
- FDR
- FileVantage
- Firewall Management
- Firewall Policies
- Foundry LogScale
- Host Group
- Host Migration
- Hosts
- Identity Protection
- Image Assessment Policies
- Incidents
- Installation Tokens
- Intel
- IOA Exclusions
- IOC
- IOCs (deprecated)
- Kubernetes Protection
- MalQuery
- Message Center
- ML Exclusions
- Mobile Enrollment
- MSSP (Flight Control)
- OAuth2
- ODS (On Demand Scan)
- Overwatch Dashboard
- Prevention Policy
- Quarantine
- Quick Scan
- Quick Scan Pro
- Real Time Response
- Real Time Response Admin
- Real Time Response Audit
- Recon
- Report Executions
- Response Policies
- Sample Uploads
- Scheduled Reports
- Sensor Download
- Sensor Update Policy
- Sensor Usage
- Sensor Visibility Exclusions
- Spotlight Evaluation Logic
- Spotlight Vulnerabilities
- Tailored Intelligence
- ThreatGraph
- Unidentified Containers
- User Management
- Workflows
- Zero Trust Assessment
- Documentation Support
-
CrowdStrike SDKs
- Crimson Falcon - Ruby
- FalconPy - Python 3
- FalconJS - Javascript
- goFalcon - Go
- PSFalcon - Powershell
- Rusty Falcon - Rust