Skip to content

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

fix: another db engine string (#8871)

Danny Xu710f5f3b5f6b
diff --git a/backend/runner/approval/runner.go b/backend/runner/approval/runner.go
index b9831ad3ac..9649d31dfe 100644
--- a/backend/runner/approval/runner.go
+++ b/backend/runner/approval/runner.go
@@ -668,7 +668,7 @@ func getGrantRequestIssueRisk(ctx context.Context, s *store.Store, issue *store.
"project_id": issue.Project.ResourceID,
"database_name": database.DatabaseName,
// convert to string type otherwise cel-go will complain that storepb.Engine is not string type.
- "db_engine": string(instance.Engine),
+ "db_engine": instance.Engine.String(),
"expiration_days": expirationDays,
}
res, _, err := prg.Eval(args)