How controlm/automation-api-community-solutions works
This is a community collection of Control-M Automation API examples and integrations, not one deployable application. Users start with a task-specific script or IDE command and get an operational action, report, or external-system integration. The samples cover workload operations, preflight checks, job-as-code and CI/CD, infrastructure/cloud, and alert-to-ITSM workflows. The graph keeps these independent examples as separate branches; source evidence is partial, so it avoids inferring links between unrelated samples or unsampled implementations.
Main entry points: ctm_to_snow_incident.py ServiceNow incident flow · extalert.py Helix alert handler · extension.ts VS Code extension · agent_config_baseline.py Workload preflight
Components 28
Workload Operations
- Hostgroup status
1-general-examples/control-m-hostgroup-status/hostgroup_list.py - Duplicate job cleanup
1-general-examples/hold-or-delete-duplicated-jobs/scripts/hold-or-delete-duplicated-jobs.py - Profile conversion
1-general-examples/how-to-convert-local-connection-profiles-to-centralized/scripts/lcps_to_ccps.py - Profile search
1-general-examples/search_connections_profiles_for_attribute/scripts - Workload preflight
1-general-examples/workload-preflight-check/src/agent_config_baseline.py - Control-M API client
1-general-examples/workload-preflight-check/src/ctm_engineer.py
Alerts and ITSM
- ServiceNow incident flow
1-general-examples/send-alerts-to-snow/src/ctm_to_snow_incident.py - Job report enrichment
1-general-examples/send-alerts-to-snow/src/ctm_job_report.py - Control-M REST client
1-general-examples/send-alerts-to-snow/src/ctm_client.py - ServiceNow
- Helix alert handler
helix-control-m/2-external-monitoring-tools-examples/alerts-to-helix-itsm/extalert.py - Alert helpers
helix-control-m/2-external-monitoring-tools-examples/alerts-to-helix-itsm/extalert_functions.py - Remedy ITSM
Job-as-Code Tools
- VS Code extension
6-ide-integrations/integration-via-marketplace/vscode/src/extension.ts - CLI command runner
6-ide-integrations/integration-via-marketplace/vscode/src/commands/CliCommand.ts - CLI utilities
6-ide-integrations/integration-via-marketplace/vscode/src/utils/CliUtils.ts - Deploy settings
6-ide-integrations/integration-via-marketplace/vscode/src/utils/SettingsUtils.ts - CI/CD examples
2-cicd-tooling-integration - Jinja job rendering
8-jobs-as-code/kitchensink-with-jinja2/render.py
Infrastructure and Cloud
- Lambda event handler
3-infrastructure-as-code-examples/aws-lambda-invoke-controlm-services/ctmEventHandler.py - Kubernetes job examples
3-infrastructure-as-code-examples/kubernetes-agent-application-pods/KubernetesMachine/runJob.py - EC2 agent cleanup
3-infrastructure-as-code-examples/manage-workload-on-ec2/ctmAgentCleanup.py - SageMaker workflows
9-aws-integrations/ctm-and-amazon-sagemaker/train.py - AWS services
API Integrations
- Python API examples
3-infrastructure-as-code-examples/using-python-to-interact-with-control-m - Apigee gateway examples
7-api-gateway-integrations - Managed file transfer
10-data-transfers/managed-file-transfer-enterprise/site-connection-test/src/werkstatt.build.package.py
Other components
- Automation user
Connections 26
- Automation user → Hostgroup status: runs
- Automation user → Duplicate job cleanup: runs
- Automation user → Profile conversion: converts
- Automation user → Profile search: searches
- Automation user → Workload preflight: checks
- Workload preflight → Control-M API client: uses client
1-general-examples/workload-preflight-check/src/agent_config_baseline.py - Automation user → ServiceNow incident flow: sends alert
- ServiceNow incident flow → Job report enrichment: gets report
1-general-examples/send-alerts-to-snow/src/ctm_job_report.py - Job report enrichment → Control-M REST client: calls
1-general-examples/send-alerts-to-snow/src/ctm_job_report.py - ServiceNow incident flow → ServiceNow: creates incident
1-general-examples/send-alerts-to-snow/src/ctm_to_snow_incident.py - Automation user → Helix alert handler: handles alert
- Helix alert handler → Alert helpers: uses helpers
helix-control-m/2-external-monitoring-tools-examples/alerts-to-helix-itsm/extalert.py - Helix alert handler → Remedy ITSM: creates ticket
helix-control-m/2-external-monitoring-tools-examples/alerts-to-helix-itsm/extalert.py - Automation user → VS Code extension: invokes commands
- VS Code extension → CLI command runner: dispatches
6-ide-integrations/integration-via-marketplace/vscode/src/extension.ts - CLI command runner → CLI utilities: runs CLI
6-ide-integrations/integration-via-marketplace/vscode/src/commands/CliCommand.ts - VS Code extension → Deploy settings: prompts descriptor
6-ide-integrations/integration-via-marketplace/vscode/src/extension.ts - Automation user → CI/CD examples: uses examples
- Automation user → Jinja job rendering: renders jobs
- Automation user → Lambda event handler: invokes sample
- Automation user → Kubernetes job examples: runs sample
- Automation user → EC2 agent cleanup: runs cleanup
- Automation user → SageMaker workflows: runs workflow
- Automation user → Python API examples: uses examples
- Automation user → Apigee gateway examples: uses examples
- Automation user → Managed file transfer: tests connection