CodeQL library for C#
codeql/csharp-all 3.1.1-dev (changelog, source)
Search

Predicate needsAuth

Holds if the method m may need an authorization check.

Import path

import semmle.code.csharp.security.auth.MissingFunctionLevelAccessControlQuery
predicate needsAuth(ActionMethod m)