-
Notifications
You must be signed in to change notification settings - Fork 119
FDR
Joshua Hiller edited this page Sep 16, 2023
·
3 revisions
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Fetches the combined schema. | ||||
|
Fetch event schema by ID. | ||||
|
Get list of event IDs given a particular query. | ||||
|
Fetch field schema by ID. | ||||
|
Get list of field IDs given a particular query. |
WARNING
client_id
andclient_secret
are keyword arguments that contain your CrowdStrike API credentials. Please note that all examples below do not hard code these values. (These values are ingested as strings.)CrowdStrike does not recommend hard coding API credentials or customer identifiers within source code.
Fetch the combined schema.
get_event_combined
Method | Route |
---|---|
/fdr/combined/schema-members/v1 |
- Produces: application/json
No keywords or arguments accepted.
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_event_combined()
print(response)
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.fdrschema_combined_event_get()
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("fdrschema_combined_event_get")
print(response)
Back to Table of Contents
Fetch event schema by ID.
get_event_entities
Method | Route |
---|---|
/fdr/entities/schema-events/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Feed IDs to fetch. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_event_entities(ids=id_list)
print(response)
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.fdrschema_entities_event_get(ids=id_list)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("fdrschema_entities_event_get", ids=id_list)
print(response)
Back to Table of Contents
Get a list of event IDs given a particular query.
query_event_entities
Method | Route |
---|---|
/fdr/queries/schema-events/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
offset |
|
|
query | integer | The offset to start retrieving records from. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
limit |
|
|
query | integer | The maximum records to return. |
sort |
|
|
query | string | FQL formatted sort directive. |
filter |
|
|
query | string | The FQL filter expression that should be used to limit the results. |
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_event_entities(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.fdrschema_queries_event_get(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("fdrschema_queries_event_get",
filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
Back to Table of Contents
Fetch field schema by ID.
get_field_entities
Method | Route |
---|---|
/fdr/entities/schema-fields/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Feed IDs to fetch. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_field_entities(ids=id_list)
print(response)
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.fdrschema_fields_event_get(ids=id_list)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("fdrschema_fields_event_get", ids=id_list)
print(response)
Back to Table of Contents
Get a list of field IDs given a particular query.
query_field_entities
Method | Route |
---|---|
/fdr/queries/schema-fields/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
offset |
|
|
query | integer | The offset to start retrieving records from. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
limit |
|
|
query | integer | The maximum records to return. |
sort |
|
|
query | string | FQL formatted sort directive. |
filter |
|
|
query | string | The FQL filter expression that should be used to limit the results. |
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_field_entities(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
from falconpy import FDR
# Do not hardcode API credentials!
falcon = FDR(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.fdrschema_queries_field_get(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("fdrschema_queries_field_get",
filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
Back to Table of Contents
- Home
- Discussions Board
- Glossary of Terms
- Installation, Upgrades and Removal
- Samples Collection
- Using FalconPy
- API Operations
-
Service Collections
- Alerts
- API Integrations
- Cloud Connect AWS (deprecated)
- Cloud Snapshots
- 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)
- Detects
- Device Control Policies
- Discover
- Drift Indicators
- Event Streams
- Exposure Management
- Falcon Complete Dashboard
- Falcon Container
- Falcon Intelligence Sandbox
- FDR
- FileVantage
- Firewall Management
- Firewall Policies
- Foundry LogScale
- Host Group
- 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
- 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 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