Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

30.1 KB
Raw Blame
// Searchable settings index. Every meaningful settings card
// or field — not just the tab — becomes a palette result that lands you on the
// exact card via `/settings/<tab>?focus=setting:<id>` (see hooks/useSettingFocus).
//
// Shape: { id, label, description, keywords, tab, adminOnly }. `id` is unique
// across the whole index and is the value carried in the `?focus=setting:<id>`
// deep link. `adminOnly` mirrors the tab's gate in pages/Settings.jsx so a
// member never finds an admin-only card here.
//
// Completeness is enforced at lint time by scripts/check-settings-index.mjs:
// every settings tab must have at least one entry, so a new tab can't ship
// invisible to search.

export const SETTINGS_INDEX = [
    { id: 'profile-username', labelKey: 'app.settingsIndex.updateUsername', label: 'Update username', descriptionKey: 'app.settingsIndex.changeYourAccountUsername', description: 'Change your account username.', keywords: 'name account profile', tab: 'profile', adminOnly: false },
    { id: 'profile-email', labelKey: 'app.settingsIndex.updateEmailAddress', label: 'Update email address', descriptionKey: 'app.settingsIndex.changeYourAccountEmail', description: 'Change your account email.', keywords: 'email contact', tab: 'profile', adminOnly: false },

    { id: 'security-password', labelKey: 'app.settingsIndex.changePassword', label: 'Change password', descriptionKey: 'app.settingsIndex.updateYourAccountPassword', description: 'Update your account password.', keywords: 'password login authentication', tab: 'security', adminOnly: false },
    { id: 'security-2fa', labelKey: 'app.settingsIndex.twoFactorAuthentication', label: 'Two-factor authentication', descriptionKey: 'app.settingsIndex.enableOrDisable2faForYour', description: 'Enable or disable 2FA for your account with an authenticator app.', keywords: '2fa mfa otp totp authenticator two factor', tab: 'security', adminOnly: false },
    { id: 'security-2fa-policy', labelKey: 'app.settingsIndex.requireTwoFactorForAllMembers', label: 'Require 2FA for all members', descriptionKey: 'app.settingsIndex.enforce2faAcrossEveryAccount', description: 'Enforce 2FA across every account.', keywords: '2fa mfa policy require enforce members', tab: 'security', adminOnly: true },
    { id: 'security-backup-codes', labelKey: 'app.settingsIndex.backupCodes', label: 'Backup codes', descriptionKey: 'app.settingsIndex.regenerateOrDownloadBackupCodesFor', description: 'Regenerate or download backup codes for 2FA recovery.', keywords: 'backup codes recovery 2fa', tab: 'security', adminOnly: false },
    { id: 'security-sessions', labelKey: 'app.settingsIndex.activeSessions', label: 'Active sessions', descriptionKey: 'app.settingsIndex.viewAndManageYourActiveLogin', description: 'View and manage your active sign-in sessions.', keywords: 'sessions login devices', tab: 'security', adminOnly: false },
    { id: 'security-linked-accounts', labelKey: 'app.settingsIndex.linkedAccounts', label: 'Linked accounts', descriptionKey: 'app.settingsIndex.connectOrDisconnectSsoIdentityProviders', description: 'Connect or disconnect SSO identity providers to your account.', keywords: 'sso oauth github google linked accounts', tab: 'security', adminOnly: false },

    { id: 'notifications-enable', labelKey: 'app.settingsIndex.enableNotifications', label: 'Enable notifications', descriptionKey: 'app.settingsIndex.turnNotificationsOnOrOff', description: 'Turn notifications on or off.', keywords: 'notifications enable disable', tab: 'notifications', adminOnly: false },
    { id: 'notifications-channels', labelKey: 'app.settingsIndex.notificationChannels', label: 'Notification channels', descriptionKey: 'app.settingsIndex.chooseHowToReceiveNotificationsEmail', description: 'Choose how to receive notifications (email, Discord, Slack, Telegram)', keywords: 'channels email discord slack telegram', tab: 'notifications', adminOnly: false },
    { id: 'notifications-email', labelKey: 'app.settingsIndex.emailNotifications', label: 'Email notifications', descriptionKey: 'app.settingsIndex.configureEmailSettingsForNotifications', description: 'Configure email settings for notifications.', keywords: 'email smtp notifications', tab: 'notifications', adminOnly: false },
    { id: 'notifications-discord-webhook', labelKey: 'app.settingsIndex.personalDiscordWebhook', label: 'Personal Discord webhook', descriptionKey: 'app.settingsIndex.setUpDiscordDirectMessageOr', description: 'Set up Discord direct message or channel notifications.', keywords: 'discord webhook notifications', tab: 'notifications', adminOnly: false },
    { id: 'notifications-telegram', labelKey: 'app.settingsIndex.personalTelegram', label: 'Personal Telegram', descriptionKey: 'app.settingsIndex.configureTelegramChatForNotifications', description: 'Configure Telegram chat for notifications.', keywords: 'telegram bot notifications', tab: 'notifications', adminOnly: false },
    { id: 'notifications-severity', labelKey: 'app.settingsIndex.alertSeverityLevels', label: 'Alert severity levels', descriptionKey: 'app.settingsIndex.chooseWhichAlertTypesToReceive', description: 'Choose which alert types to receive (critical, warning, info, success)', keywords: 'severity levels alerts critical warning', tab: 'notifications', adminOnly: false },
    { id: 'notifications-categories', labelKey: 'app.settingsIndex.notificationCategories', label: 'Notification categories', descriptionKey: 'app.settingsIndex.selectEventTypesThatTriggerNotifications', description: 'Select event types that trigger notifications (system, security, backups, services)', keywords: 'categories events system security backups', tab: 'notifications', adminOnly: false },
    { id: 'notifications-quiet-hours', labelKey: 'app.settingsIndex.quietHours', label: 'Quiet hours', descriptionKey: 'app.settingsIndex.pauseNonCriticalNotificationsDuringSpecific', description: 'Pause non-critical notifications during specific hours.', keywords: 'quiet hours silent do not disturb', tab: 'notifications', adminOnly: false },
    { id: 'notifications-email-smtp', labelKey: 'app.settingsIndex.emailSmtpConfiguration', label: 'Email SMTP settings', descriptionKey: 'app.settingsIndex.setUpSmtpServerForSending', description: 'Set up SMTP server for sending email notifications.', keywords: 'smtp email server notifications', tab: 'notifications', adminOnly: true },
    { id: 'notifications-webhook', labelKey: 'app.settingsIndex.genericNotificationWebhook', label: 'Generic notification webhook', descriptionKey: 'app.settingsIndex.sendNotificationsToACustomWebhook', description: 'Send notifications to a custom webhook endpoint.', keywords: 'webhook generic json payload', tab: 'notifications', adminOnly: true },

    { id: 'appearance-language', labelKey: 'settings.language.title', label: 'Language', descriptionKey: 'settings.language.description', description: 'The language used across the panel.', keywords: 'language locale translation idioma english spanish', tab: 'appearance', adminOnly: false },
    { id: 'appearance-theme', labelKey: 'app.settingsIndex.themeMode', label: 'Theme mode', descriptionKey: 'app.settingsIndex.chooseBetweenDarkLightOrSystem', description: 'Choose between dark, light, or system default theme.', keywords: 'theme dark light system mode', tab: 'appearance', adminOnly: false },
    { id: 'appearance-theme-gallery', labelKey: 'app.settingsIndex.colorTheme', label: 'Color theme', descriptionKey: 'app.settingsIndex.pickAColorThemeFromThe', description: 'Pick a color theme from the gallery (Paper, Nord Deep, Gruvbox, Phosphor, High Contrast)', keywords: 'theme color skin gallery paper nord gruvbox phosphor high contrast palette', tab: 'appearance', adminOnly: false },
    { id: 'appearance-accent-color', labelKey: 'app.settingsIndex.accentColor', label: 'Accent color', descriptionKey: 'app.settingsIndex.selectThePrimaryAccentColorFor', description: 'Select the primary accent color for the UI.', keywords: 'color accent primary indigo ocean forest sunset rose', tab: 'appearance', adminOnly: false },
    { id: 'appearance-widgets', labelKey: 'app.settingsIndex.dashboardWidgets', label: 'Dashboard widgets', descriptionKey: 'app.settingsIndex.toggleVisibilityAndReorderWidgetsOn', description: 'Toggle visibility and reorder widgets on the dashboard.', keywords: 'widgets dashboard visibility order', tab: 'appearance', adminOnly: false },

    { id: 'sidebar-view-profiles', labelKey: 'app.settingsIndex.sidebarViewProfiles', label: 'Sidebar view profiles', descriptionKey: 'app.settingsIndex.chooseAPresetLayoutOrCustomize', description: 'Choose a preset layout or customize sidebar items individually.', keywords: 'sidebar layout preset recommended custom', tab: 'sidebar', adminOnly: false },
    { id: 'sidebar-items', labelKey: 'app.settingsIndex.sidebarItems', label: 'Sidebar items', descriptionKey: 'app.settingsIndex.toggleIndividualSidebarItemsOnOr', description: 'Toggle individual sidebar items on or off.', keywords: 'sidebar items menu visibility', tab: 'sidebar', adminOnly: false },

    { id: 'whitelabel-branding', labelKey: 'app.settingsIndex.customBranding', label: 'Custom branding', descriptionKey: 'app.settingsIndex.enableWhiteLabelModeAndReplace', description: 'Enable white label mode and replace ServerKit branding.', keywords: 'white label branding custom logo', tab: 'whitelabel', adminOnly: false },
    { id: 'whitelabel-mode', labelKey: 'app.settingsIndex.brandingMode', label: 'Branding mode', descriptionKey: 'app.settingsIndex.chooseHowToDisplayCustomBranding', description: 'Choose how to display custom branding (logo + text, full-width, or text only)', keywords: 'branding mode logo text', tab: 'whitelabel', adminOnly: false },
    { id: 'whitelabel-brand-name', labelKey: 'app.settingsIndex.brandName', label: 'Brand name', descriptionKey: 'app.settingsIndex.setYourCustomBrandNameTo', description: 'Set your custom brand name to replace ServerKit.', keywords: 'brand name company', tab: 'whitelabel', adminOnly: false },
    { id: 'whitelabel-logo', labelKey: 'app.settingsIndex.logoImage', label: 'Logo image', descriptionKey: 'app.settingsIndex.uploadACustomLogoForThe', description: 'Upload a custom logo for the sidebar.', keywords: 'logo image upload', tab: 'whitelabel', adminOnly: false },

    { id: 'about-version', labelKey: 'app.settingsIndex.versionInformation', label: 'Version information', descriptionKey: 'app.settingsIndex.viewServerkitVersionAndCheckFor', description: 'View ServerKit version and check for updates.', keywords: 'version updates check', tab: 'about', adminOnly: false },
    { id: 'about-links', labelKey: 'app.settingsIndex.linksAndResources', label: 'Links and resources', descriptionKey: 'app.settingsIndex.accessDocumentationGithubSupportAndBug', description: 'Access documentation, GitHub, support, and bug reports.', keywords: 'github documentation support issues', tab: 'about', adminOnly: false },

    { id: 'users-management', labelKey: 'app.settingsIndex.userManagement', label: 'User management', descriptionKey: 'app.settingsIndex.createEditAndManageUserAccounts', description: 'Create, edit, and manage user accounts.', keywords: 'users add create edit delete', tab: 'users', adminOnly: true },
    { id: 'users-role-permission', labelKey: 'app.settingsIndex.userRolesAndPermissions', label: 'User roles and permissions', descriptionKey: 'app.settingsIndex.assignRolesAdminDeveloperViewerTo', description: 'Assign roles (admin, developer, viewer) to users.', keywords: 'role permission admin developer viewer', tab: 'users', adminOnly: true },
    { id: 'users-active-status', labelKey: 'app.settingsIndex.activateOrDisableUsers', label: 'Activate or disable users', descriptionKey: 'app.settingsIndex.enableOrDisableUserAccountAccess', description: 'Enable or disable user account access.', keywords: 'active disable deactivate status', tab: 'users', adminOnly: true },
    { id: 'users-login-links', labelKey: 'app.settingsIndex.oneTimeLoginLinks', label: 'One-time sign-in links', descriptionKey: 'app.settingsIndex.generateSingleUseSignInUrls', description: 'Generate single-use sign-in URLs for users.', keywords: 'login links one-time auth temporary', tab: 'users', adminOnly: true },
    { id: 'users-invitations', labelKey: 'app.settingsIndex.userInvitations', label: 'User invitations', descriptionKey: 'app.settingsIndex.inviteUsersToJoinViaEmail', description: 'Invite users to join via email.', keywords: 'invitations email invite', tab: 'users', adminOnly: true },

    { id: 'activity-dashboard', labelKey: 'app.settingsIndex.activityDashboard', label: 'Activity dashboard', descriptionKey: 'app.settingsIndex.monitorTeamActivityAndViewStatistics', description: 'Monitor team activity and view statistics.', keywords: 'activity dashboard stats graphs', tab: 'activity', adminOnly: true },
    { id: 'activity-audit-log', labelKey: 'app.settingsIndex.auditLog', label: 'Audit log', descriptionKey: 'app.settingsIndex.viewADetailedAuditTrailOf', description: 'View a detailed audit trail of all system actions and user activities.', keywords: 'audit log history actions', tab: 'activity', adminOnly: true },

    { id: 'recyclebin-restore', labelKey: 'app.settingsIndex.restoreDeletedRecords', label: 'Restore deleted records', descriptionKey: 'app.settingsIndex.putBackADomainSavedView', description: 'Put back a domain, saved view or other record that was deleted.', keywords: 'recycle bin restore undelete undo trash deleted recover', tab: 'recyclebin', adminOnly: true },
    { id: 'recyclebin-purge', labelKey: 'app.settingsIndex.permanentlyDeleteRecords', label: 'Permanently delete records', descriptionKey: 'app.settingsIndex.destroyASoftDeletedRecordFor', description: 'Delete a soft-deleted record for good, or purge everything past retention.', keywords: 'purge permanent destroy trash empty retention', tab: 'recyclebin', adminOnly: true },


    { id: 'site-registration', labelKey: 'app.settingsIndex.publicUserRegistration', label: 'Public user registration', descriptionKey: 'app.settingsIndex.allowOrDisableNewUserRegistration', description: 'Allow or disable new user registration on the sign-in page.', keywords: 'registration public signup', tab: 'site', adminOnly: true },
    { id: 'site-appearance', labelKey: 'app.settingsIndex.panelTitleLoginLayout', label: 'Panel title and sign-in layout', descriptionKey: 'app.settingsIndex.setThePanelNameShownIn', description: 'Set the panel name shown in the browser tab and on the sign-in page, and pick the sign-in page layout.', keywords: 'title brand name login layout appearance tab centered split minimal', tab: 'site', adminOnly: true },
    { id: 'site-app-ports', labelKey: 'app.settingsIndex.managedAppPorts', label: 'Managed service ports', descriptionKey: 'app.settingsIndex.controlTheBasePortAssignedTo', description: 'Control the base port assigned to new services.', keywords: 'ports app wordpress container', tab: 'site', adminOnly: true },
    { id: 'site-base-domains', labelKey: 'app.settingsIndex.baseDomains', label: 'Base domains', descriptionKey: 'app.settingsIndex.registerAndManageDomainsForPublishing', description: 'Register and manage domains for publishing managed services.', keywords: 'base domain sites registry subdomain', tab: 'site', adminOnly: true },
    { id: 'site-server-ip', labelKey: 'app.settingsIndex.serverPublicIp', label: 'Server public IP', descriptionKey: 'app.settingsIndex.configureThePublicIpAddressFor', description: 'Configure the public IP address for DNS A records.', keywords: 'server public ip dns', tab: 'site', adminOnly: true },
    { id: 'site-dns-mode', labelKey: 'app.settingsIndex.dnsMode', label: 'DNS mode', descriptionKey: 'app.settingsIndex.chooseBetweenWildcardOrPerSite', description: 'Choose between wildcard or per-service DNS records.', keywords: 'dns mode wildcard per-site', tab: 'site', adminOnly: true },
    { id: 'site-https-setup', labelKey: 'app.settingsIndex.httpsCertificateSetup', label: 'HTTPS certificate setup', descriptionKey: 'app.settingsIndex.setUpWildcardSslCertificatesFor', description: 'Set up wildcard SSL certificates for base domains.', keywords: 'https ssl certificate letsencrypt', tab: 'site', adminOnly: true },
    { id: 'site-dev-mode', labelKey: 'app.settingsIndex.developerMode', label: 'Developer mode', descriptionKey: 'app.settingsIndex.enableDeveloperToolsAndDiagnostics', description: 'Enable developer tools and diagnostics.', keywords: 'dev mode developer tools debug', tab: 'site', adminOnly: true },
    { id: 'site-registry-url', labelKey: 'app.settingsIndex.extensionRegistryUrl', label: 'Extension registry URL', descriptionKey: 'app.settingsIndex.setTheSourceUrlForThe', description: 'Set the source URL for the extensions registry index.', keywords: 'registry url marketplace extensions index', tab: 'site', adminOnly: true },

    { id: 'connections-github', labelKey: 'app.settingsIndex.githubConnection', label: 'GitHub connection', descriptionKey: 'app.settingsIndex.connectGithubForSourceCodeRepositories', description: 'Connect GitHub for source code repositories and deployments.', keywords: 'github source control oauth', tab: 'connections', adminOnly: true },
    { id: 'connections-gitlab', labelKey: 'app.settingsIndex.gitlabConnection', label: 'GitLab connection', descriptionKey: 'app.settingsIndex.connectGitlabForSourceCodeRepositories', description: 'Connect GitLab for source code repositories.', keywords: 'gitlab source control oauth', tab: 'connections', adminOnly: true },
    { id: 'connections-cloud-provider', labelKey: 'app.settingsIndex.cloudProviders', label: 'Cloud providers', descriptionKey: 'app.settingsIndex.connectCloudAccountsForServerProvisioning', description: 'Connect cloud accounts for server provisioning.', keywords: 'cloud provider digitalocean hetzner vultr linode', tab: 'connections', adminOnly: true },
    { id: 'connections-dns-provider', labelKey: 'app.settingsIndex.dnsProviders', label: 'DNS providers', descriptionKey: 'app.settingsIndex.connectDnsProvidersForDomainAnd', description: 'Connect DNS providers for domain and HTTPS management.', keywords: 'dns provider cloudflare route53 godaddy', tab: 'connections', adminOnly: true },
    { id: 'connections-registrar', labelKey: 'app.settingsIndex.domainRegistrar', label: 'Domain registrar', descriptionKey: 'app.settingsIndex.connectDomainRegistrarsToManageDomain', description: 'Connect domain registrars to manage domain portfolio and expiry.', keywords: 'registrar domains portfolio expiry', tab: 'connections', adminOnly: true },
    { id: 'connections-storage', labelKey: 'app.settingsIndex.backupStorage', label: 'Backup storage', descriptionKey: 'app.settingsIndex.configureS3CompatibleOrB2Storage', description: 'Configure S3-compatible or B2 storage for offsite backups.', keywords: 'storage backup s3 backblaze b2', tab: 'connections', adminOnly: true },
    { id: 'connections-email-relay', labelKey: 'app.settingsIndex.emailRelay', label: 'Email relay', descriptionKey: 'app.settingsIndex.setUpAnEmailRelayService', description: 'Set up an email relay service for outgoing mail.', keywords: 'email relay smtp outgoing', tab: 'connections', adminOnly: true },
    { id: 'connections-container-registry', labelKey: 'app.settingsIndex.containerRegistry', label: 'Container registry', descriptionKey: 'app.settingsIndex.connectContainerRegistriesForDockerImage', description: 'Connect container registries for Docker image pulls.', keywords: 'container registry docker docker hub', tab: 'connections', adminOnly: true },

    { id: 'cloud-connection', labelKey: 'app.settingsIndex.cloudConnection', label: 'ServerKit Cloud connection', descriptionKey: 'app.settingsIndex.cloudConnectionDesc', description: "Read this panel's ServerKit Cloud connection state.", keywords: 'serverkit cloud connect pairing', tab: 'cloud', adminOnly: true },
    { id: 'cloud-managed-profile', labelKey: 'app.settingsIndex.cloudManagedProfile', label: 'Managed profile', descriptionKey: 'app.settingsIndex.cloudManagedProfileDesc', description: 'See which responsibilities ServerKit Cloud holds under the Managed service.', keywords: 'managed profile cloud responsibilities', tab: 'cloud', adminOnly: true },

    { id: 'sso-general-settings', labelKey: 'app.settingsIndex.ssoGeneralSettings', label: 'SSO general settings', descriptionKey: 'app.settingsIndex.configureAutoProvisioningDefaultRolesAnd', description: 'Configure auto-provisioning, default roles, and allowed domains.', keywords: 'sso auto provision default role', tab: 'sso', adminOnly: true },
    { id: 'sso-force-mode', labelKey: 'app.settingsIndex.ssoOnlyMode', label: 'SSO-only mode', descriptionKey: 'app.settingsIndex.requireAllUsersToAuthenticateVia', description: 'Require all users to authenticate via SSO.', keywords: 'sso only mode password disabled', tab: 'sso', adminOnly: true },
    { id: 'sso-google', labelKey: 'app.settingsIndex.googleOauth', label: 'Google OAuth', descriptionKey: 'app.settingsIndex.configureGoogleAsAnSsoProvider', description: 'Configure Google as an SSO provider.', keywords: 'google sso oauth', tab: 'sso', adminOnly: true },
    { id: 'sso-github', labelKey: 'app.settingsIndex.githubOauth', label: 'GitHub OAuth', descriptionKey: 'app.settingsIndex.configureGithubAsAnSsoProvider', description: 'Configure GitHub as an SSO provider.', keywords: 'github sso oauth', tab: 'sso', adminOnly: true },
    { id: 'sso-oidc', labelKey: 'app.settingsIndex.oidcProvider', label: 'OIDC provider', descriptionKey: 'app.settingsIndex.configureAGenericOpenidConnectProvider', description: 'Configure a generic OpenID Connect provider.', keywords: 'oidc openid connect', tab: 'sso', adminOnly: true },
    { id: 'sso-saml', labelKey: 'app.settingsIndex.saml20', label: 'SAML 2.0', descriptionKey: 'app.settingsIndex.configureASaml20Identity', description: 'Configure a SAML 2.0 identity provider.', keywords: 'saml saml2 enterprise idp', tab: 'sso', adminOnly: true },

    { id: 'api-keys', labelKey: 'app.settingsIndex.apiKeys', label: 'API keys', descriptionKey: 'app.settingsIndex.createRotateAndRevokeApiKeys', description: 'Create, rotate, and revoke API keys for programmatic access.', keywords: 'api key token authentication', tab: 'api', adminOnly: false },
    { id: 'api-key-scopes', labelKey: 'app.settingsIndex.apiKeyScopes', label: 'API key scopes', descriptionKey: 'app.settingsIndex.setPermissionsScopesForApiKeys', description: 'Set permissions (scopes) for API keys.', keywords: 'api scope permission', tab: 'api', adminOnly: false },
    { id: 'api-rate-limits', labelKey: 'app.settingsIndex.apiRateLimits', label: 'API rate limits', descriptionKey: 'app.settingsIndex.configureApiRateLimitsByTier', description: 'Configure API rate limits by tier.', keywords: 'rate limit requests per minute', tab: 'api', adminOnly: true },
    { id: 'api-webhooks', labelKey: 'app.settingsIndex.webhookSubscriptions', label: 'Webhook subscriptions', descriptionKey: 'app.settingsIndex.createAndManageWebhooksForEvent', description: 'Create and manage webhooks for event notifications.', keywords: 'webhook events notifications', tab: 'api', adminOnly: false },
    { id: 'api-analytics', labelKey: 'app.settingsIndex.apiUsageAnalytics', label: 'API usage analytics', descriptionKey: 'app.settingsIndex.monitorApiTrafficResponseTimesAnd', description: 'Monitor API traffic, response times, and errors.', keywords: 'api analytics traffic usage endpoints', tab: 'api', adminOnly: true },

    // Inbound webhooks (the receive/verify/forward console, moved here from the
    // retired top-level /webhooks page). Distinct from `api-webhooks` above,
    // which is the OUTBOUND event-subscription surface.
    { id: 'webhooks-endpoints', labelKey: 'app.settingsIndex.webhookEndpoints', label: 'Webhook endpoints', descriptionKey: 'app.settingsIndex.createInboundWebhookEndpointsWithA', description: 'Create inbound webhook endpoints with a slug, signing secret, and optional forward URL.', keywords: 'webhook inbound endpoint receive slug secret forward', tab: 'webhooks', adminOnly: true },
    { id: 'webhooks-deliveries', labelKey: 'app.settingsIndex.webhookDeliveries', label: 'Webhook deliveries', descriptionKey: 'app.settingsIndex.inspectReceivedWebhookDeliveriesSignatureValidity', description: 'Inspect received webhook deliveries, signature validity, and replay them.', keywords: 'webhook delivery replay signature payload history', tab: 'webhooks', adminOnly: true },
    { id: 'webhooks-secret', labelKey: 'app.settingsIndex.regenerateWebhookSecret', label: 'Regenerate webhook secret', descriptionKey: 'app.settingsIndex.rotateTheSigningSecretUsedTo', description: 'Rotate the signing secret used to verify an inbound webhook endpoint.', keywords: 'webhook secret rotate regenerate signature hmac', tab: 'webhooks', adminOnly: true },

    { id: 'ai-enable', labelKey: 'app.settingsIndex.enableAiAssistant', label: 'Enable AI assistant', descriptionKey: 'app.settingsIndex.toggleTheInPanelAiAssistant', description: 'Toggle the in-panel AI assistant on or off.', keywords: 'ai assistant enable disable', tab: 'ai', adminOnly: true },
    { id: 'ai-provider', labelKey: 'app.settingsIndex.aiProvider', label: 'AI provider', descriptionKey: 'app.settingsIndex.selectTheAiServiceProviderOpenai', description: 'Select the AI service provider (OpenAI, Anthropic, Ollama, etc.)', keywords: 'ai provider openai anthropic ollama', tab: 'ai', adminOnly: true },
    { id: 'ai-model', labelKey: 'app.settingsIndex.aiModel', label: 'AI model', descriptionKey: 'app.settingsIndex.chooseTheLanguageModelToUse', description: 'Choose the language model to use.', keywords: 'model gpt claude ollama', tab: 'ai', adminOnly: true },
    { id: 'ai-api-key', labelKey: 'app.settingsIndex.aiApiKey', label: 'AI API key', descriptionKey: 'app.settingsIndex.configureTheApiKeyForThe', description: 'Configure the API key for the selected AI provider.', keywords: 'api key authentication', tab: 'ai', adminOnly: true },
    { id: 'ai-endpoint', labelKey: 'app.settingsIndex.aiEndpoint', label: 'AI endpoint', descriptionKey: 'app.settingsIndex.setACustomEndpointForSelf', description: 'Set a custom endpoint for self-hosted AI models.', keywords: 'endpoint url self-hosted ollama', tab: 'ai', adminOnly: true },
    { id: 'ai-cost-limit', labelKey: 'app.settingsIndex.aiCostCeiling', label: 'AI cost ceiling', descriptionKey: 'app.settingsIndex.setTheMaximumSpendingPerConversation', description: 'Set the maximum spending per conversation.', keywords: 'cost limit spending budget', tab: 'ai', adminOnly: true },
    { id: 'ai-pii-redaction', labelKey: 'app.settingsIndex.piiRedaction', label: 'PII redaction', descriptionKey: 'app.settingsIndex.automaticallyRedactPersonallyIdentifiableInformation', description: 'Automatically redact personally identifiable information.', keywords: 'pii redaction privacy sensitive', tab: 'ai', adminOnly: true },
    { id: 'ai-injection-detection', labelKey: 'app.settingsIndex.promptInjectionDetection', label: 'Prompt injection detection', descriptionKey: 'app.settingsIndex.blockPromptInjectionAttackAttempts', description: 'Block prompt injection attack attempts.', keywords: 'injection prompt attack security', tab: 'ai', adminOnly: true },


    { id: 'migrations-apply', labelKey: 'app.settingsIndex.applyDatabaseMigrations', label: 'Apply database migrations', descriptionKey: 'app.settingsIndex.applyPendingSchemaUpdatesToThe', description: 'Apply pending schema updates to the database.', keywords: 'migration database schema update', tab: 'migrations', adminOnly: true },
    { id: 'migrations-history', labelKey: 'app.settingsIndex.migrationHistory', label: 'Migration history', descriptionKey: 'app.settingsIndex.reviewPreviouslyAppliedDatabaseMigrations', description: 'Review previously applied database migrations.', keywords: 'migration history database schema', tab: 'migrations', adminOnly: true },

    { id: 'storage-disk', labelKey: 'app.settingsIndex.storageDiskUsage', label: 'Disk usage and cleanup', descriptionKey: 'app.settingsIndex.seeWhatIsUsingThePanel', description: 'See what is using the panel server disk and free up space.', keywords: 'storage disk space usage full reclaim cleanup free docker images volumes', tab: 'storage', adminOnly: true },
    { id: 'storage-retention', labelKey: 'app.settingsIndex.storageRetention', label: 'Data retention', descriptionKey: 'app.settingsIndex.chooseHowLongTelemetryJobsHistory', description: 'Choose how long telemetry, jobs, history and audit logs are kept.', keywords: 'retention prune telemetry jobs history audit log docker log size rollback previous version', tab: 'storage', adminOnly: true },
    { id: 'system-cpu', labelKey: 'app.settingsIndex.cpuMetrics', label: 'CPU metrics', descriptionKey: 'app.settingsIndex.viewCpuUsageCoresAndLoad', description: 'View CPU usage, cores, and load average.', keywords: 'cpu usage cores load', tab: 'system', adminOnly: true },
    { id: 'system-memory', labelKey: 'app.settingsIndex.memoryMetrics', label: 'Memory metrics', descriptionKey: 'app.settingsIndex.viewMemoryUsageAndAvailableRam', description: 'View memory usage and available RAM.', keywords: 'memory ram usage', tab: 'system', adminOnly: true },
    { id: 'system-disk', labelKey: 'app.settingsIndex.diskMetrics', label: 'Disk metrics', descriptionKey: 'app.settingsIndex.viewDiskUsageAndStorageCapacity', description: 'View disk usage and storage capacity.', keywords: 'disk storage usage', tab: 'system', adminOnly: true },
    { id: 'system-network', labelKey: 'app.settingsIndex.networkMetrics', label: 'Network metrics', descriptionKey: 'app.settingsIndex.viewNetworkTrafficBytesSentAnd', description: 'View network traffic (bytes sent and received)', keywords: 'network bandwidth traffic', tab: 'system', adminOnly: true },
    { id: 'system-timezone', labelKey: 'app.settingsIndex.serverTimezone', label: 'Server time zone', descriptionKey: 'app.settingsIndex.changeTheServerTimezone', description: 'Change the server time zone.', keywords: 'timezone time region', tab: 'system', adminOnly: true },
    { id: 'system-canonical-domain', labelKey: 'app.settingsIndex.panelDomain', label: 'Panel domain', descriptionKey: 'app.settingsIndex.setTheCanonicalDomainForThe', description: 'Set the canonical domain for the ServerKit panel.', keywords: 'canonical domain cors agents', tab: 'system', adminOnly: true },
    { id: 'system-encryption-key', labelKey: 'app.settingsIndex.encryptionKey', label: 'Encryption key', descriptionKey: 'app.settingsIndex.verifyTheEncryptionKeyIsConfigured', description: 'Verify the encryption key is configured for credential security.', keywords: 'encryption key credentials secret', tab: 'system', adminOnly: true },
];

export default SETTINGS_INDEX;