Skip to content

Commit d9c00a3

Browse files
committed
Add suppression for the new prompt wildcard permission
1 parent 4502cc1 commit d9c00a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export const nagSuppressions = (stack: Stack) => {
149149
appliesTo: [
150150
`Resource::arn:aws:lambda:eu-west-2:${account}:function:*`,
151151
`Resource::arn:aws:bedrock:eu-west-2:${account}:prompt/*`,
152+
`Resource::arn:aws:bedrock:eu-west-2:${account}:prompt/${stackName}-queryReformulation:*`,
152153
"Action::kms:GenerateDataKey*",
153154
"Action::kms:ReEncrypt*"
154155
]

0 commit comments

Comments
 (0)