cloudformation-guard icon indicating copy to clipboard operation
cloudformation-guard copied to clipboard

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

Open Aaron-Garrett opened this issue 1 year ago • 1 comments

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 avatar Oct 22 '24 14:10 Aaron-Garrett

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,

joshfried-aws avatar Nov 25 '24 17:11 joshfried-aws