Static Analysis
CDK Insights performs comprehensive static analysis of your CDK stacks, identifying security vulnerabilities, cost optimizations, and best practice violations.
How Static Analysis Works
CDK Insights analyzes your CDK application by:
- Running
cdk synthto generate CloudFormation templates - Parsing the CloudFormation output to understand your infrastructure
- Applying a comprehensive set of rules to identify issues
- Generating detailed reports with actionable recommendations
This approach ensures that we analyze exactly what AWS will deploy, not just your CDK code, giving you the most accurate results.
What Gets Analyzed
Security
Identifies security vulnerabilities and misconfigurations
Cost Optimization
Finds opportunities to reduce AWS costs
Best Practices
Enforces AWS and CDK best practices
Rule Sources
CDK Insights Rules
Custom rules specifically designed for CDK patterns and best practices
CDK Nag Rules
Integration with the popular CDK Nag security analysis tool
Understanding Severity Levels
Critical
Immediate security or compliance issues that should be fixed immediately
High
Security or configuration issues that should be addressed soon
Medium
Best practice violations or potential optimization opportunities
Low
Minor issues or suggestions for improvement
Example Analysis Output
Here's what a typical static analysis output looks like:
Ready to Run Your First Analysis?
Start with static analysis to identify security and configuration issues in your CDK stacks.