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.4.6
PowerShellv2.2.9
Gov0.20.0
TypeScriptv0.6.0
Rustv0.7.0
Rubyv1.2.0
OperationDescription
GetCombinedPluginConfigs
get_plugin_configs
Queries for config resources and returns details
ExecuteCommandProxy
execute_command_proxy
Execute a command and proxy the response directly.
ExecuteCommand
execute_command
Execute a command.

Queries for config resources and returns details

GET /plugins/combined/configs/v1
Scope API Integrations: READ Consumes · Produces application/json
PEP 8 get_plugin_configs
NameTypeData typeDescription
filterquerystringFilter items using a query in Falcon Query Language (FQL).
limitqueryintegerThe number of items to return in this response (default: 100, max: 500). Use with the offset parameter to manage pagination of results.
offsetqueryintegerThe first item to return, where 0 is the latest item. Use with the limit parameter to manage pagination of results.
parametersquerydictionaryFull query string parameters payload as a dictionary. Not required when using other keywords.
sortquerystringSort items using their properties.
from falconpy import APIIntegrations
falcon = APIIntegrations(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_plugin_configs(filter="string",
limit="string",
offset="string",
sort="string")
print(response)

Execute a command and proxy the response directly.

POST /plugins/entities/execute-proxy/v1
Scope API Integrations: WRITE Consumes · Produces application/json
PEP 8 execute_command_proxy
NameTypeData typeDescription
bodybodydictionaryFull body payload in JSON format
config_auth_typebodystringConfiguration authorization type for plugin to execute. Only application for security scheme plugins. If not provided, execution will use the default authorization type.
config_idbodystringConfiguration ID. If omitted, the oldest configuration ID will be used.
definition_idbodystringID of the definition containing the operation to execute.
idbodystringID of the specific plugin to execute provided in “definition_name.operation_name” format.
operation_idbodystringThe specific operation to execute.
databodystringCommand data.
descriptionbodystringCommand description.
paramsbodydictionaryCommand parameters. Overwritten if keywords are used to provide command parameters.
cookiebodydictionaryCommand parameter - cookie.
headerbodydictionaryCommand parameter - header.
pathbodydictionaryCommand parameter - path.
querybodydictionaryCommand parameter - query.
versionbodyintegerThe version of the definition to execute.
from falconpy import APIIntegrations
falcon = APIIntegrations(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_command_proxy(config_auth_type="string",
config_id="string",
cookie={},
data="string",
definition_id="string",
header={},
id="string",
operation_id="string",
path={},
params="string",
query={},
version=integer)
print(response)

Execute a command.

POST /plugins/entities/execute/v1
Scope API Integrations: WRITE Consumes · Produces application/json
PEP 8 execute_command
NameTypeData typeDescription
bodybodydictionaryFull body payload in JSON format
config_auth_typebodystringConfiguration authorization type for plugin to execute. Only application for security scheme plugins. If not provided, execution will use the default authorization type.
config_idbodystringConfiguration ID. If omitted, the oldest configuration ID will be used.
definition_idbodystringID of the definition containing the operation to execute.
idbodystringID of the specific plugin to execute provided in “definition_name.operation_name” format.
operation_idbodystringThe specific operation to execute.
databodystringCommand data.
descriptionbodystringCommand description.
paramsbodydictionaryCommand parameters. Overwritten if keywords are used to provide command parameters.
cookiebodydictionaryCommand parameter - cookie.
headerbodydictionaryCommand parameter - header.
pathbodydictionaryCommand parameter - path.
querybodydictionaryCommand parameter - query.
versionbodyintegerThe 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)