Scheduling & Automation
Configure Auto-Update
POST
Configures automated update settings for a container, including scheduling and vulnerability-based update policies.
Overview
This endpoint allows you to configure how and when containers are automatically updated. You can:- Set update schedules using cron expressions
- Define vulnerability criteria to block unsafe updates
- Enable or disable auto-updates per container
Path Parameters
string
required
Name of the container to configure (URL-encoded if contains special characters)
Query Parameters
number
Environment ID. Omit for default environment.
Request Body
boolean
required
Enable or disable auto-updates. Setting to
false deletes the configuration.string
required
Cron expression for update schedule. Uses standard 5-field format.Example:
"0 3 * * *" (daily at 3 AM)string
default:"never"
Policy for blocking updates based on vulnerability scan results:
Requires vulnerability scanning to be enabled for the environment. If scanning is disabled, this setting is ignored.
string
Optional schedule type hint. Auto-detected from
cronExpression if omitted.daily- Runs once per dayweekly- Runs once per weekcustom- Custom cron schedule
Vulnerability Criteria Details
How Vulnerability Blocking Works
When auto-update runs:- Checks if new image version is available
- If scanning enabled, scans the new image
- Evaluates scan results against configured criteria
- Blocks or proceeds with update based on criteria
Criteria Behavior
never
never
Updates are never blocked based on vulnerabilities. This is the default and most permissive setting.Use when: You want updates to always proceed, relying on other security measures.
any
any
Blocks updates if the new image contains any vulnerabilities at any severity level.Use when: You have a zero-tolerance policy for vulnerabilities.Example: New image has 1 low severity vulnerability → Update blocked
critical_high
critical_high
Blocks updates only if critical or high severity vulnerabilities are found.Use when: You want to prevent serious vulnerabilities while accepting minor risks.Example: New image has 5 medium vulnerabilities → Update proceeds
Example: New image has 1 critical vulnerability → Update blocked
Example: New image has 1 critical vulnerability → Update blocked
critical
critical
Blocks updates only if critical severity vulnerabilities are found.Use when: You want to balance security with update frequency.Example: New image has 2 high vulnerabilities → Update proceeds
Example: New image has 1 critical vulnerability → Update blocked
Example: New image has 1 critical vulnerability → Update blocked
more_than_current
more_than_current
Blocks updates if the new image has more total vulnerabilities than the currently running image.Use when: You want to ensure security posture never degrades.Example: Current: 5 vulns, New: 3 vulns → Update proceeds
Example: Current: 5 vulns, New: 7 vulns → Update blocked
Example: Current: 5 vulns, New: 7 vulns → Update blocked
If current image has no scan data, update proceeds regardless.
Cron Expression Format
Schedules use standard 5-field cron format:Field Ranges
Example Schedules
Response
number
Auto-update configuration ID
string
Container name
number | null
Associated environment ID
boolean
Whether auto-update is enabled
string
Detected schedule type
string
Cron expression for schedule
string
Active vulnerability criteria
string
ISO 8601 timestamp of creation
string
ISO 8601 timestamp of last update
Examples
Important Notes
Vulnerability scanning: The
vulnerabilityCriteria setting only takes effect if vulnerability scanning is enabled for the environment. Check environment scanner settings.Related Endpoints
- List Schedules - View all configured schedules
- Create Schedule - Create additional schedules
