FaaS Execution - CrowdStrike/falconpy GitHub Wiki
| Operation ID | Description | ||||
|---|---|---|---|---|---|
|
Retrieve a large request body, such as a file, that has spilled into object storage. | ||||
WARNING
client_idandclient_secretare 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.
Retrieve a large request body, such as a file, that has spilled into object storage.
read_request_body
| Method | Route |
|---|---|
/faas-gateway/entities/execution-request-body/v2 |
- Consumes: application/json
- Produces: text/csv
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| id | query | string | Execution ID. | ||
| fn | query | string | Function reference. Format: $fn_id:$fn_version
|
||
| filename | query | string | Filename to be retrieved. | ||
| parameters | query | dictionary | Full query string parameters payload in JSON format. | ||
| sha256 | query | string | SHA256 checksum for file to be retrieved. |
from falconpy import FaaSExecution
falcon = FaaSExecution(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadRequestBody(id="string",
fn="string",
filename="string",
sha256="string"
)
print(response)from falconpy import FaaSExecution
falcon = FaaSExecution(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadRequestBody(id="string",
fn="string",
filename="string",
sha256="string"
)
print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("ReadRequestBody",
id="string",
fn="string",
filename="string",
sha256="string"
)
print(response)
