Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCS0016 False positive for ODataController #264

Open
3 of 11 tasks
dnperfors opened this issue Oct 5, 2022 · 0 comments
Open
3 of 11 tasks

SCS0016 False positive for ODataController #264

dnperfors opened this issue Oct 5, 2022 · 0 comments

Comments

@dnperfors
Copy link

Environment:

  • Version: 5.6.7
  • Branch:
    • vs2019
    • vs2017
    • vs2015
  • Installation/Running method:
    • Visual Studio Extension
    • NuGet package
    • Standalone tool
      • DotNet Core Tool from NuGet
      • security-scan4x.zip from GitHub Release section
  • Operating System:
    • Windows
    • Linux
    • Mac

Describe the bug
Our WebAPI implements OData and thus uses ODataController instead of ControllerBase for controllers. This leads to SCS0016 popping up.

Repro
Create an simple OData project and add the nuget package :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant