cdk-insights 1.25.5 → 1.26.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/dist/cli/types/cli.types.d.ts +16 -0
- package/dist/entry.js +185 -185
- package/dist/index.d.ts +4 -1
- package/dist/index.js +75 -75
- package/dist/shared/scanHistory/buildScanReport.d.ts +16 -0
- package/dist/shared/scanHistory/buildScanReport.test.d.ts +1 -0
- package/dist/shared/scanHistory/scanHistoryClient.d.ts +43 -0
- package/dist/shared/scanHistory/scanHistoryClient.test.d.ts +1 -0
- package/dist/types/scanReport.types.d.ts +174 -0
- package/package.json +2 -1
|
@@ -134,6 +134,22 @@ export interface UserConfig {
|
|
|
134
134
|
telemetry?: {
|
|
135
135
|
enabled?: boolean;
|
|
136
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* Scan history. Default is OFF — when `enabled: true` the CLI uploads
|
|
139
|
+
* the full scan report (all stacks, all findings) to the user's CDK
|
|
140
|
+
* Insights account at the end of every `analyse` run. Findings can
|
|
141
|
+
* then be viewed at https://cdkinsights.dev/dashboard/scans/{scanId}.
|
|
142
|
+
*
|
|
143
|
+
* Privacy posture: scans are scoped to a sha256-hashed license id
|
|
144
|
+
* server-side, encrypted at rest, and TTL-deleted per the user's
|
|
145
|
+
* configured retention. Resource names, code snippets, and source
|
|
146
|
+
* paths from the user's CDK app are part of the report — same data
|
|
147
|
+
* the CLI prints to stdout when `--output json` is set. The user has
|
|
148
|
+
* authenticated via `cdk-insights login` and explicitly opted in.
|
|
149
|
+
*/
|
|
150
|
+
scanHistory?: {
|
|
151
|
+
enabled?: boolean;
|
|
152
|
+
};
|
|
137
153
|
[key: string]: unknown;
|
|
138
154
|
}
|
|
139
155
|
export interface AnalysisSuccess {
|