mirror of
https://github.com/hohn/sarif-cli.git
synced 2026-05-14 11:19:28 +02:00
Implement sarif-browser, a Python/Tkinter application for browsing and viewing SARIF (Static Analysis Results Interchange Format) files with the following features: - File list panel: Auto-discovers and displays .sarif files in CWD and data/ directory as clickable buttons - Results viewer: Displays formatted SARIF results with: - Rule ID, message, severity level, and file locations - Code snippets with syntax highlighting for flagged regions - Complete code flow paths (SOURCE -> STEP -> SINK) for taint analysis - Related locations - Search functionality: - Regular expression search with real-time highlighting - Case-sensitive/insensitive toggle via checkbox - Navigate matches with Find/Next buttons - Visual feedback (gold for matches, orange for current) - Color-blind friendly highlighting: - Cyan (#4FC3F7) for SARIF code regions - Gold (#FFD700) for search matches - Orange (#FFA500) for current search match The browser provides an efficient way to explore large SARIF files without external tools, supporting both simple results and complex path-sensitive analysis output. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
8 lines
60 B
Plaintext
8 lines
60 B
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "."
|
|
}
|
|
],
|
|
"settings": {}
|
|
} |