import type { ServiceCheckKey, Severity, WAFPillars } from './analysis.types'; export type ComplianceFramework = 'SOC2' | 'HIPAA' | 'PCI-DSS' | 'CIS' | 'NIST'; export type RuleMetadata = { ruleId: string; /** * Former ruleIds this rule was published under. Suppressions * (.cdk-insights.json ignoreRules, Validations.acknowledge) written against * a legacy id keep working — the suppression matcher consults these. */ legacyRuleIds?: string[]; checkKey: ServiceCheckKey; name: string; description: string; severity: Severity; wafPillar: WAFPillars; awsDocUrl?: string; complianceFrameworks?: ComplianceFramework[]; remediationSteps?: string[]; resourceTypes: string[]; }; export type RuleRegistry = Record;