cdk-real-drift 0.12.28 → 0.12.29

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 CHANGED
@@ -926,7 +926,8 @@ function applyIgnores(findings, scope, config) {
926
926
  return {
927
927
  ...rest,
928
928
  tier: "ignored",
929
- note: `ignored by config rule "${hit.raw}"`
929
+ note: `ignored by config rule "${hit.raw}"`,
930
+ ...f.tier ? { ignoredFrom: f.tier } : {}
930
931
  };
931
932
  });
932
933
  }
@@ -12354,7 +12355,7 @@ function computeCompleteResources(allLogicalIds, findings, recorded, previousCom
12354
12355
  for (const f of findings) {
12355
12356
  if (f.tier === "skipped" || f.tier === "deleted" || f.tier === "readGap") blocked.add(f.logicalId);
12356
12357
  if (f.tier === "undeclared" && !recordedKeys.has(recordedKey(f))) blocked.add(f.logicalId);
12357
- if (f.tier === "ignored" && !recordedKeys.has(recordedKey(f))) blockedByIgnore.add(f.logicalId);
12358
+ if (f.tier === "ignored" && f.ignoredFrom === "undeclared" && !recordedKeys.has(recordedKey(f))) blockedByIgnore.add(f.logicalId);
12358
12359
  }
12359
12360
  const all = new Set(allLogicalIds);
12360
12361
  const complete = new Set(previousComplete.filter((id) => all.has(id) && !blockedByIgnore.has(id)));