Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
15.18k stars 880 forks source link

Duplicate environment-integration-app integration sync are being created #611

Open devblin opened 1 year ago

devblin commented 1 year ago

Describe the bug

Duplicate environment-integration-app integration sync are being created

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://app.infisical.com/integrations/xxxx0750bxxxx1ffad6exxxx
  2. Create integration sync for any provider. For example:-

    • Environment->Development
    • Integration->Heroku
    • App->sho-pit

    Try to create 2 or more integration sync with same config as above.

  3. There will be multiple integration sync with same environment-integration-app

Expected behavior

If there already exists an integration sync with unique environment-integration-app config, it shouldn't be created more than once.

Screenshots

image

Platform you are having the issue on:

Tested on live app.infisical

devblin commented 1 year ago

@dangtony98 I would like to work on this bug, if it's confirmed by team.

vmatsiiako commented 1 year ago

@devblin it would be awesome if you could help! @dangtony98 could you please take a look?