You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the --options-json to exclude rules for Powershell via something like this doesn't work: "LanguageRuleIgnoreMap": {"Powershell": ["DS104456","DS440001","DS440020"]}. I've tried using powershell, PowerShell, ps1, etc but the rules don't get suppressed when running DevSkim.
To Reproduce
Steps to reproduce the behavior:
Create a Powershell script that will flag a DevSkim rule.
Create a json file { "LanguageRuleIgnoreMap": {"powershell": ["DS-Rule-To-Suppress"] } }
Run DevSkim analyze with --options-json path-to-json-file
DevSkim analyze fails to suppress the DevSkim rule
Expected behavior
DevSkim analyze should suppress the DevSkim rule set in LanguageRuleIgnoreMap
Screenshots
N/A
Versions(please complete the following information):
OS: Windows 11
Devskim Version 1.0.44+10b85ce690
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the --options-json to exclude rules for Powershell via something like this doesn't work:
"LanguageRuleIgnoreMap": {"Powershell": ["DS104456","DS440001","DS440020"]}
. I've tried using powershell, PowerShell, ps1, etc but the rules don't get suppressed when running DevSkim.To Reproduce
Steps to reproduce the behavior:
{ "LanguageRuleIgnoreMap": {"powershell": ["DS-Rule-To-Suppress"] } }
--options-json path-to-json-file
Expected behavior
DevSkim analyze should suppress the DevSkim rule set in
LanguageRuleIgnoreMap
Screenshots
N/A
Versions(please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: