cdk-insights 1.41.2 → 1.41.3
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.
|
@@ -8,10 +8,18 @@ export declare const CDK_CONSTRUCT_ANNOTATIONS_PLUGIN_NAME = "Construct Annotati
|
|
|
8
8
|
/** Plugin name our own `CdkInsightsPolicyValidationPlugin` reports under. */
|
|
9
9
|
export declare const CDK_INSIGHTS_PLUGIN_NAME = "cdk-insights";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Filename of the unified validation report. CDK writes this name
|
|
12
|
+
* unconditionally on current versions; the legacy
|
|
13
|
+
* `policy-validation-report.json` is only written when the user sets the
|
|
14
|
+
* `@aws-cdk/core:validationReportJson` context flag.
|
|
13
15
|
*/
|
|
14
|
-
export declare const VALIDATION_REPORT_FILENAME = "
|
|
16
|
+
export declare const VALIDATION_REPORT_FILENAME = "validation-report.json";
|
|
17
|
+
/**
|
|
18
|
+
* Legacy report filename, written by older aws-cdk-lib versions (and by
|
|
19
|
+
* current ones behind the `@aws-cdk/core:validationReportJson` flag). Used
|
|
20
|
+
* as a fallback when the unified report is absent.
|
|
21
|
+
*/
|
|
22
|
+
export declare const LEGACY_VALIDATION_REPORT_FILENAME = "policy-validation-report.json";
|
|
15
23
|
/**
|
|
16
24
|
* Normalized record of a single violating resource. Either `constructPath`
|
|
17
25
|
* or `resourceLogicalId` will usually be present (CDK guarantees one;
|
|
@@ -50,8 +58,9 @@ export interface ParseValidationReportOptions {
|
|
|
50
58
|
*/
|
|
51
59
|
readonly cdkOutDir?: string;
|
|
52
60
|
/**
|
|
53
|
-
* Override the report filename. Mostly useful for tests;
|
|
54
|
-
*
|
|
61
|
+
* Override the report filename. Mostly useful for tests; when omitted,
|
|
62
|
+
* the unified `validation-report.json` is preferred and the legacy
|
|
63
|
+
* `policy-validation-report.json` is used as a fallback.
|
|
55
64
|
*/
|
|
56
65
|
readonly filename?: string;
|
|
57
66
|
/**
|
|
@@ -74,6 +74,9 @@ export declare const buildAnalysisReport: (stackName: string, summary: AnalysisS
|
|
|
74
74
|
frames?: import("../../types/analysis.types").Frame[];
|
|
75
75
|
} | undefined;
|
|
76
76
|
stackName: string | undefined;
|
|
77
|
+
ruleId: string | undefined;
|
|
78
|
+
seenInSynth: boolean | undefined;
|
|
79
|
+
validationPluginName: string | undefined;
|
|
77
80
|
}[];
|
|
78
81
|
}[];
|
|
79
82
|
};
|
|
@@ -153,6 +156,9 @@ export declare const writeAnalysisReport: (stackName: string, summary: AnalysisS
|
|
|
153
156
|
frames?: import("../../types/analysis.types").Frame[];
|
|
154
157
|
} | undefined;
|
|
155
158
|
stackName: string | undefined;
|
|
159
|
+
ruleId: string | undefined;
|
|
160
|
+
seenInSynth: boolean | undefined;
|
|
161
|
+
validationPluginName: string | undefined;
|
|
156
162
|
}[];
|
|
157
163
|
}[];
|
|
158
164
|
};
|