mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
415 lines
16 KiB
TypeScript
415 lines
16 KiB
TypeScript
import { isFeatureEnabled } from 'common/enabled-features'
|
|
|
|
import type { NavMenuConstant } from '@/components/Navigation/Navigation.types'
|
|
|
|
const {
|
|
billingAll: billingEnabled,
|
|
docsCompliance: complianceEnabled,
|
|
docsFullPlatform: fullPlatformEnabled,
|
|
} = isFeatureEnabled(['billing:all', 'docs:compliance', 'docs:full_platform'])
|
|
|
|
export const runAndManage: NavMenuConstant = {
|
|
icon: 'platform',
|
|
title: 'Run and manage',
|
|
url: '/guides/platform',
|
|
items: [
|
|
{
|
|
name: 'Projects and compute',
|
|
id: 'projects-and-compute',
|
|
items: [
|
|
{
|
|
name: 'Compute and disk',
|
|
url: '/guides/platform/compute-and-disk',
|
|
enabled: fullPlatformEnabled,
|
|
},
|
|
{
|
|
name: 'Database and disk size',
|
|
url: '/guides/platform/database-size',
|
|
enabled: fullPlatformEnabled,
|
|
},
|
|
{ name: 'Performance tuning', url: '/guides/platform/performance' },
|
|
{ name: 'Regions', url: '/guides/platform/regions' },
|
|
{
|
|
name: 'Transfer, pause or delete',
|
|
items: [
|
|
{
|
|
name: 'Organization transfers',
|
|
enabled: fullPlatformEnabled,
|
|
items: [
|
|
{ name: 'Transfer a project', url: '/guides/platform/project-transfer' },
|
|
{
|
|
name: 'Requirements',
|
|
url: '/guides/platform/project-transfer/requirements',
|
|
},
|
|
{
|
|
name: 'Changes after a transfer',
|
|
url: '/guides/platform/project-transfer/what-changes',
|
|
},
|
|
{
|
|
name: 'Transfer project ownership',
|
|
url: '/guides/platform/project-transfer/transfer-ownership',
|
|
},
|
|
{
|
|
name: 'Vercel-managed projects',
|
|
url: '/guides/platform/project-transfer/vercel-marketplace',
|
|
},
|
|
{
|
|
name: 'Troubleshooting',
|
|
url: '/guides/platform/project-transfer/troubleshooting',
|
|
},
|
|
],
|
|
},
|
|
{ name: 'Free project pausing', url: '/guides/platform/free-project-pausing' },
|
|
{
|
|
name: 'Pause a Pro or Team project',
|
|
url: '/guides/platform/project-transfer/pause-project',
|
|
enabled: fullPlatformEnabled,
|
|
},
|
|
{ name: 'Delete a project', url: '/guides/platform/delete-project' },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Network, SSL and domains',
|
|
id: 'network-ssl-and-domains',
|
|
items: [
|
|
{ name: 'SSL enforcement', url: '/guides/platform/ssl-enforcement' },
|
|
{
|
|
name: 'Network restrictions',
|
|
url: '/guides/platform/network-restrictions',
|
|
},
|
|
{ name: 'PrivateLink', url: '/guides/platform/privatelink' },
|
|
{ name: 'Dedicated IPv4 address', url: '/guides/platform/ipv4-address' },
|
|
{ name: 'Custom domains', url: '/guides/platform/custom-domains' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Team',
|
|
id: 'team',
|
|
items: [
|
|
{ name: 'Roles and permissions', url: '/guides/platform/access-control' },
|
|
{
|
|
name: 'Single sign-on (SSO)',
|
|
enabled: fullPlatformEnabled,
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/sso' },
|
|
{
|
|
name: 'Sign-in flows',
|
|
items: [
|
|
{ name: 'Understanding sign-in flows', url: '/guides/platform/sso/login-flows' },
|
|
{
|
|
name: 'Choosing a sign-in flow',
|
|
url: '/guides/platform/sso/choosing-login-flow',
|
|
},
|
|
],
|
|
},
|
|
{ name: 'SSO with Azure AD', url: '/guides/platform/sso/azure' },
|
|
{ name: 'SSO with Google Workspace', url: '/guides/platform/sso/gsuite' },
|
|
{ name: 'SSO with Okta', url: '/guides/platform/sso/okta' },
|
|
{ name: 'Multiple SSO providers', url: '/guides/platform/sso/multiple-providers' },
|
|
{
|
|
name: 'Testing and best practices',
|
|
url: '/guides/platform/sso/testing-best-practices',
|
|
},
|
|
{
|
|
name: 'Enterprise MCP authorization',
|
|
url: '/guides/platform/sso/enterprise-mcp-authorization',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Multi-factor auth (MFA)',
|
|
enabled: fullPlatformEnabled,
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/multi-factor-authentication' },
|
|
{
|
|
name: 'Enforce MFA on organization',
|
|
url: '/guides/platform/mfa/org-mfa-enforcement',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Personal access tokens',
|
|
url: '/guides/platform/personal-access-tokens',
|
|
enabled: fullPlatformEnabled,
|
|
},
|
|
{ name: 'Audit logs (team activity)', url: '/guides/security/platform-audit-logs' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Security and compliance',
|
|
id: 'security-and-compliance',
|
|
items: [
|
|
{
|
|
name: 'SOC 2, HIPAA and GDPR',
|
|
items: [
|
|
{
|
|
name: 'Shared responsibility model',
|
|
url: '/guides/deployment/shared-responsibility-model',
|
|
},
|
|
{
|
|
name: 'SOC 2 compliance',
|
|
url: '/guides/security/soc-2-compliance',
|
|
enabled: complianceEnabled,
|
|
},
|
|
{
|
|
name: 'HIPAA compliance',
|
|
enabled: complianceEnabled,
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/security/hipaa-compliance' },
|
|
{ name: 'HIPAA projects', url: '/guides/platform/hipaa-projects' },
|
|
],
|
|
},
|
|
{
|
|
name: 'GDPR compliance',
|
|
url: '/guides/security/gdpr-compliance',
|
|
enabled: complianceEnabled,
|
|
},
|
|
],
|
|
},
|
|
{ name: 'Secure the platform', url: '/guides/security/platform-security' },
|
|
{ name: 'Secure product configuration', url: '/guides/security/product-security' },
|
|
{ name: 'Security testing', url: '/guides/security/security-testing' },
|
|
{ name: 'Securing your npm installs', url: '/guides/security/npm-security' },
|
|
{ name: 'Rotate a leaked API key', url: '/guides/security/rotate-leaked-api-keys' },
|
|
{
|
|
name: 'Security checklist',
|
|
url: '/guides/security/production-checklist',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Backups and upgrades',
|
|
id: 'backups-and-upgrades',
|
|
items: [
|
|
{ name: 'Database backups', url: '/guides/platform/backups' },
|
|
{ name: 'Restore to a new project', url: '/guides/platform/clone-project' },
|
|
{
|
|
name: 'Upgrading Postgres',
|
|
url: '/guides/platform/upgrading',
|
|
enabled: fullPlatformEnabled,
|
|
},
|
|
{
|
|
name: 'Migrating within Supabase',
|
|
enabled: fullPlatformEnabled,
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/migrating-within-supabase' },
|
|
{
|
|
name: 'Restore Dashboard backup',
|
|
url: '/guides/platform/migrating-within-supabase/dashboard-restore',
|
|
},
|
|
{
|
|
name: 'Backup and restore using CLI',
|
|
url: '/guides/platform/migrating-within-supabase/backup-restore',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Billing and usage',
|
|
id: 'billing-and-usage',
|
|
enabled: billingEnabled,
|
|
items: [
|
|
{ name: 'Get set up for billing', url: '/guides/platform/get-set-up-for-billing' },
|
|
{ name: 'Manage your subscription', url: '/guides/platform/manage-your-subscription' },
|
|
{
|
|
name: 'Manage your usage',
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/manage-your-usage' },
|
|
{
|
|
name: 'Compute and disk',
|
|
items: [
|
|
{ name: 'Compute', url: '/guides/platform/manage-your-usage/compute' },
|
|
{ name: 'Disk Size', url: '/guides/platform/manage-your-usage/disk-size' },
|
|
{
|
|
name: 'Disk Throughput',
|
|
url: '/guides/platform/manage-your-usage/disk-throughput',
|
|
},
|
|
{ name: 'Disk IOPS', url: '/guides/platform/manage-your-usage/disk-iops' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Egress, IPv4 and domains',
|
|
items: [
|
|
{ name: 'Egress', url: '/guides/platform/manage-your-usage/egress' },
|
|
{ name: 'IPv4', url: '/guides/platform/manage-your-usage/ipv4' },
|
|
{
|
|
name: 'Custom Domains',
|
|
url: '/guides/platform/manage-your-usage/custom-domains',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Auth users and MFA',
|
|
items: [
|
|
{
|
|
name: 'Monthly Active Users',
|
|
url: '/guides/platform/manage-your-usage/monthly-active-users',
|
|
},
|
|
{
|
|
name: 'Third-Party MAU',
|
|
url: '/guides/platform/manage-your-usage/monthly-active-users-third-party',
|
|
},
|
|
{
|
|
name: 'Monthly Active SSO Users',
|
|
url: '/guides/platform/manage-your-usage/monthly-active-users-sso',
|
|
},
|
|
{
|
|
name: 'MFA Phone',
|
|
url: '/guides/platform/manage-your-usage/advanced-mfa-phone',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Storage',
|
|
items: [
|
|
{ name: 'Storage Size', url: '/guides/platform/manage-your-usage/storage-size' },
|
|
{
|
|
name: 'Image Transformations',
|
|
url: '/guides/platform/manage-your-usage/storage-image-transformations',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Edge Functions and Realtime',
|
|
items: [
|
|
{
|
|
name: 'Edge Function Invocations',
|
|
url: '/guides/platform/manage-your-usage/edge-function-invocations',
|
|
},
|
|
{
|
|
name: 'Realtime Messages',
|
|
url: '/guides/platform/manage-your-usage/realtime-messages',
|
|
},
|
|
{
|
|
name: 'Realtime Peak Connections',
|
|
url: '/guides/platform/manage-your-usage/realtime-peak-connections',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Logs',
|
|
items: [
|
|
{ name: 'Logs', url: '/guides/platform/manage-your-usage/logs' },
|
|
{ name: 'Logs Ingest', url: '/guides/platform/manage-your-usage/logs-ingest' },
|
|
{ name: 'Logs Query', url: '/guides/platform/manage-your-usage/logs-query' },
|
|
{ name: 'Log Drains', url: '/guides/platform/manage-your-usage/log-drains' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Branching, PITR, replicas',
|
|
items: [
|
|
{ name: 'Branching', url: '/guides/platform/manage-your-usage/branching' },
|
|
{
|
|
name: 'Point-in-Time Recovery',
|
|
url: '/guides/platform/manage-your-usage/point-in-time-recovery',
|
|
},
|
|
{ name: 'Read Replicas', url: '/guides/platform/manage-your-usage/read-replicas' },
|
|
{ name: 'Pipelines', url: '/guides/platform/manage-your-usage/pipelines' },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'Invoices and credits',
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/your-monthly-invoice' },
|
|
{ name: 'Credits', url: '/guides/platform/credits' },
|
|
],
|
|
},
|
|
{ name: 'Control your costs', url: '/guides/platform/cost-control' },
|
|
{
|
|
name: 'AWS Marketplace',
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/aws-marketplace' },
|
|
{ name: 'Getting started', url: '/guides/platform/aws-marketplace/getting-started' },
|
|
{ name: 'Account setup', url: '/guides/platform/aws-marketplace/account-setup' },
|
|
{
|
|
name: 'Manage your AWS subscription',
|
|
url: '/guides/platform/aws-marketplace/manage-your-subscription',
|
|
},
|
|
{ name: 'AWS invoices', url: '/guides/platform/aws-marketplace/invoices' },
|
|
{ name: 'AWS Marketplace FAQ', url: '/guides/platform/aws-marketplace/faq' },
|
|
],
|
|
},
|
|
{ name: 'Billing FAQ', url: '/guides/platform/billing-faq' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Logs and monitoring',
|
|
id: 'logs-and-monitoring',
|
|
items: [
|
|
{
|
|
name: 'Read project data',
|
|
items: [
|
|
{ name: 'Query logs with SQL', url: '/guides/observability/advanced-log-filtering' },
|
|
{ name: 'Logs in Studio', url: '/guides/observability/logs' },
|
|
{ name: 'Logs in the CLI', url: '/guides/observability/cli-logs' },
|
|
{ name: 'Log sources and fields', url: '/guides/observability/log-field-reference' },
|
|
{ name: 'Advisors', url: '/guides/observability/advisors' },
|
|
{ name: 'Reports', url: '/guides/observability/reports' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Metrics API',
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/observability/metrics' },
|
|
{ name: 'Grafana Cloud', url: '/guides/observability/metrics/grafana-cloud' },
|
|
{
|
|
name: 'Grafana self-hosted',
|
|
url: '/guides/observability/metrics/grafana-self-hosted',
|
|
},
|
|
{ name: 'Datadog', url: 'https://docs.datadoghq.com/integrations/supabase/' },
|
|
{ name: 'Elastic', url: 'https://www.elastic.co/docs/reference/integrations/supabase' },
|
|
{ name: 'Vendor-agnostic setup', url: '/guides/observability/metrics/vendor-agnostic' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Detect and diagnose',
|
|
items: [{ name: 'Detection checks', url: '/guides/observability/detecting' }],
|
|
},
|
|
{
|
|
name: 'Agent prompts',
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/observability/automate-with-agents' },
|
|
{ name: 'Health prompt', url: '/guides/observability/automate-with-agents/health' },
|
|
{ name: 'Security prompt', url: '/guides/observability/automate-with-agents/security' },
|
|
{
|
|
name: 'Performance prompt',
|
|
url: '/guides/observability/automate-with-agents/performance',
|
|
},
|
|
{ name: 'Resources prompt', url: '/guides/observability/automate-with-agents/usage' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Configure and export',
|
|
items: [
|
|
{ name: 'Configure logging', url: '/guides/observability/configure-logging' },
|
|
{
|
|
name: 'Find slow queries',
|
|
url: '/guides/observability/log-slow-queries',
|
|
},
|
|
{ name: 'Log drains', url: '/guides/observability/log-drains' },
|
|
{
|
|
name: 'Postgres connection logging',
|
|
url: '/guides/platform/postgres-connection-logging',
|
|
},
|
|
{ name: 'Client-side tracing', url: '/guides/observability/client-side-tracing' },
|
|
{ name: 'Sentry integration', url: '/guides/observability/sentry-monitoring' },
|
|
],
|
|
},
|
|
{
|
|
name: 'Platform webhooks',
|
|
enabled: fullPlatformEnabled,
|
|
items: [
|
|
{ name: 'Overview', url: '/guides/platform/webhooks' },
|
|
{ name: 'Webhook events', url: '/guides/platform/webhooks/events' },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
}
|