StackGuardian / StackGuardian/tirith

feat(cli): a default policy library — best-practice policies applied implicitly

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

When no -policy-path is given, run a curated built-in pack so tirith scan plan.json says
something useful out of the box. Gate it with --fail-on-severity so the default is not a wall of
red, and keep -policy-path as a full override.

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 by tracing the CLI handling for tirith scan plan.json, especially how -policy-path and --fail-on-severity are currently processed. Define the built-in policy pack, its implicit activation, severity gating, and full override behavior; done means a scan without -policy-path produces useful results without an overly strict default, while an explicit path replaces the pack.

Written by the indexing model from the issue text.

Assessment

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