Skip to content

Commit 4b21082

Browse files
committed
Update nag suppressions for pr
1 parent e5e1894 commit 4b21082

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const nagSuppressions = (stack: Stack) => {
3636
// Suppress API Gateway validation warning for Apis construct
3737
safeAddNagSuppression(
3838
stack,
39-
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Resource",
39+
"/EpsAssistMeStack/Apis/EpsAssistApiGatewayPr/ApiGateway/Resource",
4040
[
4141
{
4242
id: "AwsSolutions-APIG2",
@@ -60,7 +60,7 @@ export const nagSuppressions = (stack: Stack) => {
6060
// Suppress unauthenticated API route warnings
6161
safeAddNagSuppression(
6262
stack,
63-
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Default/slack/ask-eps/POST/Resource",
63+
"/EpsAssistMeStack/Apis/EpsAssistApiGatewayPr/ApiGateway/Default/slack/ask-eps/POST/Resource",
6464
[
6565
{
6666
id: "AwsSolutions-APIG4",
@@ -76,7 +76,7 @@ export const nagSuppressions = (stack: Stack) => {
7676
// Suppress missing WAF on API stage for Apis construct
7777
safeAddNagSuppression(
7878
stack,
79-
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/DeploymentStage.prod/Resource",
79+
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGatewayPr/DeploymentStage.prod/Resource",
8080
[
8181
{
8282
id: "AwsSolutions-APIG3",
@@ -94,7 +94,7 @@ export const nagSuppressions = (stack: Stack) => {
9494
id: "AwsSolutions-IAM5",
9595
reason: "Bedrock Knowledge Base requires these permissions to access S3 documents and OpenSearch collection.",
9696
appliesTo: [
97-
"Resource::<StorageDocsBucketDocs0C9A9D9E.Arn>/*",
97+
"Resource::<StorageDocsBucketDocsPrE128DCFC.Arn>/*",
9898
"Action::bedrock:Delete*",
9999
"Resource::arn:aws:bedrock:eu-west-2:undefined:knowledge-base/*",
100100
"Resource::arn:aws:bedrock:eu-west-2:591291862413:knowledge-base/*",
@@ -147,7 +147,7 @@ export const nagSuppressions = (stack: Stack) => {
147147
// Suppress S3 server access logs for knowledge base documents bucket
148148
safeAddNagSuppression(
149149
stack,
150-
"/EpsAssistMeStack/Storage/DocsBucket/Docs/Resource",
150+
"/EpsAssistMeStack/Storage/DocsBucket/DocsPr/Resource",
151151
[
152152
{
153153
id: "AwsSolutions-S1",

0 commit comments

Comments
 (0)