snyk-labs / pysnyk

A Python client for the Snyk API.

Home Page:https://snyk.docs.apiary.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Gil-Tohar-Forter opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

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