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: fix sql review converter (#10992)
boojack94686b1ca517
diff --git a/frontend/src/types/sqlReview.ts b/frontend/src/types/sqlReview.tsindex 528ea2b9fe..801af4eaef 100644--- a/frontend/src/types/sqlReview.ts+++ b/frontend/src/types/sqlReview.ts@@ -605,7 +605,8 @@ export const convertPolicyRuleToRuleTemplate = (case "column.type-disallow-list":case "index.primary-key-type-allowlist":case "system.charset.allowlist":- case "system.collation.allowlist": {+ case "system.collation.allowlist":+ case "system.function.disallowed-list": {const stringArrayComponent = ruleTemplate.componentList[0];const stringArrayPayload = {...stringArrayComponent.payload,@@ -762,7 +763,8 @@ const mergeIndividualConfigAsRule = (case "column.type-disallow-list":case "index.primary-key-type-allowlist":case "system.charset.allowlist":- case "system.collation.allowlist": {+ case "system.collation.allowlist":+ case "system.function.disallowed-list": {if (!stringArrayPayload) {throw new Error(`Invalid rule ${template.type}`);}