The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Chore/update lints (#33749)
Terry Suttona3fee4e76aac
diff --git a/apps/studio/components/interfaces/Linter/Linter.utils.tsx b/apps/studio/components/interfaces/Linter/Linter.utils.tsxindex a89b4d5ea5e..a8ab63f8493 100644--- a/apps/studio/components/interfaces/Linter/Linter.utils.tsx+++ b/apps/studio/components/interfaces/Linter/Linter.utils.tsx@@ -1,4 +1,15 @@-import { Box, Clock, Eye, Lock, Ruler, Table2, TextSearch, Unlock, User } from 'lucide-react'+import {+ Box,+ Clock,+ Eye,+ Lock,+ LockIcon,+ Ruler,+ Table2,+ TextSearch,+ Unlock,+ User,+} from 'lucide-react'import Link from 'next/link'import { LINTER_LEVELS, LintInfo } from 'components/interfaces/Linter/Linter.constants'@@ -204,6 +215,14 @@ export const lintInfoMap: LintInfo[] = [linkText: 'View settings',docsLink: 'https://supabase.com/docs/guides/platform/network-restrictions',},+ {+ name: 'password_requirements_min_length',+ title: 'Minimum password length not set or inadequate',+ icon: <Ruler className="text-foreground-muted" size={15} strokeWidth={1} />,+ link: ({ projectRef }) => `/project/${projectRef}/settings/auth`,+ linkText: 'View settings',+ docsLink: 'https://supabase.com/docs/guides/platform/going-into-prod#security',+ },{name: 'pitr_not_enabled',title: 'PITR not enabled',@@ -213,12 +232,45 @@ export const lintInfoMap: LintInfo[] = [docsLink: 'https://supabase.com/docs/guides/platform/backups#point-in-time-recovery',},{- name: 'password_requirements_min_length',- title: 'Minimum password length not set or inadequate',- icon: <Ruler className="text-foreground-muted" size={15} strokeWidth={1} />,+ name: 'auth_leaked_password_protection',+ title: 'Leaked Password Protection Disabled',+ icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,link: ({ projectRef }) => `/project/${projectRef}/settings/auth`,linkText: 'View settings',- docsLink: 'https://supabase.com/docs/guides/platform/going-into-prod#security',+ docsLink:+ 'https://supabase.com/docs/guides/auth/password-security#password-strength-and-leaked-password-protection',+ },+ {+ name: 'auth_insufficient_mfa_options',+ title: 'Insufficient MFA Options',+ icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,+ link: ({ projectRef }) => `/project/${projectRef}/settings/auth`,+ linkText: 'View settings',+ docsLink: 'https://supabase.com/docs/guides/auth/auth-mfa',+ },+ {+ name: 'auth_password_policy_missing',+ title: 'Password Policy Missing',+ icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,+ link: ({ projectRef }) => `/project/${projectRef}/settings/auth`,+ linkText: 'View settings',+ docsLink: 'https://supabase.com/docs/guides/auth/password-security',+ },+ {+ name: 'leaked_service_key',+ title: 'Leaked Service Key Detected',+ icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,+ link: ({ projectRef }) => `/project/${projectRef}/settings/api`,+ linkText: 'View settings',+ docsLink: 'https://supabase.com/docs/guides/api/api-keys#the-servicerole-key',+ },+ {+ name: 'no_backup_admin',+ title: 'No Backup Admin Detected',+ icon: <LockIcon className="text-foreground-muted" size={15} strokeWidth={1} />,+ link: ({ projectRef }) => `/project/${projectRef}/settings/auth`,+ linkText: 'View settings',+ docsLink: 'https://supabase.com/docs/guides/auth/auth-mfa',},]