events_create
Creates, updates, deletes, gets or lists an events_create resource.
Overview
| Name | events_create |
| Type | Resource |
| Id | cloudflare.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_by_account | exec | account_id, date, category, event, tlp, raw | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
Lifecycle Methods
- create_by_account
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 }}"
}'
;