turbot/cloudflare
steampipe plugin install cloudflare

Table: cloudflare_user - Query Cloudflare Users using SQL

Cloudflare is a global cloud network platform that offers various services to secure and enhance the performance of websites, applications, and other internet properties. It provides a range of services from content delivery network (CDN), website security, DDoS protection, to DNS services. A User in Cloudflare represents an individual with access to the Cloudflare dashboard and API.

Table Usage Guide

The cloudflare_user table provides insights into User data within Cloudflare. As a Security Analyst, explore user-specific details through this table, including account details, email, status, and two-factor authentication details. Utilize it to uncover information about users, such as those with two-factor authentication enabled or disabled, and the verification of user status.

Examples

Query information about the user

Discover the details of your user profile on Cloudflare to better understand account status and settings. This can be useful for auditing purposes or for troubleshooting account-related issues.

select
*
from
cloudflare_user;
select
*
from
cloudflare_user;

Check if two factor authentication is enabled for the user

Explore whether two-factor authentication is activated for users, enhancing account security and reducing the risk of unauthorized access.

select
id,
email,
two_factor_authentication_enabled
from
cloudflare_user;
select
id,
email,
two_factor_authentication_enabled
from
cloudflare_user;

Schema for cloudflare_user

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
api_keytextAPI Key for the user.
betasjsonbBeta feature flags associated with the user.
countrytextCountry of the user.
created_ontimestamp with time zoneWhen the user was created.
emailtextEmail of the user.
first_nametextFirst name of the user.
idtextID of the user.
last_nametextLast name of the user.
modified_ontimestamp with time zoneWhen the user was last modified.
organizationsjsonbOrganizations the user is a member of.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
telephonetextTelephone number of the user.
two_factor_authentication_enabledbooleanTrue if two factor authentication is enabled for this user.
user_idtext=, !=, ~~, ~~*, !~~, !~~*ID of the current user.
usernametextUsername (actually often in ID style) of the user.
zipcodetextZipcode of the user.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- cloudflare

You can pass the configuration to the command with the --config argument:

steampipe_export_cloudflare --config '<your_config>' cloudflare_user