mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 06:27:16 +08:00
chore: add lint warning for pg version (#38280)
This commit is contained in:
@@ -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 = ({
|
||||
|
||||
1
packages/api-types/types/api.d.ts
vendored
1
packages/api-types/types/api.d.ts
vendored
@@ -3692,6 +3692,7 @@ export interface components {
|
||||
| 'auth_password_policy_missing'
|
||||
| 'leaked_service_key'
|
||||
| 'no_backup_admin'
|
||||
| 'vulnerable_postgres_version'
|
||||
remediation: string
|
||||
title: string
|
||||
}[]
|
||||
|
||||
Reference in New Issue
Block a user