cdk-insights 1.2.9 → 1.3.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.
@@ -12,6 +12,8 @@ export interface AnalyzeCommandArgs {
12
12
  reset?: boolean;
13
13
  failOnCritical?: boolean;
14
14
  ruleFilter?: string[];
15
+ ignoreRules?: string[];
16
+ ignorePaths?: string[];
15
17
  github?: boolean;
16
18
  redact?: boolean;
17
19
  summaryOnly?: boolean;
@@ -60,6 +62,22 @@ export interface UserConfig {
60
62
  feedback?: boolean;
61
63
  /** Sensitive data detection configuration */
62
64
  sensitiveDataDetection?: SensitiveDataDetectionConfig;
65
+ /**
66
+ * Rule IDs to suppress project-wide. Matched against `Issue.ruleId`
67
+ * — supports exact match or a trailing `*` wildcard (e.g.
68
+ * `CDK-INSIGHTS-SENSITIVE-*` suppresses every sensitive-data finding).
69
+ * Use this to silence rules that don't apply to your architecture
70
+ * instead of patching each call site.
71
+ */
72
+ ignoreRules?: string[];
73
+ /**
74
+ * Resource paths (CDK construct paths or logical IDs) to skip entirely.
75
+ * Matched against the resource's `aws:cdk:path` Metadata and its
76
+ * logical ID — supports exact match or trailing `*` wildcard. Use
77
+ * this to carve out a subtree of the template (e.g. an imported
78
+ * third-party construct whose findings are someone else's problem).
79
+ */
80
+ ignorePaths?: string[];
63
81
  cache?: {
64
82
  enabled?: boolean;
65
83
  ttl?: number;