Insecure default: Should update db by default

Aperta
#478 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ruby
Ambito
cli, security

Direzione di ricerca

Start by reading the update behavior referenced in issue #259 and the command-line handling for the --update flag. The requested change is to update the database by default on each run; confirm the expected behavior and relevant tests before changing it. Done means the default updates the database on every run, with tests covering that behavior and any opt-out or explicit flag behavior.

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

Descrizione

In the upcoming 0.8.0 release the database will be auto-downloaded/auto-updated on every run, so this problem should hopefully go away.
https://github.com/rubysec/bundler-audit/issues/259#issuecomment-739047433

Seems like this never happened. I'm using 0.9.3 and it does not update on every run, merely on the first run.

IMO, this is an insecure default. Users should not have to remember to add --update flag.

Thanks for your work on an important gem. ❤️

Lingua principale
Ruby
Stelle
2.8k
Fork
243
Merge medio
1g 13h
PR unite (30g)
9

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 rubysec/bundler-audit

Tutte le issue di rubysec/bundler-audit

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.