C#


ROSLYN.SECURITY.CA3012 : Review code for regex injection vulnerabilities (C#)

See Roslyn-Detected C# Warning Classes for more information.

Summary

This check corresponds to Roslyn rule CA3012. For full rule details, see the Microsoft website: CA3012.

Properties

Class Name Review code for regex injection vulnerabilities (C#)
Significance security
Mnemonic ROSLYN.SECURITY.CA3012
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Review code for regex injection vulnerabilities (C#)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.