Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

jf docker scan Fails Consistently on Previously Working Images Since 23/10/25

Aperta
#730 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, go
Ambito
api, cli, security

Direzione di ricerca

Inizia riproducendo jf docker scan con --licenses --format=simple-json e esamina i log di debug allegati, concentrandoti sulla risposta di Xray che segnala “violation doesn't have any components”. Segui il punto di ingresso dell’analisi della risposta della CLI e verifica il completamento rispetto all’output JSON previsto e all’esecuzione che funzionava in precedenza.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Describe the bug

Hi,

On 25/10/21, we ran the following command successfully:
jf docker scan ${{ parameters.image }} --licenses --format=simple-json > ${{ parameters.outputFolder }}/${{ parameters.reportFilenamePrefix }}.jfrog.json
It worked without any issues, as it normally does.

However, on 23/10/25, we ran the same command with a different image, and it failed. Initially, we thought the problem was with the new image. But when we reran the exact same command as on 21/10/25 with the original image, it failed as well.

We have reproduced this issue locally multiple times, and it now occurs consistently.
Please find attached the debug logs from the failing runs for your reference.

Current behavior

➜ athena git:(dev) ✗ JFROG_CLI_LOG_LEVEL=DEBUG jf docker scan lightruncom/webapp:1.70.2-release.8c297ca52b --licenses --format=simple-json
16:50:58 [Debug] JFrog CLI version: 2.81.0
16:50:58 [Debug] OS/Arch: darwin/arm64
16:50:58 [Debug] Trace ID for JFrog Platform logs: 7efe466e22b4fa7b
16:50:58 [Debug] Using server-id configuration
16:50:58 [Debug] Sending HTTP GET request to: https://lightrun2024.jfrog.io/xray/api/v1/system/version
16:50:58 [Debug] Xray version: 3.131.4
16:50:58 [Debug] Sending HTTP GET request to: https://lightrun2024.jfrog.io/xray/api/v1/xsc/system/version
16:50:59 [Debug] XSC version: 3.999.999
16:50:59 [🔵Info] Log path: /Users/amitshkoory/.jfrog/logs/jfrog-cli.2025-10-26.16-50-59.77261.log
16:51:16 [🔵Info] Trace ID for JFrog Platform logs: 7efe466e22b4fa7b
16:51:16 [🚨Error] failed while parsing the response from Xray: violation doesn't have any components

jfrog-cli.2025-10-26.16-50-59.77261.log
debug-logs.log

Reproduction steps

latest jfrog cli version
+
jf docker scan ${{ parameters.image }} --licenses --format=simple-json > ${{ parameters.outputFolder }}/${{ parameters.reportFilenamePrefix }}.jfrog.json

Expected behavior

A log from working ran is attached.

JFrog CLI version

2.81.0

Operating system type and version

Linux

JFrog Artifactory version

SaaS

JFrog Xray version

SaaS

Lingua principale
Go
Stelle
13
Fork
50
Merge medio
3g 48m
PR unite (30g)
26

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jfrog/jfrog-cli-security

Tutte le issue di jfrog/jfrog-cli-security

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.