Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bouncer -g command line merges API's from multiple accounts into the first acccount ID. #119

Open
Skyridr opened this issue Jan 4, 2023 · 0 comments

Comments

@Skyridr
Copy link

Skyridr commented Jan 4, 2023

When for example when you are running the command line crowdsec-cloudflare-bouncer -g API1, API2, it merges the zones from all other API's into the first api with as example:

    accounts:
        - id: xxx EMAIL's Account
          zones:
            - zone_id: ID1 #website1 <- this is correct
              actions:
                - managed_challenge
            - zone_id: ID2 #website2 <- Incorrect, belongs to the second API
              actions:
                - managed_challenge
            - zone_id: ID3 #website3 <- Incorrect, belongs to the second API
              actions:
                - managed_challenge
          token: token
          ip_list_prefix: crowdsec
          default_action: managed_challenge
          total_ip_list_capacity: 10000 # only this many latest IP decisions would be kept
        - id: xxx #second token email
          zones: []
          token: token
          ip_list_prefix: crowdsec
          default_action: managed_challenge
          total_ip_list_capacity: 10000 # only this many latest IP decisions would be kept
    update_frequency: 10s

It does properly add the ID/Email and token of the second API into the config file, just not the zones.

@Skyridr Skyridr changed the title 'crowdsec-cloudflare-bouncer -g' command line merges multiple API's from multiple accounts into the first acccount ID. bouncer -g command line merges multiple API's from multiple accounts into the first acccount ID. Jan 4, 2023
@Skyridr Skyridr changed the title bouncer -g command line merges multiple API's from multiple accounts into the first acccount ID. bouncer -g command line merges API's from multiple accounts into the first acccount ID. Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant