Skip to main content
CDK InsightsDocumentation
Everything you need to find security issues, cost waste, and misconfigurations in your CDK stacks - from first scan to CI/CD integration.
Start Scanning in 30 Seconds
No signup. No API keys. One command and you're finding issues.
1
Try it immediately
Run CDK Insights without any installation
npx cdk-insights scan2
Install in your project
Add CDK Insights to your CDK project
npm install --save-dev cdk-insights3
Add convenience scripts
Add npm scripts to your package.json for easier usage
{
"scripts": {
"scan": "cdk-insights scan"
}
}Documentation
Comprehensive guides for every aspect of CDK Insights
Getting Started
Learn the basics and get up and running quickly
Features
Explore CDK Insights powerful analysis capabilities
- Static AnalysisWhat gets analyzed
- Diff ModeTrack only new findings since baseline
- Infrastructure IntelligencePreview, graph, simulate, govern and compare live state
- Plan AdvisorEstimate credits from estate size and Git history
- Architecture DocumentationGenerate Markdown and Mermaid from cdk.out
- Incident LearningTurn incidents into preventive local rules
- MCP IntegrationConnect CDK intelligence to compatible assistants
- Auto-FixMechanical remediations on demand
- AI RecommendationsAI-powered insights
- AI Models5 Bedrock models, transparent credits per model
- Output FormatsTable, JSON, Markdown, SARIF & more
- Watch ModeRe-scan on save while you code
- GitHub IntegrationCreating issues from findings
- GitHub ActionPR comments, SARIF upload, merge gates
- Scan HistoryUpload runs to your dashboard
- PDF ReportsShareable analytics exports
- Team ManagementSeats, roles, and shared credits
Configuration
Customize CDK Insights for your workflow
Advanced
Power user features and integrations
Troubleshooting
Fix common problems and decode error messages
Examples
Sample output and recommended patterns
What is your AWS CDK hiding?
145 rules. 36 AWS services. Free forever via npm - no account needed. Run your first scan and find out.