Ensure that 'Python version' is the latest, if used as a part of the Function app: Broken, false-positive
- Dominant language
- Open Policy Agent
- Stars
- 1.7k
- Forks
- 1.2k
- Avg merge
- 2d 54m
- Merged PRs (30d)
- 3
Description
#### Details of the scenario you tried and the problem that is occurring
Azure Function App (linux, python) is incorrectly registering as failing this policy.
#### Verbose logs showing the problem
My function app's config contains `"linuxFxVersion": "PYTHON|3.9"`, yet it's flagged as failing this policy.
#### Suggested solution to the issue
Correct the false-positive, or please provide instruction around achieving compliance.
#### If policy is Guest Configuration - details about target node
Contributor guide
No contributing guide indexed for this repository
Research direction
The report concerns Azure Function App configuration, specifically `linuxFxVersion` set to `PYTHON|3.9`; no source file or test is identified. Start by locating the policy definition that evaluates the Python version, then verify the behavior for this configuration and document or test the expected compliant result without the false positive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100