Table of contents
Topics on this page

Configure Smart Check scan timeouts

You can configure the scanner timeouts for imageScan, malwareScan, contentScan, and vulnerabilityScan. This is especially recommended if a large image is causing a scanner to time out with "error retrieving scan results".

To configure the timeouts, add the following lines to your overrides.yaml file and change the timeout values where applicable:

scan:
  contentScan:
    timeout: 5m
  imageScan:
    timeout: 10m
  malwareScan:
    timeout: 1m
  vulnerabilityScan:
    timeout: 5m

The values listed above are default settings for each scanner. You can override the default settings by changing the values. The values are a number followed by 'h' for hours, 'm' for minutes, or 's' for seconds. For example, a value of 50m is 50 minutes. A value of 2.5h is 2 hours and 30 minutes.