microsoft / sarif-pattern-matcher

Quality domain agnostic regular expression pattern matcher that persists results to SARIF
MIT License
39 stars 18 forks source link

Disable rule in memory test #742

Closed michaelcfanning closed 1 year ago

michaelcfanning commented 1 year ago

This change provides an explicit test to show how to disable a specific rule in an API-driven context.

It also creates a helper for creating a couple of test rules. We could/should clean up other tests to more closely conform to the pattern shown in the new test.

@cfaucon @suvamM @HulonJenkins