DeleteContent

Delete content to keep XSOAR tidy.

python · XSOAR CI/CD

Details

IDDeleteContent
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Tagsconfiguration Content Management

README

Delete content to keep XSOAR tidy.

Script Data


Name Description
Script Type python3
Tags configuration, Content Management
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
include_ids_dict The content items ids to delete, in a JSON format.
exclude_ids_dict The content items IDs to preserve, in a JSON format.
dry_run If set to true, the flow will work as usuall except that no content items will be deleted from the system.
verify_cert If true, verify certificates when accessing github.
skip_proxy If true, skip system proxy settings.

Outputs


Path Description Type
ConfigurationSetup.Deletion.successfully_deleted Deleted ids String
ConfigurationSetup.Deletion.not_deleted Not deleted ids String
ConfigurationSetup.Deletion.status Deletion status String
args:
- description: The content items ids to delete, in a JSON format.
  name: include_ids_dict
- description: The content items IDs to preserve, in a JSON format.
  name: exclude_ids_dict
- auto: PREDEFINED
  description: If set to true, the flow will work as usual except that no content items will be deleted from the system.
  name: dry_run
  required: true
  predefined:
  - 'true'
  - 'false'
- auto: PREDEFINED
  defaultValue: 'true'
  description: If true, verify certificates when accessing github.
  name: verify_cert
  required: true
  predefined:
  - 'true'
  - 'false'
- auto: PREDEFINED
  defaultValue: 'false'
  description: If true, skip system proxy settings.
  name: skip_proxy
  required: true
  predefined:
  - 'true'
  - 'false'
commonfields:
  id: DeleteContent
  version: -1
name: DeleteContent
comment: Delete content to keep XSOAR tidy.
outputs:
- contextPath: ConfigurationSetup.Deletion.successfully_deleted
  description: Deleted ids.
  type: String
- contextPath: ConfigurationSetup.Deletion.not_deleted
  description: Not deleted ids.
  type: String
- contextPath: ConfigurationSetup.Deletion.status
  description: Deletion status.
  type: String
script: '-'
tags:
- configuration
- Content Management
timeout: 3600
type: python
subtype: python3
dockerimage: demisto/python3:3.12.13.10116658
tests:
- No tests (auto formatted)
fromversion: 6.0.0
marketplaces:
- xsoar