mirror of
https://github.com/awslabs/iam-policy-autopilot.git
synced 2026-04-26 00:15:57 +03:00
[PR #16] [MERGED] Add resource cutoff #179
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/iam-policy-autopilot#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/awslabs/iam-policy-autopilot/pull/16
Author: @mschlaipfer
Created: 11/21/2025
Status: ✅ Merged
Merged: 11/24/2025
Merged by: @mschlaipfer
Base:
prerelease← Head:resource-cutoff📝 Commits (1)
9bf72ffAdd resource cutoff📊 Changes
1 file changed (+9 additions, -0 deletions)
View changed files
📝
iam-policy-autopilot-policy-generation/src/enrichment/resource_matcher.rs(+9 -0)📄 Description
Issue #, if available:
Description of changes: Do not add resources when there are more than
RESOURCE_CUTOFF(currently set to5). This prevents creating overly verbose policies at the expense of less precision. Particularlyec2:CreateTagswas affected (see https://servicereference.us-east-1.amazonaws.com/v1/ec2/ec2.json)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.