We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a783e commit 76f61c5Copy full SHA for 76f61c5
snyk/managers.py
@@ -152,9 +152,7 @@ def _rest_to_v1_response_format(self, project):
152
"type": attributes.get("type"),
153
"readOnly": attributes.get("read_only"),
154
"testFrequency": recurring_tests.get("frequency"),
155
- "isMonitored": True
156
- if project.get("meta", {}).get("cli_monitored_at")
157
- else False,
+ "isMonitored": True if attributes.get("status") == "active" else False,
158
"issueCountsBySeverity": {
159
"low": issue_counts.get("low"),
160
"medium": issue_counts.get("medium"),
0 commit comments