snyk-labs / pysnyk

A Python client for the Snyk API.
https://snyk.docs.apiary.io/
MIT License
88 stars 116 forks source link

[BUG]: The introducedThrough property is empty for every issue in issueset_aggregated.all().issues #207

Open Gil-Tohar-Forter opened 12 months ago

Gil-Tohar-Forter commented 12 months ago

Is there an existing issue for this?

Description of the bug

I'm trying to make granular decision making on snyk findings based on many properties. One of the key properties is IntroducedThrough, which helps indicate if the vulnerabily originated in a downstream dependency. Unfortunately, it's currently 'None' on every issue.

Steps To Reproduce

reproduce like this:

org = self.client.organizations.filter(name="<org_name>")[0]
   for project in org.projects.all():
      for issue in project.issueset_aggregated.all().issues:
         print(issue)

Additional Information

No response