cdk-insights 1.2.7 → 1.2.9

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.
@@ -53,6 +53,13 @@ export type Issue = {
53
53
  property?: string;
54
54
  value?: string;
55
55
  expected?: string;
56
+ /**
57
+ * Privacy-preserving per-finding diagnostics (entropy score,
58
+ * value shape, matched pattern). Populated by the sensitive-data
59
+ * scanner so downstream tooling can surface why a value was flagged
60
+ * without ever exposing the value itself.
61
+ */
62
+ diagnostics?: Array<Record<string, unknown>>;
56
63
  };
57
64
  /** AI confidence score (1-10) for AI-generated findings. 10 = absolutely certain, 1 = speculative */
58
65
  aiConfidence?: number;
@@ -269,7 +276,7 @@ export type CloudFormationResourceProperties = {
269
276
  PublicPolicy?: {
270
277
  Statement: StatementParameter[];
271
278
  };
272
- Definition?: {
279
+ Definition?: string | {
273
280
  States?: Record<string, unknown>;
274
281
  };
275
282
  AttributeDefinitions?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdk-insights",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
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",