cdk-insights 0.4.8-beta.0-beta.20251203193437 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **AI-powered AWS CDK analysis tool** for developers and teams.
4
4
  Scan your AWS CDK stacks for **security vulnerabilities, cost optimization opportunities, and best practice issues**.
5
- Unlike tools like **cdk-nag**, CDK Insights adds **AI-powered recommendations** for smarter cloud infrastructure improvements.
5
+ Integrating and building upon tool like **cdk-nag**, CDK Insights adds **AI-powered recommendations** for smarter cloud infrastructure improvements.
6
6
 
7
7
  👉 Learn more at [cdkinsights.dev](https://cdkinsights.dev)
8
8
 
package/dist/cli/entry.js CHANGED
@@ -82289,7 +82289,8 @@ async function authenticateUser(licenseKey, fingerprint, project2) {
82289
82289
  url: loginUrl,
82290
82290
  method: "POST",
82291
82291
  headers: {
82292
- "x-cdk-insights-fingerprint": fingerprint ? "[REDACTED]" : "undefined"
82292
+ "x-cdk-insights-fingerprint": fingerprint ? "[REDACTED]" : "undefined",
82293
+ "x-cdk-insights-client": "cli"
82293
82294
  },
82294
82295
  body: {
82295
82296
  licenseKey: licenseKey ? "[REDACTED]" : "undefined",
@@ -82302,7 +82303,8 @@ async function authenticateUser(licenseKey, fingerprint, project2) {
82302
82303
  { licenseKey, project: project2 },
82303
82304
  {
82304
82305
  headers: {
82305
- "x-cdk-insights-fingerprint": fingerprint
82306
+ "x-cdk-insights-fingerprint": fingerprint,
82307
+ "x-cdk-insights-client": "cli"
82306
82308
  },
82307
82309
  timeout: 1e4
82308
82310
  }
@@ -92698,7 +92700,8 @@ var hasGhCli = () => {
92698
92700
  var buildHeaders = (authToken, fingerprint) => ({
92699
92701
  Authorization: `Bearer ${authToken}`,
92700
92702
  "Content-Type": "application/json",
92701
- "x-cdk-insights-fingerprint": fingerprint
92703
+ "x-cdk-insights-fingerprint": fingerprint,
92704
+ "x-cdk-insights-client": "cli"
92702
92705
  });
92703
92706
  var createAnalyzeResource = (axiosClient, apiUrl) => async (stackName, resourceId, resourceData, resourceType, authToken, fingerprint, _existingFindings, progressTracker, onAuthRefresh) => {
92704
92707
  const MAX_ATTEMPTS = 30;
package/dist/index.js CHANGED
@@ -58722,7 +58722,8 @@ var hasGhCli = () => {
58722
58722
  var buildHeaders = (authToken, fingerprint) => ({
58723
58723
  Authorization: `Bearer ${authToken}`,
58724
58724
  "Content-Type": "application/json",
58725
- "x-cdk-insights-fingerprint": fingerprint
58725
+ "x-cdk-insights-fingerprint": fingerprint,
58726
+ "x-cdk-insights-client": "cli"
58726
58727
  });
58727
58728
  var createAnalyzeResource = (axiosClient, apiUrl) => async (stackName, resourceId, resourceData, resourceType, authToken, fingerprint, _existingFindings, progressTracker, onAuthRefresh) => {
58728
58729
  const MAX_ATTEMPTS = 30;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdk-insights",
3
- "version": "0.4.8-beta.0-beta.20251203193437",
3
+ "version": "0.5.0",
4
4
  "description": "AWS CDK security and cost analysis tool with AI-powered insights",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",