SnykOrgAppInstall
Model for Snyk Organization App Installs.
Overview
This model represents installed Snyk Apps within an organization. App installs are instances of apps that have been authorized to access an organization’s data.
Uses the Snyk v2 REST API endpoint: /orgs/{org_id}/apps/installs
import clearskies
from clearskies_snyk.models import SnykOrgAppInstall
def my_handler(snyk_org_app_install: SnykOrgAppInstall):
# Fetch all app installs for an org
installs = snyk_org_app_install.where("org_id=org-id-123")
for install in installs:
print(f"Install: {install.id} - App: {install.app_id}")