Skip to content

Feature/scanner UI - #731

Merged
frjcomp merged 4 commits into
mainfrom
feature/scanner-ui
Oct 1, 2026
Merged

frjcomp merged 4 commits into
mainfrom
feature/scanner-ui

Conversation

@frjcomp

@frjcomp frjcomp commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings October 1, 2026 09:55
Comment thread pkg/webui/server.go Fixed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unescaped finding data enables script injection, while streaming and configuration issues can omit or misroute findings.

Review effort: Balanced
Findings: 1 High severity · 7 Medium severity

Open (8)
What changed in this PR

Adds an optional authenticated local web UI for viewing live secret-scan findings.

Changes:

  • Adds SSE-based findings display, filtering, and CSV export.
  • Introduces a logging hit sink for forwarding findings.
  • Wires --webui into supported scan commands.
File Description
pkg/​webui/​server.go Implements the web UI server and streaming.
pkg/​webui/​server_test.go Tests authentication, rendering, and CSV export.
pkg/​logging/​hit.go Adds structured hit-sink support.
pkg/​logging/​hit_sink_test.go Tests hit forwarding.
pkg/​gitlab/​enum/​export_html.go Exposes the embedded logo.
pkg/​config/​scan_options.go Adds the WebUI scan option.
internal/​cmd/​flags/​common.go Defines the shared --webui flag.
internal/​cmd/​jenkins/​scan/​scan.go Integrates the UI with Jenkins scans.
internal/​cmd/​gitlab/​tf/​tf.go Integrates the UI with Terraform scans.
internal/​cmd/​gitlab/​snippets/​scan/​scan.go Integrates the UI with snippet scans.
internal/​cmd/​gitlab/​scanpublic/​scan_public.go Integrates the UI with public scans.
internal/​cmd/​gitlab/​scan/​scan.go Integrates the UI with GitLab scans.
internal/​cmd/​gitlab/​cicd/​scan/​scan.go Integrates the UI with CI/CD scans.
internal/​cmd/​github/​scan/​scan.go Integrates the UI with GitHub scans.
internal/​cmd/​gitea/​scan/​scan.go Integrates the UI with Gitea scans.
internal/​cmd/​devops/​scan/​scan.go Integrates the UI with DevOps scans.
internal/​cmd/​circle/​scan/​scan.go Integrates the UI with CircleCI scans.
internal/​cmd/​bitbucket/​scan/​scan.go Integrates the UI with Bitbucket scans.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pkg/webui/server.go Outdated
Comment thread internal/cmd/flags/common.go
Comment thread pkg/webui/server.go Outdated
Comment thread pkg/webui/server.go Outdated
Comment thread pkg/webui/server.go Outdated
Comment thread pkg/webui/server.go Outdated
Comment thread pkg/webui/server.go
Comment thread pkg/webui/server.go Outdated
@frjcomp
frjcomp enabled auto-merge (squash) October 1, 2026 11:26
@frjcomp
frjcomp merged commit 8de34ad into main Oct 1, 2026
13 checks passed
@frjcomp
frjcomp deleted the feature/scanner-ui branch October 1, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants