Skip to content

Commit

Permalink
Update CloudFormation Specs to 69.0.0 (#2261)
Browse files Browse the repository at this point in the history
* Update CloudFormation Specs to 69.0.0
* patch in AWS::Rekognition::StreamProcessor.List

Co-authored-by: kddejong <kddejong@users.noreply.github.com>
Co-authored-by: Kevin DeJong <kddejong@amazon.com>
  • Loading branch information
3 people authored May 13, 2022
1 parent c381e5f commit 1954560
Show file tree
Hide file tree
Showing 75 changed files with 39,859 additions and 15,902 deletions.
3 changes: 2 additions & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running
## Rules
(_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_)

The following **146** rules are applied by this linter:
The following **147** rules are applied by this linter:

| Rule ID | Title | Description | Config<br />(Name:Type:Default) | Source | Tags |
| -------- | ----- | ----------- | ---------- | ------ | ---- |
Expand Down Expand Up @@ -135,6 +135,7 @@ The following **146** rules are applied by this linter:
| [E3503<a name="E3503"></a>](../src/cfnlint/rules/resources/certificatemanager/DomainValidationOptions.py) | ValidationDomain is superdomain of DomainName | In ValidationDomainOptions, the ValidationDomain must be a superdomain of the DomainName being validated | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain) | `certificate`,`certificatemanager`,`domainvalidationoptions`,`validationdomain` |
| [E3504<a name="E3504"></a>](../src/cfnlint/rules/resources/backup/BackupPlanLifecycleRule.py) | Check minimum 90 period is met between BackupPlan cold and delete | Check that Backup plans with lifecycle rules have >= 90 days between cold and delete | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html) | `properties`,`backup`,`plan`,`lifecycle` |
| [E4001<a name="E4001"></a>](../src/cfnlint/rules/metadata/InterfaceConfiguration.py) | Metadata Interface have appropriate properties | Metadata Interface properties are properly configured | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html) | `metadata` |
| [E4002<a name="E4002"></a>](../src/cfnlint/rules/metadata/Config.py) | Validate the configuration of the Metadata section | Validates that Metadata section is an object and has no null values | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html) | `metadata` |
| [E5001<a name="E5001"></a>](../src/cfnlint/rules/resources/Modules.py) | Check that Modules resources are valid | Check that Modules resources are valid | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/) | `resources`,`modules` |
| [E6001<a name="E6001"></a>](../src/cfnlint/rules/outputs/Configuration.py) | Outputs have appropriate properties | Making sure the outputs are properly configured | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html) | `outputs` |
| [E6002<a name="E6002"></a>](../src/cfnlint/rules/outputs/Required.py) | Outputs have required properties | Making sure the outputs have required properties | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html) | `outputs` |
Expand Down
86 changes: 23 additions & 63 deletions src/cfnlint/data/AdditionalSpecs/Policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,8 @@
]
},
"AWS Certificate Manager Private Certificate Authority": {
"ARNFormat": "arn:aws:acm-pca:<region>:<account_ID>:<arn_type>/<resource_id>",
"ARNRegex": "^arn:aws:acm-pca:.+:[0-9]+:.+",
"ARNFormat": "arn:${Partition}:acm-pca:${Region}:${Account}:${ARNType}/${ResourceId}",
"ARNRegex": "^arn:${Partition}:acm-pca:.+:[0-9]+:.+",
"Actions": [
"CreateCertificateAuthority",
"CreateCertificateAuthorityAuditReport",
Expand Down Expand Up @@ -1562,7 +1562,7 @@
]
},
"AWS CodeCommit": {
"ARNFormat": "arn:aws:codecommit:<region>:<account_ID>:<repository_name>",
"ARNFormat": "arn:aws:codecommit:${Region}:${Account}:${RepositoryName}",
"ARNRegex": "^arn:aws:codecommit:.+",
"Actions": [
"AssociateApprovalRuleTemplateWithRepository",
Expand Down Expand Up @@ -4001,6 +4001,7 @@
"RemoveThingFromThingGroup",
"ReplaceTopicRule",
"RetainPublish",
"RotateTunnelAccessToken",
"SearchIndex",
"SetDefaultAuthorizer",
"SetDefaultPolicyVersion",
Expand Down Expand Up @@ -4051,6 +4052,7 @@
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys",
"iot:ClientMode",
"iot:Delete",
"iot:DomainName",
"iot:ThingGroupArn",
Expand Down Expand Up @@ -5667,6 +5669,7 @@
"GetPrivateConnectivityConfig",
"GetSite",
"GetSiteAddress",
"ListAssets",
"ListCatalogItems",
"ListOrders",
"ListOutposts",
Expand Down Expand Up @@ -5950,8 +5953,8 @@
]
},
"AWS Resource Access Manager": {
"ARNFormat": "arn:aws:ram:${Region}:${AccountId}:resource-share/${ResourceUUID}",
"ARNRegex": "^arn:aws:ram:.+:.+:.+",
"ARNFormat": "arn:${Partition}:ram:${Region}:${AccountId}:resource-share/${ResourceUUID}",
"ARNRegex": "^arn:${Partition}:ram:.+:.+:.+",
"Actions": [
"AcceptResourceShareInvitation",
"AssociateResourceShare",
Expand Down Expand Up @@ -6136,6 +6139,7 @@
"PutUserWorkspaceSettings",
"TagResource",
"UntagResource",
"UpdateAccountExportSettings",
"UpdateChart",
"UpdateConnection",
"UpdateFileFolder",
Expand Down Expand Up @@ -7299,8 +7303,8 @@
"StringPrefix": "trustedadvisor"
},
"AWS WAF": {
"ARNFormat": "arn:aws:waf::<account_ID>:<resource>/<resource_id>",
"ARNRegex": "^arn:aws:waf::[0-9]+:.+/.+",
"ARNFormat": "arn:${Partition}:waf::${Account}:${ResourceId}/${Id}",
"ARNRegex": "^arn:${Partition}:waf::[0-9]+:.+/.+",
"Actions": [
"CreateByteMatchSet",
"CreateGeoMatchSet",
Expand Down Expand Up @@ -7389,8 +7393,8 @@
]
},
"AWS WAF Regional": {
"ARNFormat": "arn:aws:waf-regional:<region>:<account_ID>:<resource>/<resource_id>",
"ARNRegex": "^arn:aws:waf-regional:.+:[0-9]+:.+/.+",
"ARNFormat": "arn:${Partition}:waf-regional:${Region}:${Account}:${ResourceId}/${Id}",
"ARNRegex": "^arn:${Partition}:waf-regional:.+:[0-9]+:.+/.+",
"Actions": [
"AssociateWebACL",
"CreateByteMatchSet",
Expand Down Expand Up @@ -7483,8 +7487,8 @@
]
},
"AWS WAF V2": {
"ARNFormat": "arn:aws:wafv2:${Region}:${Account}:${Scope}/${ResourceType}/${ResourceName}/${ResourceId}",
"ARNRegex": "^arn:aws:wafv2:.+:.+:.+/.+/.+/.+",
"ARNFormat": "arn:${Partition}:wafv2:${Region}:${Account}:${Scope}/${ResourceType}/${ResourceName}/${ResourceId}",
"ARNRegex": "^arn:${Partition}:wafv2:.+:.+:.+/.+/.+/.+",
"Actions": [
"AssociateWebACL",
"CheckCapacity",
Expand Down Expand Up @@ -9605,8 +9609,8 @@
]
},
"Amazon DynamoDB Accelerator (DAX)": {
"ARNFormat": "arn:aws:dax:${Region}:${Account}:cache/${ClusterName}",
"ARNRegex": "^arn:aws:dax:.+:[0-9]+:cache/[a-zA-Z0-9_.-]+",
"ARNFormat": "arn:${Partition}:dax:${Region}:${Account}:cache/${ClusterName}",
"ARNRegex": "^arn:${Partition}:dax:.+:[0-9]+:cache/[a-zA-Z0-9_.-]+",
"Actions": [
"BatchGetItem",
"BatchWriteItem",
Expand Down Expand Up @@ -12956,8 +12960,8 @@
"StringPrefix": "kafkaconnect"
},
"Amazon Managed Workflows for Apache Airflow": {
"ARNFormat": "arn:aws:<serviceName>:<region>:<account>:<resourceType>/<resourceName>",
"ARNRegex": "^arn:aws:airflow:.+",
"ARNFormat": "arn:aws:airflow:${Region}:${Account}:${ResourceType}/${ResourceName}",
"ARNRegex": "^arn:aws:airflow:.+:.+:.+",
"Actions": [
"CreateCliToken",
"CreateEnvironment",
Expand Down Expand Up @@ -13537,6 +13541,7 @@
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys",
"ses:ApiVersion",
"ses:FeedbackAddress",
"ses:FromAddress",
"ses:FromDisplayName",
Expand Down Expand Up @@ -14924,7 +14929,7 @@
]
},
"Amazon SES": {
"ARNFormat": "arn:${Partition}:ses:${Region}:${Account}:${resourceType}/${resourceId}",
"ARNFormat": "arn:${Partition}:ses:${Region}:${Account}:${ResourceType}/${ResourceId}",
"ARNRegex": "^arn:${Partition}:ses:.+:[0-9]+:.+",
"Actions": [
"CloneReceiptRuleSet",
Expand Down Expand Up @@ -15002,6 +15007,7 @@
"HasResource": true,
"StringPrefix": "ses",
"conditionKeys": [
"ses:ApiVersion",
"ses:FeedbackAddress",
"ses:FromAddress",
"ses:FromDisplayName",
Expand Down Expand Up @@ -15503,6 +15509,7 @@
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys",
"ses:ApiVersion",
"ses:FeedbackAddress",
"ses:FromAddress",
"ses:FromDisplayName",
Expand Down Expand Up @@ -15916,53 +15923,6 @@
"HasResource": false,
"StringPrefix": "workdocs"
},
"Amazon WorkLink": {
"ARNFormat": "arn:${Partition}:worklink::${Account}:${ResourceType}/${ResourcePath}",
"ARNRegex": "^arn:${Partition}:worklink:.+",
"Actions": [
"AssociateDomain",
"AssociateWebsiteAuthorizationProvider",
"AssociateWebsiteCertificateAuthority",
"CreateFleet",
"DeleteFleet",
"DescribeAuditStreamConfiguration",
"DescribeCompanyNetworkConfiguration",
"DescribeDevice",
"DescribeDevicePolicyConfiguration",
"DescribeDomain",
"DescribeFleetMetadata",
"DescribeIdentityProviderConfiguration",
"DescribeWebsiteCertificateAuthority",
"DisassociateDomain",
"DisassociateWebsiteAuthorizationProvider",
"DisassociateWebsiteCertificateAuthority",
"ListDevices",
"ListDomains",
"ListFleets",
"ListTagsForResource",
"ListWebsiteAuthorizationProviders",
"ListWebsiteCertificateAuthorities",
"RestoreDomainAccess",
"RevokeDomainAccess",
"SearchEntity",
"SignOutUser",
"TagResource",
"UntagResource",
"UpdateAuditStreamConfiguration",
"UpdateCompanyNetworkConfiguration",
"UpdateDevicePolicyConfiguration",
"UpdateDomainMetadata",
"UpdateFleetMetadata",
"UpdateIdentityProviderConfiguration"
],
"HasResource": true,
"StringPrefix": "worklink",
"conditionKeys": [
"aws:RequestTag/${TagKey}",
"aws:ResourceTag/${TagKey}",
"aws:TagKeys"
]
},
"Amazon WorkMail": {
"ARNFormat": "arn:${Partition}:workmail:${Region}:${Account}:${ResourceType}/${ResourceId}",
"ARNRegex": "^arn:${Partition}:workmail:.+:.+:.+",
Expand Down
Loading

0 comments on commit 1954560

Please sign in to comment.