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

Upgrading to jfrog-cli 4.5.8 from 4.5.6 broke `jf audit` with workspaces

Aperta
#274 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions
Ambito
ci-cd, security

Direzione di ricerca

Inizia riproducendo jf audit con JFrog CLI 4.5.8 in un progetto npm workspace eseguito tramite GitHub Actions, quindi confronta il comportamento con 4.5.6. L’issue è completata quando l’audit termina senza errori ENOWORKSPACES durante la scansione delle dipendenze del workspace.

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

Descrizione

bug
Describe the bug

When running a previously working pipeline that called jf audit after upgrading to v4.5.8 I encountered ENOWORKSPACES errors attempting to validate my projects dependencies.

I believe this can be remedied by specifying the folder to scan, but this was not previously required and represents a breaking change.

Current behavior

From Github Actions

[Info] Performing scans on 17 targets:
[
  {
    "target": "/home/runner/work/REDACTED",
    "technology": "npm"
  },
  {
    "target": "/home/runner/work/REDACTED",
    "technology": "npm"
  },
// ... and many more
]
[Info] Not entitled for JAS, skipping advance security scans...
[Info] Calculating npm dependencies...
npm error code ENOWORKSPACES
npm error This command does not support workspaces.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-05-12T18_56_40_031Z-debug-0.log
// ... and many more
Reproduction steps

run jf audit in a project that uses workspaces with jfcli v4.5.8

Expected behavior

The audit completes

Setup JFrog CLI version

4.5.8

JFrog CLI version

4.5.8

Workflow operating system type and version

Linux

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

Lingua principale
TypeScript
Stelle
266
Fork
110
Merge medio
3g 15h
PR unite (30g)
3

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/setup-jfrog-cli

Tutte le issue di jfrog/setup-jfrog-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.