8000 chore: make security page discoverable (#35004) · CodersSampling/supabase@912dce3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 912dce3

Browse files
authored
chore: make security page discoverable (supabase#35004)
* chore: make security page discoverable * chore: add security icon * chore: add security grayscale icon * chore: add security icon * chore: resize security IconSecurity
1 parent 6610621 commit 912dce3

File tree

7 files changed

+60
-1
lines changed

7 files changed

+60
-1
lines changed

apps/docs/components/Navigation/NavigationMenu/MenuIconPicker.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
IconMenuKotlin,
2828
IconMenuAI,
2929
IconMenuDevCli,
30+
IconSecurity,
3031
IconSupport,
3132
IconTroubleshooting,
3233
} from './MenuIcons'
@@ -87,6 +88,8 @@ function getMenuIcon(menuKey: string, width: number = 16, height: number = 16, c
8788
return <IconGitHub width={width} height={height} className={className} />
8889
case 'support':
8990
return <IconSupport width={width} height={height} className={className} />
91+
case 'security':
92+
return <IconSecurity width={width} height={height} className={className} />
9093
case 'telemetry':
9194
return <Telescope width={width} height={height} className={className} />
9295
case 'troubleshooting':

apps/docs/components/Navigation/NavigationMenu/MenuIcons.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,37 @@ export function IconGitHub({ width = 16, height = 16, className }: HomeMenuIcon)
576576
)
577577
}
578578

579+
export function IconSecurity({ width = 16, height = 16, className }: HomeMenuIcon) {
580+
return (
581+
<svg
582+
className={className}
583+
width={width}
584+
height={height}
585+
viewBox="0 0 18 18"
586+
fill="none"
587+
xmlns="http://www.w3.org/2000/svg"
588+
>
589+
<path
590+
fillRule="evenodd"
591+
clipRule="evenodd"
592+
d="M9 2L3 4V11C3 14 6 16 9 16.5C12 16 15 14 15 11V4L9 2Z"
593+
stroke="currentColor"
594+
strokeMiterlimit="10"
595+
strokeLinejoin="bevel"
596+
/>
597+
<path
598+
fillRule="evenodd"
599+
clipRule="evenodd"
600+
d="M7 10L8 12L12 8"
601+
stroke="currentColor"
602+
strokeMiterlimit="10"
603+
strokeLinejoin="round"
604+
strokeLinecap="round"
605+
/>
606+
</svg>
607+
)
608+
}
609+
579610
export function IconSupport({ width = 16, height = 16, className }: HomeMenuIcon) {
580611
return (
581612
<svg

apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ export const GLOBAL_MENU_ITEMS: GlobalMenuItems = [
118118
href: '/guides/platform',
119119
level: 'platform',
120120
},
121+
{
122+
label: 'Security',
123+
icon: 'security',
124+
href: '/guides/security',
125+
level: 'security',
126+
},
121127
{
122128
label: 'Telemetry',
123129
icon: 'telemetry',
@@ -2048,7 +2054,7 @@ export const MIGRATION_PAGES: Partial<NavMenuSection & ComponentProps<typeof Ico
20482054
]
20492055

20502056
export const security: NavMenuConstant = {
2051-
icon: 'platform',
2057+
icon: 'security',
20522058
title: 'Security',
20532059
url: '/guides/security',
20542060
items: [

apps/docs/content/guides/security.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ Supabase is SOC 2 Type 2 compliant and regularly audited. All projects at Supaba
1414
The [SOC 2 Compliance Guide](/docs/guides/security/soc-2-compliance) explains Supabase's SOC 2 responsibilities and controls in more detail.
1515

1616
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.
17+
18+
# Platform configuration
19+
20+
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.
21+
22+
The [security configuration guides](/docs/guides/security/product-security) provide detailed information for configuring individual products.
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)
0