Skip to content

Add SARIF export for secret scanning#19

Merged
nagasatish007 merged 1 commit into
agentguard-ai:mainfrom
lleonardo-franco:feature/sarif-secret-scanning
May 26, 2026
Merged

Add SARIF export for secret scanning#19
nagasatish007 merged 1 commit into
agentguard-ai:mainfrom
lleonardo-franco:feature/sarif-secret-scanning

Conversation

@lleonardo-franco
Copy link
Copy Markdown
Contributor

Summary

  • export TealSecrets findings as GitHub Code Scanning-compatible SARIF with stable detector rule IDs, detector metadata, file regions, and partial fingerprints
  • add tealtiger scan <file-or-directory> --format sarif --output results.sarif and ensure the published CLI bundle contains its scan dependencies
  • document SARIF scanning, add an Actions upload example, and cover exporter and CLI behavior with tests

Validation

  • npx tsc --noEmit
  • npm run build:types
  • npm test -- --runInBand --no-watchman (95 suites, 2368 tests)
  • node dist/cli/test.js scan src/cli/__tests__/scan.test.ts --format sarif --output /private/tmp/tealtiger-122-results.sarif

Resolves agentguard-ai/tealtiger#122

@nagasatish007 nagasatish007 merged commit 74308a2 into agentguard-ai:main May 26, 2026
0 of 10 checks passed
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.

Build SARIF export for TealSecrets findings with IDE integration

2 participants