Create pull request based on data in SARIF file
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- github
- Bereich
- security
Rechercherichtung
Überprüfe den verlinkten ossf/scorecard-Issue 1850 und den hier beschriebenen Kontext von GitHub Code Scanning/SARIF; es werden keine Repository-Dateien oder Tests genannt. Kläre vor der Implementierung mit den Maintainer:innen die unterstützten Fix-Metadaten, den Kopier-Workflow, den Pull-Request-Workflow und das erforderliche Berechtigungsmodell.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The ossf/scorecard project will add recommended fixes for security issues in the SARIF file. In such cases,
- Is it possible to show a "Copy code snippet" button in the SARIF view in GitHub? So, the developer can copy the fixed file, and paste it in their code.
- Is it possible to have a "Create Pull Request" button feature that will create a PR based on the fix in the SARIF file?
It is possible to create an OAuth/Github App to create the PR, but the app will need write access to the repo (to create a branch), and we are trying to avoid creating an App with write access to the repo. Would be great if there was direct integration in the GitHub Code Scanning UI to create a PR/ enable copying code based on metadata in the SARIF file.
/cc @laurentsimon
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.6k
- Forks
- 493
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 44
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/codeql-action
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
github/codeql-action#4052 · 4 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
github/codeql-action#4078 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
github/codeql-action#4008 · 9 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
github/codeql-action#3978 · 4 Kommentare · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
github/codeql-action#3915 · 6 Kommentare · 3 Reaktionen ·
Alle Issues in github/codeql-action
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
modelcontextprotocol/inspector#2458 · 1 Kommentar ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
carbon-design-system/ibm-products#9907 ·