- 
                Notifications
    You must be signed in to change notification settings 
- Fork 554
fix: minor trivy fix #3483
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: minor trivy fix #3483
Conversation
| // Handling for future use | ||
| func (d Severity) ValuesOf(severity string) Severity { | ||
| if severity == "critical" { | ||
| if severity == "critical" || severity == "high" { | 
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.
we should make these values as constants
|  | ||
| const ( | ||
| Low Severity = iota | ||
| Moderate | 
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.
image scanner has devtron severity medium not moderate. align this with it.
| Kudos, SonarCloud Quality Gate passed!     
 
 | 
* review changes and main sync script * Severity high and safe handling * sql script change * script fix * review changes * review changes








Description
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:
Does this PR introduce a user-facing change?