Skip to content

Commit bba70d6

Browse files
update: add app command for test
1 parent 43cbf63 commit bba70d6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ export const nagSuppressions = (stack: Stack) => {
4545
safeAddNagSuppression(
4646
stack,
4747
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Default/slack/events/POST/Resource",
48+
[
49+
{
50+
id: "AwsSolutions-APIG4",
51+
reason: "Slack event endpoint is intentionally unauthenticated."
52+
},
53+
{
54+
id: "AwsSolutions-COG4",
55+
reason: "Cognito not required for this public endpoint."
56+
}
57+
]
58+
)
59+
60+
// Suppress unauthenticated API route warnings
61+
safeAddNagSuppression(
62+
stack,
63+
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Default/slack/commands/POST/Resource",
4864
[
4965
{
5066
id: "AwsSolutions-APIG4",

0 commit comments

Comments
 (0)