jfrog / jfrog/jfrog-cli-security
JAS scan - Add additional fields : CWE and CVSS vectors
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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