-
Notifications
You must be signed in to change notification settings - Fork 1
Adding Salus enforced bool #396
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
Conversation
| "rules" => rules | ||
| "rules" => rules, | ||
| "properties" => { | ||
| "salusEnforced": @required || false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC the || false was to ensure we had proper support here for unsupported (scanners that don't yet have a sarif adapter present) scanners. If that's the case can you include one spec for that case? Beyond that looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep that's the case, actually I just remembered, the unsupported scanner case is already being tested in base_sarif_spec.rb around lines 12-20. I'd be happy to add another spec if this is insufficient!
Approved review 710656806 from joshua-ostrom is now dismissed due to new commit. Re-request for approval.
Approved review 712224772 from joshua-ostrom is now dismissed due to new commit. Re-request for approval.
What changed? Why?
Adding Salus enforced bool under tool.driver.properties in SARIF in order to update Salus-bots display and cause less confusion surrounding active/enforced scanners
Notes to reviewers
How has it been tested?
Unit testing
Helpful Links
General troubleshooting and FAQ
Change management (definitions)
type=routine
risk=low
impact=sev5
Automerge
automerge=false