Unable to suppress S2083 error in C#

I am unable to ignore errors like S2083


As you can see from the image I’ve tried to disable the rule in different ways. I do not want to use the SQ web ui to ignore the issue. So how can I ignore the check from code?

Hey there.

//NOSONAR unforunately doesn’t work on issues raised by our advanced security analyzers. We have an internal ticket to resolve this, and I’ve linked your post.

You can mark the issue as false-positive/won’t fix within SonarQube, or consider other issue exclusion mechanisms.