cdk-real-drift 0.12.23 → 0.12.25
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.js +2 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1865,6 +1865,7 @@ const KNOWN_DEFAULTS = {
|
|
|
1865
1865
|
},
|
|
1866
1866
|
"AWS::S3::Bucket": {
|
|
1867
1867
|
VersioningConfiguration: { Status: "Suspended" },
|
|
1868
|
+
AccelerateConfiguration: { AccelerationStatus: "Suspended" },
|
|
1868
1869
|
AbacStatus: "Disabled",
|
|
1869
1870
|
PublicAccessBlockConfiguration: {
|
|
1870
1871
|
RestrictPublicBuckets: true,
|
|
@@ -6053,7 +6054,7 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
6053
6054
|
if (!isObjectForm || /tags$/i.test(parentKey)) return;
|
|
6054
6055
|
}
|
|
6055
6056
|
const schemaPath = path.replace(/\[[^\]]*\]/g, ".*");
|
|
6056
|
-
const tier = schemaPath in schema.defaultPaths && matchesKnownDefault(value, schema.defaultPaths[schemaPath]) || schemaPath in knownDefPaths && matchesKnownDefault(value, knownDefPaths[schemaPath]) || (KNOWN_DEFAULT_ONE_OF_PATHS[resourceType]?.[schemaPath]?.some((d) => matchesKnownDefault(value, d)) ?? false) || dynamoGsiWarmThroughputAtDefault(resourceType, path, value, live) ? "atDefault" : generatedPaths.includes(schemaPath) && isPhysicalIdSegment(value, physicalId) || generatedNestedPaths?.has(schemaPath) && !(schemaPath in knownDefPaths) && (!(schemaPath in (MANAGED_KEY_ALIAS_PATHS[resourceType] ?? {})) || shouldFoldManagedServiceKey(resourceType, schemaPath, value, opts.kmsAliasTargets)) ? "generated" : "undeclared";
|
|
6057
|
+
const tier = schemaPath in schema.defaultPaths && matchesKnownDefault(value, schema.defaultPaths[schemaPath]) || schemaPath in knownDefPaths && matchesKnownDefault(value, knownDefPaths[schemaPath]) || (KNOWN_DEFAULT_ONE_OF_PATHS[resourceType]?.[schemaPath]?.some((d) => matchesKnownDefault(value, d)) ?? false) || dynamoGsiWarmThroughputAtDefault(resourceType, path, value, live) || resourceType === "AWS::Events::EventBusPolicy" && schemaPath === "Statement.*.Sid" && typeof value === "string" && value === declared["StatementId"] ? "atDefault" : generatedPaths.includes(schemaPath) && isPhysicalIdSegment(value, physicalId) || generatedNestedPaths?.has(schemaPath) && !(schemaPath in knownDefPaths) && (!(schemaPath in (MANAGED_KEY_ALIAS_PATHS[resourceType] ?? {})) || shouldFoldManagedServiceKey(resourceType, schemaPath, value, opts.kmsAliasTargets)) ? "generated" : "undeclared";
|
|
6057
6058
|
const freeFormKey = tier === "undeclared" && underFreeFormMap(schemaPath);
|
|
6058
6059
|
findings.push({
|
|
6059
6060
|
tier,
|