-
Notifications
You must be signed in to change notification settings - Fork 122
IOC
Joshua Hiller edited this page Aug 20, 2021
·
30 revisions
API Function | Description |
---|---|
indicator_combined_v1 | Get Combined for Indicators. |
indicator_get_v1 | Get Indicators by ids. |
indicator_create_v1 | Create Indicators. |
indicator_delete_v1 | Delete Indicators by ids. |
indicator_update_v1 | Update Indicators. |
indicator_search_v1 | Search for Indicators. |
Get Combined for Indicators.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
filter | query | string | The filter expression that should be used to limit the results. | |
offset | query | integer | The offset to start retrieving records from. Offset and After params are mutually exclusive. If none provided then scrolling will be used by default. | |
limit | query | integer | The maximum records to return. | |
sort | query | string | The sort expression that should be used to sort the results. |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'filter': 'string',
'offset': integer,
'limit': integer,
'sort': 'string'
}
response = falcon.indicator_combined_v1(parameters=PARAMS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
PARAMS = {
'filter': 'string',
'offset': integer,
'limit': integer,
'sort': 'string'
}
response = falcon.command('indicator.combined.v1', parameters=PARAMS)
print(response)
falcon.deauthenticate()
Get Indicators by ids.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
✅ | ids | query | array (string) | The ids of the Indicators to retrieve |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
IDS = 'ID1,ID2,ID3'
response = falcon.indicator_get_v1(ids=IDS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
IDS = 'ID1,ID2,ID3'
response = falcon.command('indicator.get.v1', ids=IDS)
print(response)
falcon.deauthenticate()
Create Indicators.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
X-CS-USERNAME | header | string | The username | |
retrodetects | query | bool | Whether to submit to retrodetects | |
ignore_warnings | query | bool | Set to true to ignore warnings and add all IOCs | |
✅ | body | body | string |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'retrodetects': ,
'ignore_warnings':
}
BODY = {
'Body Payload': 'See body description above'
}
HEADERS = {
'X-CS-USERNAME': 'string'
}
response = falcon.indicator_create_v1(parameters=PARAMS, body=BODY, headers=HEADERS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
PARAMS = {
'retrodetects': ,
'ignore_warnings':
}
BODY = {
'Body Payload': 'See body description above'
}
HEADERS = {
'X-CS-USERNAME': 'string'
}
response = falcon.command('indicator.create.v1', parameters=PARAMS, body=BODY, headers=HEADERS)
print(response)
falcon.deauthenticate()
Delete Indicators by ids.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
filter | query | string | The FQL expression to delete Indicators in bulk. If both 'filter' and 'ids' are provided, then filter takes precedence and ignores ids. | |
ids | query | array (string) | The ids of the Indicators to delete. If both 'filter' and 'ids' are provided, then filter takes precedence and ignores ids | |
comment | query | string | The comment why these indicators were deleted |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'filter': 'string',
'comment': 'string'
}
IDS = 'ID1,ID2,ID3'
response = falcon.indicator_delete_v1(parameters=PARAMS, ids=IDS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
PARAMS = {
'filter': 'string',
'comment': 'string'
}
IDS = 'ID1,ID2,ID3'
response = falcon.command('indicator.delete.v1', parameters=PARAMS, ids=IDS)
print(response)
falcon.deauthenticate()
Update Indicators.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
X-CS-USERNAME | header | string | The username | |
retrodetects | query | bool | Whether to submit to retrodetects | |
ignore_warnings | query | bool | Set to true to ignore warnings and add all IOCs | |
✅ | body | body | string |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'retrodetects': ,
'ignore_warnings':
}
BODY = {
'Body Payload': 'See body description above'
}
HEADERS = {
'X-CS-USERNAME': 'string'
}
response = falcon.indicator_update_v1(parameters=PARAMS, body=BODY, headers=HEADERS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
PARAMS = {
'retrodetects': ,
'ignore_warnings':
}
BODY = {
'Body Payload': 'See body description above'
}
HEADERS = {
'X-CS-USERNAME': 'string'
}
response = falcon.command('indicator.update.v1', parameters=PARAMS, body=BODY, headers=HEADERS)
print(response)
falcon.deauthenticate()
Search for Indicators.
- Consumes: application/json
- Produces: application/json
Required | Name | Type | Datatype | Description |
---|---|---|---|---|
filter | query | string | The filter expression that should be used to limit the results. | |
offset | query | integer | The offset to start retrieving records from. Offset and After params are mutually exclusive. If none provided then scrolling will be used by default. | |
limit | query | integer | The maximum records to return. | |
sort | query | string | The sort expression that should be used to sort the results. |
from falconpy import ioc as FalconIOC
falcon = FalconIOC.IOC(creds={
'client_id': falcon_client_id,
'client_secret': falcon_client_secret
})
PARAMS = {
'filter': 'string',
'offset': integer,
'limit': integer,
'sort': 'string'
}
response = falcon.indicator_search_v1(parameters=PARAMS)
print(response)
from falconpy.api_complete import APIHarness
falcon = APIHarness('client_id': falcon_client_id,
'client_secret': falcon_client_secret
)
PARAMS = {
'filter': 'string',
'offset': integer,
'limit': integer,
'sort': 'string'
}
response = falcon.command('indicator.search.v1', 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