StackGuardian / StackGuardian/tirith

feat(cli): SARIF output — `--format sarif`

Open
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
165
Forks
42
Avg merge
1d 3h
Merged PRs (30d)
11

Description

One output format that GitHub code scanning, GitLab, SonarQube, Wiz, Prisma and Aqua all ingest —
it converts most of the integrations wishlist into documentation. Map policy → rule, per-resource
result → result with meta.address as the location, meta.severity → level. Requires the
resource-address work (R1) so locations exist.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the resource-address work (R1), since the issue requires addresses for SARIF locations, then trace the existing CLI output path. Implement the --format sarif mapping from policy to rule, per-resource results to results, meta.address to location, and meta.severity to level; done means the output is ingestible by the listed SARIF consumers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.