Pulse/internal/api
rcourtman 8337cbc4c9 Fix v5 diagnostics GitHub export
Normalize diagnostics collection fields to empty arrays before encoding and harden the sanitized GitHub export path against null arrays so empty v5 installs can still produce issue attachments.

Refs #1454
2026-05-03 19:12:24 +01:00
..
admin_bypass_router_test.go Cover admin bypass routing 2026-02-04 14:24:42 +00:00
agent_profiles_security_test.go Require settings:write for agent profiles 2026-02-04 13:43:28 +00:00
agent_profiles_tools.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
agent_profiles_tools_extra_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
agent_profiles_tools_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
ai_handler.go Reuse loaded AI config when restarting stopped service 2026-03-28 10:00:37 +00:00
ai_handler_restart_test.go test: add stream, restart, and fallback tests for AI handlers and providers 2026-01-22 22:33:33 +00:00
ai_handler_test.go Reuse loaded AI config when restarting stopped service 2026-03-28 10:00:37 +00:00
ai_handlers.go Add Ollama basic auth support 2026-04-01 12:00:38 +01:00
ai_handlers_cost_export_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_handlers_helpers_test.go imp(api): remove remaining license gates for intelligence features 2026-02-01 16:28:49 +00:00
ai_handlers_intelligence_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_handlers_investigation_additional_test.go security: fix websocket scope and agent impersonation 2026-02-03 20:40:08 +00:00
ai_handlers_more_test.go test: expand api handler coverage 2026-02-02 23:01:29 +00:00
ai_handlers_oauth_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_handlers_patrol_actions_additional_test.go fix(ai): restore dismissed patrol findings and add regression tests 2026-03-03 19:53:55 +00:00
ai_handlers_patrol_test.go Chore: clean up staged changes for release 2026-02-02 23:17:40 +00:00
ai_handlers_setters_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_handlers_stream_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_handlers_test.go Add Ollama basic auth support 2026-04-01 12:00:38 +01:00
ai_intelligence_handlers.go imp(api): remove remaining license gates for intelligence features 2026-02-01 16:28:49 +00:00
ai_intelligence_handlers_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
ai_intelligence_handlers_data_additional_test.go test(ai): update tests for license gate removals and DeepSeek cleanup 2026-02-01 18:08:02 +00:00
ai_intelligence_handlers_more2_test.go test: expand api handler coverage 2026-02-02 23:01:29 +00:00
ai_intelligence_handlers_more_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
ai_intelligence_handlers_remediation_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_intelligence_handlers_remediation_more_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
ai_intelligence_handlers_test.go feat: add AI Intelligence system with investigation and forecasting 2026-01-24 22:41:43 +00:00
ai_intelligence_helpers_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
ai_patrol_handlers_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
alerts.go Fix recovery notifications silently disabled by config PUT (#1332) 2026-03-09 11:28:28 +00:00
alerts_endpoints_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
alerts_test.go Fix alert disable notification suppression 2026-03-07 18:40:08 +00:00
api_foundation_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
audit_handlers.go security: SSRF protection for webhook URLs 2026-01-22 00:42:23 +00:00
audit_handlers_test.go security: SSRF protection for webhook URLs 2026-01-22 00:42:23 +00:00
audit_reporting_scope_test.go Enforce audit/report scope checks 2026-02-04 13:47:32 +00:00
auth.go Guard legacyMonitor typed-nil and add OIDC refresh panic recovery 2026-03-07 10:21:07 +00:00
auth_additional_coverage_test.go fix(security): restrict query-string token auth to WebSocket upgrades only 2026-02-04 09:52:32 +00:00
auth_context_middleware_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
auth_context_tenant_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
auth_general_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
auth_helpers_test.go feat(license): add audit_logging, advanced_sso, advanced_reporting to Pro tier 2026-01-10 12:55:02 +00:00
auth_oidc_refresh_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
auth_query_token_test.go fix(security): restrict query-string token auth to WebSocket upgrades only 2026-02-04 09:52:32 +00:00
auth_scope_test.go feat(rbac): add OIDC group mapping tests and audit logging for RBAC actions 2026-01-09 19:25:33 +00:00
authorization.go feat: add multi-tenant isolation foundation (disabled by default) 2026-01-23 21:42:27 +00:00
authorization_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
authorization_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
bootstrap_token.go feat: remove Enterprise badges, simplify Pro upgrade prompts 2026-01-09 16:51:08 +00:00
bootstrap_token_test.go test: Add edge case for initializeBootstrapToken error path 2025-12-02 00:51:44 +00:00
charts_test.go Fix sparkline data inconsistency and support 30d range 2026-02-03 22:39:50 +00:00
chat_service_adapter.go fix(ai): record patrol and QuickAnalysis token usage in cost store for budget enforcement 2026-03-01 19:19:47 +00:00
chat_service_adapter_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
chat_service_adapter_test.go test(api): increase coverage for discovery and chat adapter 2026-02-02 14:53:52 +00:00
config_handlers.go Select reachable Proxmox auto-register hosts 2026-04-01 13:17:21 +01:00
config_handlers_add_test.go Accept tokenId/tokenSecret aliases for node config API (#1147) 2026-03-25 12:23:39 +00:00
config_handlers_admin_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
config_handlers_auto_reg_test.go test: Add edge cases for markAutoRegistered empty inputs 2025-12-01 23:50:10 +00:00
config_handlers_auto_register_test.go Select reachable Proxmox auto-register hosts 2026-04-01 13:17:21 +01:00
config_handlers_cluster_additional_test.go Accept tokenId/tokenSecret aliases for node config API (#1147) 2026-03-25 12:23:39 +00:00
config_handlers_cluster_test.go test: Improve coverage for cluster config handler functions 2025-12-01 14:46:00 +00:00
config_handlers_connection_test.go Accept tokenId/tokenSecret aliases for node config API (#1147) 2026-03-25 12:23:39 +00:00
config_handlers_delete_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
config_handlers_discovery_test.go test: improve coverage for API, AI, Alerts, and Frontend Utils 2026-01-20 15:52:39 +00:00
config_handlers_helpers_additional_test.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
config_handlers_host_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
config_handlers_pve_user_test.go Improve auto-register auth errors and setup token grace window (#1319) 2026-03-07 13:39:26 +00:00
config_handlers_sanitize_test.go test: Add tests for config handler utility functions 2025-12-01 14:09:35 +00:00
config_handlers_secure_auto_register_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
config_handlers_setup_code_test.go test: improve coverage for API, AI, Alerts, and Frontend Utils 2026-01-20 15:52:39 +00:00
config_handlers_setup_script_integration_test.go Harden PVE setup token extraction (#1312) 2026-03-25 11:09:19 +00:00
config_handlers_setup_script_test.go Harden Proxmox setup SSH key handling (#1297) 2026-03-25 11:27:25 +00:00
config_handlers_setup_url_test.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
config_handlers_temperature_ssh_test.go test: improve coverage for API, AI, Alerts, and Frontend Utils 2026-01-20 15:52:39 +00:00
config_handlers_token_helpers_test.go fix(proxmox): stabilize pulse monitor token lifecycle 2026-03-03 10:57:19 +00:00
config_handlers_transport_guard_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
config_handlers_update_test.go Accept tokenId/tokenSecret aliases for node config API (#1147) 2026-03-25 12:23:39 +00:00
config_profiles.go Fix AI and config profile handlers broken in v5 single-tenant mode 2026-03-06 11:05:01 +00:00
config_profiles_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
config_profiles_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
csrf_store.go Show AI cost refresh errors and harden log redaction 2025-12-12 11:05:24 +00:00
csrf_store_test.go fix: Update runtime config when toggling Docker update actions setting 2026-01-03 11:14:17 +00:00
demo_middleware.go fix(demo): allow AI chat in read-only mode 2025-12-23 18:52:13 +00:00
demo_middleware_test.go test: Add edge case for DemoModeMiddleware WebSocket POST upgrade 2025-12-01 23:24:06 +00:00
diagnostics.go Fix v5 diagnostics GitHub export 2026-05-03 19:12:24 +01:00
diagnostics_additional_test.go Fix v5 diagnostics GitHub export 2026-05-03 19:12:24 +01:00
diagnostics_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
discovery_handlers.go feat: add Discovery Transparency & Trust features 2026-02-03 14:59:27 +00:00
discovery_handlers_test.go test(api): increase coverage for discovery and chat adapter 2026-02-02 14:53:52 +00:00
DO_NOT_EDIT_FRONTEND_HERE.md chore: Mac-compatible dev scripts 2026-01-22 00:30:15 +00:00
docker_agents.go fix(docker,metrics): preserve container metadata on update and reduce DB writes 2026-02-18 12:56:46 +00:00
docker_agents_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
docker_agents_error_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
docker_agents_routes_more_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
docker_agents_test.go ADA: Add normalizeCommandStatus helper with unit tests 2025-11-29 17:06:18 +00:00
docker_metadata.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
docker_metadata_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
export_test.go fix: Update TestPublicURLDetectionUsesForwardedHeaders for proxy hardening 2025-12-02 03:16:52 +00:00
frontend_embed.go Improve static asset caching for hashed files 2025-11-06 13:54:26 +00:00
frontend_embed_test.go Test: improve frontend embedding coverage 2026-02-02 22:01:46 +00:00
guest_metadata.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
guest_metadata_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
host_agent_config_binding_router_test.go Restore legacy host config fetch compatibility (#1254) 2026-03-30 19:30:48 +01:00
host_agent_config_scope_test.go Require host config read scope 2026-02-04 14:00:04 +00:00
host_agents.go Restore legacy host config fetch compatibility (#1254) 2026-03-30 19:30:48 +01:00
host_agents_additional_test.go Verify host uninstall enforces token binding 2026-02-04 15:16:12 +00:00
host_agents_more_test.go test: expand api handler coverage 2026-02-02 23:01:29 +00:00
host_agents_test.go Restore legacy host config fetch compatibility (#1254) 2026-03-30 19:30:48 +01:00
host_metadata.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
http_metrics.go feat: comprehensive diagnostics and observability improvements 2025-10-21 12:37:39 +00:00
http_metrics_test.go Add unit tests for HTTP metrics utility functions 2025-11-30 02:48:05 +00:00
isolation_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
kubernetes_agents.go feat: add multi-tenancy foundation (directory-per-tenant) 2026-01-22 13:39:06 +00:00
kubernetes_agents_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
kubernetes_agents_error_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
license_handlers.go Restore previous license on persistence failure instead of clearing it 2026-03-08 11:49:26 +00:00
license_handlers_test.go Restore previous license on persistence failure instead of clearing it 2026-03-08 11:49:26 +00:00
log_handlers.go feat(backend): implement real-time log broadcasting and handlers 2026-01-30 19:01:58 +00:00
log_handlers_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
log_redact.go Show AI cost refresh errors and harden log redaction 2025-12-12 11:05:24 +00:00
log_redact_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
metadata_handlers_test.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
metadata_provider.go feat(ai): Add URL discovery tool - AI can find and set resource URLs 2025-12-10 00:29:07 +00:00
metadata_provider_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
metrics_history_fallback_test.go test: add stream, restart, and fallback tests for AI handlers and providers 2026-01-22 22:33:33 +00:00
middleware.go style: fix whitespace in middleware.go 2025-11-27 08:34:31 +00:00
middleware_license.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
middleware_tenant.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
middleware_tenant_additional_test.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
middleware_tenant_authorization_test.go Cover tenant auth middleware 2026-02-04 13:34:09 +00:00
middleware_tenant_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
middleware_test.go test: Add edge case for writeErrorResponse encode failure 2025-12-01 23:52:21 +00:00
mock_state_provider_test.go Chore: clean up staged changes for release 2026-02-02 23:17:40 +00:00
monitor_wrappers.go refactor(api): Update handlers for native AI chat service 2026-01-19 19:20:00 +00:00
monitor_wrappers_test.go Update monitor wrapper test for alert-backed state 2026-03-28 10:12:34 +00:00
multi_tenant_setters_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
notification_queue.go security: Add request body size limits to remaining API handlers 2025-12-02 16:47:13 +00:00
notification_queue_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
notification_queue_error_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
notifications.go Preserve webhook mentions in list API (#1118) 2026-03-25 23:12:22 +00:00
notifications_scope_test.go Add scope checks for notification endpoints 2026-02-04 15:10:02 +00:00
notifications_test.go Preserve webhook mentions in list API (#1118) 2026-03-25 23:12:22 +00:00
oidc_admin_auth_test.go Require auth for admin endpoints with OIDC 2026-02-04 14:26:38 +00:00
oidc_handlers.go Tighten redirect and download path handling 2026-03-31 09:17:52 +01:00
oidc_handlers_additional_test.go Tighten redirect and download path handling 2026-03-31 09:17:52 +01:00
oidc_handlers_more_test.go Test: add coverage for auth and security handlers 2026-02-02 22:02:11 +00:00
oidc_handlers_test.go Harden security handlers and apprise execution 2026-03-28 11:03:16 +00:00
oidc_mapping_test.go feat(rbac): add OIDC group mapping tests and audit logging for RBAC actions 2026-01-09 19:25:33 +00:00
oidc_service.go feat(oidc): Add refresh token support for long-lived sessions 2025-12-20 10:45:46 +00:00
oidc_service_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
oidc_service_test.go test: Add invalid PEM data test for newOIDCHTTPClient 2025-12-02 01:00:06 +00:00
oidc_token_auth_test.go Allow API tokens with OIDC enabled 2026-02-04 14:27:46 +00:00
outbound_url.go Harden outbound SSO and webhook URL handling 2026-03-31 09:06:06 +01:00
outbound_url_test.go Harden outbound SSO and webhook URL handling 2026-03-31 09:06:06 +01:00
profile_suggestions.go Fix AI and config profile handlers broken in v5 single-tenant mode 2026-03-06 11:05:01 +00:00
profile_suggestions_handlers_test.go Fix AI and config profile handlers broken in v5 single-tenant mode 2026-03-06 11:05:01 +00:00
profile_suggestions_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
proxy_admin_gating_test.go Remove pprof diagnostics endpoint 2026-02-04 20:44:00 +00:00
proxy_token_admin_conflict_test.go Deny proxy non-admin despite token 2026-02-04 14:35:08 +00:00
rate_limit_config.go refactor(api): remove sensor proxy config from API handlers 2026-01-21 12:02:46 +00:00
rate_limit_config_test.go refactor(api): remove sensor proxy config from API handlers 2026-01-21 12:02:46 +00:00
ratelimit.go feat(api): security and metrics history improvements 2026-01-22 00:44:12 +00:00
ratelimit_test.go feat(api): security and metrics history improvements 2026-01-22 00:44:12 +00:00
rbac_handlers.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
rbac_handlers_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
rbac_handlers_more_test.go test: expand api handler coverage 2026-02-02 23:01:29 +00:00
rbac_handlers_test.go feat(rbac): implement RBAC UI, OIDC group mapping, and API standard auth 2026-01-09 19:16:34 +00:00
rbac_reporting_auth_test.go Require auth for RBAC and reporting 2026-02-04 13:57:00 +00:00
rbac_test.go feat: remove Enterprise badges, simplify Pro upgrade prompts 2026-01-09 16:51:08 +00:00
README.md chore: Mac-compatible dev scripts 2026-01-22 00:30:15 +00:00
recovery_proxy_bypass_test.go Reject recovery via untrusted XFF 2026-02-04 15:01:09 +00:00
recovery_tokens.go Show AI cost refresh errors and harden log redaction 2025-12-12 11:05:24 +00:00
recovery_tokens_test.go fix: Update runtime config when toggling Docker update actions setting 2026-01-03 11:14:17 +00:00
reporting_handlers.go Use org-specific metrics store for report generation (#1186) 2026-03-25 11:48:57 +00:00
reporting_handlers_test.go Use org-specific metrics store for report generation (#1186) 2026-03-25 11:48:57 +00:00
require_admin_proxy_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
resource_handlers.go Fix resource stats alert counts (#1365) 2026-03-25 11:19:03 +00:00
resource_handlers_more_test.go Add resource alert stats regression coverage 2026-04-05 23:35:54 +01:00
resource_handlers_test.go Add resource alert stats regression coverage 2026-04-05 23:35:54 +01:00
route_inventory_test.go feat(api): add POST /api/ai/patrol/undismiss endpoint to revert suppressed findings (#1300) 2026-03-01 22:29:36 +00:00
router.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
router_arch_test.go test: Add tests for API helper functions 2025-12-01 21:33:45 +00:00
router_auth_additional_test.go fix: resolve test failures blocking release 2026-02-03 23:53:54 +00:00
router_auth_bypass_inventory_test.go fix: add SAML auth bypass and update route inventory tests 2026-02-11 13:48:16 +00:00
router_csrf_middleware_test.go Cover apply-restart CSRF skip 2026-02-04 12:58:12 +00:00
router_csrf_skip_inventory_test.go Add CSRF skip allowlist test 2026-02-04 13:01:00 +00:00
router_csrf_skip_routes_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
router_download_inventory_test.go Inventory download route exposure 2026-02-04 13:27:00 +00:00
router_download_test.go Move v5 maintenance flow onto release/5.1 2026-04-14 18:34:41 +01:00
router_frontend_inventory_test.go Inventory frontend and static auth bypasses 2026-02-04 13:20:45 +00:00
router_general_test.go refactor(config): rename BackendHost/BackendPort to BindAddress 2026-02-01 23:26:32 +00:00
router_handlers_additional_test.go fix(security): enhance webhook validation, enforce API scopes, and improve test coverage 2026-02-03 22:41:44 +00:00
router_helpers.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
router_helpers_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
router_helpers_more_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
router_integration_test.go fix(security): restrict query-string token auth to WebSocket upgrades only 2026-02-04 09:52:32 +00:00
router_low_coverage_additional_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
router_misc_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
router_proxy_auth_admin_routes_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
router_proxy_auth_security_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
router_public_paths_inventory_test.go Validate public allowlist backing 2026-02-04 13:18:29 +00:00
router_rate_limit_security_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
router_recovery_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
router_routes_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
router_single_tenant_persistence_test.go Fix v5 single-tenant router test setup 2026-03-05 23:58:11 +00:00
router_state_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
router_test.go security: strengthen public URL capture to enforce scope and admin checks 2026-02-03 18:49:42 +00:00
router_version_tenant_metrics_test.go Test: expand api feature test coverage 2026-02-02 22:02:22 +00:00
router_wrappers_additional_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
saml_handlers.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
saml_handlers_additional_test.go Tighten redirect and download path handling 2026-03-31 09:17:52 +01:00
saml_handlers_more_test.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
saml_handlers_success_test.go Lock SAML metadata public URL refresh 2026-04-13 13:48:27 +01:00
saml_service.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
saml_service_additional_test.go Harden outbound SSO and webhook URL handling 2026-03-31 09:06:06 +01:00
saml_service_test.go Validate SAML redirects and request URLs 2026-03-31 09:34:31 +01:00
security.go Harden security handlers and apprise execution 2026-03-28 11:03:16 +00:00
security_additional_coverage_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
security_oidc.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
security_oidc_handlers_additional_test.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
security_oidc_handlers_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
security_oidc_response_test.go Fix SAML public URLs and OIDC group role mappings 2026-04-05 23:35:54 +01:00
security_regression_test.go Improve auto-register auth errors and setup token grace window (#1319) 2026-03-07 13:39:26 +00:00
security_setup_fix.go Require proxy admin for quick security setup 2026-02-04 18:08:40 +00:00
security_setup_fix_additional_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00
security_setup_fix_test.go feat(api): security and metrics history improvements 2026-01-22 00:44:12 +00:00
security_status_additional_test.go Ignore bearer token in security status 2026-02-04 14:01:57 +00:00
security_test.go Harden security handlers and apprise execution 2026-03-28 11:03:16 +00:00
security_tokens.go feat(api): security and metrics history improvements 2026-01-22 00:44:12 +00:00
security_tokens_handlers_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
security_tokens_test.go test: Add edge cases for normalizeRequestedScopes 2025-12-02 00:19:20 +00:00
session_oidc_test.go feat(license): add audit_logging, advanced_sso, advanced_reporting to Pro tier 2026-01-10 12:55:02 +00:00
session_store.go Fix security vulnerabilities and critical bugs 2026-02-03 17:16:27 +00:00
session_store_test.go feat(license): add audit_logging, advanced_sso, advanced_reporting to Pro tier 2026-01-10 12:55:02 +00:00
sso_handlers.go Preserve OIDC group fields on SSO updates 2026-04-05 23:35:54 +01:00
sso_handlers_crud_test.go Preserve OIDC group fields on SSO updates 2026-04-05 23:35:54 +01:00
sso_handlers_test.go Harden outbound SSO and webhook URL handling 2026-03-31 09:06:06 +01:00
system_settings.go Guard legacyMonitor typed-nil and add OIDC refresh panic recovery 2026-03-07 10:21:07 +00:00
system_settings_handlers_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
system_settings_ssh_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
system_settings_temperature_test.go Refactor: Multi-tenancy support for API and License handlers 2026-01-22 16:42:39 +00:00
system_settings_utils_test.go Add unit tests for system_settings.go map utility functions 2025-12-01 01:05:07 +00:00
system_settings_validate_test.go Show CPU core count on EnhancedCPUBar progress bar 2025-11-29 21:47:22 +00:00
tenant_agent_auth_test.go Fix post-release regressions and lock v5 to single-tenant runtime 2026-03-05 23:46:35 +00:00
tenant_legacy_token_test.go Document legacy token org access 2026-02-04 14:55:20 +00:00
tenant_org_binding_test.go Block cross-tenant org token use 2026-02-04 14:13:57 +00:00
tenant_org_cookie_test.go Reject org cookie for non-member 2026-02-04 14:48:03 +00:00
tenant_org_header_precedence_test.go Prefer org header over cookie 2026-02-04 14:51:14 +00:00
tenant_org_ids_binding_test.go Cover multi-org token authorization 2026-02-04 14:15:50 +00:00
tenant_token_over_user_test.go Enforce token precedence for tenant access 2026-02-04 14:54:14 +00:00
tenant_user_membership_test.go Cover tenant user membership checks 2026-02-04 14:41:08 +00:00
types.go feat: Add sparkline support for unified host agents on hosts page 2026-02-03 22:59:55 +00:00
unified_agent.go Move v5 maintenance flow onto release/5.1 2026-04-14 18:34:41 +01:00
unified_agent_download_test.go Make agent installs version-aware 2026-04-05 23:35:54 +01:00
unified_agent_more_test.go Move v5 maintenance flow onto release/5.1 2026-04-14 18:34:41 +01:00
unified_agent_test.go Move v5 maintenance flow onto release/5.1 2026-04-14 18:34:41 +01:00
update_detection.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
update_detection_test.go test(api): comprehensively improve test coverage to Security, Infra, and Features 2026-02-02 18:59:44 +00:00
updates.go Fix security vulnerabilities and critical bugs 2026-02-03 17:16:27 +00:00
updates_test.go security: fix webhook SSRF, rate limit spoofing, metrics retention, and url poisoning 2026-02-03 16:58:13 +00:00
websocket_isolation_test.go feat: enhance API router with multi-tenant authorization 2026-01-24 22:42:23 +00:00
websocket_origin_security_test.go test: expand security regression coverage 2026-02-04 10:28:41 +00:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.