-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Port: Truncate component property value #748
Conversation
Co-Authored-By: Niklas <[email protected]>
Co-Authored-By: Niklas <[email protected]>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences🚀 Don’t miss a bit, follow what’s new on Codacy. Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
The limit should also apply to the database schema: hyades-apiserver/src/main/resources/migration/changelog-v5.5.0.xml Lines 115 to 134 in e0f083e
On the same note, could you also add the limits for the other fields so they're in sync with what's defined on the Java model? |
Sure, though fields other than |
Argh, apologies I was looking at the upstream code indeed. I think it makes sense to add them for consistency, WDYT? |
Seems the new SARIF test is a bit flaky:
Do you see any way we can stabilize it? |
Description
Truncates ComponentProperty values.
This is both to prevent the database's length constraint from being violated, and to avoid storing unnecessary long values. Some tools may misuse properties, and in those cases having the complete value is usually not of interest to users.
Addressed Issue
Backport change DependencyTrack/hyades#1190
Checklist