Skip to content

Include host name in delta sub-section titles - #141

Merged
spoofzu merged 1 commit into
masterfrom
feature/delta-subsection-host-names
Mar 16, 2026
Merged

spoofzu merged 1 commit into
masterfrom
feature/delta-subsection-host-names

Conversation

@spoofzu

@spoofzu spoofzu commented Mar 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the hostname in parentheses to every delta sub-section title in both the on-screen rendering (DeltaResultsPanel) and all export formats (text, HTML, PDF in ReportExporter)
  • Fixes readability issue where hosts with very long header values (e.g., Discord's massive CSP) cause the [hostname] header to scroll off-screen, leaving subsequent sub-sections without host context
  • Example: Cipher suite changes: → Cipher suite changes (www.example.com):

Test plan

  • mvn clean compile passes with no errors
  • Run a delta scan with hosts that have long header values — verify each sub-section title includes the hostname
  • Export as text — verify hostnames appear in all sub-section headers (e.g., [TLS Risk Assessment (host)])
  • Export as HTML — verify hostnames appear in all sub-section headers with proper HTML escaping
  • Export as PDF — verify hostnames appear in all sub-section headers

🤖 Generated with Claude Code

When a host has very long header values (e.g., Discord's massive CSP),
the [hostname] header scrolls off-screen, leaving subsequent sub-sections
like "HTTP Headers changes:" without host context. Each sub-section title
now includes the hostname in parentheses for both the on-screen rendering
(DeltaResultsPanel) and all export formats (text/HTML/PDF in ReportExporter).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@spoofzu
spoofzu merged commit face494 into master Mar 16, 2026
3 checks passed
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.

1 participant