Docs

Type at least 2 letters.

    Connections and sync

    How Advisor collects data from Cloudflare, the Cloudflare Edge and Cloudflare One connectors, the sync types, the schedule and the connection states.

    Updated View as Markdown

    A connection is the read-only link between your tenant and a Cloudflare account. Advisor has two Cloudflare connectors, each with its own connection:

    • Cloudflare Edge: collects zone metrics, configuration, changes and DNS records.
    • Cloudflare One: collects the account's Gateway and WARP.

    The two connections are independent, even for the same Cloudflare account: each has its own authorization, sync and deletion.

    Connection states

    State Meaning
    Conectada (Connected) Collection works normally.
    Pendente (Pending) The connection was created and has not finished its first collection.
    Erro (Error) The last attempt failed, for example because the token was revoked. Collection is paused until it is fixed.
    Desativada (Disabled) The connection is turned off and does not collect data.

    Currently, each tenant has one connection per connector.

    Cloudflare Edge sync kinds

    Kind What it brings Where it shows up
    Métricas (Metrics) Traffic, WAF and plans for the period Overview, Zones, Traffic
    Postura (Posture) Zone security settings and rules; recalculates the score Score, Risks, Consolidated posture
    Alterações (Changes) The log of who changed what in the Cloudflare account Changes
    DNS Zone records and origin exposure probing. It is the slowest kind Inventory, DNS records tab

    Cloudflare One sync

    The Cloudflare One connection has a single sync kind, Cloudflare One, which brings the Gateway (DNS, HTTP and network) and WARP (devices and users). The data shows up in Gateway and WARP. This sync does not change the posture score.

    History collection in stages

    The Cloudflare One history (up to 30 days) is collected in stages: each run covers up to 10 days and the collection resumes on its own every few minutes, from the day where it stopped, until the period is complete. In the meantime, the Gateway and Overview rankings show Coletando histórico (Collecting history), and the bandwidth cards show Coletando o histórico de banda: os bytes HTTP ainda não cobrem todo o período. (Collecting the bandwidth history: HTTP bytes do not cover the whole period yet.) The message goes away when the collection finishes, with no action from you.

    When collection runs

    • First collection: queued as soon as the connection is created. Metrics are backfilled up to 12 months.
    • Scheduled collection: once a day at 02:00 (Brasília time), covering every kind of each connection. The time cannot be changed.
    • Manual sync: go to Integrações (Integrations), select Sincronizar (Sync) on the connection's card, pick the kinds and select Iniciar sync (Start sync). On Cloudflare One, you can also start the sync with Sincronizar Cloudflare One (Sync Cloudflare One) on the Gateway and WARP screens.

    While a collection runs, Advisor shows Sincronização em andamento (Sync in progress), and the menu lists the kinds under Sincronizando (Syncing) and Na fila (Queued).

    Incomplete collection

    A collection can finish without part of the data, for example when the token is missing a permission. The Integrações screen warns that "coleta(s) vieram incompletas" (collections came in incomplete) and the connection row shows Coleta incompleta (Incomplete collection) with the reason. Only the missing data is stale on screen. Everything else is up to date.

    For Cloudflare One, Cloudflare limits how many queries can be made every 5 minutes. The limit no longer interrupts the history fill: the collection continues in the next stage on its own, and the screens show Coletando histórico until it finishes. If the connection row shows the reason "limite de consultas da Cloudflare atingido; nova tentativa agendada" (Cloudflare query limit reached; retry scheduled), the sync goes back to the queue and reruns on its own after at least 5 minutes, continuing from the day where it stopped. The last collection time only moves forward when the collection finishes. WARP data is updated even when Gateway stops at the limit. After three unsuccessful attempts, the sync shows as failed.

    When the whole collection fails, the warning is "sincronização(ões) falharam" (syncs failed) and the connection moves to Erro.

    History kept

    Data Window
    Metrics on screen 24 months
    Cloudflare account changes Up to 18 months (Cloudflare limit)

    To create the connection, refer to Connect Cloudflare. Other time limits are in Limits and time frames.