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: add i18n for disallow using temporary rule (#11009)
boojack8583484207d4
diff --git a/frontend/src/locales/sql-review/en-US.json b/frontend/src/locales/sql-review/en-US.jsonindex 78fcc55e52..06c8d11f36 100644--- a/frontend/src/locales/sql-review/en-US.json+++ b/frontend/src/locales/sql-review/en-US.json@@ -383,6 +383,10 @@"title": "Check if Set Role statement at the beginning","description": "Failure to set the role statement properly at the beginning of a session may lead to unauthorized access or improper permissions assignment, potentially compromising data security and integrity. Suggestion error level: Warning"},+ "statement-disallow-using-temporary": {+ "title": "Prohibit using temporary tables",+ "description": "Temporary tables are not recommended for use in production environments. They can cause resource contention and performance issues. Suggestion error level: Warning"+ },"schema-backward-compatibility": {"title": "Check application backward compatibility","description": "Some changes may affect running applications, such as modifying the name of database object, adding new constraints, etc. This rule can avoid careless changes that lead to the failure of existing application. Suggestion error level: Warning"diff --git a/frontend/src/locales/sql-review/es-ES.json b/frontend/src/locales/sql-review/es-ES.jsonindex 90bd9998e4..912c46b3c6 100644--- a/frontend/src/locales/sql-review/es-ES.json+++ b/frontend/src/locales/sql-review/es-ES.json@@ -383,6 +383,10 @@"title": "Verificar si la Declaración de Establecimiento de Rol está al Principio","description": "La falla al establecer correctamente la declaración de rol al principio de una sesión puede llevar a accesos no autorizados o asignación de permisos incorrecta, comprometiendo potencialmente la seguridad e integridad de los datos. Nivel de error: Advertencia"},+ "statement-disallow-using-temporary": {+ "title": "Prohibir el uso de tablas temporales",+ "description": "Las tablas temporales pueden causar problemas de rendimiento y de mantenimiento. Nivel de error sugerido: Advertencia"+ },"schema-backward-compatibility": {"title": "Comprobación de la compatibilidad con versiones anteriores de la aplicación","description": "Algunos cambios pueden afectar las aplicaciones en ejecución, como modificar el nombre del objeto de la base de datos, agregar nuevas restricciones, etc. Esta regla puede evitar cambios descuidados que lleven al fallo de la aplicación existente. Nivel de error sugerido: Advertencia"diff --git a/frontend/src/locales/sql-review/ja-JP.json b/frontend/src/locales/sql-review/ja-JP.jsonindex bab9e02fcc..c6a36283f6 100644--- a/frontend/src/locales/sql-review/ja-JP.json+++ b/frontend/src/locales/sql-review/ja-JP.json@@ -383,6 +383,10 @@"title": "開始時にロールステートメントが設定されているかを確認する","description": "セッションの初めにロールステートメントを適切に設定しないと、不正なアクセスや不適切な権限の割り当てが発生し、データのセキュリティと完全性が危険にさらされる可能性があります。エラーレベル:警告"},+ "statement-disallow-using-temporary": {+ "title": "一時テーブルの使用を禁止する",+ "description": "一時テーブルは、データの永続化が不要な場合にのみ使用することをお勧めします。一時テーブルはディスクに書き込まれるため、パフォーマンスが低下する可能性があります。提案エラーレベル:警告"+ },"schema-backward-compatibility": {"title": "アプリケーションの後方互換性を確認する","description": "一部の変更は実行中のアプリケーションに影響を与える可能性があります。データベースオブジェクトの名前の変更や新しい制約の追加などが該当します。このルールにより、既存のアプリケーションの障害を防ぐことができます。提案されるエラーレベル:警告"diff --git a/frontend/src/locales/sql-review/vi-VN.json b/frontend/src/locales/sql-review/vi-VN.jsonindex b7163ee337..e859b04a52 100644--- a/frontend/src/locales/sql-review/vi-VN.json+++ b/frontend/src/locales/sql-review/vi-VN.json@@ -383,6 +383,10 @@"title": "Kiểm tra xem Lệnh Thiết lập Vai trò có ở đầu không","description": "Nếu không thiết lập lệnh vai trò đúng cách ở đầu phiên làm việc, có thể dẫn đến truy cập không được ủy quyền hoặc gán quyền không đúng cách, tiềm ẩn nguy cơ đe dọa bảo mật và tính toàn vẹn của dữ liệu. Cấp độ lỗi: Cảnh báo"},+ "statement-disallow-using-temporary": {+ "title": "Cấm sử dụng bảng tạm",+ "description": "Bảng tạm có thể gây ra tình trạng khóa cấp độ bảng và tiêu tốn một lượng lớn tài nguyên. Mức độ lỗi đề xuất: Lỗi"+ },"schema-backward-compatibility": {"title": "Kiểm tra khả năng tương thích ngược của ứng dụng","description": "Một số thay đổi có thể ảnh hưởng đến các ứng dụng đang chạy, chẳng hạn như sửa đổi tên đối tượng cơ sở dữ liệu, thêm các ràng buộc mới, v.v. Quy tắc này có thể tránh những thay đổi bất cẩn dẫn đến lỗi ứng dụng hiện có. Mức độ lỗi đề xuất: Cảnh báo"diff --git a/frontend/src/locales/sql-review/zh-CN.json b/frontend/src/locales/sql-review/zh-CN.jsonindex 69af94bb55..410a1d67b0 100644--- a/frontend/src/locales/sql-review/zh-CN.json+++ b/frontend/src/locales/sql-review/zh-CN.json@@ -383,6 +383,10 @@"title": "检查语句开头是否存在 SET ROLE 语句","description": "在会话开始时未正确设置角色语句可能导致未经授权的访问或权限分配不当,可能危及数据安全性和完整性。错误等级:警告"},+ "statement-disallow-using-temporary": {+ "title": "禁止使用临时表",+ "description": "禁止 Using temporary 可以帮助优化查询性能,减少系统资源的消耗,提高系统的稳定性和可靠性。建议错误等级:警告"+ },"schema-backward-compatibility": {"title": "检查应用向后兼容性","description": "某些变更可能影响现有应用功能,例如修改数据库对象名,增加新的约束等,此规范可避免不谨慎变更导致现有应用运行失败。建议错误等级:警告"diff --git a/frontend/src/types/sql-review-schema.yaml b/frontend/src/types/sql-review-schema.yamlindex d9f6a25ec8..6469a5f3ff 100644--- a/frontend/src/types/sql-review-schema.yaml+++ b/frontend/src/types/sql-review-schema.yaml@@ -253,6 +253,11 @@ ruleList:engineList:- POSTGREScomponentList: []+ - type: statement.disallow-using-temporary+ category: STATEMENT+ engineList:+ - MYSQL+ componentList: []- type: naming.tablecategory: NAMINGengineList:diff --git a/frontend/src/types/sqlReview.ts b/frontend/src/types/sqlReview.tsindex b25de0f127..b30daef7f2 100644--- a/frontend/src/types/sqlReview.ts+++ b/frontend/src/types/sqlReview.ts@@ -152,6 +152,7 @@ export type RuleType =| "statement.select-full-table-scan"| "statement.create-specify-schema"| "statement.check-set-role-variable"+ | "statement.disallow-using-temporary"| "schema.backward-compatibility"| "database.drop-empty-database"| "system.charset.allowlist"