Skip to content

Commit 35e317d

Browse files
authored
Fix: [AEA-0000] - Restore the StatefulStack nag suppressions (#258)
## Summary - Routine Change ### Details - Restore the required StatefulStack nag suppressions
1 parent 6f48105 commit 35e317d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,28 @@ export const nagSuppressions = (stack: Stack) => {
2020
]
2121
)
2222

23+
safeAddNagSuppression(
24+
stack,
25+
"/StatefulStack/Cognito/UserPoolDomain/CloudFrontDomainName/CustomResourcePolicy/Resource",
26+
[
27+
{
28+
id: "AwsSolutions-IAM5",
29+
reason: "Suppress error for wildcard permissions. This is an auto generated one for cognito domain"
30+
}
31+
]
32+
)
33+
34+
safeAddNagSuppression(
35+
stack,
36+
"/StatefulStack/AWS679f53fac002430cb0da5b7982bd2287/ServiceRole/Resource",
37+
[
38+
{
39+
id: "AwsSolutions-IAM4",
40+
reason: "Suppress error for using AWS managed policy. This is an auto generated one for cognito domain"
41+
}
42+
]
43+
)
44+
2345
safeAddNagSuppressionGroup(
2446
stack,
2547
[

0 commit comments

Comments
 (0)