Labels: type:feature, area:cli, priority:critical,
status:blocked, milestone:M5, phase:9
Summary
Wire the forkguard report subcommand to render scan results in the
requested format.
Acceptance criteria
Dependencies
Depends on: #25, #26, #27
Verification
./forkguard scan --fork test/fork-vulnerable
./forkguard report --scan 1 --format json --output /tmp/r.json
jq '.findings | length' /tmp/r.json
./forkguard report --scan 1 --format sarif --output /tmp/r.sarif
jq -r '.version' /tmp/r.sarif # outputs "2.1.0"
./forkguard report --scan 1 --format table
This completes Milestone M5.
Milestone M6: Demo, Release Engineering & v0.1
Labels:
type:feature,area:cli,priority:critical,status:blocked,milestone:M5,phase:9Summary
Wire the
forkguard reportsubcommand to render scan results in therequested format.
Acceptance criteria
forkguard report --scan <id> --format {json,sarif,table} [--output <path>]table--outputis omitted, writes to stdout--outputis provided, writes to fileDependencies
Depends on: #25, #26, #27
Verification
This completes Milestone M5.
Milestone M6: Demo, Release Engineering & v0.1