Add a `sarif-out` input for code scanning
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, javascript
- Área
- devtools
Línea de trabajo
Start with src/action.js, src/sarif.js, and test/sarif.test.js to trace how findings are read and how the action handles inputs. Implement the sarif-out flow across the listed files, then run npm test -- test/sarif.test.js. Done means the output validates as SARIF 2.1.0, contains a rule and result for each finding, preserves file paths and lines, and the README documents the upload step.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
Annotations disappear once a pull request is merged. A SARIF file uploaded to GitHub code scanning keeps findings in the Security tab and gives the team a history.
Scope
action.ymlsrc/action.jssrc/sarif.jstest/sarif.test.jsREADME.md
Acceptance criteria
-
sarif-outwrites a SARIF 2.1.0 file with one rule per finding rule and one result per finding. - Locations use the file path and line already in the finding.
- The file validates against the SARIF schema.
- The README shows the upload step with
github/codeql-action/upload-sarif.
Verification
npm test -- test/sarif.test.js
Complexity
Large (1-2 days)
Part of Stellar Wave. Comment to claim this issue before starting.
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 7 h 28 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codepacct/codepact-action
-
documentation good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
codepacct/codepact-action#68 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
codepacct/codepact-action#67 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
codepacct/codepact-action#66 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 1/5 1-3 horas Aptitud para principiantes 79/100
codepacct/codepact-action#65 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
codepacct/codepact-action#64 ·
Los mantenedores suelen responder en 1 día
Todos los issues de codepacct/codepact-action
Issues similares
-
bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
IbrahimHafez1/loadwise#251 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
erkamyaman/unslop-anything#421 ·
Los mantenedores suelen responder en 1 día