jfrog / jfrog/jfrog-cli-security

JAS scan - Add additional fields : CWE and CVSS vectors

Open
#294 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

Is your feature request related to a problem? Please describe.
When running jf docker scan : --format=simplejson, we don't get the CWEs and CVSS vectors

Describe the solution you'd like to see
As behind the scene, we're calling the Xray api GET /api/v1/scan/graph/?include_vulnerabilities=true
and it does return these fields, we should include them in the final response

Describe alternatives you've considered
NA

Additional context
NA

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 jf docker scan : --format=simplejson flow and trace its use of the Xray GET /api/v1/scan/graph/?include_vulnerabilities=true response. Identify where the final simplejson response is assembled, then include the returned CWE and CVSS vector fields and verify that both appear in the output.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.