Skip to content

API Integrations

The API Integrations service collection provides operations for querying plugin configurations and executing commands through the CrowdStrike Falcon plugin framework. Query combined plugin configs, execute commands with proxied responses, or execute commands directly.

LanguageLast Update
Pythonv1.6.5
PowerShellv2.2.9
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
ExecuteCommand
execute_command
Execute a command.
ExecuteCommandProxy
execute_command_proxy
Execute a command and proxy the response directly.
GetCombinedPluginConfigs
get_plugin_configs
Queries for config resources and returns details

Execute a command.

Method POST
Route /plugins/entities/execute/v1
Scope API integrations: WRITE
PEP 8 execute_command
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
List of commands to execute
config_auth_type body · string
Configuration authorization type for plugin to execute. Only application for security scheme plugins. If not provided, execution will use the default authorization type.
config_id body · string
Configuration ID. If omitted, the oldest configuration ID will be used.
definition_id body · string
ID of the definition containing the operation to execute.
id body · string
ID of the specific plugin to execute provided in “definition_name.operation_name” format.
operation_id body · string
The specific operation to execute.
description body · string
Command description.
version body · integer
The version of the definition to execute.
from falconpy import APIIntegrations
falcon = APIIntegrations(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_command(config_auth_type="string",
config_id="string",
definition_id="string",
id="string",
operation_id="string",
description="string",
version=integer)
print(response)
[
{
"headers": {},
"id": "string",
"parsed_headers": {},
"response_body": {},
"status_code": 0
}
]


Execute a command and proxy the response directly.

Method POST
Route /plugins/entities/execute-proxy/v1
Scope API integrations: WRITE
PEP 8 execute_command_proxy
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
List of commands to execute
config_auth_type body · string
Configuration authorization type for plugin to execute. Only application for security scheme plugins. If not provided, execution will use the default authorization type.
config_id body · string
Configuration ID. If omitted, the oldest configuration ID will be used.
cookie body · dictionary
Request cookies. Part of the request parameters.
data body · string
Request data.
definition_id body · string
ID of the definition containing the operation to execute.
header body · dictionary
Request headers. Part of the request parameters.
id body · string
ID of the specific plugin to execute provided in “definition_name.operation_name” format.
operation_id body · string
The specific operation to execute.
path body · dictionary
Request path. Part of the request parameters.
params body · dictionary
Request parameters. Not required if using other request parameter keywords. Can be overridden by values specified using individual keywords.
query body · dictionary
Request query. Part of the request parameters.
version body · integer
The version of the definition to execute.
from falconpy import APIIntegrations
falcon = APIIntegrations(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
cookie = {}
header = {}
path = {}
params = {
"cookie": {},
"header": {},
"path": {},
"query": {}
}
query = {}
response = falcon.execute_command_proxy(config_auth_type="string",
config_id="string",
cookie=cookie,
data="string",
definition_id="string",
header=header,
id="string",
operation_id="string",
path=path,
params=params,
query=query,
version=integer)
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
},
"resources": [
{
"headers": {},
"id": "string",
"parsed_headers": {},
"response_body": {},
"status_code": 0
}
]
}


Queries for config resources and returns details

Method GET
Route /plugins/combined/configs/v1
Scope API integrations: READ
PEP 8 get_plugin_configs
filter query · string
Filter items using a query in Falcon Query Language (FQL).
limit query · integer
The number of items to return in this response (default: 100, max: 500). Use with the offset parameter to manage pagination of results.
offset query · integer
The first item to return, where 0 is the latest item. Use with the limit parameter to manage pagination of results.
sort query · string
Sort items using their properties.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import APIIntegrations
falcon = APIIntegrations(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_plugin_configs(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"app_id": "string",
"config": {},
"config_id": "string",
"definition_id": "string",
"state": "string"
}
]