Skip to content

Commit

Permalink
more patching for wafv2 resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jan 14, 2020
1 parent 4618df2 commit b6d32b4
Show file tree
Hide file tree
Showing 15 changed files with 225 additions and 602 deletions.
54 changes: 11 additions & 43 deletions src/cfnlint/data/CloudSpecs/ap-northeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -26882,18 +26882,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.SingleHeader": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html",
"Properties": {
Expand Down Expand Up @@ -27371,18 +27359,6 @@
}
}
},
"AWS::WAFv2::WebACL.ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.FieldToMatch": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html",
"Properties": {
Expand Down Expand Up @@ -27456,9 +27432,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-excludedrules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "ExcludedRules",
"Type": "List",
"UpdateType": "Mutable"
},
"Name": {
Expand Down Expand Up @@ -27688,19 +27665,8 @@
"UpdateType": "Mutable"
},
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-excludedrules",
"Required": false,
"Type": "ExcludedRules",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
Expand Down Expand Up @@ -49940,9 +49906,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down Expand Up @@ -49998,9 +49965,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down
54 changes: 11 additions & 43 deletions src/cfnlint/data/CloudSpecs/ap-south-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -23972,18 +23972,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.SingleHeader": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html",
"Properties": {
Expand Down Expand Up @@ -24461,18 +24449,6 @@
}
}
},
"AWS::WAFv2::WebACL.ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.FieldToMatch": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html",
"Properties": {
Expand Down Expand Up @@ -24546,9 +24522,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-excludedrules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "ExcludedRules",
"Type": "List",
"UpdateType": "Mutable"
},
"Name": {
Expand Down Expand Up @@ -24778,19 +24755,8 @@
"UpdateType": "Mutable"
},
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-excludedrules",
"Required": false,
"Type": "ExcludedRules",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
Expand Down Expand Up @@ -45948,9 +45914,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down Expand Up @@ -46006,9 +45973,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down
54 changes: 11 additions & 43 deletions src/cfnlint/data/CloudSpecs/ap-southeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25268,18 +25268,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.SingleHeader": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html",
"Properties": {
Expand Down Expand Up @@ -25757,18 +25745,6 @@
}
}
},
"AWS::WAFv2::WebACL.ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.FieldToMatch": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html",
"Properties": {
Expand Down Expand Up @@ -25842,9 +25818,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-excludedrules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "ExcludedRules",
"Type": "List",
"UpdateType": "Mutable"
},
"Name": {
Expand Down Expand Up @@ -26074,19 +26051,8 @@
"UpdateType": "Mutable"
},
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-excludedrules",
"Required": false,
"Type": "ExcludedRules",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
Expand Down Expand Up @@ -47102,9 +47068,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down Expand Up @@ -47160,9 +47127,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down
54 changes: 11 additions & 43 deletions src/cfnlint/data/CloudSpecs/ap-southeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -26666,18 +26666,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.SingleHeader": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html",
"Properties": {
Expand Down Expand Up @@ -27155,18 +27143,6 @@
}
}
},
"AWS::WAFv2::WebACL.ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.FieldToMatch": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html",
"Properties": {
Expand Down Expand Up @@ -27240,9 +27216,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html",
"Properties": {
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-excludedrules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "ExcludedRules",
"Type": "List",
"UpdateType": "Mutable"
},
"Name": {
Expand Down Expand Up @@ -27472,19 +27449,8 @@
"UpdateType": "Mutable"
},
"ExcludedRules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-excludedrules",
"Required": false,
"Type": "ExcludedRules",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html",
"Properties": {
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrules.html#cfn-wafv2-webacl-excludedrules-excludedrules",
"ItemType": "ExcludedRule",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
Expand Down Expand Up @@ -49697,9 +49663,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rules.html#cfn-wafv2-rulegroup-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down Expand Up @@ -49755,9 +49722,10 @@
"UpdateType": "Mutable"
},
"Rules": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-rules",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rules.html#cfn-wafv2-webacl-rules-rules",
"ItemType": "Rule",
"Required": false,
"Type": "Rules",
"Type": "List",
"UpdateType": "Mutable"
},
"Scope": {
Expand Down
Loading

0 comments on commit b6d32b4

Please sign in to comment.