Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Govern security settings presentation helpers

rcourtman584aa8e5d43b
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 2e756e1f2e..c8f4516d58 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -3287,11 +3287,18 @@
"frontend-modern/src/components/Settings/APITokenManager.tsx",
"frontend-modern/src/components/Settings/apiTokenManagerModel.ts",
"frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx",
+ "frontend-modern/src/components/Settings/QuickSecuritySetup.tsx",
"frontend-modern/src/components/Settings/SecurityAuthPanel.tsx",
"frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx",
+ "frontend-modern/src/components/Settings/SecurityPostureSummary.tsx",
+ "frontend-modern/src/components/Settings/SSOProviderTypeIcon.tsx",
"frontend-modern/src/components/Settings/useAPITokenManagerState.ts",
"frontend-modern/src/components/Settings/useSystemSettingsState.ts",
"frontend-modern/src/utils/apiTokenPresentation.ts",
+ "frontend-modern/src/utils/auditLogPresentation.ts",
+ "frontend-modern/src/utils/auditWebhookPresentation.ts",
+ "frontend-modern/src/utils/securityAuthPresentation.ts",
+ "frontend-modern/src/utils/securityScorePresentation.ts",
"internal/api/security.go",
"internal/api/security_tokens.go",
"internal/api/system_settings.go",
@@ -3356,6 +3363,31 @@
"frontend-modern/src/stores/__tests__/systemSettings.test.ts"
]
},
+ {
+ "id": "security-settings-presentation-helpers",
+ "label": "security settings presentation helper proof",
+ "match_prefixes": [],
+ "match_files": [
+ "frontend-modern/src/components/Settings/QuickSecuritySetup.tsx",
+ "frontend-modern/src/components/Settings/SecurityPostureSummary.tsx",
+ "frontend-modern/src/components/Settings/SSOProviderTypeIcon.tsx",
+ "frontend-modern/src/utils/auditLogPresentation.ts",
+ "frontend-modern/src/utils/auditWebhookPresentation.ts",
+ "frontend-modern/src/utils/securityAuthPresentation.ts",
+ "frontend-modern/src/utils/securityScorePresentation.ts"
+ ],
+ "allow_same_subsystem_tests": false,
+ "test_prefixes": [],
+ "exact_files": [
+ "frontend-modern/src/components/Settings/__tests__/SecurityPostureSummary.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/settingsReadOnlyPanels.test.tsx",
+ "frontend-modern/src/utils/__tests__/auditLogPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/auditWebhookPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/securityAuthPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/securityScorePresentation.test.ts"
+ ]
+ },
{
"id": "security-api-token-presentation-helper",
"label": "security API token presentation helper proof",
diff --git a/docs/release-control/v6/internal/subsystems/security-privacy.md b/docs/release-control/v6/internal/subsystems/security-privacy.md
index 6c662c5518..b958845731 100644
--- a/docs/release-control/v6/internal/subsystems/security-privacy.md
+++ b/docs/release-control/v6/internal/subsystems/security-privacy.md
@@ -29,13 +29,20 @@ token-management visibility, and privacy controls to operators.
6. `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx`
7. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx`
8. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx`
-9. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`
-10. `frontend-modern/src/components/Settings/useSystemSettingsState.ts`
-11. `frontend-modern/src/utils/apiTokenPresentation.ts`
-12. `internal/api/security.go`
-13. `internal/api/security_tokens.go`
-14. `internal/api/system_settings.go`
-15. `internal/telemetry/telemetry.go`
+9. `frontend-modern/src/components/Settings/QuickSecuritySetup.tsx`
+10. `frontend-modern/src/components/Settings/SecurityPostureSummary.tsx`
+11. `frontend-modern/src/components/Settings/SSOProviderTypeIcon.tsx`
+12. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`
+13. `frontend-modern/src/components/Settings/useSystemSettingsState.ts`
+14. `frontend-modern/src/utils/apiTokenPresentation.ts`
+15. `frontend-modern/src/utils/auditLogPresentation.ts`
+16. `frontend-modern/src/utils/auditWebhookPresentation.ts`
+17. `frontend-modern/src/utils/securityAuthPresentation.ts`
+18. `frontend-modern/src/utils/securityScorePresentation.ts`
+19. `internal/api/security.go`
+20. `internal/api/security_tokens.go`
+21. `internal/api/system_settings.go`
+22. `internal/telemetry/telemetry.go`
## Shared Boundaries
@@ -57,7 +64,7 @@ token-management visibility, and privacy controls to operators.
2. Change security policy, hardening guidance, or supported auth boundaries through `SECURITY.md`.
3. Change telemetry/privacy settings state handling through `frontend-modern/src/components/Settings/useSystemSettingsState.ts`.
4. Change security/auth/token transport behavior through the shared `frontend-modern/src/api/security.ts`, `frontend-modern/src/components/Settings/APITokenManager.tsx`, `frontend-modern/src/components/Settings/apiTokenManagerModel.ts`, `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`, `internal/api/security.go`, `internal/api/security_tokens.go`, and `internal/api/system_settings.go` boundary.
-5. Change security/privacy settings presentation through the shared `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx`, `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx`, and `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx` boundary.
+5. Change security/privacy settings presentation through the shared `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx`, `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx`, `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx`, `frontend-modern/src/components/Settings/QuickSecuritySetup.tsx`, `frontend-modern/src/components/Settings/SecurityPostureSummary.tsx`, `frontend-modern/src/components/Settings/SSOProviderTypeIcon.tsx`, `frontend-modern/src/utils/securityAuthPresentation.ts`, `frontend-modern/src/utils/securityScorePresentation.ts`, `frontend-modern/src/utils/auditLogPresentation.ts`, and `frontend-modern/src/utils/auditWebhookPresentation.ts` boundary.
## Forbidden Paths
@@ -107,6 +114,17 @@ That shared token-management boundary now also includes
`frontend-modern/src/utils/apiTokenPresentation.ts`, so API-token load,
generate, and revoke errors stay on one governed customer-facing wording path
instead of drifting back into hook-local notification strings.
+That same governed settings trust boundary now also includes
+`frontend-modern/src/components/Settings/QuickSecuritySetup.tsx`,
+`frontend-modern/src/components/Settings/SecurityPostureSummary.tsx`,
+`frontend-modern/src/components/Settings/SSOProviderTypeIcon.tsx`,
+`frontend-modern/src/utils/securityAuthPresentation.ts`,
+`frontend-modern/src/utils/securityScorePresentation.ts`,
+`frontend-modern/src/utils/auditLogPresentation.ts`, and
+`frontend-modern/src/utils/auditWebhookPresentation.ts`, so auth bootstrap
+copy, security posture scoring, audit-log wording, audit-webhook wording, and
+SSO provider-type presentation remain part of the governed security trust
+surface instead of floating as unowned settings helpers.
That same shared security transport boundary must stay under explicit proof
routing on both sides: `frontend-modern/src/api/security.ts`,
`internal/api/security.go`, `internal/api/security_tokens.go`, and