Add a `sarif-out` input for code scanning
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, javascript
- Ambito
- devtools
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 7h 28m
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codepacct/codepact-action
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
codepacct/codepact-action#68 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
codepacct/codepact-action#67 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
codepacct/codepact-action#66 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 1/5 1-3 ore Idoneità per principianti 79/100
codepacct/codepact-action#65 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
codepacct/codepact-action#64 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codepacct/codepact-action
Issue simili
-
bug security
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
IbrahimHafez1/loadwise#251 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
erkamyaman/unslop-anything#421 ·
I maintainer di solito rispondono entro 1 giorno