StackGuardian / StackGuardian/tirith

feat(output): name the resource address in every result

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

Result messages carry no per-resource identity, so a failing check across 30 buckets prints 30
indistinguishable lines, and no output surface reads per-resource meta (tui/results.py:183
returns an empty ResourceRef; platform/report.py:114 reads address). Attach meta.address to
results end to end — including the two ProviderError branches at
providers/terraform_plan/handler.py:117-130, or every resource missing an attribute collapses
into one anonymous group. Long-standing ask: #261. Largely delivered by #287 — this issue tracks
the meta-on-ProviderError remainder.

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 tui/results.py:183, platform/report.py:114, and the two ProviderError branches in providers/terraform_plan/handler.py:117-130. Trace how result metadata is passed through the output surfaces, then verify that meta.address remains available for normal results and both ProviderError cases. Done means per-resource failures no longer collapse into anonymous groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, terraform
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.