From 04524130feee41b217f2adc067695070917aebfd Mon Sep 17 00:00:00 2001 From: Kevin Chan Date: Thu, 17 Oct 2024 16:28:43 +1100 Subject: [PATCH] feat(serverless): declerative grammar Co-authored-by: Arun Donti --- src/packs/serverless.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packs/serverless.ts b/src/packs/serverless.ts index 69b058d39e..f509f1a374 100644 --- a/src/packs/serverless.ts +++ b/src/packs/serverless.ts @@ -44,7 +44,7 @@ export class ServerlessChecks extends NagPack { */ private checkLambda(node: CfnResource) { this.applyRule({ - info: 'The Lambda function should have tracing set to Tracing.ACTIVE', + info: 'The Lambda function does not have tracing set to Tracing.ACTIVE', explanation: 'When a Lambda function has ACTIVE tracing, Lambda automatically samples invocation requests, based on the sampling algorithm specified by X-Ray.', level: NagMessageLevel.WARN,