Behavior change to Azure app tests #7594
-
Hi folks, I've some questions about Azure app tests that arose when updating my Prowler version. In v4.2.4 the following tests were running against my Python function apps:
In v4.3.0 (continuing through v5.5.1) there was a change that made a distinction between web vs function apps. The tests above no longer run, and are instead replaced with:
Some of these look like duplicates/equivalents to the first list of tests. But also, some coverage seems to be lost, e.g. Prowler no longer runs app_ensure_python_version_is_latest to report that my apps are an older version of Python.
Additionally, none of the new tests run on locked apps. For locked tests I now see this error rather than get any results:
I'm more than happy to convert either of these questions to a bug report, I just didn't know if that was polite or appropriate! Thanks very much for your time (and fantastic software)! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @khesterproton, For those specific checks, some additional permissions are now required as part of the Prowler Role, you can check all that information in our documentation. Please verify if whether those permissions resolve the issue. In the case that the problem persists, feel free to share the error messages with me here so I can investigate whether it’s a bug. Here are the relevant references: Prowler Role for Azure: https://github.com/prowler-cloud/prowler/blob/master/permissions/prowler-azure-custom-role.json Checks requiring special permissions: https://docs.prowler.com/projects/prowler-open-source/en/latest/getting-started/requirements/#checks-that-require-prowlerrole Let me know if I can assist further! |
Beta Was this translation helpful? Give feedback.
Hi @khesterproton,
You’re right, that’s not expected behavior. I’ve gone ahead and opened an issue (#7651) so we can properly track this. If you don’t mind, we’ll continue the conversation there so we can close this discussion. Thanks so much for reporting it! I’ll start working on it as soon as possible.