The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: make security page discoverable (#35004)
Etienne Stalmans912dce3c4b1e
diff --git a/apps/docs/components/Navigation/NavigationMenu/MenuIconPicker.tsx b/apps/docs/components/Navigation/NavigationMenu/MenuIconPicker.tsxindex 12f82dcb75d..2594209642a 100644--- a/apps/docs/components/Navigation/NavigationMenu/MenuIconPicker.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/MenuIconPicker.tsx@@ -27,6 +27,7 @@ import {IconMenuKotlin,IconMenuAI,IconMenuDevCli,+ IconSecurity,IconSupport,IconTroubleshooting,} from './MenuIcons'@@ -87,6 +88,8 @@ function getMenuIcon(menuKey: string, width: number = 16, height: number = 16, creturn <IconGitHub width={width} height={height} className={className} />case 'support':return <IconSupport width={width} height={height} className={className} />+ case 'security':+ return <IconSecurity width={width} height={height} className={className} />case 'telemetry':return <Telescope width={width} height={height} className={className} />case 'troubleshooting':diff --git a/apps/docs/components/Navigation/NavigationMenu/MenuIcons.tsx b/apps/docs/components/Navigation/NavigationMenu/MenuIcons.tsxindex 353214ce46e..1eaed4adbe7 100644--- a/apps/docs/components/Navigation/NavigationMenu/MenuIcons.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/MenuIcons.tsx@@ -576,6 +576,37 @@ export function IconGitHub({ width = 16, height = 16, className }: HomeMenuIcon))}+export function IconSecurity({ width = 16, height = 16, className }: HomeMenuIcon) {+ return (+ <svg+ className={className}+ width={width}+ height={height}+ viewBox="0 0 18 18"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M9 2L3 4V11C3 14 6 16 9 16.5C12 16 15 14 15 11V4L9 2Z"+ stroke="currentColor"+ strokeMiterlimit="10"+ strokeLinejoin="bevel"+ />+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M7 10L8 12L12 8"+ stroke="currentColor"+ strokeMiterlimit="10"+ strokeLinejoin="round"+ strokeLinecap="round"+ />+ </svg>+ )+}+export function IconSupport({ width = 16, height = 16, className }: HomeMenuIcon) {return (<svgdiff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 4649a0d1082..4703ccf6216 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -118,6 +118,12 @@ export const GLOBAL_MENU_ITEMS: GlobalMenuItems = [href: '/guides/platform',level: 'platform',},+ {+ label: 'Security',+ icon: 'security',+ href: '/guides/security',+ level: 'security',+ },{label: 'Telemetry',icon: 'telemetry',@@ -2048,7 +2054,7 @@ export const MIGRATION_PAGES: Partial<NavMenuSection & ComponentProps<typeof Ico]export const security: NavMenuConstant = {- icon: 'platform',+ icon: 'security',title: 'Security',url: '/guides/security',items: [diff --git a/apps/docs/content/guides/security.mdx b/apps/docs/content/guides/security.mdxindex 8f3042d59f5..6d7e4cb7356 100644--- a/apps/docs/content/guides/security.mdx+++ b/apps/docs/content/guides/security.mdx@@ -14,3 +14,9 @@ Supabase is SOC 2 Type 2 compliant and regularly audited. All projects at SupabaThe [SOC 2 Compliance Guide](/docs/guides/security/soc-2-compliance) explains Supabase's SOC 2 responsibilities and controls in more detail.The [HIPAA Compliance Guide](/docs/guides/security/hipaa-compliance) explains Supabase's HIPAA responsibilities. Additional [security and compliance controls](/docs/guides/deployment/shared-responsibility-model#managing-healthcare-data) for projects that deal with electronic Protected Health Information (ePHI) and require HIPAA compliance are available through the HIPAA add-on.++# Platform configuration++Each product offered by Supabase comes with customizable security controls and these security controls help ensure that applications built on Supabase are secure, compliant, and resilient against various threats.++The [security configuration guides](/docs/guides/security/product-security) provide detailed information for configuring individual products.diff --git a/apps/docs/public/img/icons/menu/grayscale/security.svg b/apps/docs/public/img/icons/menu/grayscale/security.svgnew file mode 100644index 00000000000..9253051b0d2--- /dev/null+++ b/apps/docs/public/img/icons/menu/grayscale/security.svg@@ -0,0 +1,4 @@+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M8.5 1L2 3V9C2 12 5 14 8.5 14.5C12 14 15 12 15 9V3L8.5 1Z" stroke="#EDEDED" stroke-width="1.5"/>+ <path d="M6.5 8L7.5 10L11 6" stroke="#EDEDED" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/security-light.svg b/apps/docs/public/img/icons/menu/security-light.svgnew file mode 100644index 00000000000..3247630a94b--- /dev/null+++ b/apps/docs/public/img/icons/menu/security-light.svg@@ -0,0 +1,5 @@+<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="bevel" stroke-mitrelimit="10" d="M9 2L3 4V11C3 14 6 16 9 16.5C12 16 15 14 15 11V4L9 2Z" stroke="#097C4F"/>+ <path d="M7 10L8 12L12 8" stroke="#097C4F" stroke-linecap="round" stroke-linejoin="bevel"/>+</svg>+diff --git a/apps/docs/public/img/icons/menu/security.svg b/apps/docs/public/img/icons/menu/security.svgnew file mode 100644index 00000000000..b0a89f78caa--- /dev/null+++ b/apps/docs/public/img/icons/menu/security.svg@@ -0,0 +1,4 @@+<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="bevel" stroke-mitrelimit="10" d="M9 2L3 4V11C3 14 6 16 9 16.5C12 16 15 14 15 11V4L9 2Z" stroke="#85E0B7"/>+ <path d="M7 10L8 12L12 8" stroke="#85E0B7" stroke-linecap="round" stroke-linejoin="bevel"/>+</svg>