SnykOrgAppBot
Model for Snyk Organization App Bots.
Overview
This model represents app bots within an organization. App bots are service accounts created by apps to perform automated actions.
Uses the Snyk v2 REST API endpoint: /orgs/{org_id}/app_bots
import clearskies
from clearskies_snyk.models import SnykOrgAppBot
def my_handler(snyk_org_app_bot: SnykOrgAppBot):
# Fetch all app bots for an org
bots = snyk_org_app_bot.where("org_id=org-id-123")
for bot in bots:
print(f"Bot: {bot.id} - App: {bot.app_id}")