Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Specific lines of violation or list of code snippets #580

Open
Aaron-Garrett opened this issue Oct 22, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Aaron-Garrett
Copy link

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

I would like for the output to give me specific code and line number for the Action that is failing the CloudFormation guard check on an IAM role instead of just pointing me to the line the policy/role starts on.

Describe alternatives you've considered

The way it is now get the job done, but could just be more efficient for the end-user. I don't think there is any way to set up the rules so that it fails on a specific action rather than failing the whole managed policy.

Additional context

Add any other context or screenshots about the feature request here.

@Aaron-Garrett Aaron-Garrett added the enhancement New feature or request label Oct 22, 2024
@joshfried-aws
Copy link
Contributor

Hey @Aaron-Garrett,

Thanks for the suggestion, this is something we're going to have to talk over with the team a bit before committing to anything here. It's my understanding this is what we're attempting to do already, but its hard to have it super accurate here (what happens when the queries are invalid, what happens when they dont exist, etc) .

We will update this ticket later when we decide on a way forward here.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants