Repository navigation
feat(console): add five-stage visual pipeline flow with audited tap and SQL Server guided setup (#101, #99) - #307
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
jusso-dev
force-pushed
the
feat/console-pipelines-and-sources
branch
from
November 21, 2026 21:45
b303b7f to
267ccb0
Compare
jusso-dev
force-pushed
the
feat/console-pipelines-and-sources
branch
from
November 21, 2026 22:37
267ccb0 to
0ba4824
Compare
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.
Summary
Closes #101. Advances #99.
Adds the console's five-stage visual pipeline view backed by collector heartbeat telemetry (
bower top& selection counters) and audited Operator-only post-redaction tap sampling, plus the SQL Server guided source setup type:CollectorJson.cs,ManagementHeartbeatJob.cs,PipelineLiveModels.cs,ManagementStore.Pipelines.cs,PipelineLiveEndpoints.cs):pipelineselection counters and cappedactivity(bower topbusiest sources, max 25).collector_pipeline_snapshotsand servesGET /api/pipelines/live(Viewrole) with five-stage status (Collect → Redact → Select → Queue → Deliver), signal reduction percentage, busiest sources, redaction totals by detector, and per-policy breakdown.POST /api/pipelines/collectors/{id}/tap(Operaterole; Viewers receive 403) that audits every request (pipeline.tap-sampled), returns bounded already-redacted frames when an allow-listedICollectorTapClientis configured, or returns the exactbower tapcommand in outbound-only deployments (no arbitrary user-supplied URLs / zero SSRF surface).ui/Bower.Management.Web/src/components/PipelineFlowDiagram.tsx,PipelinesPage.tsx,styles.css,PipelinesPage.test.tsx):src/Bower.Management.Api/SourceSetupSqlServer.cs,SourceSetupRegistry.cs):sql-serveras the 9th guided source type, enforcing safe SQL identifiers,ApplicationIntent=ReadOnly, bounded batches, secret references only (file path or Key Vault URL — rejects inline passwords), least-privilegeGRANT SELECTsnippet, and a redacted synthetic preview.Verification
dotnet build --configuration Release— 0 warnings, 0 errorsdotnet test(PipelineLiveAndSqlSetupTests,SourceSetupApiTests,ManagementApiTests,FleetApiTests) — 101 passed, 0 faileddotnet format --verify-no-changes— passedcd ui/Bower.Management.Web && npm run lint && npm test && npm run build— 17/17 test files (110/110 tests) passed, TypeScript & Vite production build succeededSecurity and compatibility impact
ManagementJsonContext,CollectorJsonContext).Operaterequired for tap); every tap request writes an audit row; raw payloads and secrets never leave the collector or enter management storage.