Skip to content

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

feat(audit): display status in audit logs (#12723)

Azusainb9ba5cb7205f
diff --git a/frontend/src/components/AuditLog/AuditLogDataTable.vue b/frontend/src/components/AuditLog/AuditLogDataTable.vue
index a7f6b5f314..b48a44bf54 100644
--- a/frontend/src/components/AuditLog/AuditLogDataTable.vue
+++ b/frontend/src/components/AuditLog/AuditLogDataTable.vue
@@ -122,6 +122,21 @@ const columnList = computed((): ProjectDataTableColumn[] => {
"-"
),
},
+ {
+ key: "status",
+ resizable: true,
+ minWidth: 256,
+ width: 256,
+ title: t("audit-log.table.status"),
+ render: (auditLog) =>
+ auditLog.status ? (
+ <JSONStringView
+ jsonString={`{"code": "${auditLog.status.code.toString()}","message": "${auditLog.status.message}"}`}
+ />
+ ) : (
+ "-"
+ ),
+ },
] as ProjectDataTableColumn[]
).filter((column) => !column.hide);
});
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 803f0ae167..08ddd01402 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -2898,7 +2898,8 @@
"select-type": "Select Type",
"method": "Method",
"request": "Request",
- "response": "Response"
+ "response": "Response",
+ "status": "Status"
},
"type": {
"workspace": {
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index e5f5de8bc5..9f4c55d18e 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -2898,7 +2898,8 @@
"select-type": "Seleccionar tipo",
"method": "Método",
"request": "Pedido",
- "response": "Respuesta"
+ "response": "Respuesta",
+ "status": "Estatus"
},
"type": {
"workspace": {
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index cc5db1613e..b33ef65703 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -2898,7 +2898,8 @@
"select-type": "タイプを選択してください",
"method": "方法",
"request": "リクエスト",
- "response": "応答"
+ "response": "応答",
+ "status": "ポジション"
},
"type": {
"workspace": {
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 35479dcead..51b7cc9b8d 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -2898,7 +2898,8 @@
"select-type": "选择类型",
"method": "操作",
"request": "请求信息",
- "response": "响应信息"
+ "response": "响应信息",
+ "status": "状态"
},
"type": {
"workspace": {