Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Sep 20, 2023
1 parent 710816d commit 4bebcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/arm/checks/resource/AppServiceUsedAzureFiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def scan_resource_conf(self, conf: dict[str, Any]) -> CheckResult:
if properties and isinstance(properties, dict):
azureStorageAccounts = properties.get("azureStorageAccounts")
if azureStorageAccounts and isinstance(azureStorageAccounts, dict):
for account_name, account_data in azureStorageAccounts.items():
for account_data in azureStorageAccounts.values():
if isinstance(account_data, dict) and account_data.get('type') == "AzureFiles":
return CheckResult.PASSED
return CheckResult.FAILED
Expand Down

0 comments on commit 4bebcbd

Please sign in to comment.