/** * @type WafRule: * * @property ruleId: * - **Pattern:** /^.*$/ * * @property groupId: * - **Max Length:** 100 * * @property action: The action to apply to WAF rule * * @property defaultAction: The action to apply to WAF rule * * @property description: Description of the WAF Group. * - **Pattern:** /^.*$/ * */ export type WafRule = { ruleId?: string; groupId?: string; action: WafRuleActionEnum; defaultAction?: WafRuleDefaultActionEnum; description?: string; } & { [key: string]: any; }; export type WafRuleActionEnum = 'block' | 'challenge' | 'monitor' | 'disable' | 'default'; export type WafRuleDefaultActionEnum = 'block' | 'challenge' | 'monitor' | 'disable';