mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Why: * We have seen issues with Google Admin SDK API returning bad information when requesting directory info, such as Groups and Identities. The requests seem to return successful HTTP codes, but the data is missing, which our sync system interprets as all Groups/Identities have been deleted from the Google Workspace. In order to prevent this from happening a deletion circuit breaker function has been added to stop a sync job if a certain percentage of the identities will be deleted on the current run. This should prevent the possibility of mass deleting Groups/Identities if an Identity Provider hands back incorrect info on any sync. Fixes: #9188