Query: increase size of code-snippet context exported in SARIF?
Offen
question
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
**Description of the issue**
How to modify --[no-]sarif-add-snippets to show more context? Currently, it only displays 2 lines by default.
Beitragsleitfaden
Rechercherichtung
Start by locating the --[no-]sarif-add-snippets option and the SARIF export path where the current two-line context is determined. Clarify the desired context size, then verify generated SARIF output includes the expanded snippet context.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- security
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100