diff --git a/pyproject.toml b/pyproject.toml index 9ebb58a..ace3985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pysnyk" -version = "0.9.8" +version = "0.9.9" description = "A Python client for the Snyk API" authors = [ "Gareth Rushgrove ", diff --git a/snyk/managers.py b/snyk/managers.py index 5bade74..4a6565e 100644 --- a/snyk/managers.py +++ b/snyk/managers.py @@ -160,6 +160,7 @@ def _rest_to_v1_response_format(self, project): "critical": issue_counts.get("critical"), }, "targetReference": attributes.get("target_reference"), + "branch": attributes.get("target_reference"), "_tags": attributes.get("tags", []), "importingUserId": project.get("relationships", {}) .get("importer", {})