Reads raw data for an event by UUID
client.cloudforceOne.threatEvents.datasets.raw(stringdatasetId, stringeventId, DatasetRawParams { account_id } params, RequestOptionsoptions?): DatasetRawResponse { id, accountId, created, 3 more }
GET/accounts/{account_id}/cloudforce-one/events/raw/{dataset_id}/{event_id}
Retrieves the raw data associated with an event. Searches across all shards in the dataset.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Reads raw data for an event by UUID
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.cloudforceOne.threatEvents.datasets.raw('dataset_id', 'event_id', {
account_id: 'account_id',
});
console.log(response.id);{
"id": 1,
"accountId": 1234,
"created": "1970-01-01T00:00:00.000Z",
"data": "{\"foo\": \"bar\"}",
"source": "https://example.com",
"tlp": "amber"
}Returns Examples
{
"id": 1,
"accountId": 1234,
"created": "1970-01-01T00:00:00.000Z",
"data": "{\"foo\": \"bar\"}",
"source": "https://example.com",
"tlp": "amber"
}