1
0

Compare commits

63 Commits

Author SHA256 Message Date
48056668d6 Accepting request 1315501 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1315501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=29
2025-11-04 17:43:42 +00:00
685437a6ba - Update to 1.40.4
* Patch boto process to cover shap mismatch boto to schema
  * Update CloudFormation schemas to `2025-10-31`
- from version 1.40.3
  * Update CloudFormation schemas to `2025-10-27`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=61
2025-11-04 13:18:36 +00:00
f19bc8dc65 Accepting request 1311542 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1311542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=28
2025-10-16 15:38:53 +00:00
6f60f8c3c3 - Update to 1.40.2
* Update the `UpdatePolicy` schema
  * Update gitsync schema parameter types
  * State Machine Unit Test: Fix another StartAt typo
  * Update CloudFormation schemas to `2025-10-13`
- from 1.40.1
  * Update `nodejs18.x` lifecycle dates in `LmbdRuntimeLifecycle.json` to
    match official AWS Docs
  * Update integration tests
  * State Machine Unit Test: Fix `StartAt` typo
  * Update CloudFormation schemas to `2025-10-09`
  * Remove format patching for Cloud9 `ImageId`
- from version 1.40.0
  * increase sqs MaximumMessageSize maximum value
  * chore(deps): bump actions/setup-python from 5 to 6
  * chore(deps): bump pyinstaller from 6.15.0 to 6.16.0 in /requirements
  * Migrate from MarkedLoader to (C)SafeLoader
  * Update CloudFormation schemas to 2025-09-29
- from version 1.39.1
  * Remove rule (E3056)
  * Update CloudFormation schemas to `2025-08-26`
  * Reformat format keyword in some json files
  * Update StateMachine map to support legacy `Iterator`
  * Add output to Statemachine choice
  * Update SAM transform URI replacement to allow `Fn::If`
  * SAM transform comma lists to array
  * Update (I3510) to skip dynamic references
- from version 1.39.0
  * Optimize rule filtering performance
  * Improved handling of directories for --list-templates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=59
2025-10-15 20:04:36 +00:00
e02e0ac30d Accepting request 1250521 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1250521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=27
2025-03-06 13:48:58 +00:00
36c723b75d - Update to 1.27.0
* Update rule W8003 to include always false
  * Pass parameters to ForEachCollection processing
  * Add Assign to appropriate state machine options
  * Replace parameters when both transforms are used
  * Allow for debug in .cfnlintrc file
  * Add rule E1041 to validate Ref format
  * Update rule E2015 to have the Default value be a str
  * Cleanup boto patching and include min/max
  * Add rule E3501 to validate AWS::SQS::Queue properties based on the queue type
  * Add rule E3502 to validate AWS::SQS::Queue DLQ types match
  * Add TRUE to list of strings that can be boolean true
  * Allow asterisks for rule I3042
  * Update I1022 to allow functions
  * Add rule W1051 to validate if dynamic reference when ARN
  * Provide configuration for exceptions to E3019
  * Deprecate py3.8
  * Update lambda eol dates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=57
2025-03-06 03:05:40 +00:00
56e2809a76 Accepting request 1226387 from devel:languages:python:aws
- Update to 1.20.0, summary of the changes:
  ###### Features
  * Switch from `awsType` to `cfnLint` @kddejong
  * Add `dependentExcluded` keyword to json schema validation
  * Add `requiredXor` keyword to json schema validation
  * Allow for integration the configuration of additional registry schemas
  * Add in `enum` values from botocore
  * Add many JSON schemas to provide additional validation
  * Add json schema for CW Alarm period when in the AWS namespace
  * Include launch template security group schema
  ##### Fixes
  * Enhanced monitoring can be configured on aurora clusters
  * Update `Fn::FindInMap` resolver to handle `Ref` to psedueparams
  * Create a new jsonschema keyword `enumCaseInsensitive`
  * Add `additionalProperties` false to IAM conditions
  * Expand boto auto detection to include sub properties
  * Add logic for `AWS::EC2::Subnet.Id` format
  * Update language extensions `Fn::ForEach` for empty lists
  * Support Python 3.13
  * Make an exception for DocDB Cluster Port return type
  * Dynamically determine Account ID during transform
  * Move `requireXor` to `SpotFleetRequestConfigData`
  * Bring back stateful resources json
  * Add `MinActiveInstancesPercent` to `AutoScalingRollingUpdate`
  * Update `requiredXor` for Vpc and Subnets
  * Exception for lambda authorizer uri
  * Allow for secretsmanager dynamic refs in `Parameter` defaults
  * Move KMS validation for `SSESpecification` on Tables
  * Return Symbol instead of None on Fn::Equals logic
  * Remove handlers and tagging/permissions from specs

OBS-URL: https://build.opensuse.org/request/show/1226387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=26
2024-11-26 19:55:56 +00:00
1bd1e7e257 - Update to 5.0.16, partial changes:
* EC2: create_network_acl_entry() now supports the Ipv6CidrBlock-parameter
  * GuardDuty: create_detector() now supports the Features-parameter
  * RDS: modify_option_groups() now correctly parses OptionsToInclude
  * SNS: publish() and publish_batch now support MessageStructure=json
  * WAFv2: associate_web_acl() now allows any resource to be associated
  * DynamoDB: get/delete/update_item() now validates all provided keys exist
  * S3: put_object() now support conditional writes
  * CognitoIDP: Enhanced support for MFA flows/challenges
  * DynamoDB: update_item() now validates empty string sets
  * EC2: describe_snapshots() now supports the kms-key-id filter
  * EC2: run_instances() now supports the parameter Ipv6AddressCount
  * ECS: Tasks can now be created with unknown security groups
  * IAM: generate_credentials_report() now shows active certificates
  * KMS: sign() now supports Alias ARNs
  * Route53: list_resource_record_sets() now validates record names
  * S3: create_bucket() now has additional LocationConstraint-validation
  * S3: delete_objects() now respects BucketPolicy and ObjectLocks
  * S3: head_object() now handles Range-parameter correctly
  * SageMaker: search() now supports the CONTAINS filter
  * SNS: Signature of HTTP Messages are now valid
  * SQS: delete_message_batch() now validates there's at least one entry
  * ACM-PCA: create_certificate_authority() now uses the provided Subject
  * Athena: The default work group now has the correct configuration
  * Autoscaling: update_group() now validates that the Group exists
  * Batch: now supports parameters in Job commands
  * CloudFormation: describe_stacks() now returns export names in the Outputs
  * CloudFormation: AWS::Events::Rule's now also creates/deletes Targets
  * CognitoIDP: sign_up() now returns CodeDeliveryDetails
  * EventBridge: create_connection() now creates a KMS Secret

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=55
2024-11-26 02:33:38 +00:00
fc839a3e36 Accepting request 1186476 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1186476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=25
2024-07-10 14:49:51 +00:00
d28adf812d Accepting request 1176740 from devel:languages:python:aws
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1176740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=24
2024-05-24 17:53:26 +00:00
79cc8dbd59 Accepting request 1174854 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.87.2
  * Update CloudFormation specs to 173.0.0 (#3215)
  * Ignore_bad_template and E0000 based ignore checks (#3226)
  * Validate GetAtts are to a list when being used for a list (#3224)
- from version 0.87.1
  * Update CloudFormation specs to 172.0.0 (#3181)
  * Continue to walk the FindInMap components in transform (#3203)
  * Fix an issue with nested  in schema (#3189)
  * GitHub - Make sure to grab xml files (#3202)
  * Full paths for files being uploaded (#3201)
  * Move clone to another folder (#3200)
  * Checkout the appropriate sha (#3199)
  * move back to 3 (#3197)
  * GitHub - Import fs (#3196)
  * GHA - Set PR numbers for forked repos (#3195)
  * Exclude github folder (#3194)
  * Specify files (#3193)
  * Provide more overrides and details to the codecov action (#3191)
  * Skip secondary key check when using language transform (#3190)
  * add AWS::Kinesis::Stream to stateful resource list (#3188)
  * Remove files to see if they are auto discovered (#3187)
  * Fix an issue with gha coverage uploader (#3186)
  * commonize on xml format (#3185)
  * Add in gha github token (#3184)
  * Download artifacts from a different run (#3183)
  * More github action changes (#3182)
  * New github action flow (#3180)
- from version 0.87.0
  * Update CloudFormation specs to 171.0.0 (#3160)
  * When using a list param in foreach pass back select

OBS-URL: https://build.opensuse.org/request/show/1174854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=51
2024-05-20 10:29:01 +00:00
29902a09b3 Accepting request 1148886 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1148886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=23
2024-02-22 19:58:23 +00:00
24a2172cd7 Accepting request 1146433 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.85.1
  * Update CloudFormation specs to `158.0.0` (#3039)
  * Fix an issue with using SAM and a GetAtt (#3042)
- from version 0.85.0
  * Update rule (E3027) to validate rate periods (#3017)
  * Add support new language extension foreach capabilities `&{parameter}` (#3033)
  * Passthrough metadata into SAM translator (#3030)
  * Switch to using path and resource names for directives (#3035)
  * Update CloudFormation specs to `156.0.0` (#3029)
- from version 0.84.0
  * Update CloudFormation specs to `154.0.0` (#3005)
  * Add db.serverless to neptune instance classes (#3009)
  * Drop python 3.7 support (#3005)
- from version 0.83.8
  * Update CloudFormation specs to `153.0.0` (#2986)
  * Remove rule (E2506) which results in false positive (#3001)
  * Return dict str_node when doing transform (#2996)
- from version 0.83.7
  * Update CloudFormation specs to `152.0.0` (2984)
  * Add `ca-west-1` region (#2980)
- from version 0.83.6
  * Update CloudFormation specs to `151.0.0` (#2969)
  * Fix LanguageTransformer to better handle `Fn::GetAtt`
    dot notation in `Fn::Sub` (#2974)
  * Update rule (E2530) and (I2530) to support regionality
    of the `SnapStart` feature (#2973)
- from version 0.83.5
  * Update CloudFormation specs to `150.0.0` (#2963)
  * Patch in `TargetObjectKeyFormat` for `AWS::S3::Bucket` (#2966)
  * Update rule (E3013) to ignore dynamic references

OBS-URL: https://build.opensuse.org/request/show/1146433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=49
2024-02-21 21:20:04 +00:00
1f954f76a0 Accepting request 1132514 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1132514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=22
2023-12-11 20:51:53 +00:00
ff8fd4ffee Accepting request 1132077 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.83.4
  * Update CloudFormation specs to `149.0.0` (#2951)
  * Add `KeyID` as a target for `TargetKeyId` (#2953)
- from version 0.83.3
  * Update CloudFormation specs to include `python3.12` (#2947)
- from version 0.83.2
  * Update CloudFormation specs to `148.0.0` (#2942)
  * Add in `LoadBalancerArn` to `LoadBalancerV2Arn` (#2936)
- from version 0.83.1
  * Update CloudFormation specs to `146.0.0` (#2921)
  * Update (E3036) and (E3035) to allow more FNs (#2928)
  * Update (I3037) to have exceptions `Command` (#2927)
- from version 0.83.0
  * Add rule (E3045) to validate `AccessControl`s are
    specified when using `AccessControl` (#2906)
  * Add rule (W3045) to alert on usage of legacy
    capability `AccessControl` (#2906)
  * Update CloudFormation specs to `145.0.0` (#2909)
- from version 0.82.2
  * Update (I2530) validates its using Java runtimes greater than 8 (#2916)
- from version 0.82.1
  * Update (E2530) and (I2530) to make sure `Runtime`
    is a string before using `startswith` (#2912)
- from version 0.82.0
  * Add rule (W2530) to warn when `SnapStart`
    isn't configured correctly (#2905)
  * Add rule (I2530) to warn when `SnapStart`
    isn't configured on newer Java runtimes (#2905)
  * Add rule (E2530) to error when `SnapStart` is
    configured on an unsupported runtime (#2905)

OBS-URL: https://build.opensuse.org/request/show/1132077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=47
2023-12-11 14:27:49 +00:00
d5f7299e5d Accepting request 1116044 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1116044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=21
2023-10-08 10:17:57 +00:00
4c9ff88d90 Accepting request 1115974 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.80.4
  * Update CloudFormation specs to `142.0.0` (#2889)
  * Update rule (E2520) to allow for empty lists (#2891)
- from version 0.80.3
  * Update CloudFormation specs to `141.0.0` (#2879)
  * Update rule (E2532) to include `CausePath` and `ErrorPath`
    key types to `Fail` state (#2884)
  * Update rule (E2520) to better match exclusive properties (#2886)
- from version 0.80.2
  * Revert change #2878 (#2882)
- from version 0.80.1
  * Update CloudFormation specs to `140.0.0` (#2870)
  * Add `OriginAccessControlId` to `OnlyOne` (#2878)
  * Allow `jsonschema` to be from v3.0.0 to v5 (#2838)
- from version 0.79.11
  * Update (E3031) so all regex checks are run (#2873)
  * Update (E2520) to better skip properties we don't care about (#2875)
- from version 0.79.10
  * Update CloudFormation specs to `139.0.0` (#2865)
  * Force regex to be at least 2022 for typing parameter (#2867)

OBS-URL: https://build.opensuse.org/request/show/1115974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=45
2023-10-06 13:11:32 +00:00
bc1760ee37 Accepting request 1109560 from devel:languages:python:aws
- update to 0.79.9:
  * Update CloudFormation specs to `138.0.0` (pull #2857)
  * Fix `AWS::LanguageExtensions` to have regex escape for string
    replacement (pull #2862)

  * New rule E3504 to validate resources with AWS::Backup::BackupPlan.
  - Update `AWS::Lambda::Function.MemorySize` to new service limits
  - Add `RouteSelectionExpression` to exludes on rule
  * Expand Allowed Values for AWS::AmazonMQ::Broker.EngineVersion
  * Update AWS::Lambda::EventSourceMapping.EventSourceArn to allow
  * Update rule E3008 to allow for lists in getatt allowed values
  * Add registry_schemas to be supported in the .cfnlintrc (pull
  * Cache all rules to speed up reloading rules when scanning
  * Add support to validate private types from the CloudFormation
  * Update allowed values for AWS::DocDB::DBCluster.EngineVersion
  * Fix an issue with RegexDict to return the longest matched value
  * Fix rule E3008 to not fail when using
    AWS::ServiceCatalog::CloudFormationProvisionedProduct Outputs
  * Make sure types are strings before assuming they are (pull
  * Remove rules W2509, E2004, E2505, E2510 and move logic to rules
  * Remove rule E2530 and move logic to W2030 and E3030 (pull
  * Update rule E3002 to error when a singular function is used
  * Update rule E2503 to include more attributes for application
  * Expand Allowed Values for AWS::AmazonMQ::Broker EngineVersion
  * Update rule E2529 to allow for two subscriptions per log group
  * Allow SAM translation for AutoPublishAlias in Globals (pull
  * Allow numbers and booleans when doing a Fn::Sub parameter (pull
  * Add rule E3017 to validate when properties are required based
  * Add rule E3018 to validate when properties are unwanted based
  * Add allowed values for AWS::Lambda::EventSourceMapping (pull

OBS-URL: https://build.opensuse.org/request/show/1109560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=20
2023-09-07 19:14:12 +00:00
40fb10f6a2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=43 2023-09-07 13:22:39 +00:00
787ae77440 - update to 0.79.9:
* Update CloudFormation specs to `138.0.0` (pull #2857)
  * Fix `AWS::LanguageExtensions` to have regex escape for string
    replacement (pull #2862)
  * New rule E3504 to validate resources with AWS::Backup::BackupPlan.
  - Update `AWS::Lambda::Function.MemorySize` to new service limits
  - Add `RouteSelectionExpression` to exludes on rule
  * Expand Allowed Values for AWS::AmazonMQ::Broker.EngineVersion
  * Update AWS::Lambda::EventSourceMapping.EventSourceArn to allow
  * Update rule E3008 to allow for lists in getatt allowed values
  * Add registry_schemas to be supported in the .cfnlintrc (pull
  * Cache all rules to speed up reloading rules when scanning
  * Add support to validate private types from the CloudFormation
  * Update allowed values for AWS::DocDB::DBCluster.EngineVersion
  * Fix an issue with RegexDict to return the longest matched value
  * Fix rule E3008 to not fail when using
    AWS::ServiceCatalog::CloudFormationProvisionedProduct Outputs
  * Make sure types are strings before assuming they are (pull
  * Remove rules W2509, E2004, E2505, E2510 and move logic to rules
  * Remove rule E2530 and move logic to W2030 and E3030 (pull
  * Update rule E3002 to error when a singular function is used
  * Update rule E2503 to include more attributes for application
  * Expand Allowed Values for AWS::AmazonMQ::Broker EngineVersion
  * Update rule E2529 to allow for two subscriptions per log group
  * Allow SAM translation for AutoPublishAlias in Globals (pull
  * Allow numbers and booleans when doing a Fn::Sub parameter (pull
  * Add rule E3017 to validate when properties are required based
  * Add rule E3018 to validate when properties are unwanted based
  * Add allowed values for AWS::Lambda::EventSourceMapping (pull
  * Update rule E3005 to include resource based conditions (pull

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=42
2023-09-07 13:22:12 +00:00
0fa85ae00d Accepting request 1108877 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1108877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=19
2023-09-04 20:53:55 +00:00
551562f162 Accepting request 1108701 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.79.8
  * Update CloudFormation specs to `136.0.0` (#2848)
  * Added `ItemReader` key to StateMachine `Map` state (#2850)
  * Update rule (E2503) to allow network load balancers to use
    security groups (#2850)
- from version 0.79.7
  * Add region `il-central-1` (#2836)
  * Update CloudFormation specs to `135.0.0` (#2837)
  * Allow for `RetainExceptOnCreate` for `DeletionPolicy` (#2834)
  * Fix language extension transform to resolve
    foreach refs in Sub parameters (#2846)
  * Fix language extension transform to allow `Fn::FindInMap`
    to return arrays (#2845)
- from version 0.79.6
  * Fix `AWS::Glue::Job.Name` to use string min/max instead
    of number min/max (#2831)
- from version 0.79.5
  * Update schema to spec conversions to include include a default
    string minimum value of 0 if not specified (#2824)
  * Update CloudFormation specs to `132.0.0` (#2824)
  * Fix `AWS::LanguageExtensions` to not empty out a hardcoded
    string `Fn::FindInmap` that cannot be resolved (#2827)
- from version 0.79.4
  * Fix `AWS::LanguageExtensions` to not fully resolve `Fn::FindInMap`
    unless in `Fn::ForEach` collection (#2822)
  * Update `convert_dict` to include `Mark` instead of tuple for default value (#2821)
- from version 0.79.3
  * Fix `Conditions` logic to not crash on a condition that isn't found (#2814)
  * Update rule (E1011) to better handle `Fn::FindInMap` with `AWS::LanguageExtensions` (#2814)
  * Update rule (W2001) to better handle `Ref` with `AWS::LanguageExtensions` (#2814)

OBS-URL: https://build.opensuse.org/request/show/1108701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=40
2023-09-04 12:43:39 +00:00
ae589b479c Accepting request 1061741 from devel:languages:python:aws
- update to 0.72.10:
  * Update CloudFormation specs to `108.0.0` (pull #2557)
  * Add `AWS::Organizations::Account` to `StatefulResources` (pull #2560)
  * Update rule I3100 regex family string matching (pull #2558)
  * Update CloudFormation specs to `107.0.0` (pull #2546)
  * Support `Fn::FindInMap` enhancements when template is declared with
    `AWS::LanguageExtensions` (pull #2512)
  * Update CloudFormation specs to `106.0.0` (pull #2546)
  * Update rule E1030 to include `Fn::FindInMap` when using `Fn::Length`
  * Update rule E3002 to allow a `Fn::GetAtt` for an object (pull #2548)
  * Update rule E2532 to include current task properties (pull #2549)

OBS-URL: https://build.opensuse.org/request/show/1061741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=18
2023-01-28 17:45:31 +00:00
64d48517fd - update to 0.72.10:
* Update CloudFormation specs to `108.0.0` (pull #2557)
  * Add `AWS::Organizations::Account` to `StatefulResources` (pull #2560)
  * Update rule I3100 regex family string matching (pull #2558)
  * Update CloudFormation specs to `107.0.0` (pull #2546)
  * Support `Fn::FindInMap` enhancements when template is declared with
    `AWS::LanguageExtensions` (pull #2512)
  * Update CloudFormation specs to `106.0.0` (pull #2546)
  * Update rule E1030 to include `Fn::FindInMap` when using `Fn::Length`
  * Update rule E3002 to allow a `Fn::GetAtt` for an object (pull #2548)
  * Update rule E2532 to include current task properties (pull #2549)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=38
2023-01-28 13:41:37 +00:00
04a4b7c5b2 Accepting request 1055947 from devel:languages:python:aws
- update to 0.72.6:
  * Update CloudFormation specs to `105.0.0` (pull #2530)
  * Use a clean copy of the `cli_value` each time when merging config to
    avoid leaking config from one template to another (pull #2536)
  * Update rule W1001 to support `Fn::Sub` (pull #2525)
  * Update CloudFormation specs to `102.0.0` (pull #2523)
  * Update `Template` function `get_valid_getatts` to better return None
    when a property type doesn't exist (pull #2527)
  * Update rule E2015 to support the `AllowedValues` and `AllowedPattern`
    attributes for `CommaDelimitedList` parameters (pull #2521)
  * Update CloudFormation specs to `101.0.0` (pull #2517)
  * Update `get_valid_getatts` to account for changes in the CloudFormation
    spec (pull #2520)
  * Don't validate rule I3042 when using SAM (pull #2513)

OBS-URL: https://build.opensuse.org/request/show/1055947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=17
2023-01-04 19:18:28 +00:00
ad47eebfc7 - update to 0.72.6:
* Update CloudFormation specs to `105.0.0` (pull #2530)
  * Use a clean copy of the `cli_value` each time when merging config to
    avoid leaking config from one template to another (pull #2536)
  * Update rule W1001 to support `Fn::Sub` (pull #2525)
  * Update CloudFormation specs to `102.0.0` (pull #2523)
  * Update `Template` function `get_valid_getatts` to better return None
    when a property type doesn't exist (pull #2527)
  * Update rule E2015 to support the `AllowedValues` and `AllowedPattern`
    attributes for `CommaDelimitedList` parameters (pull #2521)
  * Update CloudFormation specs to `101.0.0` (pull #2517)
  * Update `get_valid_getatts` to account for changes in the CloudFormation
    spec (pull #2520)
  * Don't validate rule I3042 when using SAM (pull #2513)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=36
2023-01-04 16:16:02 +00:00
d07200265d Accepting request 1041110 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1041110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=16
2022-12-07 16:35:49 +00:00
611748af1f Accepting request 1040920 from home:glaubitz:branches:devel:languages:python:aws
- Update to 0.72.2
  * Update CloudFormation specs to `100.0.0` (pull #2493)
  * Update rule (#E1011) to merge key validation into one method (pull #2502)
- from version 0.72.1
  * Add `ap-south-2` region (pull #2503)
  * Rebuild the graph after doing the transform (pull #2502)
- from version 0.72.0
  * Add more info into the graph including outputs and parameters (pull #2452)
  * Update CloudFormation specs to `99.0.0` (pull #2486)
  * Add `eu-south-2` region (pull #2490)
  * Make sure regex patterns with `\w` are validating against ASCII (pull #2487)

OBS-URL: https://build.opensuse.org/request/show/1040920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=34
2022-12-07 13:12:10 +00:00
a41bfdf906 Accepting request 1036389 from home:dgarcia:branches:devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1036389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=33
2022-11-18 12:46:40 +00:00
ceb4dc6d97 Accepting request 1006406 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1006406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=15
2022-09-27 18:14:32 +00:00
c563eff3a7 Accepting request 1004976 from home:glaubitz:branches:devel:languages:python:aws
- Update to 0.65.1
  * Update CloudFormation specs to `89.0.0` (#2366)
  * Add support for `custom` RDS `Engine` types on resource
    type `AWS::RDS::DBInstance` (#2370)
  * Remove extra spacing in specs reducing overall size (#2371)
  * Update `AllowedValues` for `RetentionInDays` on resource
    type `AWS::Logs::LogGroup` (#2372)
- from version 0.65.0
  * Add `--force` option on `--update-specs` so cache isn't used (#2334)
  * Add support for Python 3.10 (#2365)
  * Update CloudFormation specs to `88.0.0` (#2361)
  * Add in `mypy` testing and do a bunch of cleanup based on the results (#2328)
  * Update rule I1022 to not suggest `Fn::Sub` on complext `Fn::Join`s (#2364)
- from version 0.64.1
  * Make `me-central-1` `ExtendedSpecs` a module (#2359)
- from version 0.64.0
  * Update `jsonschema` to be able to use version 3.0 and 4.0 (#2336)
  * Remove support for python 3.6 and add python 3.9 (#2347)
  * Update CloudFormation specs to `87.0.0` (#2353)
  * Add support for region `me-central-1` (#2351)
  * Disable the SAM validation checks when transforming a template (#2350)
- from version 0.63.2
  * Patch in attributes for `AWS::RDS::DBCluster` (#2344)
- from version 0.63.1
  * Update CloudFormation specs to `86.0.0` (#2335)
- from version 0.63.0
  * support for AWS::LanguageExtensions transform features including
    DeletionPolicy,  UpdateReplacePolicy, Fn::Length and Fn::ToJsonString
    docs (#2339)
  * Add rule E1030 to validate Fn::Length is configured correctly (#2339)

OBS-URL: https://build.opensuse.org/request/show/1004976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=31
2022-09-27 13:09:20 +00:00
f6829ec1ef Accepting request 992131 from devel:languages:python:aws
- version update to 0.60.1
  * Update CloudFormation specs to 72.0.0 (pull #2272)
  * Don't allow regex expressions that result in a warning (pull #2272)
  * Move null checks from the parsing engine into rules (pull #2242)
  * Add rule E4002 to validate metadata config (pull #2242)
  * Update rule E2001 to error on null values (pull #2242)
  * Update rule E3012 to validate for null values in properties (pull #2242)
  * Update CloudFormation specs to 69.0.0 (pull #2261)
  * Update CloudFormation specs to 66.1.0 (pull #2255)
  * Lambda runtime deprecation updates (python3.6) (pull #2252)
  * Update rule E3002 to consider a list as valid JSON (pull #2253)
  * Update aws-sam-translator to 1.45.0 (pull #2245)
  * Remove dependency on six (pull #2204)
  * New rule E3504 to validate resources with AWS::Backup::BackupPlan. 
    The property DeleteAfterDays cannot be less than 90 days from
    MoveToColdStorageAfterDays (pull #2230)
  * Update CloudFormation specs to 66.0.0 (pull #2245)
  * Update CloudFormation specs to 61.0.0 (pull #2232)
  * Update SAM Transform pre work to add ImageUri when using Image as PackageType in AWS::Serverless::Function (pull #2236)
  * Update CloudFormation specs to 59.0.0 (pull #2225)
  * Remove allowed values for AWS::Config::ConfigurationRecorder.ResourceTypes (pull #2231)
  * Wrap creating a YAML map with try/except and create lint error on failure (pull #2226)
  * Update CloudFormation specs to 58.0.0 (pull #2217)
  * W2506: Avoid false positives when using a Ref against a resource (pull #2210)
  * E3502: Blank out functions in JSON size check to prevent false positives (pull #2222)
  * Update CloudFormation specs to 56.0.0 (pull #2207)
  * Update rule E3020 to validate that TTL isn't added for Alias records (pull #2195)
  * Remove imports to pathlib2 with deprecation of Python 2.7, 3.4, and 3.5 (pull #2205)
  * Improvements to json parsing code (pull #2199)
  * Update CloudFormation specs to 54.0.0 (pull #2202)

OBS-URL: https://build.opensuse.org/request/show/992131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=14
2022-08-02 20:09:10 +00:00
d95cfcb3e0 Accepting request 979339 from home:pgajdos:python
- version update to 0.60.1
  * Update CloudFormation specs to 72.0.0 (pull #2272)
  * Don't allow regex expressions that result in a warning (pull #2272)
  * Move null checks from the parsing engine into rules (pull #2242)
  * Add rule E4002 to validate metadata config (pull #2242)
  * Update rule E2001 to error on null values (pull #2242)
  * Update rule E3012 to validate for null values in properties (pull #2242)
  * Update CloudFormation specs to 69.0.0 (pull #2261)
  * Update CloudFormation specs to 66.1.0 (pull #2255)
  * Lambda runtime deprecation updates (python3.6) (pull #2252)
  * Update rule E3002 to consider a list as valid JSON (pull #2253)
  * Update aws-sam-translator to 1.45.0 (pull #2245)
  * Remove dependency on six (pull #2204)
  * New rule E3504 to validate resources with AWS::Backup::BackupPlan. 
    The property DeleteAfterDays cannot be less than 90 days from
    MoveToColdStorageAfterDays (pull #2230)
  * Update CloudFormation specs to 66.0.0 (pull #2245)
  * Update CloudFormation specs to 61.0.0 (pull #2232)
  * Update SAM Transform pre work to add ImageUri when using Image as PackageType in AWS::Serverless::Function (pull #2236)
  * Update CloudFormation specs to 59.0.0 (pull #2225)
  * Remove allowed values for AWS::Config::ConfigurationRecorder.ResourceTypes (pull #2231)
  * Wrap creating a YAML map with try/except and create lint error on failure (pull #2226)
  * Update CloudFormation specs to 58.0.0 (pull #2217)
  * W2506: Avoid false positives when using a Ref against a resource (pull #2210)
  * E3502: Blank out functions in JSON size check to prevent false positives (pull #2222)
  * Update CloudFormation specs to 56.0.0 (pull #2207)
  * Update rule E3020 to validate that TTL isn't added for Alias records (pull #2195)
  * Remove imports to pathlib2 with deprecation of Python 2.7, 3.4, and 3.5 (pull #2205)
  * Improvements to json parsing code (pull #2199)
  * Update CloudFormation specs to 54.0.0 (pull #2202)

OBS-URL: https://build.opensuse.org/request/show/979339
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=29
2022-05-26 12:52:13 +00:00
15267a43db Accepting request 936131 from devel:languages:python:aws
- update to 0.54.4:
  * Update CloudFormation specs to `45.0.0`
  * Add `AWS::DynamoDB::GlobalTable` to `AWS::Lambda::EventSourceMapping.EventSourceArn`
  * Expand stateful resource types to include `AWS::SecretsManager::Secret`
  * Add exceptions to rule [E3031]
  * Update `aws-sam-translator` to `1.39.0`
  * Update `Serverless/ManagedPolicies.json` and create automation to keep it up to date
  * Update default configuration on rule [E3012]
  * Add rule [E3043]
  * Add `AWS::KMS::ReplicaKey` as a `Ref`/`GetAtt` for `AWS::KMS::Alias.TargetKeyId`
  * `AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute` `AllowedValues` expansion
  * Fix rule message string formatting for [E3013]

OBS-URL: https://build.opensuse.org/request/show/936131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=13
2021-12-07 22:59:51 +00:00
ccfe4e6591 - update to 0.54.4:
* Update CloudFormation specs to `45.0.0`
  * Add `AWS::DynamoDB::GlobalTable` to `AWS::Lambda::EventSourceMapping.EventSourceArn`
  * Expand stateful resource types to include `AWS::SecretsManager::Secret`
  * Add exceptions to rule [E3031]
  * Update `aws-sam-translator` to `1.39.0`
  * Update `Serverless/ManagedPolicies.json` and create automation to keep it up to date
  * Update default configuration on rule [E3012]
  * Add rule [E3043]
  * Add `AWS::KMS::ReplicaKey` as a `Ref`/`GetAtt` for `AWS::KMS::Alias.TargetKeyId`
  * `AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute` `AllowedValues` expansion
  * Fix rule message string formatting for [E3013]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=28
2021-12-06 21:36:47 +00:00
Richard Brown
b5a661c771 Accepting request 912693 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/912693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=12
2021-08-18 06:56:17 +00:00
d58f9696f4 Accepting request 912517 from home:fusionfuture:branches:devel:languages:python:aws
- Update to 0.53.0:
  + Features
    * Update aws-sam-translator to 1.38.0 (pull #2082)
    * Signal the end of life for Python 3.5 (pull #2052)
    * Allow configuration of top level sections in rule E1001
      (pull #2090)
  + CloudFormation Specifications
    * Update resource specs to 39.8.0 (pull #2087)
    * Add StringMax to AWS::SNS::Topic.TopicName,
      AWS::IAM::Role.Name, AWS::SNS::Topic.TopicName,
      AWS::Lambda::Function properties Handler, Description,
      FunctionName, and AWS::Lambda::LayerVersion properties
      LayerName (pull #2089)
  + Fixes
    * Update RetentionPeriodHours for AWS::Kinesis::Stream to 8760
      (pull #2071)
    * Expand expanding likely_stateful_resource_types to include
      AWS::DynamoDB::GlobalTable (pull #2079)
- Changes from 0.52.0:
  + Features
    * End support for Python 3.4 (pull #2048)
    * New rule I3013 to validate retention period settings on
      applicable resources (pull #2054)
  + CloudFormation Specifications
    * Update resource specs to `39.3.0` (pull #2047)
  + Fixes
    * Update `ManagedPolicies.json` to include
      `AWSLambda_FullAccess` and `AWSLambda_ReadOnlyAccess`
      (pull #2062)
    * Fix a warning in setuptools with `description-file` needed to

OBS-URL: https://build.opensuse.org/request/show/912517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=27
2021-08-17 13:44:12 +00:00
ccccb1cba4 Accepting request 898995 from devel:languages:python:aws
- update to 0.50.0:
  * Update rule E2507 to validate resource configuration in an IAM policy
  * Update aws-sam-translator to 1.36.0
  * Update resource specs to 37.1.0
  * Update Lambda EOL for dotnetcore2.1
  * UPdate Lambda EOL for nodejs10.x and ruby2.5
  * Fix an issue with rule E7003 when a Fn::Transform was in a mapping
  * Fix an issue when finding duplicate keys where the 2nd error wasn't to the key

OBS-URL: https://build.opensuse.org/request/show/898995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=11
2021-06-11 20:30:37 +00:00
4f7399fb9d - update to 0.50.0:
* Update rule E2507 to validate resource configuration in an IAM policy
  * Update aws-sam-translator to 1.36.0
  * Update resource specs to 37.1.0
  * Update Lambda EOL for dotnetcore2.1
  * UPdate Lambda EOL for nodejs10.x and ruby2.5
  * Fix an issue with rule E7003 when a Fn::Transform was in a mapping
  * Fix an issue when finding duplicate keys where the 2nd error wasn't to the key

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=25
2021-06-10 09:47:46 +00:00
744e59746b Accepting request 894585 from devel:languages:python:aws
- Disable two test modules test_update_resource_specs* that require
  internet.
- Remove skip_python36 no longer needed
- update to v0.48.1
  * See https://github.com/aws-cloudformation/cfn-python-lint/blob/master/CHANGELOG.md#v0481
    for changes since 0.44.5

OBS-URL: https://build.opensuse.org/request/show/894585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=10
2021-05-20 17:25:23 +00:00
661b90683b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=23 2021-05-20 09:47:04 +00:00
e009b7d621 correct tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=22
2021-05-20 09:41:08 +00:00
5ae7744c34 Accepting request 881805 from home:jayvdb:branches:devel:languages:python:aws
- Disable two test modules test_update_resource_specs* that require
internet.
- Remove skip_python36 no longer needed
- update to v0.48.1

python36-cfn-lint is required by moto3

OBS-URL: https://build.opensuse.org/request/show/881805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=21
2021-05-20 08:50:48 +00:00
83b0e01bed Accepting request 868436 from devel:languages:python:aws
- update to 0.44.5:
  - Update resource specs to `25.0.0`
  - Add support for `AWS::SSO::PermissionSet` `InlinePolicy`
  - Update resource specs to `24.0.0`
  -  Update `AWS::DataBrew::Recipe.Action` `Parameters` `Type` to `Map`
  - Fix an issue when we parse a json string in [E2507] and used the parsed
    json to append to the location
  - Update spec files as of 2021.01.08
  - Update `AWS::Lambda::Function.MemorySize` to new service limits 
  - Replace `ContentUri` to a s3 path when doing a SAM transform
  - Add `RouteSelectionExpression` to exludes on rule 
  - Remove newlines from parseable format messages

OBS-URL: https://build.opensuse.org/request/show/868436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=9
2021-02-02 13:25:32 +00:00
45effdb725 - update to 0.44.5:
- Update resource specs to `25.0.0`
  - Add support for `AWS::SSO::PermissionSet` `InlinePolicy`
  - Update resource specs to `24.0.0`
  -  Update `AWS::DataBrew::Recipe.Action` `Parameters` `Type` to `Map`
  - Fix an issue when we parse a json string in [E2507] and used the parsed
    json to append to the location
  - Update spec files as of 2021.01.08
  - Update `AWS::Lambda::Function.MemorySize` to new service limits 
  - Replace `ContentUri` to a s3 path when doing a SAM transform
  - Add `RouteSelectionExpression` to exludes on rule 
  - Remove newlines from parseable format messages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=19
2021-02-01 17:56:07 +00:00
deb6084171 Accepting request 860178 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/860178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=8
2021-01-04 18:09:23 +00:00
d44d2fe48f Accepting request 859847 from home:bnavigator:branches:devel:languages:python:aws
- Update to 0.44.2
  CloudFormation Specifications
  * Expand Allowed Values for AWS::AmazonMQ::Broker.EngineVersion 
    (pull ##1841)
  * Update spec files as of 2012.12.30 (pull #1831)
  * Update AWS::Lambda::EventSourceMapping.EventSourceArn to allow 
    StreamARN and ConsumerARN (pull #1850)
  Fixes
  * Reinitialize E3022 on every template (pull #1848)
  * Update rule E3008 to allow for lists in getatt allowed values 
    (pull #1850)
- Changes in 0.44.1
  Fixes
  * Reinitialize the limits in rule E3021 (pull #1834)
  * Add registry_schemas to be supported in the .cfnlintrc (pull 
    #1836)
- Changes in 0.44.0
  Features
  * Cache all rules to speed up reloading rules when scanning 
    multiple templates (pull #1789)
  CloudFormation Specifications
  * Update FSx Storage Capacity to a minimum of 32 (pull ##1827)
  * Update spec files as of 2012.12.14 (pull #1821)
  Fixes
  * Loosen version requirements for python package six (pull #1825)
- Changes in 0.43.0
  Features
  * Add support to validate private types from the CloudFormation 
    Registry (pull #1732)
  CloudFormation Specifications

OBS-URL: https://build.opensuse.org/request/show/859847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=17
2021-01-04 12:32:02 +00:00
34a00c02a1 Accepting request 853815 from devel:languages:python:aws
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=7
2020-12-09 21:13:03 +00:00
0f5ede9cf7 - Only build Python3 flavors for distributions 15 and greater
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=15
2020-11-26 11:11:14 +00:00
f018405bf7 - do not build Python2 for distros greater than 12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=14
2020-11-25 23:19:46 +00:00
4c12835158 Accepting request 840418 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/840418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=6
2020-10-09 22:29:50 +00:00
935d6c5732 Accepting request 840391 from home:glaubitz:branches:devel:languages:python:aws
- Update to 0.37.1
  * Update CloudFormation specs to 18.6.0
  * Add `AllowedValues` for `AWS::DMS::Endpoint.EngineName`
  * Fix an issue with rule E2521 and E2520 to handle `Ref: AWS::Novalue`
- from version 0.37.0
  * Update CloudFormation specs to 18.5.0
  * Get `AllowedValues` from Botocore during `--update-specs`
  * Add string length requirements for `AWS::Config::ConfigRule.Description`
  * Patch `AWS::StepFunctions::Activity` to include `Name` and remove `Arn`
  * Fix an issue with rule `E3002` to better handle when conditions
    are used at the root level of a list
  * Update core node libraries to remove `Ref: AWS::NoValue` from returned properties
- from version 0.36.1
  * Update CloudFormation specs to 18.4.0
  * Add `ap-northeast-3` to `scripts/update_specs_services_from_ssm.py`
- from version 0.36.0
  * Update rule E2541 to validate that input artifacts are output artifacts from
    a previous action and that output artifact names are unique in the pipeline
  * New rule E3007 to validate parameter and resource names are unique
  * Update CloudFormation specs to 18.3.0
  * Expand `AllowedValues` for `AWS::AmazonMQ::Broker.EngineVersion` and `AWS::Glue::Trigger.Condition.State`
  * Expand `templated_exceptions` property types that require package command for rule E3002 and W3002
  * Pin pyrsistent to `0.16.0` with Python versions less than `3.5`
  * Fix an issue with SSM Spec patching that resulted in resource `PropertyTypes`
    not being added to the spec patches
  * Update directives to use the resource name key as the start

OBS-URL: https://build.opensuse.org/request/show/840391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=12
2020-10-09 11:28:08 +00:00
0514e69cbe Accepting request 832985 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/832985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=5
2020-09-15 14:16:20 +00:00
09c3c6dcbb Accepting request 832949 from home:glaubitz:branches:devel:languages:python:aws
- Update to 0.35.1
  * Update CloudFormation specs to 18.1.0
  * Expand `AllowedValues` for `AWS::CloudFront::Distribution.MinimumProtocolVersion`,
    `AWS::Config::ConfigurationRecorder.ResourceTypes`, and `AWS::Glue::Connection.
    ConnectionInput.ConnectionType`
  * Add localzone `us-west-2-lax-1b`
  * Update rule E2503 to include `routing.http.desync_mitigation_mode`
  * Update excludes for rule E1029 to include `ResponseMappingTemplate`
  * Update rule E1019 and E1010 to handle resource attributes of type `Map
- from version 0.35.0
  * Update CloudFormation specs to 17.0.0
  * Fix ElasticMapReduce and ManagedBlockchain InstanceType patching
  * Include a regex pattern to check MetricValue is either a number or starts with `$`
  * Add more types to `AWS::ApplicationAutoScaling::ScalingPolicy.
    PredefinedMetricSpecification.PredefinedMetricType`
  * Add more values to `AWS::Lambda::Function.Runtime`
  * Add more values to `AWS::Budgets::Budget.BudgetType`
  * Update rule E3031 to convert int or float to string before doing an allowed pattern
    match on it
  * Add exceptions to rule E1029
  * Update rule E8003 to look for string based parameters
- from version 0.34.1
  * Update CloudFormation specs to 16.3.0
  * Update rule E3001 to catch when Resource `Type` is not a string
  * Update rule E1029 to handle `${}` in Step Function State Machines and Definition Substitutions
  * Update rule W4002 to only look at `Ref` and `Sub`
- from version 0.34.0
  * Add rule W4002 that checks if `Metadata` references a `NoEcho` parameter
  * Update CloudFormation specs to 16.1.0
  * Remove `AWS::EC2::LaunchTemplate.BlockDeviceMapping` from `OnlyOne`

OBS-URL: https://build.opensuse.org/request/show/832949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=10
2020-09-08 13:06:23 +00:00
349d171cba Accepting request 821880 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/821880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=4
2020-07-20 19:05:21 +00:00
52a9e9fd83 Accepting request 818609 from home:mcalabkova:branches:devel:languages:python:aws
- Update to 0.33.2
  * few new rules and specification update

OBS-URL: https://build.opensuse.org/request/show/818609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=8
2020-07-20 12:07:50 +00:00
95d88cc573 Accepting request 800033 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/800033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=3
2020-05-09 17:52:21 +00:00
b605095055 Accepting request 799982 from home:scarabeus_iv:branches:devel:languages:python:aws
- Update to 0.30.1:
  * Fix many various issues and support new regions
- Drop merged patches:
  * cl_drop-compatible-releases-operator.patch
  * cl_fix-config-expand-paths-test.patch
  * cl_fix-lambda-runtimes-EOL-dates.patch

- Fix build without python2
- Fix cfn-lint subpackage by moving it back to the python*-cfn-lint
  it is setuptools entrypoint, no reason to split it out
  * use update-alternatives to switch between binaries

OBS-URL: https://build.opensuse.org/request/show/799982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=6
2020-05-04 11:40:02 +00:00
9ce5e5cc86 Accepting request 728480 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/728480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=2
2019-09-07 09:50:10 +00:00
829ea6f91e Accepting request 728479 from home:glaubitz:branches:devel:languages:python:aws
- Add upstream patch to fix EOL dates for lambda runtimes
  + cl_fix-lambda-runtimes-EOL-dates.patch
- Add upstream patch to fix test_config_expand_paths test
  + cl_fix-config-expand-paths-test.patch
- Add python to BuildRequires for suse_version < 1500

OBS-URL: https://build.opensuse.org/request/show/728479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=4
2019-09-05 11:25:51 +00:00
f45fd9d12c Accepting request 709684 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/709684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfn-lint?expand=0&rev=1
2019-06-18 12:56:55 +00:00
Tomáš Chvátal
45758a474b - Fix license string and test execution
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=2
2019-06-13 08:11:59 +00:00
9b858c4cd5 Accepting request 707940 from home:TheBlackCat:branches:devel:languages:python:aws
- Rename to python-cfn-lint.  This package has a python API, which is required by python-moto.
- Update to version 0.21.4
- Rebase cl_drop-compatible-releases-operator.patch

Once this is accepted in openSUSE:Factory, this can be linked in  Cloud:Tools and  Cloud:Tools/cfn-lint can be dropped.  It is not current in openSUSE:Factory so a delete there is not needed.

OBS-URL: https://build.opensuse.org/request/show/707940
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=1
2019-06-05 22:51:15 +00:00
4 changed files with 325 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ec412debea53bda9c05662d204f29efae21371997ef0bd298ff79aa88ab92bc
size 4565534

3
cfn-lint-1.40.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a6b804b4a00af0b0a1df0ad0674d529900026ceb2c52b069af7852a8c337cd8
size 3740862

View File

@@ -1,3 +1,313 @@
-------------------------------------------------------------------
Tue Nov 4 07:18:48 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.40.4
* Patch boto process to cover shap mismatch boto to schema
* Update CloudFormation schemas to `2025-10-31`
- from version 1.40.3
* Update CloudFormation schemas to `2025-10-27`
-------------------------------------------------------------------
Wed Oct 15 10:21:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.40.2
* Update the `UpdatePolicy` schema
* Update gitsync schema parameter types
* State Machine Unit Test: Fix another StartAt typo
* Update CloudFormation schemas to `2025-10-13`
- from 1.40.1
* Update `nodejs18.x` lifecycle dates in `LmbdRuntimeLifecycle.json` to
match official AWS Docs
* Update integration tests
* State Machine Unit Test: Fix `StartAt` typo
* Update CloudFormation schemas to `2025-10-09`
* Remove format patching for Cloud9 `ImageId`
- from version 1.40.0
* increase sqs MaximumMessageSize maximum value
* chore(deps): bump actions/setup-python from 5 to 6
* chore(deps): bump pyinstaller from 6.15.0 to 6.16.0 in /requirements
* Migrate from MarkedLoader to (C)SafeLoader
* Update CloudFormation schemas to 2025-09-29
- from version 1.39.1
* Remove rule (E3056)
* Update CloudFormation schemas to `2025-08-26`
* Reformat format keyword in some json files
* Update StateMachine map to support legacy `Iterator`
* Add output to Statemachine choice
* Update SAM transform URI replacement to allow `Fn::If`
* SAM transform comma lists to array
* Update (I3510) to skip dynamic references
- from version 1.39.0
* Optimize rule filtering performance
* Improved handling of directories for --list-templates
* chore(deps): bump actions/checkout from 4 to 5
* Update CloudFormation schemas to `2025-08-18`
- from version 1.38.3
* Update CloudFormation schemas to `2025-08-12`
- from version 1.38.2
* Fix unit testing with lambda EOL date changes
* Remove `AmazonGuardDutyFullAccess` from ManagedPolicies
* chore(deps): bump pyinstaller from 6.14.2 to 6.15.0 in /requirements
* Update `CreationPolicy` `StartFleet` type
* Update CloudFormation schemas to `2025-08-04`
- from version 1.38.1
* Add `--list-templates` advanced / debugging parameter
* Add to context to allow exceptions
* Update CloudFormation schemas to `2025-07-30`
- from version 1.38.0
* Improve condition processing
* Update CloudFormation schemas to 2025-07-14
- from version 1.37.2
* Fix template check when using cli
- from version 1.37.1
* Create API for just taking a config
* chore(deps): bump pyinstaller from 6.14.1 to 6.14.2 in /requirements
* Update CloudFormation schemas to `2025-07-07`
- from version 1.37.0
* Update CloudFormation schemas to 2025-06-30
* Validate deployment files
- from version 1.36.1
* Allow `*` for resource partition
* Update regex dynamic ref for ssm
* Update CloudFormation schemas to `2025-06-19`
- from version 1.36.0
* Don't decode when `TemplateURL` is dynamic reference
* Break out requirements into separate files
* chore(deps): bump pyinstaller from 6.13.0 to 6.14.0 in /requirements
* chore(deps): bump pyinstaller from 6.14.0 to 6.14.1 in /requirements
* Better logic of FindInMap resolution when ref isn't resolved
* chore(deps): bump setuptools from 80.8.0 to 80.9.0 in /requirements
* Update CloudFormation schemas to 2025-06-11
* Create an API for linting a file by path
- from version 1.35.4
* Update CloudFormation schemas to `2025-06-02`
- from version 1.35.3
* Undo change (#4138)
- from version 1.35.2
* Stdin overrides `.cfnlintrc` when determining templates
* Add in more custom schema information to the docs
* Fix outdated GitHub source URLs
* Update CloudFormation schemas to `2025-05-21`
- from version 1.35.1
* Gracefully exit of a override schema patch fails
* Allow for `Fn::Transform` with other properties
* Update CloudFormation schemas to `2025-05-07`
- from version 1.35.0
* Make intrinsic functions configurable
* Add `Assign` to `Jsonata` choices
* Create a schema manager for non resource schemas
* Update CloudFormation schemas to `2025-05-06`
- from version 1.34.2
* Unschedule v0 maintenance work
* Add in `anyOf` for properties that are ipv4 and ipv6
* Update CloudFormation schemas to `2025-04-24`
- from version 1.34.1
* Fix property restrictions when using lambda
* Update context when resolving IFs
* Update CloudFormation schemas to `2025-04-21`
- from version 1.34.0
* Fix Cidr type in `AWS::EC2::IPAMPool`
* Allow `Fn::GetAtt` to an object when using short form
* Add isolated regions
* Keep resolution errors to the fn
* Update CloudFormation schemas to `2025-04-16`
- from version 1.33.2
* Switch (E3683) to (E3684) for health check protocol
* Add `Items` to map function in state machine definition
- from version 1.33.1
* Case insensitive pattern for `AWS::SSM::Parameter` `Name`
* Fix context handling `None` for filename
- from version 1.33.0
* New rule (E3062) to validate `DBInstanceClass` against Engine
* Several state mach schema improvements
* New rule (E3681) to validate `AWS::ElasticLoadBalancingV2::TargetGroup`
`TargetType` property restrictions
* New rule (E3683) to validate `AWS::ElasticLoadBalancingV2::TargetGroup`
`Protocol` property restrictions
* Allow for /example in SSM Param Name
* Update CloudFormation schemas to `2025-04-08`
- from version 1.32.4
* Update to (PEP 639)
* `StorageEncrypted` can be used on aurora `AWS::RDS::DBInstance`
* Update CloudFormation schemas to `2025-04-04`
- from version 1.32.3
* Add an additional `+` for `AWS::SSM::Parameter` `Name`
- from version 1.32.2
* Add `Assign` into `Choice` for state machines
* Create a `pattern` for a `AWS::SSM::Parameter` `Name`
* Fix SAM transform to validate that `Properties` is a dict
* Update CloudFormation schemas to `2025-04-02`
- from version 1.32.1
* Change state machine schema based on query language
* Commonize how SAM transform checks are done
* Update CloudFormation schemas to `2025-03-24`
* Deal with JSONata differences in choices
- from version 1.32.0
* Update IAM Resource policy pattern
* Update rule (W3037) to limit services and actions when using a resource policy
* Add rule (E3514) to validate resource policy resource ARNs
* Update CloudFormation schemas to `2025-03-20`
* Change transform check in (W3037)
- from version 1.31.3
* Update (I3510) to lower case resource names
- from version 1.31.2
* Update (I3510) to only validate at least one resource is matched
- from version 1.31.1
* Update (I3510) to not fail on resources that start with asterisk
* Fix merge for yaml parsing
* Add rule (W1100) to validate if using YAML merge which requires the AWS cli to deploy
- from version 1.31.0
* Update CloudFormation schemas to `2025-03-17`
* New rule (I3510) to validate action and resources match
* Update (W3037) to skip non strings
* Update (I3510) to not alert on asterisk resources
* Update (W3037) to use regex when `?` or `*` in action
- from version 1.30.0
* Allow conditions in foreach
* Allow `_` in condition names
* Remove experimental from (W3037)
* Add in `pattern` for CodePipeline action names
* Support GetAtts for nested stacks and outputs
* Add rule (I2003) to validate `AllowedPattern`
* Validate identity base SIDs
- from version 1.29.1
* Update CloudFormation schemas to `2025-03-10`
* Update (E3701) to keep artifact names uniquely by the resource name
- from version 1.29.0
* Add rule (W3660) to validate mixing API body definitions in `AWS::ApiGateway::*`
resources
* Add rule (E3505) to validate timeouts when connection `AWS::Lambda::Function`
and `AWS::SQS::Queue`
* Add rule (E3636) to validate `AWS::CodeBuild::Project` s3 locations
* Add rule (E3061) to validate `AWS::S3::Bucket` tiering configurations
* Deprecate (E2540) for new v1 version rules
* Deprecate (E2541) for new v1 version rules
* Add rule (E3700) to validate `AWS::CodePipeline::Pipeline` `Source` actions
are only in the first stage
* Add rule (E3701) to validate `AWS::CodePipeline::Pipeline` artifact names shared
between `InputArtifacts` and `OutputArtifacts`
* Add rule (E3702) to validate `AWS::CodePipeline::Pipeline` counts for `InputArtifacts`,
`OutputArtifacts` based on action type
* Add rule (E3703) to validate `AWS::CodePipeline::Pipeline` configuration of an action
* Additional general schema updates to complete the rest of the validation in rules
(E2540) and (E2541)
* Update CloudFormation schemas to `2025-03-07`
* Add `Condition` to `Choice` in state machine
- from version 1.28.0
* Add `uniqueKeys` for `Sid` in IAM policies
* Create ipv4 and ipv6 network formats
* Add rule (E3059) to validate if `AWS::EC2::Subnet` CIDRs are in a `AWS::EC2::VPC`
* Add rule (E3060) to validate if `AWS::EC2::Subnet` CIDRs overlap with each other
* Update CloudFormation schemas to `2025-03-04`
- Update BuildRequires and Requires from requirements/*.txt
-------------------------------------------------------------------
Mon Mar 3 11:19:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 1.27.0
* Update rule W8003 to include always false
* Pass parameters to ForEachCollection processing
* Add Assign to appropriate state machine options
* Replace parameters when both transforms are used
* Allow for debug in .cfnlintrc file
* Add rule E1041 to validate Ref format
* Update rule E2015 to have the Default value be a str
* Cleanup boto patching and include min/max
* Add rule E3501 to validate AWS::SQS::Queue properties based on the queue type
* Add rule E3502 to validate AWS::SQS::Queue DLQ types match
* Add TRUE to list of strings that can be boolean true
* Allow asterisks for rule I3042
* Update I1022 to allow functions
* Add rule W1051 to validate if dynamic reference when ARN
* Provide configuration for exceptions to E3019
* Deprecate py3.8
* Update lambda eol dates
-------------------------------------------------------------------
Tue Nov 26 02:31:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.20.0, summary of the changes:
###### Features
* Switch from `awsType` to `cfnLint` @kddejong
* Add `dependentExcluded` keyword to json schema validation
* Add `requiredXor` keyword to json schema validation
* Allow for integration the configuration of additional registry schemas
* Add in `enum` values from botocore
* Add many JSON schemas to provide additional validation
* Add json schema for CW Alarm period when in the AWS namespace
* Include launch template security group schema
##### Fixes
* Enhanced monitoring can be configured on aurora clusters
* Update `Fn::FindInMap` resolver to handle `Ref` to psedueparams
* Create a new jsonschema keyword `enumCaseInsensitive`
* Add `additionalProperties` false to IAM conditions
* Expand boto auto detection to include sub properties
* Add logic for `AWS::EC2::Subnet.Id` format
* Update language extensions `Fn::ForEach` for empty lists
* Support Python 3.13
* Make an exception for DocDB Cluster Port return type
* Dynamically determine Account ID during transform
* Move `requireXor` to `SpotFleetRequestConfigData`
* Bring back stateful resources json
* Add `MinActiveInstancesPercent` to `AutoScalingRollingUpdate`
* Update `requiredXor` for Vpc and Subnets
* Exception for lambda authorizer uri
* Allow for secretsmanager dynamic refs in `Parameter` defaults
* Move KMS validation for `SSESpecification` on Tables
* Return Symbol instead of None on Fn::Equals logic
* Remove handlers and tagging/permissions from specs
* GetAtts to array returns a string
* Allow `Fn::Length` in `Fn::Select`
* Allow resource version to be an `integer`
* Generate schema artifacts on release
* Require at least one element in LSI `if`
* Continue on template decode errors
* Update getatt resolution for better regional support
* Fix sub regex resolver to always return a string
* Fix an issue with endless loops in Fn::Sub
* Add start to SSM json schemas
* SAM transform replace AutoPublishCodeSha256
* Use region when looking for a resolver being satisfied
* Force resolve validation to not use strict types
* Allow ICMP to have `FromPort` other than -1 with `ToPort` -1
* Switch type comparison in BaseFn to use is_types_compatible
* Allow `Transform` section to have the full transform def
* Fix JSON based tags for many types
* Handle `Fn::Transform`s inside Mappings
* Allow Ref AWS::NoValue in FindInMap parameters
* Update policy principal validation logic
* Add Fn::Cidr as Fn::Join supported function
* Don't issue dynamicref issues in other fns
* Greatly simplify `FindInMap` resolution
* Allow `AllowedPattern` with AWS type parameters
* Update IAM resource ARN patterns
* Better resolution of mappings in transform
* Add in awslogs-create-group to ECS task logging
* Add AWS::SSM::Parameter::Value<String> to use AllowedPattern
* Don't validate dynamic references inside fn
* Skip getatt validation with custom resources
* Remove AWS::EC2::LaunchTemplate requiredXor value for data
* Condition satisfaction checks to raise error when unknown
* Update CodeBuild::Project FilterGroup types
* Update SQS MessageRetentionPeriod minimum
* Allow OAI IDs in IAM policies
* Allow IAM principal to be str or a list
* Array of strings are allowed as output value types
* Cleanup `cfn_path` generation
* Fix an issue with SSM params for ForEach
* Enumerate FindInMap when can't be resolved
* Make `cfnLint` keyword dynamic
* Increased validation of dynamic references
* Add requiredXor for CloudFront distribution cache behavior
* Additional GetAtt support for non registry resources
* Redo runner logic and keep backwards compatibility of the API
* Move required field for lambda eventsource mappings
* Fix an issue where GetAtts of arrays are dropped
* Switch to pyproject.toml and pre-commit for lint
* Fix an issue when the resource type isn't available for an output
* Update condition logic to include resource level conditions
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jul 2 12:08:19 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cfn-lint
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-cfn-lint
Version: 0.87.9
Version: 1.40.4
Release: 0
Summary: Tool to checks cloudformation for practices and behaviour
License: MIT
URL: https://github.com/aws-cloudformation/cfn-python-lint
Source: https://github.com/aws-cloudformation/cfn-python-lint/archive/v%{version}.tar.gz#/cfn-lint-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module regex}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sympy}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: git-core
Requires: python-PyYAML >= 5.4
Requires: python-aws-sam-translator >= 1.89.0
Requires: python-aws-sam-translator >= 1.97.0
Requires: python-jschema-to-python >= 1.2.3
Requires: python-jsonpatch
Requires: python-junit-xml >= 1.9
@@ -40,7 +42,7 @@ Requires: python-networkx >= 2.4
Requires: python-regex
Requires: python-sarif-om >= 1.0.4
Requires: python-sympy >= 1.0.0
Requires: (python-jsonschema > 3.0 with python-jsonschema < 5)
Requires: python-typing-extensions
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-pydot
@@ -49,10 +51,10 @@ Obsoletes: cfn-lint < %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML >= 5.4}
BuildRequires: %{python_module aws-sam-translator >= 1.89.0}
BuildRequires: %{python_module aws-sam-translator >= 1.97.0}
BuildRequires: %{python_module defusedxml}
BuildRequires: %{python_module jschema-to-python >= 1.2.3}
BuildRequires: %{python_module jsonpatch}
BuildRequires: %{python_module jsonschema > 3.0 with %python-jsonschema < 5}
BuildRequires: %{python_module junit-xml >= 1.9}
BuildRequires: %{python_module networkx >= 2.4}
BuildRequires: %{python_module pydot}
@@ -70,14 +72,12 @@ resource properties and best practices.
%prep
%setup -q -n cfn-lint-%{version}
# do not hardcode versions
sed -i -e 's:~=:>=:g' setup.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/cfn-lint
@@ -95,6 +95,7 @@ donttest="$donttest or test_bad_config"
donttest="$donttest or test_override_parameters"
donttest="$donttest or test_positional_template_parameters"
donttest="$donttest or test_template_config"
donttest="$donttest or test_build_graph"
%pytest -s test -v -k "not ($donttest)"
%post
@@ -108,6 +109,6 @@ donttest="$donttest or test_template_config"
%license LICENSE
%python_alternative %{_bindir}/cfn-lint
%{python_sitelib}/cfnlint
%{python_sitelib}/cfn_lint-%{version}*-info
%{python_sitelib}/cfn_lint-%{version}.dist-info
%changelog