CodeQL library for C#
codeql/csharp-all 4.0.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)