Skip to content

Commit e01a8ff

Browse files
committed
Adding suppression for AwsSolutions-L1 CDK-NAG check as the workshop hasn't been upgraded to Java 25 yet - will be removed when version upgrade is complete
1 parent 42c261e commit e01a8ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labs/unicorn-store/infrastructure/cdk/src/main/java/com/unicorn/UnicornStoreApp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public static void main(final String[] args) {
5959
new NagPackSuppression.Builder().id("AwsSolutions-APIG3").reason("Workshop API Gateways do not need AWS WAF assigned").build(),
6060
new NagPackSuppression.Builder().id("AwsSolutions-EC23").reason("Not needed").build(),
6161
new NagPackSuppression.Builder().id("AwsSolutions-RDS13").reason("Workshop Database does not need backups").build(),
62-
new NagPackSuppression.Builder().id("CdkNagValidationFailure").reason("Suppress warnings see: https://github.com/cdklabs/cdk-nag/issues/817").build()
62+
new NagPackSuppression.Builder().id("CdkNagValidationFailure").reason("Suppress warnings see: https://github.com/cdklabs/cdk-nag/issues/817").build(),
63+
new NagPackSuppression.Builder().id("AwsSolutions-L1").reason("Workshop not upgraded to Java 25 yet").build()
6364
);
6465

6566
NagSuppressions.addStackSuppressions(infrastructureStack, suppression);

0 commit comments

Comments
 (0)