Skip to content

Cloudflare: filtering by accounts doesn't actually work #3419

@shimonp21

Description

@shimonp21

Describe the Bug

The accounts configuration option should limit the information to one account, but it doesn't.

cloudquery sync .
postgres=# SELECT _cq_sync_time,account_id,user,code FROM cloudflare_account_members;
       _cq_sync_time        |            account_id            |   user   | code
----------------------------+----------------------------------+----------+------
 2022-11-01 09:16:14.965292 | <account_1> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
 2022-11-01 09:16:14.965292 | <account_2> | postgres |
(7 rows)

CloudQuery Version

1.4.0
cloudflare plugin: 2.0.8
postgres plugin: 1.3.11

Steps to Reproduce

cloudflare.yml:

kind: source
# Common source-plugin configuration
spec:
  name: cloudflare
  path: cloudquery/cloudflare
  version: "v2.0.8" # latest version of cloudflare plugin
  tables: ["*"]
  destinations: ["postgresql"]

  # Cloudflare specific configuration
  spec:
    accounts:
     - "<account_1>"

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions