Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: change default affected_rows value to MaxInt32 (#8164)
p0nyed31ef3ec19b
diff --git a/backend/runner/approval/runner.go b/backend/runner/approval/runner.goindex 1e1f4fd433..6c08e414bf 100644--- a/backend/runner/approval/runner.go+++ b/backend/runner/approval/runner.go@@ -6,6 +6,7 @@ import ("encoding/json""fmt""log/slog"+ "math""reflect""sort""strconv"@@ -479,7 +480,7 @@ func getDatabaseGeneralIssueRisk(ctx context.Context, s *store.Store, licenseSer// convert to string type otherwise cel-go will complain that db.Type is not string type."db_engine": string(instance.Engine),"sql_type": "UNKNOWN",- "affected_rows": 0,+ "affected_rows": math.MaxInt32,}res, _, err := prg.Eval(args)