-
Notifications
You must be signed in to change notification settings - Fork 118
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
[BUG]: SAST Projects causing InvalidFieldValue error when getting all projects for an org #162
Comments
I believe this is related to the version 3.2 of mashumaro that fixed no error when passing None values to fields that shouldn't be None. if |
I am running into this issue a well, i think TotalDependencies needs to be annotated as mentioned above! |
We're also experiencing this issue. |
Same issue here. I seem to be seeing this error pop up when pysnyk runs into an IaC project while using |
I believe I corrected this in #169. If so, please mark this as closed/resolved. |
@ig596 I just tried with version 0.9.18 and still get the same error using the simple test at the top of the issue |
Is there an existing issue for this?
Description of the bug
When using the Snyk client to get an individual org, then get all projects for that org an error is returned. This error seems to be because the SAST/Code Analysis projects return null/None for the
totalDependencies
value.Steps To Reproduce
Create a python script with the following code and run it against any org that includes projects of type SAST/Code Analysis.
Additional Information
The full error messages (with file paths and org IDs removed) is as follows:
The text was updated successfully, but these errors were encountered: