Skip to main content

permissions

Creates, updates, deletes, gets or lists a permissions resource.

Overview

Namepermissions
TypeResource
Idcloudflare.intel.permissions

Fields

The following fields are returned by SELECT queries:

Get indicator feed metadata

NameDatatypeDescription
idintegerThe unique identifier for the indicator feed
namestringThe name of the indicator feed
descriptionstringThe description of the example test
is_attributablebooleanWhether the indicator feed can be attributed to a provider
is_downloadablebooleanWhether the indicator feed can be downloaded
is_publicbooleanWhether the indicator feed is exposed to customers

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idLists current access permissions for custom threat indicator feeds.
update_addexecaccount_idGrants access permissions for a custom threat indicator feed to other accounts.
update_removeexecaccount_idRevokes access permissions for a custom threat indicator feed.

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.

SELECT examples

Lists current access permissions for custom threat indicator feeds.

SELECT
id,
name,
description,
is_attributable,
is_downloadable,
is_public
FROM cloudflare.intel.permissions
WHERE account_id = '{{ account_id }}' -- required
;

Lifecycle Methods

Grants access permissions for a custom threat indicator feed to other accounts.

EXEC cloudflare.intel.permissions.update_add
@account_id='{{ account_id }}' --required
@@json=
'{
"account_tag": "{{ account_tag }}",
"feed_id": {{ feed_id }}
}'
;