Skip to content

[BUG] Title: HTML Export, CSV Export, and PDF Report actions are visible but non-functional on Intel Briefing page #1219

Description

@Harsh2865

Summary

The Intel Briefing page displays HTML Export, CSV Export, and PDF Report actions, but clicking any of these buttons does not generate or download a report file. No loading state, success message, or error notification is shown, making the export functionality appear broken.

Why this matters

Exporting scan results is a critical workflow for security analysts, penetration testers, and teams that need to share findings, archive scan results, or generate documentation. Since export actions are already visible in the UI, users naturally expect them to work. The current behavior prevents users from obtaining reports and creates confusion about whether the feature is supported.

Reproduction steps

  1. Open https://secuscan.in
  2. Navigate to Registry.
  3. Open any completed scan record.
  4. Click OPEN_DEEP_BRIEF.
  5. On the Intel Briefing page, locate:
    • HTML Export
    • CSV Export
    • PDF Report
  6. Click each export option.
  7. Observe the behavior.

Expected behavior

  • HTML Export should generate and download an HTML report.
  • CSV Export should generate and download a CSV report.
  • PDF Report should generate and download a PDF report.
  • If export generation fails, an appropriate error message should be displayed.

Actual behavior

  • No file download is triggered.
  • No browser download prompt appears.
  • No loading state is shown.
  • No success or error message is displayed.
  • Clicking the export actions produces no visible result.

Scope

  • Suggested files or directories: Unknown (requires investigation)
  • Related route, page, component, or script:
    • Registry page
    • Intel Briefing page
    • Report export actions
    • Export/download handlers

Evidence

Observed export controls

  • HTML Export
  • CSV Export
  • PDF Report

Observed behavior

After clicking any export action:

  • No file is downloaded.
  • No feedback is shown to the user.
  • No visible action occurs.

Screenshots attached showing the Intel Briefing page and export controls.

Environment

  • OS: Windows 11
  • Browser: Google Chrome
  • Python Version: N/A (tested on deployed website)
  • Node Version: N/A
  • Docker Version: N/A

Definition of done

  • Bug is reproducible from the issue description
  • Root cause is identified and fixed
  • HTML Export generates and downloads a valid HTML report
  • CSV Export generates and downloads a valid CSV report
  • PDF Report generates and downloads a valid PDF report
  • Proper loading/error feedback is shown to users
  • Relevant tests are added or updated
  • Documentation is updated if required

Additional context

This issue concerns export actions that are already visible in the Intel Briefing interface but appear non-functional. The bug is focused on the existing export controls not triggering downloads or providing user feedback when clicked.

The issue was reproduced on the public SecuScan deployment using Google Chrome on Windows 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumImportant issue with normal urgencytype:bugBug fix work category bonus label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions