You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a global table with replication regions specified. When NAGs are applied, the CDK NAG validation fails with below error
@aws-cdk--aws-dynamodb.ReplicaProvider/Provider/waiter-state-machine/Role/DefaultPolicy/Resource] AwsSolutions-IAM5[Resource::<ProviderframeworkonTimeout0B47CA38.Arn>:*]: The IAM entity contains wildcard permissions and does not have a cdk-nag rule suppression with evidence for those permission.
My Global DDB table code is as follows .. if I comment out replicationRegions I dont get any error. What is the problem here?
No CDK Nag errors should be reported when below suppressions are added
NagSuppressions.addStackSuppressions(
dataStack,
[
{ id: 'AwsSolutions-IAM4', reason: 'Allow the use of AWS managed policies.'},
{ id: 'AwsSolutions-IAM5', reason: 'Suppress roles/policies with wildcard permissions since some wildcard permissions are needed.' },
{ id: 'AwsSolutions-S1', reason: 'S3 Server access logs not to be enabled at this time.' },
{ id: 'AwsSolutions-DDB3', reason: 'DDB point-in-time recovery not to be enabled at this time.' }
]
);
What actually happened?
I see errors
/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider/waiter-state-machine/Role/DefaultPolicy/Resource] AwsSolutions-IAM5[Resource::<ProviderframeworkonTimeout0B47CA38.Arn>:*]: The IAM entity contains wildcard permissions and does not have a cdk-nag rule suppression with evidence for those permission.
cdk-nag version
2.27.150
Language
Typescript
Other information
No response
The text was updated successfully, but these errors were encountered:
What is the problem?
Hi,
I have a global table with replication regions specified. When NAGs are applied, the CDK NAG validation fails with below error
My Global DDB table code is as follows .. if I comment out
replicationRegions
I dont get any error. What is the problem here?Reproduction Steps
What did you expect to happen?
No CDK Nag errors should be reported when below suppressions are added
What actually happened?
I see errors
cdk-nag version
2.27.150
Language
Typescript
Other information
No response
The text was updated successfully, but these errors were encountered: