SARIF and JUnit output for all scanners and validators

Aperta
#146 0 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
53/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, python
Ambito
ci-cd, tooling

Direzione di ricerca

Start by reading scan-path-standards.py, scan-scripts.py, the prepass scripts, quick_validate.py, and validate-module.py to see how each currently emits findings. Then identify how their findings represent file, line, severity, title, and action, and how shared helpers are vendored. Done means all listed tools accept --format {json,sarif,junit}, preserve JSON as the default, and produce SARIF results or JUnit test cases with failures.

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

Descrizione

Describe your idea

Add --format {json,sarif,junit} to scan-path-standards.py, scan-scripts.py, the prepass scripts, quick_validate.py and validate-module.py.

Why is this needed?

Teams adopting the builders want their skills checked in CI. SARIF shows findings inline on GitHub PRs through code scanning upload, and JUnit shows them in any CI test tab. Today everyone writes their own JSON-to-report glue.

How should it work?

A shared emit(findings, fmt) helper (vendored like the others) mapping file/line/severity/title/action onto SARIF results and JUnit testcase + failure. Keep JSON as the default so the LLM flow is unchanged.

PR

Happy to help implement this if the direction is agreed.

Lingua principale
Python
Stelle
220
Fork
54
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 bmad-code-org/bmad-builder

Tutte le issue di bmad-code-org/bmad-builder

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.