Feat/1177 1178 1179 1180 security governance suite - #1232
Merged
Mosas2000 merged 3 commits intoAug 29, 2026
Merged
Conversation
…t verification, sensitive field access reports - StellaBridge#1177 Security Event Correlation View: backend service, migrations, Fastify routes, and admin UI component - StellaBridge#1178 Webhook IP Allowlist Management: CIDR matching service, migrations, API routes, and interactive test sandbox UI - StellaBridge#1179 Signed Request Verification Middleware: HMAC request signing keys lifecycle, verification hook, audit logs, and developer UI - StellaBridge#1180 Sensitive Field Access Reports: sensitive field registry, access logger, compliance report generator, and audit UI Closes StellaBridge#1177 Closes StellaBridge#1178 Closes StellaBridge#1179 Closes StellaBridge#1180
…rvice and cleanup unused vars
|
@devmocrea Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements four security, governance, and audit suites for Bridge Watch:
Technical Details
Database Migrations
20260829090000_security_event_correlation.ts: Createdsecurity_event_correlationsandsecurity_eventstables.20260829091000_webhook_ip_allowlist.ts: Createdwebhook_ip_allowliststable.20260829092000_signed_request_verification.ts: Createdrequest_signing_keysandsigned_request_logstables.20260829093000_sensitive_field_access_reports.ts: Createdsensitive_field_definitions,sensitive_field_access_logs, andsensitive_field_access_reportstables.Backend Services & Fastify Middleware
securityEventCorrelation.service.ts&securityEventCorrelation.routes.ts: Correlation view aggregation and event ingestion endpoints.webhookIpAllowlist.service.ts&webhookIpAllowlist.routes.ts: CIDR subnet matching engine and rule management.signedRequestVerification.service.ts,signedRequestVerification.middleware.ts&signedRequestVerification.routes.ts: HMAC signature verification hook, key lifecycle, and audit logs.sensitiveFieldAccess.service.ts&sensitiveFieldAccess.routes.ts: Sensitive field definition registry, access logger, and report generator.admin-routes.ts.Frontend Admin UI Components
SecurityEventCorrelation.tsx: Severity metrics, filterable correlation table, and drilldown viewer (/admin/security-correlations).WebhookIpAllowlist.tsx: Rule management table and interactive IP access simulator (/admin/webhook-ip-allowlist).SignedRequestVerification.tsx: Signing credentials table, HMAC calculation workbench, and verification log viewer (/admin/signed-requests).SensitiveFieldAccessReport.tsx: Tabbed view for field registry, real-time access logs, and compliance report generation (/admin/sensitive-field-reports).App.tsxand menu items innavigation.ts.Testing & Verification
Vitest Unit Tests
Ran test suites for all 4 new services (21 unit tests passed):
tests/services/securityEventCorrelation.service.test.ts(5 tests passed)tests/services/webhookIpAllowlist.service.test.ts(7 tests passed)tests/services/signedRequestVerification.service.test.ts(5 tests passed)tests/services/sensitiveFieldAccess.service.test.ts(4 tests passed)Build Checks
npm --prefix backend run build(Clean build intodist/)npm --prefix frontend run type-check(Zero TypeScript errors)Closes #1177
Closes #1178
Closes #1179
Closes #1180