GetDockerImageLatestTag
Gets docker image latest tag. Script simulates the docker pull flow but doesn't actually pull the image. Returns an entry with the docker image latest tag if all is good, otherwise will return an error.
python · Common Scripts
Details
| ID | GetDockerImageLatestTag |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
README
Gets docker image latest tag. Script simulates the docker pull flow but doesn’t actually pull the image. Returns an entry with the docker image latest tag if all is good, otherwise will return an error.
Script Data
| Name | Description |
|---|---|
| Script Type | python2 |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| docker_image | Docker image full name with version: For example: demisto/python |
| use_system_proxy | Use system proxy settings |
| trust_any_certificate | Trust any certificate (not secure) |
Outputs
There are no outputs for this script.
Script Examples
Example command
!GetDockerImageLatestTag docker_image=demisto/python3
Human Readable Output
3.10.4.29342
commonfields: id: GetDockerImageLatestTag version: -1 name: GetDockerImageLatestTag script: '-' type: python subtype: python2 tags: [] comment: Gets docker image latest tag. Script simulates the docker pull flow but doesn't actually pull the image. Returns an entry with the docker image latest tag if all is good, otherwise will return an error. args: - name: docker_image required: true description: 'Docker image full name with version: For example: demisto/python.' - 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" - name: creds_for_opp description: Credentials for OPP gateway. tests: - No test - no testplaybook, but unit tests exist fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10404775