ListUsedDockerImages
List all Docker images that are in use by the installed integrations and automations.
python · Common Scripts
Details
| ID | ListUsedDockerImages |
|---|---|
| Language | python |
| From Version | 6.1.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
| Tags | Utility Dockers General |
README
List all Docker images that are in use by the installed integrations and automations.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Utility, Dockers, General |
| Cortex XSOAR Version | 6.1.0 |
Inputs
| Argument Name | Description |
|---|---|
| export_to_context | Whether to export the result to context. Possible values: “true” and “false”. Default is “true”. |
Outputs
| Path | Description | Type |
|---|---|---|
| UsedDockerImages.DockerImage | The Docker image name. | String |
| UsedDockerImages.ContentItem | The integration or automation name that used the specific Docker image. | String |
Script Example
## Context Example
```json
{
"UsedDockerImages": [
{
"ContentItem": [
"Active Directory Query v2"
],
"DockerImage": "demisto/ldap:1.0.0.23980"
},
{
"ContentItem": [
"AutoFocus Daily Feed",
"McAfee ePO",
"ServiceNow CMDB",
"ServiceNow IAM",
"ServiceNow v2"
],
"DockerImage": "demisto/python3:3.9.6.22912"
},
{
"ContentItem": [
"AutoFocus Feed",
"GitLab (Community Contribution)",
"Palo Alto Networks AutoFocus v2",
"ExtractEmailV2",
"GetIndicatorDBotScoreFromCache"
],
"DockerImage": "demisto/python3:3.9.6.24019"
}
]
}
Human Readable Output
Docker Images In use
| Docker Image | Content Item |
|---|---|
| demisto/ldap:1.0.0.23980 | Active Directory Query v2 |
| demisto/python3:3.9.6.22912 | AutoFocus Daily Feed, McAfee ePO, ServiceNow CMDB, ServiceNow IAM, ServiceNow v2 |
| demisto/python3:3.9.6.24019 | AutoFocus Feed, GitLab (Community Contribution), Palo Alto Networks AutoFocus v2, ExtractEmailV2, GetIndicatorDBotScoreFromCache |
args: - description: 'Whether to export the result to context. Possible values: "true" and "false".' name: export_to_context auto: PREDEFINED predefined: - "true" - "false" defaultValue: "true" - description: 'Whether to ignore deprecated automation. Possible values: "true" and "false".' name: ignore_deprecated_automations auto: PREDEFINED predefined: - "true" - "false" defaultValue: "true" comment: 'List all Docker images that are in use by the installed integrations and automations.' commonfields: id: ListUsedDockerImages version: -1 name: ListUsedDockerImages outputs: - contextPath: UsedDockerImages.DockerImage description: The Docker image name. type: String - contextPath: UsedDockerImages.ContentItem description: The integration or automation name that used the specific Docker image. type: String script: '-' tags: - Utility - Dockers - General timeout: '0' type: python subtype: python3 dockerimage: demisto/python3:3.12.13.10404775 fromversion: 6.1.0 tests: - ListUsedDockerImages - Test