Lists attackers across multiple datasets
client.cloudforceOne.threatEvents.attackers.list(AttackerListParams { account_id, datasetIds } params, RequestOptionsoptions?): AttackerListResponse { items, type }
GET/accounts/{account_id}/cloudforce-one/events/attackers
Lists attackers across multiple datasets
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Lists attackers across multiple datasets
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const attackers = await client.cloudforceOne.threatEvents.attackers.list({
account_id: 'account_id',
});
console.log(attackers.items);{
"items": {
"type": "string"
},
"type": "array"
}Returns Examples
{
"items": {
"type": "string"
},
"type": "array"
}