CheckDockerImageAvailable

Check if a docker image is available for performing docker pull. Script simulates the docker pull flow but doesn't actually pull the image. Returns an entry with 'ok' if all is good otherwise will return an error.

python · Base

Details

IDCheckDockerImageAvailable
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775

README

Check if a docker image is available for performing docker pull. Script simulates the docker pull flow but doesn’t actually pull the image. Returns an entry with ‘ok’ if all is good otherwise will return an error.

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
input Docker image full name with version: For example: demisto/python:2.7.15.155
use_system_proxy Use system proxy settings
trust_any_certificate Trust any certificate (not secure)

Outputs


There are no outputs for this script.

commonfields:
  id: CheckDockerImageAvailable
  version: -1
name: CheckDockerImageAvailable
script: ''
type: python
subtype: python3
tags: []
comment: Check if a docker image is available for performing docker pull. Script simulates the docker pull flow but doesn't actually pull the image. Returns an entry with 'ok' if all is good otherwise will return an error.
enabled: true
args:
- name: input
  required: true
  description: 'Docker image full name with version: For example: demisto/python:2.7.15.155.' # disable-secrets-detection
- name: use_system_proxy
  auto: PREDEFINED
  predefined:
  - "yes"
  - "no"
  description: Use system proxy settings.
  defaultValue: "yes"
- name: trust_any_certificate
  auto: PREDEFINED
  predefined:
  - "yes"
  - "no"
  description: Trust any certificate (not secure).
  defaultValue: "no"
scripttarget: 0
tests:
- CheckDockerImageAvailableTest
runas: DBotWeakRole
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10404775