bug: cannot suppress Resource::* on IAM Role with managed policy that uses *-Resource #1481
Labels
guidance
Question that needs advice or information.
needs-reproduction
This issue needs reproduction
What is the problem?
I get an AwsSolutions-IAM5[Resource:**] error on a Role that is using the AWS managed policy AmazonECSTaskExecutionRolePolicy, even though I am suppressing it. The managed policy is using the *-Resource, which is the error I want to suppress.
Reproduction Steps
What did you expect to happen?
The error should be supressed.
What actually happened?
The error is still showing up, even with the applyToChildren option. The only way I could find to suppress it is to provide the full path with NagSuppressions.addResourceSuppressionsByPath.
cdk-nag version
2.27.167
Language
Typescript
Other information
No response
The text was updated successfully, but these errors were encountered: