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