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