-
Notifications
You must be signed in to change notification settings - Fork 593
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
protecodeExecuteScan error json: cannot unmarshal string into Go struct field Vuln.results.components.vulns.vuln.cvss of type float64 #4165
Comments
Any updates regarding this issue - It broke all of our pipelines since the Protecode update. We have to ship a new release soon. |
Our delivery is also blocked by this issue. |
cc @OliverNocon @CCFenner @UmidjonUrunov Hello, colleagues! Do you have time to check the issue ? seems new Protecode API has breaking changes; |
Tried to add a PR fixing the issue. Does anyone have a sample file (with the new changes) for me to replace https://github.com/SAP/jenkins-library/blob/master/pkg/protecode/testdata/protecode_result_violations.json ? |
@ffeldmann I have only results from successful pipeline; You could clone the file and add new item where cvss is string; this would allow to check if your changes would work for new API that returns a string and also for old API that returns float; |
@i540608 can you run the custom piper binary with your pipeline to see if it works as expected? I honestly would not like to upload a internal security finding file in gihtub... |
What prevents you from merging #4167 ? We are still blocked... |
@matthias-goetzenberger I do wait for the confirmation from the OS office that their checks work with the changes... Then we can merge. Any minute :) PS: I am doing this voluntarily, not part of piper, nor protecode... Just contributing and helping to improve developers live with sustainability at the core :) |
@ffeldmann thank you for the swift support! Will you or someone in your team follow up on this issue? I would assume the next time Protecode introduces breaking changes to their API contract we want to notice before they go live and break your automation. Maybe the have a test system for integration tests or can provide such a system in the future. (you can reach out to the protecode team via SNOW: |
Hi @jhoenger honestly I do not know. Im neither part of Piper, nor Protecode. Totally different team. Please reach out to @UmidjonUrunov . |
I'd suggest to discuss this internally and not posting internal links here. |
Since this weekend we get this errors in our pipelines in the
protecodeExecuteScan
step:I think something has changed in the parsing or the json field
"cvss":"3.7"
is now a string and not longer a float.The text was updated successfully, but these errors were encountered: