-
Notifications
You must be signed in to change notification settings - Fork 119
Incidents
Joshua Hiller edited this page Dec 11, 2021
·
21 revisions
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Query environment wide CrowdScore and return the entity data. | ||||
|
Get details on behaviors by providing behavior IDs. | ||||
|
Perform a set of actions on one or more incidents, such as adding tags or comments or updating the incident name or description. | ||||
|
Get details on incidents by providing incident IDs. | ||||
|
Search for behaviors by providing a FQL filter, sorting, and paging details. | ||||
|
Search for incidents by providing a FQL filter, sorting, and paging details. |
Query environment wide CrowdScore and return the entity data
crowdscore
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | FQL Syntax formatted string used to limit the results. |
limit |
|
|
query | integer | Maximum number of records to return. (Max: 2500) |
offset |
|
|
query | integer | Starting index of overall result set from which to return ids. |
sort |
|
|
query | string | The property to sort by. (Ex: modified_timestamp.desc) |
parameters |
|
|
query | string | Full query string parameters payload in JSON format. |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.crowdscore(filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.CrowdScore(filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.command("CrowdScore",
filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
Get details on behaviors by providing behavior IDs
get_behaviors
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | string | Full body payload in JSON format. |
ids |
|
|
body | string or list of strings | Behavior ID(s) to retrieve. |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_behaviors(ids=id_list)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetBehaviors(ids=id_list)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
BODY = {
"ids": id_list
}
response = falcon.command("GetBehaviors", body=BODY)
print(response)
Perform a set of actions on one or more incidents, such as adding tags or comments or updating the incident name or description
perform_incident_action
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
action_parameters |
|
|
body | list of dictionaries | Action specific parameters. Not required. |
body |
|
|
body | string | Full body payload in JSON format. |
ids |
|
|
body | string or list of strings | Incident ID(s) to perform the action against. |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
act_params = [{
"name": "string",
"value": "string"
}]
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.perform_incident_action(action_parameters=act_params,
ids=id_list
)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
act_params = [{
"name": "string",
"value": "string"
}]
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.PerformIncidentAction(action_parameters=act_params,
ids=id_list
)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
act_params = [{
"name": "string",
"value": "string"
}]
id_list = ['ID1', 'ID2', 'ID3']
BODY = {
"action_parameters": act_params,
"ids": id_list
}
response = falcon.command("PerformIncidentAction", body=BODY)
print(response)
Get details on incidents by providing incident IDs
get_incidents
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | string | Full body payload in JSON format. |
ids |
|
|
body | string or list of strings | Incident ID(s) to retrieve. |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_incidents(ids=id_list)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetIncidents(ids=id_list)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
id_list = ['ID1', 'ID2', 'ID3']
BODY = {
"ids": id_list
}
response = falcon.command("GetIncidents", body=BODY)
print(response)
Search for behaviors by providing a FQL filter, sorting, and paging details
query_behaviors
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | FQL Syntax formatted string used to limit the results. |
limit |
|
|
query | integer | Maximum number of records to return. (Max: 500) |
offset |
|
|
query | integer | Starting index of overall result set from which to return ids. |
sort |
|
|
query | string | The property to sort by. (Ex: modified_timestamp.desc) |
parameters |
|
|
query | string | Full query string parameters payload in JSON format. |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.query_behaviors(filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.QueryBehaviors(filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.command("QueryBehaviors",
filter="string",
offset="string",
limit=integer,
sort="string"
)
print(response)
Search for incidents by providing a FQL filter, sorting, and paging details
query_incidents
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string |
FQL Syntax formatted string used to limit the results. Review the following table for a complete list of available filters. |
limit |
|
|
query | integer | Maximum number of records to return. (Max: 500) |
offset |
|
|
query | integer | Starting index of overall result set from which to return ids. |
sort |
|
|
query | string | The property to sort by. (Ex: modified_timestamp.desc) |
parameters |
|
|
query | string | Full query string parameters payload in JSON format. |
For more detail regarding filters and their usage, please review the Falcon Query Language documentation.
Name | Description | Example |
---|---|---|
host_ids | The device IDs of all the hosts on which the incident occurred. | 9a07d39f8c9f430eb3e474d1a0c16ce9 |
lm_host_ids | If lateral movement has occurred, this field shows the remote device IDs of the hosts on which the lateral movement occurred. | c4e9e4643999495da6958ea9f21ee597 |
lm_hosts_capped | Indicates that the list of lateral movement hosts has been truncated. The limit is 15 hosts. | True |
name | The name of the incident. Initially the name is assigned by CrowdScore, but it can be updated through the API. | Incident on DESKTOP-27LTE3R at 2019-12-20T19:56:16Z |
description | The description of the incident. Initially the description is assigned by CrowdScore, but it can be updated through the API. | Objectives in this incident: Keep Access .Techniques: Masquerading .Involved hosts and end users: DESKTOP-27LTE3R , DESKTOP-27LTE3R$ . |
users | The usernames of the accounts associated with the incident. | someuser |
tags | Tags associated with the incident. CrowdScore will assign an initial set of tags, but tags can be added or removed through the API. | Objective/Keep Access |
fine_score | The incident score. Divide the integer by 10 to match the displayed score for the incident. | 56 |
start | The recorded time of the earliest behavior. | 2017-01-31T22:36:11Z |
end | The recorded time of the latest behavior. | 2017-01-31T22:36:11Z |
assigned_to_name | The name of the user the incident is assigned to. | |
state | The incident state: “open” or “closed” | open |
status | The incident status as a number:
|
20 |
modified_timestamp | The most recent time a user has updated the incident. | 2021-02-04T05:57:04Z |
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.query_incidents(sort="string",
filter="string",
offset="string",
limit=integer
)
print(response)
from falconpy import Incidents
falcon = Incidents(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.QueryIncidents(sort="string",
filter="string",
offset="string",
limit=integer
)
print(response)
from falconpy import APIHarness
falcon = APIHarness(client_id="API_CLIENT_ID_HERE",
client_secret="API_CLIENT_SECRET_HERE"
)
response = falcon.command("QueryIncidents",
sort="string",
filter="string",
offset="string",
limit=integer
)
print(response)
- 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