Releases: awslabs/serverless-rules
Version 0.3.4
Summary
This release fixes validation issues with some Lambda and API Gateway rules.
Changes
- fix: Enhance API Gateway structured logging and Lambda permission rule for improved validation (#231) by @sliedig
🧰 Maintenance
- chore(deps): bump astral-sh/setup-uv from 5 to 6 (#230) by @dependabot[bot]
This release was made possible by the following contributors:
@sliedig, @dependabot[bot] and dependabot[bot]
Version 0.3.3
Summary
This release makes Serverless Rules compatible with the latest version of cfn-lint >=1.33.0. The tflink rule implementations were also updated to include the latest implementations for tflint-plugin-sdk.
Changes
- cfnlint v1 compatibility upgrade (#192) by @sliedig
- feat: migrate from Poetry to UV for dependency management and add ruff configuration (#227) by @sliedig
- correct filename, instead of cfn-lint one (#181) by @BMW-qxz2op3
- Fixed typo in default_throttling.md (#189) by @takeshixx
🧰 Maintenance
- chore(deps-dev): bump pytest-cov from 3.0.0 to 5.0.0 in /cfn-lint-serverless (#212) by @dependabot[bot]
- chore(deps-dev): bump pytest from 7.0.1 to 8.3.3 in /cfn-lint-serverless (#216) by @dependabot[bot]
- chore(deps-dev): bump isort from 5.10.1 to 5.13.2 in /cfn-lint-serverless (#210) by @dependabot[bot]
- chore(deps-dev): bump black from 24.3.0 to 24.8.0 in /cfn-lint-serverless (#207) by @dependabot[bot]
- chore(deps-dev): bump radon from 5.1.0 to 6.0.1 in /cfn-lint-serverless (#209) by @dependabot[bot]
- chore(deps-dev): bump flake8-bugbear from 22.4.25 to 23.3.12 in /cfn-lint-serverless (#211) by @dependabot[bot]
- chore(deps): bump actions/setup-go from 3 to 5 (#208) by @dependabot[bot]
- chore(deps-dev): bump bandit from 1.7.1 to 1.7.10 in /cfn-lint-serverless (#206) by @dependabot[bot]
- chore(deps-dev): bump idna from 3.3 to 3.7 in /cfn-lint-serverless (#205) by @dependabot[bot]
- chore(deps-dev): bump black from 22.8.0 to 24.3.0 in /cfn-lint-serverless (#204) by @dependabot[bot]
- chore(deps-dev): bump requests from 2.26.0 to 2.32.2 in /cfn-lint-serverless (#203) by @dependabot[bot]
- chore(deps-dev): bump future from 0.18.2 to 0.18.3 in /cfn-lint-serverless (#202) by @dependabot[bot]
- chore(deps-dev): bump certifi from 2021.10.8 to 2024.7.4 in /cfn-lint-serverless (#201) by @dependabot[bot]
- chore(deps): bump urllib3 from 1.26.7 to 1.26.19 in /cfn-lint-serverless (#200) by @dependabot[bot]
- chore(deps): bump setuptools from 59.6.0 to 70.0.0 in /cfn-lint-serverless (#199) by @dependabot[bot]
- chore(deps-dev): bump gitpython from 3.1.20 to 3.1.41 in /cfn-lint-serverless (#198) by @dependabot[bot]
- chore(deps-dev): bump xenon from 0.9.0 to 0.9.3 in /cfn-lint-serverless (#197) by @dependabot[bot]
- chore(deps-dev): bump black from 22.3.0 to 22.8.0 in /cfn-lint-serverless (#164) by @dependabot[bot]
- chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#154) by @dependabot[bot]
- chore(deps-dev): bump flake8-eradicate from 1.2.0 to 1.2.1 in /cfn-lint-serverless (#152) by @dependabot[bot]
- chore(deps-dev): bump flake8-bugbear from 22.3.23 to 22.4.25 in /cfn-lint-serverless (#151) by @dependabot[bot]
- chore(deps): bump github.com/hashicorp/hcl/v2 from 2.11.1 to 2.12.0 in /tflint-ruleset-aws-serverless (#150) by @dependabot[bot]
- chore(deps): bump terraform-linters/setup-tflint from 1 to 2 (#148) by @dependabot[bot]
- chore(deps-dev): bump black from 22.1.0 to 22.3.0 in /cfn-lint-serverless (#147) by @dependabot[bot]
- chore(deps-dev): bump flake8-bugbear from 22.3.20 to 22.3.23 in /cfn-lint-serverless (#146) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.58.3 to 0.58.4 in /cfn-lint-serverless (#145) by @dependabot[bot]
- chore(deps-dev): bump flake8-bugbear from 22.1.11 to 22.3.20 in /cfn-lint-serverless (#144) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.58.2 to 0.58.3 in /cfn-lint-serverless (#143) by @dependabot[bot]
- chore(deps): bump actions/checkout from 2 to 3 (#142) by @dependabot[bot]
- chore(deps): bump actions/setup-go from 2.2.0 to 3 (#141) by @dependabot[bot]
- chore(deps): bump actions/setup-python from 2.3.2 to 3 (#140) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.58.1 to 0.58.2 in /cfn-lint-serverless (#139) by @dependabot[bot]
- chore(deps-dev): bump xenon from 0.8.0 to 0.9.0 in /cfn-lint-serverless (#138) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.58.0 to 0.58.1 in /cfn-lint-serverless (#137) by @dependabot[bot]
- chore(deps-dev): bump pytest from 7.0.0 to 7.0.1 in /cfn-lint-serverless (#136) by @dependabot[bot]
- chore(deps): bump actions/setup-go from 2.1.5 to 2.2.0 (#135) by @dependabot[bot]
- chore(deps): bump actions/setup-python from 2.3.1 to 2.3.2 (#133) by @dependabot[bot]
- chore(deps-dev): bump pytest from 6.2.5 to 7.0.0 in /cfn-lint-serverless (#134) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.57.0 to 0.58.0 in /cfn-lint-serverless (#132) by @dependabot[bot]
- chore(deps-dev): bump black from 21.12b0 to 22.1.0 in /cfn-lint-serverless (#131) by @dependabot[bot]
- chore(deps): bump cfn-lint from 0.56.4 to 0.57.0 in /cfn-lint-serverless (#130) by @dependabot[bot]
This release was made possible by the following contributors:
Version 0.3.2
Summary
This release only contains dependency updates.
Changes
🧰 Maintenance
- chore(deps-dev): bump flake8-bugbear from 21.11.29 to 22.1.11 in /cfn-lint-serverless (#129) by @dependabot
- chore(deps): bump cfn-lint from 0.56.3 to 0.56.4 in /cfn-lint-serverless (#128) by @dependabot
- chore(deps): bump actions/setup-go from 2.1.4 to 2.1.5 (#127) by @dependabot
- chore(deps): bump cfn-lint from 0.56.2 to 0.56.3 in /cfn-lint-serverless (#125) by @dependabot
- chore(deps-dev): bump black from 21.11b1 to 21.12b0 in /cfn-lint-serverless (#126) by @dependabot
- chore(deps): bump github.com/hashicorp/hcl/v2 from 2.10.1 to 2.11.1 in /tflint-ruleset-aws-serverless (#124) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 21.11.28 to 21.11.29 in /cfn-lint-serverless (#123) by @dependabot
- chore(deps): bump actions/setup-python from 2.3.0 to 2.3.1 (#122) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 21.9.2 to 21.11.28 in /cfn-lint-serverless (#121) by @dependabot
- chore(deps-dev): bump coverage from 6.1.2 to 6.2 in /cfn-lint-serverless (#120) by @dependabot
- chore(deps): bump cfn-lint from 0.56.1 to 0.56.2 in /cfn-lint-serverless (#119) by @dependabot
- chore(deps-dev): bump black from 21.11b0 to 21.11b1 in /cfn-lint-serverless (#118) by @dependabot
- chore(deps): bump actions/setup-python from 2.2.2 to 2.3.0 (#116) by @dependabot
- chore(deps-dev): bump black from 21.10b0 to 21.11b0 in /cfn-lint-serverless (#117) by @dependabot
- chore(deps): bump cfn-lint from 0.56.0 to 0.56.1 in /cfn-lint-serverless (#115) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.3.1
Summary
Fix an issue for Python 3.8 and 3.9 that would cause builds to fail.
Changes
- chore(cfn-lint): bump black version (#114) by @nmoutschen
🧰 Maintenance
- chore(deps): bump cfn-lint from 0.55.0 to 0.56.0 in /cfn-lint-serverless (#111) by @dependabot
- chore(deps): bump cfn-lint from 0.54.4 to 0.55.0 in /cfn-lint-serverless (#110) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.3.0
Summary
This release disables three rules for Terraform, as they only work by cross-references resources. See this issue for more information.
Disabled rules:
If you wish to use these rules anyway, for example because you rely on static values, you can enable it by following the tflint documentation on enabling/disabling rules.
Changes
- chore(cfn-lint): cfn-lint dependencies version (#109) by @nmoutschen
- feat(tflint): disable cross-resource rules (#108) by @nmoutschen
🧰 Maintenance
- chore(deps-dev): bump coverage from 6.0.2 to 6.1.1 in /cfn-lint-serverless (#105) by @dependabot
- chore(deps-dev): bump flake8 from 3.9.2 to 4.0.1 in /cfn-lint-serverless (#106) by @dependabot
- chore(deps): bump cfn-lint from 0.54.2 to 0.54.4 in /cfn-lint-serverless (#103) by @dependabot
- chore(deps-dev): bump flake8-eradicate from 1.1.0 to 1.2.0 in /cfn-lint-serverless (#104) by @dependabot
- chore(deps-dev): bump coverage from 6.0.1 to 6.0.2 in /cfn-lint-serverless (#102) by @dependabot
- chore(deps-dev): bump coverage from 6.0 to 6.0.1 in /cfn-lint-serverless (#101) by @dependabot
- chore(deps-dev): bump pytest-cov from 2.12.1 to 3.0.0 in /cfn-lint-serverless (#99) by @dependabot
- chore(deps-dev): bump coverage from 5.5 to 6.0 in /cfn-lint-serverless (#100) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 21.9.1 to 21.9.2 in /cfn-lint-serverless (#98) by @dependabot
- chore(deps): bump cfn-lint from 0.54.1 to 0.54.2 in /cfn-lint-serverless (#97) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.2.2
Summary
Updating project dependencies.
Changes
🧰 Maintenance
- chore(deps): bump cfn-lint from 0.54.0 to 0.54.1 in /cfn-lint-serverless (#95) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 21.4.3 to 21.9.1 in /cfn-lint-serverless (#96) by @dependabot
- chore(deps-dev): bump radon from 4.5.2 to 5.1.0 in /cfn-lint-serverless (#92) by @dependabot
- chore(deps): bump cfn-lint from 0.53.1 to 0.54.0 in /cfn-lint-serverless (#93) by @dependabot
- chore(deps-dev): bump xenon from 0.7.3 to 0.8.0 in /cfn-lint-serverless (#91) by @dependabot
- chore(deps): bump cfn-lint from 0.53.0 to 0.53.1 in /cfn-lint-serverless (#89) by @dependabot
- chore(deps-dev): bump pytest from 6.2.4 to 6.2.5 in /cfn-lint-serverless (#90) by @dependabot
- chore(deps): bump actions/setup-go from 2.1.3 to 2.1.4 (#88) by @dependabot
- chore(deps): bump cfn-lint from 0.52.0 to 0.53.0 in /cfn-lint-serverless (#87) by @dependabot
- chore(deps): bump github.com/hashicorp/hcl/v2 from 2.10.0 to 2.10.1 in /tflint-ruleset-aws-serverless (#86) by @dependabot
- chore(deps): bump github.com/terraform-linters/tflint-plugin-sdk from 0.9.0 to 0.9.1 in /tflint-ruleset-aws-serverless (#85) by @dependabot
- refactor(cfn-lint): refactor references with Value class (#84) by @nmoutschen
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.2.1
Summary
Small bug fixes on cfn_lint_serverless
.
Changes
🐛 Bug Fixes
- fix(cfn-lint): ignore ES6000 for DLQs, fixes #79 (#82) by @nmoutschen
- fix(cfn-lint): fix unhashable type on WS1002, fixes #78 (#81) by @nmoutschen
🧰 Maintenance
- chore(deps): bump github.com/terraform-linters/tflint-plugin-sdk from 0.8.2 to 0.9.0 in /tflint-ruleset-aws-serverless (#80) by @dependabot
- chore(deps): bump cfn-lint from 0.51.0 to 0.52.0 in /cfn-lint-serverless (#77) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.2.0
Summary
This release brings rule parity between the cfn-lint
and tflint
tool.
Changes
📐 New Rules
- feat(tflint): lambda log retention rule (#76) by @nmoutschen
- feat(tflint): lambda no star rule (#75) by @nmoutschen
🧰 Maintenance
- chore(deps-dev): bump pytest-cov from 2.12.0 to 2.12.1 in /cfn-lint-serverless (#74) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 20.11.1 to 21.4.3 in /cfn-lint-serverless (#73) by @dependabot
- chore(deps): bump github.com/hashicorp/hcl/v2 from 2.8.2 to 2.10.0 in /tflint-ruleset-aws-serverless (#71) by @dependabot
- chore(deps): bump cfn-lint from 0.49.2 to 0.51.0 in /cfn-lint-serverless (#72) by @dependabot
- chore(deps-dev): bump flake8-eradicate from 1.0.0 to 1.1.0 in /cfn-lint-serverless (#70) by @dependabot
- chore(deps): bump github.com/terraform-linters/tflint-plugin-sdk from 0.8.1 to 0.8.2 in /tflint-ruleset-aws-serverless (#69) by @dependabot
- chore(deps): bump actions/setup-python from 1 to 2.2.2 (#68) by @dependabot
- chore(deps): bump actions/setup-go from 1 to 2.1.3 (#67) by @dependabot
- chore: add dependabot config (#66) by @nmoutschen
- chore: add docs requirements to make dev (#64) by @nmoutschen
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @nmoutschen
Version 0.1.9
Summary
Bug fix for the Lambda Log Retention rule for cflint
, and adding parity for tflint
for two rules.
Changes
📐 New Rules
- feat: add Lambda async failure destination rule for tflint (#61) by @nmoutschen
- feat: add Lambda permission multiple principals rule for tflint (#60) by @nmoutschen
📚 Documentation Updates
- docs: cfn-lint with existing stacks (#58) by @nmoutschen
🐛 Bug Fixes
- fix(cfnlint): support variables in Sub for WS1004, fixes #62 (#63) by @nmoutschen
This release was made possible by the following contributors:
Version 0.1.8
Summary
This update focuses mainly on improvement to the documentation, and linking all the rules in the plugins to the documentation.
Changes
📐 New Rules
- rule: Async Lambda Destination rule (#51) by @nmoutschen
- rule: Lambda default memory and timeout rules (#49) by @nmoutschen
🚀 Enhancements
- feat: add URL references to rules (#54) by @nmoutschen
📚 Documentation Updates
- docs: remove non-implemented rules from index (#57) by @nmoutschen
- docs: add badges on rule index (#56) by @nmoutschen
- docs: add junit report samples for CI (#55) by @nmoutschen
- docs: restructure the documentation (#52) by @nmoutschen
- docs: add GitLab instructions (#50) by @nmoutschen