Skip to content

feat(cli): add optional human-readable scan output #22

@HEETMEHTA18

Description

@HEETMEHTA18

Problem
Bumblebee currently emits NDJSON only, which is great for automation but hard to read during manual scans. When running bumblebee scan interactively, it would be useful to have a prettier terminal view for summaries and findings.

Proposed change
Add an optional human-readable output mode for the CLI that keeps the default NDJSON behavior unchanged.
The first version can focus on:

  • colorized severity/status text in terminal output
  • a clearer end-of-scan summary
  • a compact table view for findings or summary counts
  • better error messages for common CLI failures

Important constraints

  • Do not change the default stdout NDJSON format
  • Keep existing scan_summary and JSON record output intact for automation
  • Prefer a minimal implementation and avoid adding runtime dependencies unless maintainers want them
  • Add or update tests for the new formatting/flag behavior

Acceptance criteria

  • Default bumblebee scan behavior is unchanged
  • Users can opt into human-readable output
  • Summary output is easier to read in a terminal
  • Tests cover the new mode and preserve existing behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions