Cloudforce One

cloudforce_one

Cloudforce One

Binary Storage

cloudforce_one.binary_storage

Methods

Retrieves A File From Binary Storage ->
get/accounts/{account_id}/cloudforce-one/binary/{hash}

Retrieves a file from Binary Storage

Posts A File To Binary Storage -> { content_type, md5, sha1, 1 more... }
post/accounts/{account_id}/cloudforce-one/binary

Posts a file to Binary Storage

cloudforce_one.requests

Methods

List Requests -> SinglePage<>
post/accounts/{account_id}/cloudforce-one/requests

List Requests

Security
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example: X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194

Accepted Permissions (at least one required)

Cloudforce One Write

path Parameters
account_id: string
(maxLength: 32)

Identifier.

Response fields
errors: Array<{ code, message, documentation_url, 1 more... }>
messages: Array<{ code, message, documentation_url, 1 more... }>
success: true

Whether the API call was successful.

result: Array<>
Optional
Request example
200Example
Get A Request -> Envelope<>
get/accounts/{account_id}/cloudforce-one/requests/{request_id}

Get a Request

Create A New Request -> Envelope<>
post/accounts/{account_id}/cloudforce-one/requests/new

Creating a request adds the request into the Cloudforce One queue for analysis. In addition to the content, a short title, type, priority, and releasability should be provided. If one is not provided, a default will be assigned.

Update A Request -> Envelope<>
put/accounts/{account_id}/cloudforce-one/requests/{request_id}

Updating a request alters the request in the Cloudforce One queue. This API may be used to update any attributes of the request after the initial submission. Only fields that you choose to update need to be add to the request body.

Delete A Request -> { errors, messages, success }
delete/accounts/{account_id}/cloudforce-one/requests/{request_id}

Delete a Request

Get Request Quota -> Envelope<>
get/accounts/{account_id}/cloudforce-one/requests/quota

Get Request Quota

Get Request Types -> SinglePage<string>
get/accounts/{account_id}/cloudforce-one/requests/types

Get Request Types

Get Request Priority Status And TLP Constants -> Envelope<>
get/accounts/{account_id}/cloudforce-one/requests/constants

Get Request Priority, Status, and TLP constants

Domain types

Item = { id, content, created, 10 more... }
ListItem = { id, created, priority, 9 more... }
Quota = { anniversary_date, quarter_anniversary_date, quota, 1 more... }
RequestConstants = { priority, status, tlp }
RequestTypes = Array<string>

cloudforce_one.requests.assets

Methods

Get A Request Asset -> SinglePage<{ id, name, created, 2 more... }>
get/accounts/{account_id}/cloudforce-one/requests/{request_id}/asset/{asset_id}

Get a Request Asset

List Request Assets -> SinglePage<{ id, name, created, 2 more... }>
post/accounts/{account_id}/cloudforce-one/requests/{request_id}/asset

List Request Assets

Update A Request Asset -> Envelope<{ id, name, created, 2 more... }>
put/accounts/{account_id}/cloudforce-one/requests/{request_id}/asset/{asset_id}

Update a Request Asset

Delete A Request Asset -> { errors, messages, success }
delete/accounts/{account_id}/cloudforce-one/requests/{request_id}/asset/{asset_id}

Delete a Request Asset

cloudforce_one.requests.message

Methods

List Request Messages -> SinglePage<>
post/accounts/{account_id}/cloudforce-one/requests/{request_id}/message

List Request Messages

Create A New Request Message -> Envelope<>
post/accounts/{account_id}/cloudforce-one/requests/{request_id}/message/new

Create a New Request Message

Update A Request Message -> Envelope<>
put/accounts/{account_id}/cloudforce-one/requests/{request_id}/message/{message_id}

Update a Request Message

Delete A Request Message -> { errors, messages, success }
delete/accounts/{account_id}/cloudforce-one/requests/{request_id}/message/{message_id}

Delete a Request Message

Domain types

Message = { id, author, content, 3 more... }

cloudforce_one.requests.priority

Methods

Get A Priority Intelligence Requirement -> Envelope<>
get/accounts/{account_id}/cloudforce-one/requests/priority/{priority_id}

Get a Priority Intelligence Requirement

Create A New Priority Intelligence Requirement -> Envelope<>
post/accounts/{account_id}/cloudforce-one/requests/priority/new

Create a New Priority Intelligence Requirement

Update A Priority Intelligence Requirement -> Envelope<>
put/accounts/{account_id}/cloudforce-one/requests/priority/{priority_id}

Update a Priority Intelligence Requirement

Delete A Priority Intelligence Requirement -> { errors, messages, success }
delete/accounts/{account_id}/cloudforce-one/requests/priority/{priority_id}

Delete a Priority Intelligence Requirement

Get Priority Intelligence Requirement Quota -> Envelope<>
get/accounts/{account_id}/cloudforce-one/requests/priority/quota

Get Priority Intelligence Requirement Quota

Domain types

Label = string
Priority = { id, created, labels, 4 more... }
PriorityEdit = { labels, priority, requirement, 1 more... }

cloudforce_one.scans

cloudforce_one.scans.config

Methods

List Scan Configs -> SinglePage<{ id, account_id, frequency, 2 more... }>
get/accounts/{account_id}/cloudforce-one/scans/config

List Scan Configs

Create A New Scan Config -> Envelope<{ id, account_id, frequency, 2 more... }>
post/accounts/{account_id}/cloudforce-one/scans/config

Create a new Scan Config

Update An Existing Scan Config -> Envelope<{ id, account_id, frequency, 2 more... }>
patch/accounts/{account_id}/cloudforce-one/scans/config/{config_id}

Update an existing Scan Config

Delete A Scan Config -> Envelope<unknown>
delete/accounts/{account_id}/cloudforce-one/scans/config/{config_id}

Delete a Scan Config

cloudforce_one.scans.results

Methods

Get The Latest Scan Result -> Envelope<{ 1.1.1.1 }>
get/accounts/{account_id}/cloudforce-one/scans/results/{config_id}

Get the Latest Scan Result

Domain types

ScanResult = { number, proto, status }
Cloudforce One

Threat Events

cloudforce_one.threat_events

Methods

Filter And List Events -> Array<{ attacker, attackerCountry, category, 21 more... }>
get/accounts/{account_id}/cloudforce-one/events

When datasetId is unspecified, events will be listed from the Cloudforce One Threat Events dataset. To list existing datasets (and their IDs), use the List Datasets endpoint). Also, must provide query parameters.

Reads An Event -> { attacker, attackerCountry, category, 21 more... }
Deprecated
get/accounts/{account_id}/cloudforce-one/events/{event_id}

This Method is deprecated. Please use /events/dataset/:dataset_id/events/:event_id instead.

Creates A New Event -> { attacker, attackerCountry, category, 21 more... }
post/accounts/{account_id}/cloudforce-one/events/create

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.

Updates An Event -> { attacker, attackerCountry, category, 21 more... }
patch/accounts/{account_id}/cloudforce-one/events/{event_id}

Updates an event

Deletes An Event -> { uuid }
delete/accounts/{account_id}/cloudforce-one/events/{event_id}

The datasetId parameter must be defined. To list existing datasets (and their IDs) in your account, use the List Datasets endpoint.

Creates Bulk Events -> number
post/accounts/{account_id}/cloudforce-one/events/create/bulk

The datasetId parameter must be defined. To list existing datasets (and their IDs) in your account, use the List Datasets endpoint.

cloudforce_one.threat_events.attackers

Methods

Lists Attackers -> { items, type }
get/accounts/{account_id}/cloudforce-one/events/attackers

Lists attackers

cloudforce_one.threat_events.categories

Methods

Lists Categories -> Array<{ killChain, name, uuid, 2 more... }>
get/accounts/{account_id}/cloudforce-one/events/categories

Lists categories

Reads A Category -> { killChain, name, uuid, 2 more... }
get/accounts/{account_id}/cloudforce-one/events/categories/{category_id}

Reads a category

Creates A New Category -> { killChain, name, uuid, 2 more... }
post/accounts/{account_id}/cloudforce-one/events/categories/create

Creates a new category

Updates A Category -> { killChain, name, uuid, 2 more... }
patch/accounts/{account_id}/cloudforce-one/events/categories/{category_id}

Updates a category

Deletes A Category -> { uuid }
delete/accounts/{account_id}/cloudforce-one/events/categories/{category_id}

Deletes a category

cloudforce_one.threat_events.countries

Methods

Retrieves Countries Information For All Countries -> Array<{ result, success }>
get/accounts/{account_id}/cloudforce-one/events/countries

Retrieves countries information for all countries

cloudforce_one.threat_events.crons

cloudforce_one.threat_events.datasets

Methods

Lists All Datasets In An Account -> Array<{ isPublic, name, uuid }>
get/accounts/{account_id}/cloudforce-one/events/dataset

Lists all datasets in an account

Reads A Dataset -> { isPublic, name, uuid }
get/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}

Reads a dataset

Creates A Dataset -> { isPublic, name, uuid }
post/accounts/{account_id}/cloudforce-one/events/dataset/create

Creates a dataset

Updates An Existing Dataset -> { isPublic, name, uuid }
patch/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}

Updates an existing dataset

Reads Data For A Raw Event -> { id, accountId, created, 3 more... }
get/accounts/{account_id}/cloudforce-one/events/raw/{dataset_id}/{event_id}

Reads data for a raw event

cloudforce_one.threat_events.datasets.health

cloudforce_one.threat_events.event_tags

Methods

Adds A Tag To An Event -> Envelope<{ success }>
post/accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}/create

Adds a tag to an event

Removes A Tag From An Event -> Envelope<{ success }>
delete/accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}

Removes a tag from an event

cloudforce_one.threat_events.indicator_types

Methods

Lists All Indicator Types -> { items, type }
Deprecated
get/accounts/{account_id}/cloudforce-one/events/indicatorTypes

This Method is deprecated. Please use /events/dataset/:dataset_id/indicatorTypes instead.

cloudforce_one.threat_events.insights

cloudforce_one.threat_events.raw

Methods

Reads Data For A Raw Event -> { id, accountId, created, 3 more... }
get/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}

Reads data for a raw event

Updates A Raw Event -> { id, data }
patch/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}

Updates a raw event

cloudforce_one.threat_events.relate

Methods

Removes An Event Reference -> Envelope<{ success }>
delete/accounts/{account_id}/cloudforce-one/events/relate/{event_id}

Removes an event reference

cloudforce_one.threat_events.tags

Methods

Creates A New Tag -> { uuid, value, activeDuration, 14 more... }
post/accounts/{account_id}/cloudforce-one/events/tags/create

Creates a new tag to be used accross threat events.

cloudforce_one.threat_events.target_industries

Methods

Lists All Target Industries -> { items, type }
get/accounts/{account_id}/cloudforce-one/events/targetIndustries

Lists all target industries