Scheduling & Automation
Configure Auto-Update
POST
Configures automated update settings for a container, including scheduling and vulnerability-based update policies.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Finsys/dockhand/llms.txt
Use this file to discover all available pages before exploring further.
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
Name of the container to configure (URL-encoded if contains special characters)
Query Parameters
Environment ID. Omit for default environment.
Request Body
Enable or disable auto-updates. Setting to
false deletes the configuration.Cron expression for update schedule. Uses standard 5-field format.Example:
"0 3 * * *" (daily at 3 AM)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.
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
| Field | Values | Special |
|---|---|---|
| minute | 0-59 | * = every minute |
| hour | 0-23 | */n = every n hours |
| day | 1-31 | Day of month |
| month | 1-12 | * = every month |
| weekday | 0-7 | 0 or 7 = Sunday |
Example Schedules
Response
Auto-update configuration ID
Container name
Associated environment ID
Whether auto-update is enabled
Detected schedule type
Cron expression for schedule
Active vulnerability criteria
ISO 8601 timestamp of creation
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
