Skip to main content

events_create

Creates, updates, deletes, gets or lists an events_create resource.

Overview

Nameevents_create
TypeResource
Idcloudflare.cloudforce_one.events_create

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_by_accountexecaccount_id, date, category, event, tlp, rawTo create a dataset, see the Create Dataset endpoint. When datasetId parameter is unspecified, it will be created in a default dataset named Cloudforce One Threat Events.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

Lifecycle Methods

To create a dataset, see the Create Dataset endpoint. When datasetId parameter is unspecified, it will be created in a default dataset named Cloudforce One Threat Events.

EXEC cloudflare.cloudforce_one.events_create.create_by_account
@account_id='{{ account_id }}' --required
@@json=
'{
"accountId": {{ accountId }},
"attacker": "{{ attacker }}",
"attackerCountry": "{{ attackerCountry }}",
"category": "{{ category }}",
"datasetId": "{{ datasetId }}",
"date": "{{ date }}",
"event": "{{ event }}",
"indicator": "{{ indicator }}",
"indicatorType": "{{ indicatorType }}",
"indicators": "{{ indicators }}",
"insight": "{{ insight }}",
"raw": "{{ raw }}",
"tags": "{{ tags }}",
"targetCountry": "{{ targetCountry }}",
"targetIndustry": "{{ targetIndustry }}",
"tlp": "{{ tlp }}"
}'
;