Microsoft defender is alerting for vulnerable version of nuget package in Azure Function's ".azurefunctions/function.deps.json" file"
Hi Champs,
I'm facing a typical problem with my function app and MS defender for cloud.
Defender is raising issues for my deployed function(written in c#) as:
Even after installing latest nuget package, "function.deps.json" file is not referring to the latest versions.
I can see another <function name>.deps.json file outside the .azurefunctions folder which is referring to latest packages.
If I delete ".azurefunctions" folder, function stops execution.
My challenge is to to update the deps.json file inside the folder, other wise defender will keep on alerting which is not acceptable.
This deps.json file is autogenerated so how I can change any configuration so that it refer to the latest version of the package?
This issue is stopping us to live. Early response will be of great help.
Regards,
Partha