Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(masking): do not break early in finding masking exception (#9177)

h3n4lfdb5d83b5a07
diff --git a/backend/api/v1/sql_service.go b/backend/api/v1/sql_service.go
index 97b0cd6e2e..74549241c2 100644
--- a/backend/api/v1/sql_service.go
+++ b/backend/api/v1/sql_service.go
@@ -1312,7 +1312,6 @@ func (s *SQLService) getSensitiveSchemaInfo(ctx context.Context, instance *store
if maskingException.Member == currentPrincipal.Email {
slog.Debug("hit masking exception for current principal", slog.String("database", databaseName), slog.String("project", database.ProjectID), slog.Any("masking exception", maskingException))
maskingExceptionContainsCurrentPrincipal = append(maskingExceptionContainsCurrentPrincipal, maskingException)
- break
}
}
}