Enhance sast-rule csharp/injection/rule-LdapInjection.yml
Problem
- Could be enhanced to check for assignment when using
UserPrincipal u = new UserPrincipal(AD);
and theAccountManagement
assembly
Solution
Follow the enhance rule checklist.
UserPrincipal u = new UserPrincipal(AD);
and the AccountManagement
assemblyFollow the enhance rule checklist.