Linkedin

  • Home >
  • Check AWS CDK applications or CloudFormation templates for best practices by using cdk-nag rule packs

Check AWS CDK applications or CloudFormation templates for best practices by using cdk-nag rule packs

Project Overview

Project Detail

This pattern explains how you can use the cdk-nag utility to check AWS Cloud Development Kit (AWS CDK) applications for best practices by using a combination of rule packs. cdk-nag is an open-source project that was inspired by cfn_nag. It implements rules in evaluation packs such as AWS Solutions Library, Health Insurance Portability and Accountability Act (HIPAA), and National Institute of Standards and Technology (NIST) 800-53 by using AWS CDK Aspects. You can check your AWS CDK applications for best practices by using the rules in these packs, detect and remediate code based on best practices, and suppress the rules that you don’t want to use in your evaluations. 

You can also use cdk-nag to check your AWS CloudFormation templates by using the cloudformation-include module.

https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/check-aws-cdk-applications-or-cloudformation-templates-for-best-practices-by-using-cdk-nag-rule-packs.html?did=pg_card&trk=pg_card

To know more about this project connect with us

Check AWS CDK applications or CloudFormation templates for best practices by using cdk-nag rule packs