Skip to content

Commit

Permalink
Fix for #242 (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
guyacosta authored Jul 8, 2020
1 parent c02c0b0 commit b77dce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AppInspector/rules/default/frameworks/microsoft.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
"severity": "moderate",
"patterns": [
{
"pattern": "ServiceContract|using System\\.ServiceModel|WSHttpBinding|[HttpGet]|[HttpPut]",
"pattern": "ServiceContract|using System\\.ServiceModel|WSHttpBinding",
"type": "regex-word",
"scopes": [ "code" ],
"modifiers": [ "i" ]
},
{
"pattern": "Controller\\b",
"pattern": "Controller\\b|\\[HttpGet\\]|\\[HttpPut\\]",
"type": "regex",
"scopes": [ "code" ],
"modifiers": [ "i" ]
Expand Down

0 comments on commit b77dce2

Please sign in to comment.