feat: analysis results browsing, --object flag, improved object list (v0.2.0)#6
Open
giovannialberto wants to merge 5 commits intomainfrom
Open
feat: analysis results browsing, --object flag, improved object list (v0.2.0)#6giovannialberto wants to merge 5 commits intomainfrom
giovannialberto wants to merge 5 commits intomainfrom
Conversation
628bce8 to
6d14cc5
Compare
06fcb19 to
881366d
Compare
…c compliance New commands: - scan overview: summary of all analyses with finding counts by severity - scan results: browse findings for any analysis type (CVE, malware, hardening, capabilities, crypto, software-bom, kernel, password-hash, info, symbols, tasks) with pagination and search - scan compliance --type <TYPE>: view compliance check results for any supported standard (cra, red33). Replaces the old scan cra command. - scan compliance-report --type <TYPE>: download compliance report PDF. Replaces the old scan cra-report command. Improvements: - All scan commands now accept --object as alternative to --scan, automatically resolving the object's most recent scan - All output uses consistent plain formatted style with colored, fixed-width columns - -O/--output for report/sbom/compliance-report (frees -o for --object) - Removed comfy-table dependency Version bumped to 0.2.0. README updated with full documentation.
881366d to
5d05e45
Compare
krsh
reviewed
Feb 23, 2026
krsh
approved these changes
Feb 24, 2026
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
This PR adds the ability to browse scan analysis results directly from the CLI, adds an
--objectshortcut flag to all scan commands, and improves the object list display.New commands
scan overview— summary of all analyses with finding counts by severity (critical, high, medium, low)scan results --analysis <TYPE>— browse findings for any analysis type with pagination (--page,--per-page) and search (--search). Supports all 12 analysis types: cve, password-hash, malware, hardening, capabilities, crypto, software-bom, kernel, info, symbols, tasks, stack-overflowscan cra— view CRA (Cyber Resilience Act) compliance check results inline with pass/fail/not-applicable status per requirementImprovements
--objectflag on all scan commands — instead of looking up a scan ID first, pass--object <OBJECT_ID>and the CLI resolves the most recent scan automatically. Works on: status, score, overview, results, cra, report, sbom, cra-report[brackets]below the name-O/--outputfor report/sbom/cra-report (frees-ofor--object)Output
All new commands support
--format jsonfor machine-readable output alongside the default human-friendly colored display.Changes
src/client/models.rs— 440+ lines of new API models (ScanOverview, AnalysisResults, 11 finding types, CRA models, AnalysisType enum)src/client/mod.rs— 3 new client methods (get_scan_overview, get_analysis_results, get_cra_compliance)src/commands/scan.rs— 520+ lines: resolve_scan_id helper, run_overview, run_results, run_cra, 11 type-specific rendererssrc/commands/object.rs— redesigned plain-text object listsrc/main.rs— 3 new subcommands, --object/--scan on 8 existing commandssrc/output.rs— severity_cell, bool_cell, cra_status_cell helpersCargo.toml— version bump to 0.2.0README.md— full documentation updateAll changes tested against the live Analyzer API.