Skip to content

Commit

Permalink
feat(serverless): declerative grammar
Browse files Browse the repository at this point in the history
Co-authored-by: Arun Donti <dontirun@gmail.com>
  • Loading branch information
Kevinwochan and dontirun authored Oct 17, 2024
1 parent 3fd6a50 commit 0452413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packs/serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0452413

Please sign in to comment.