checkov icon indicating copy to clipboard operation
checkov copied to clipboard

feat(arm): AppServicePHPVersion

Open shoshiGit opened this issue 1 year ago • 0 comments

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

We converted the check AppServicePHPVersion from TERRAFORM language to the ARM language so that it also works on resources that are defined in the ARM language..

Fixes # (issue)

Description

Ensure that 'PHP version' is the latest, if used to run the web app

Fix

To fix the issue in code, update the php_version property in the Terraform configuration to "7.4"

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] I have added tests that prove my feature, policy, or fix is effective and works
  • [x] New and existing tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

shoshiGit avatar Jun 10 '24 18:06 shoshiGit