Skip to content

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

chore: remove level and source factors for request query and export type risk configuration (#8867)

Liu Jid3d709edf95c
diff --git a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
index 801f669a95..20b1f4a11b 100644
--- a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
+++ b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
@@ -92,6 +92,8 @@ const FactorList = {
RequestQuery: uniq(
without(
[...StringFactorList, ...NumberFactorList],
+ "level",
+ "source",
"affected_rows",
"sql_type",
"export_rows"
@@ -100,6 +102,8 @@ const FactorList = {
RequestExport: uniq(
without(
[...StringFactorList, ...NumberFactorList],
+ "level",
+ "source",
"affected_rows",
"sql_type"
)