Skip to content

Fix README least-privilege policy: cluster-residue actions#28

Merged
stxkxs merged 3 commits into
mainfrom
fix/audit-findings
Jun 7, 2026
Merged

Fix README least-privilege policy: cluster-residue actions#28
stxkxs merged 3 commits into
mainfrom
fix/audit-findings

Conversation

@stxkxs

@stxkxs stxkxs commented Jun 7, 2026

Copy link
Copy Markdown
Member

From the core-repos quality audit. The documented read-only IAM policy omitted the three actions the cluster-residue orphan scan calls (logs:DescribeLogGroups, events:ListRules, events:ListTagsForResource). The scan warns-and-skips on AccessDenied, so a user with exactly the documented role got silent data loss (missing orphan findings, no error) on a headline feature. Added the three; dropped servicequotas:ListServiceQuotas (documented but never called — only GetServiceQuota is used).

stxkxs added 3 commits June 7, 2026 09:40
From the core-repos quality audit. The documented read-only IAM policy omitted
the three actions the cluster-residue orphan scan calls — logs:DescribeLogGroups,
events:ListRules, events:ListTagsForResource. Because that scan is best-effort
(warns-and-skips on AccessDenied), a user with exactly the documented role got
silent data loss (missing orphan findings, no visible error) on a headline
feature. Added the three actions; dropped servicequotas:ListServiceQuotas, which
the policy listed but no code path calls (only GetServiceQuota is used).
The .goreleaser description (which generates the Homebrew formula desc) was
150 chars — over Homebrew's 80-char audit limit. Shortened to an AWS-native
one-liner under the limit.
@stxkxs stxkxs merged commit 2db1443 into main Jun 7, 2026
4 checks passed
@stxkxs stxkxs deleted the fix/audit-findings branch June 7, 2026 20:31
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.

1 participant