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

Added support for overriding rule severity level #1180 #2621

Conversation

BernieWhite
Copy link
Member

PR Summary

  • Added support for overriding rule severity level.
    • Baselines now accept a new spec.overrides.level property which configures severity level overrides.
    • Options now accept a new overrides.level properties which configures severity level overrides.
    • For example, a rule that generates an Error can be overridden to Warning.

Fixes #1180

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress
  • Code changes
    • Have unit tests created/ updated
    • Link to a filed issue
    • Change log has been updated with change under unreleased section

@BernieWhite BernieWhite requested a review from a team as a code owner November 21, 2024 16:37
@BernieWhite BernieWhite merged commit d5cdcfd into microsoft:main Nov 21, 2024
14 checks passed
@BernieWhite BernieWhite deleted the users/bewhite/baseline-override-severity branch November 21, 2024 16:51
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.

Add support for overriding rule severity level with baselines
1 participant