chore: add lint warning for pg version (#38280)

This commit is contained in:
Etienne Stalmans
2025-09-08 19:40:05 +02:00
committed by GitHub
parent 7bd4a9e6f3
commit 70e61c2aa9
2 changed files with 10 additions and 0 deletions

View File

@@ -300,6 +300,15 @@ export const lintInfoMap: LintInfo[] = [
docsLink: 'https://supabase.com/docs/guides/auth/auth-mfa',
category: 'security',
},
{
name: 'vulnerable_postgres_version',
title: 'Postgres version has security patches available',
icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,
link: ({ projectRef }) => `/project/${projectRef}/settings/infrastructure`,
linkText: 'View settings',
docsLink: 'https://supabase.com/docs/guides/platform/upgrading',
category: 'security',
},
]
export const LintCTA = ({

View File

@@ -3692,6 +3692,7 @@ export interface components {
| 'auth_password_policy_missing'
| 'leaked_service_key'
| 'no_backup_admin'
| 'vulnerable_postgres_version'
remediation: string
title: string
}[]