This page covers guardrails specific to Automations. For general Ona Guardrails (policies, SSO, audit logs), see Ona Guardrails.
What are automation guardrails
Automation guardrails are security and operational controls that protect your codebase and infrastructure while automations execute at scale. They include:- Environment isolation - Automations run in isolated environments with controlled access
- Command restrictions - Deny lists prevent execution of dangerous or unauthorized commands
- Audit trails - Complete logging of all automation activity for compliance and debugging
- Concurrency limits - Controls on parallel execution to manage costs and resources
- Access controls - Service account permissions and organizational policies
Environment isolation
Each automation runs in an isolated Ona Environment with dedicated resources and no access to other automations or user environments. This prevents interference, maintains security boundaries, and ensures proper resource allocation. Learn more about Ona Environments.Command deny lists
Command deny lists prevent automations from executing dangerous or unauthorized commands. When an automation attempts a blocked command, it fails immediately with an error. Common deny list rules:- Block
sudoand destructive operations (rm -rf /) - Block cloud CLI tools (
aws,gcloud,az) - Restrict system modifications
Audit logging
Every automation execution is fully logged, including commands executed, files modified, pull requests created, and errors. Use audit logs to track activity, debug failures, and demonstrate compliance. Audit logs are retained according to your organization’s retention policy and accessible to administrators. Learn more about Audit Logs.Concurrency limits
Concurrency limits control how many actions run simultaneously and in total. These limits prevent resource exhaustion and manage infrastructure costs.What are concurrency limits
Two types of limits control automation execution:- Max concurrent executions - Maximum actions running at the same time
- Max total executions - Maximum total executions allowed for a single automation run
Default limits
Automations use these defaults unless you configure custom values:- Max concurrent actions: 10 - Up to 10 automations run in parallel
- Max total actions: 100 - Up to 100 repositories processed per automation run
- Team-level automations (10-50 repositories)
- Testing and validation
- Regular maintenance tasks
Configuring limits per automation
Adjust limits when creating or editing an automation:- Open the automation configuration
- Set Max concurrent actions (1-50 recommended)
- Set Max total actions (10-1000+ depending on scale)
- Save the automation
- Start small: Test with 5-10 repositories first to validate your automation works correctly
- Scale gradually: Increase to 50-100 repositories after successful validation
- Use the 1:10 ratio: Set concurrent executions to roughly 1/10 of your total (e.g., 10 concurrent for 100 total)
- Contact us for large scale: Planning to run on 1000+ repositories? Contact your account manager first to ensure optimal configuration and a great experience
- Initial test: 5 concurrent, 10 total
- Team validation: 10 concurrent, 100 total
- Department rollout: 20 concurrent, 200 total
- Large-scale (contact us first): Custom configuration for 1000+ repositories
Queue behavior when limits are reached
When an automation reaches its concurrency limit:- Additional executions wait in a queue
- As running executions complete, queued executions start
- The automation continues until all targets are processed or the total limit is reached
- The automation stops processing new targets
- Running executions complete normally
- You receive a notification that the limit was reached
- Increase limits and re-run if needed to process remaining targets
- First 10 repositories start immediately
- As each completes, the next repository starts
- After 100 repositories, the automation stops
- Remaining 400 repositories require a second run with adjusted limits
Monitoring concurrent executions
Track automation execution in real-time:- Navigate to Automations in the left panel
- Click on the running automation
- View execution status:
- Currently running (concurrent count)
- Completed successfully
- Failed
- Queued (waiting for capacity)
- Total processed
- Verify automations are progressing
- Identify if limits are too restrictive
- Spot failures early
- Adjust limits for future runs
Next steps
- Create an Automation with guardrails configured
- Review Command Deny Lists for your organization
- Set up Audit Logs monitoring
- Configure Service Accounts with appropriate permissions