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.
- package/dist/entry.js +150 -148
- package/dist/helpers/sensitiveDataDetection/types.d.ts +33 -0
- package/dist/index.js +112 -110
- package/dist/types/analysis.types.d.ts +8 -1
- package/package.json +1 -1
|
@@ -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?: {
|