jfrog / jfrog/jfrog-cli-security

Audit/Scan - Logs are interfering with the output table

Open
#352 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
13
Forks
50
Avg merge
3d 48m
Merged PRs (30d)
26

Description

Describe the bug
On commands that produce a table output, in some cases logs are print in the middle of the table, which breaks its structure.
This probably happens due to the fact that the logs are printed to stdErr and the table to stdOut.

To Reproduce
Currently easily reproduced on Azure Devops with the build-scan / audit tasks.

Expected behavior
All logs are print before or after the table.

Screenshots
image

Versions

  • JFrog CLI version: 2.9.0
  • JFrog CLI operating system: macOS
  • Latest version of both of the Azure DevOps Artifactory/JFrog Extensions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the build-scan and audit commands, reproducing the issue in Azure DevOps with the JFrog CLI and Artifactory/Azure DevOps extensions. Inspect how logs use stderr while table output uses stdout; done means logs appear entirely before or after the table without breaking its structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.