Skip to content

feat(tools): export a scan and search findings across scans - #42

Merged
strantalis merged 2 commits into
mainfrom
feat/export-and-search
Nov 14, 2026
Merged

strantalis merged 2 commits into
mainfrom
feat/export-and-search

Conversation

@strantalis

Copy link
Copy Markdown
Owner

What

  • security_export: writes a completed scan's findings as SARIF, CSV or JSON, or its threat model as Markdown, through the SDK's exportArtifact(). Asks permission first; defaults to the Downloads folder unless given an absolute path.
  • security_find_findings: searches the findings of every saved scan by words, severity, CWE or path, newest scan first. Matches omit code evidence, like security_scan_results.

Verified

  • npm run check (104 tests).
  • All four export formats under OpenCode's Bun runtime against a real saved scan.
  • Both tools called from a real OpenCode session (auto-approved, so the permission prompt itself was not seen in Desktop).

🤖 Generated with Claude Code

https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X

strantalis and others added 2 commits November 14, 2026 17:43
security_export writes a completed scan's findings as SARIF, CSV or JSON,
or its threat model as Markdown, through the SDK's exporter, after asking
permission. security_find_findings searches the findings of every saved
scan by words, severity, CWE or path.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X
@strantalis
strantalis merged commit c3906cc into main Nov 14, 2026
12 checks passed
@strantalis
strantalis deleted the feat/export-and-search branch November 14, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant