ProvidesCommand

Finds which integrations implement a specific Demisto command. The results will be returned as comma-separated values (CSV). The "Core REST API" integration must first be enabled.

python · Common Scripts

Details

IDProvidesCommand
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagsgeneral

README

Finds which integrations implement a specific Demisto command. The results will be returned as comma-separated values (CSV). The “Core REST API” integration must first be enabled.

Script Data


Name Description
Script Type python3
Tags general
Cortex XSOAR Version 5.0.0

Dependencies


This script uses the following commands and scripts.

  • core-api-post
  • core-api-get

Inputs


Argument Name Description
command The integration command to find
enabled Filters results to integrations that are enabled or disabled. ‘true’ or ‘false’. Will return both types by default. False means that an integration instance is either not defined or not enabled. True means that an integration instance is both defined and enabled.

Outputs


There are no outputs for this script.

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.

commonfields:
  id: ProvidesCommand
  version: -1
name: ProvidesCommand
script: ''
type: python
subtype: python3
tags:
- general
comment: |-
  Finds which integrations implement a specific Demisto command.  The results will be returned as comma-separated values (CSV).  The "Core REST API" integration must first be enabled.
enabled: true
args:
- name: command
  required: true
  description: The integration command to find.
- name: enabled
  auto: PREDEFINED
  predefined:
  - "true"
  - "false"
  description: Filters results to integrations that are enabled or disabled.  'true' or 'false'.  Will return both types by default.  False means that an integration instance is either not defined or not enabled.  True means that an integration instance is both defined and enabled.
scripttarget: 0
dependson:
  must:
  - core-api-post
  - core-api-get
dockerimage: demisto/python3:3.12.13.10404775
runas: DBotWeakRole
tests:
- No test - unit test
fromversion: 5.0.0
marketplaces:
- xsoar
- marketplacev2
- platform
supportedModules:
- agentix
- cloud
- cloud_runtime_security
- cloud_posture
- xsiam
- edr