utmstack / UTMStack

Customizable SIEM and XDR powered by Real-Time correlation and Threat Intelligence
https://utmstack.com
GNU Affero General Public License v3.0
198 stars 19 forks source link

[BUG] The system lets you remove the last integration tenant without disabling the integration #621

Closed c3s4rfred closed 1 month ago

c3s4rfred commented 3 months ago

Describe the bug On the integrations where you configure tenants, the system lets you remove the last integration tenant without disabling the integration.

To Reproduce Steps to reproduce the behavior:

  1. Go to the 'Integrations' menu.
  2. Click on 'Bitdefender integration'
  3. Scroll down, create a tenant, save and enable the integration.
  4. Remove all tenants, see that the integration remains enabled.

Expected behavior Integration can't be enabled without tenants.

Screenshots image

Environment