jfrog / jfrog/jfrog-cli-security

Add --silent option to disable console output

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

Nobody has claimed this yet.

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

Description

Problem:
We are using Jfrog cli in Jenkins (through the Jenkins Jfrog plugin) and when executing a docker scan it really produces a lot of lines which makes our Jenkins log really unreadable.

A scan result file is always created (and you can specify the format with --format ) but there are no options to silent the console output of the JF client.
(On the Jenkins jfrog plugin this option does not exist as well)

New feature
You could add a --silent option to the cli so it would only output to scan result file and not to console.

Alternative solutions
I know that you can always play with your execution environment (ie: a shell) to tweak the output of a command, but in our case it can't work because we have to use the Jenkins Jfrog plugin (that is itself using the jf cli) and can't directly call it in a shell script.

Native support of a silent option is ideal.

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 at the Docker scan command and its CLI option handling, then trace how scan output is written to the console and to the result file. Done means a --silent option suppresses console output while preserving the scan result file and its --format behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.