ListInstalledContentPacks

This script will show all installed content packs and whether they have an update.

python · XSOAR Content Update Notifications

Details

IDListInstalledContentPacks
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088

README

This script will show all installed content packs and whether they have an update.

Script Data


Name Description
Script Type python3
Tags  

Dependencies


This script uses the following commands and scripts.

  • core-api-get

Inputs


Argument Name Description
updates Whether to only show packs that have updates available.

Outputs


Path Description Type
InstalledPacks.Name Pack Name string
InstalledPacks.Version Pack Version string
InstalledPacks.Update Is there an update available boolean

Troubleshooting

Multi-tenant environments should be configured with the Cortex Rest API instance when using this
automation. Make sure the Use tenant parameter (in the Cortex Rest API integration) is checked
to ensure that API calls are made to the current tenant instead of the master tenant.

args:
- auto: PREDEFINED
  defaultValue: "false"
  description: Whether to only show packs that have updates available.
  name: updates
  predefined:
  - "false"
  - "true"
comment: This script will show all installed content packs and whether they have an update.
commonfields:
  id: ListInstalledContentPacks
  version: -1
dependson:
  must:
  - '|||core-api-get'
dockerimage: demisto/python3:3.12.8.3296088
enabled: true
name: ListInstalledContentPacks
outputs:
- contextPath: InstalledPacks.Name
  description: Pack Name.
  type: string
- contextPath: InstalledPacks.Version
  description: Pack Version.
  type: string
- contextPath: InstalledPacks.Update
  description: Is there an update available.
  type: boolean
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags: []
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)