Skip to content

Commit

Permalink
Update src/packs/nzism-v36-1022-20.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Arun Donti <dontirun@gmail.com>
  • Loading branch information
mrpackethead and dontirun authored Sep 20, 2023
1 parent 3c09623 commit 99df78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packs/nzism-v36-1022-20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export class NZISM36Checks extends NagPack {

private checkLambda(node: CfnResource) {
this.applyRule({
info: 'The Lambda function permission grants public access - (Control IDs: MUST 19.1.12.C.01[CID:3562], MUST 23.4.10.C.01[CID:7466])',
info: 'The Lambda function permission grants public access - (Control IDs: MUST(19.1.12.C.01[CID:3562], 23.4.10.C.01[CID:7466]))',
explanation:
'Public access allows anyone on the internet to perform unauthenticated actions on your function and can potentially lead to degraded availability.',
level: NagMessageLevel.ERROR,
Expand Down

0 comments on commit 99df78c

Please sign in to comment.