StackGuardian / StackGuardian/tirith

feat(platform): run local + platform policies in one `tirith platform check` invocation

Open
#312 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

A team adopting the platform should keep its local rules: accept -policy-path (files, git, packs)
alongside the platform run, evaluate the local set locally, and merge the two verdicts into one
exit code and one report (JSON/markdown/HTML), each finding labelled with its origin.

Acceptance. One invocation with both a local policy and platform policies produces a single
merged report and the correct combined exit code; a local-only failure gates even when the platform
run passes, and vice versa.

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 at the tirith platform check entry point and trace how -policy-path inputs, platform policies, verdicts, and JSON/markdown/HTML reports are handled. Verify the combined invocation with local and platform policies, including local-only and platform-only failures; done means one merged report labels each finding by origin and the combined exit code gates correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops, security
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.