SARIF and JUnit output for all scanners and validators

Abierto
#146 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
53/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
json, python
Área
ci-cd, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
220
Forks
54
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bmad-code-org/bmad-builder

Todos los issues de bmad-code-org/bmad-builder

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.