Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Confidence Filter at Rule Level #672

Merged
merged 5 commits into from
Dec 9, 2024
Merged

Fix Confidence Filter at Rule Level #672

merged 5 commits into from
Dec 9, 2024

Conversation

gfs
Copy link
Contributor

@gfs gfs commented Dec 9, 2024

The underlying application inspector engine filters based on confidence level at the pattern level but not the rule level, but DevSkim does have a Rule level confidence value, which is supposed to be respected by the confidence filter option.

Fix #669.

danfiedler-msft
danfiedler-msft previously approved these changes Dec 9, 2024
danfiedler-msft
danfiedler-msft previously approved these changes Dec 9, 2024
Update options tests to account for unspecified behavior (its the 0 value for the enum flag so always passes the check).
@gfs gfs merged commit 210b5d1 into main Dec 9, 2024
16 checks passed
@gfs gfs deleted the gfs/RuleLevelConfidenceFix branch December 9, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--confidence High arg not working with DevSkim analyze
2 participants