Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Delete Custom Content] Add input - using #27859

Merged
merged 8 commits into from Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -55,6 +55,8 @@ tasks:
scriptarguments:
uri:
simple: /content/bundle
using:
simple: ${inputs.instance_name}
separatecontext: false
continueonerrortype: ""
view: |-
Expand Down Expand Up @@ -127,6 +129,8 @@ tasks:
simple: ${inputs.dry_run}
include_ids_dict:
simple: ${GetIdsFromCustomContent.included_ids}
using:
simple: ${inputs.instance_name}
separatecontext: false
continueonerrortype: ""
view: |-
Expand Down Expand Up @@ -400,6 +404,11 @@ inputs:
required: true
description: If true, will not actually delete any content entities.
playbookInputQuery:
- key: instance_name
value: {}
required: false
description: Core REST API instance name to use.
playbookInputQuery:
outputs: []
tests:
- No tests (auto formatted)
Expand Down
Expand Up @@ -31,6 +31,7 @@ core-api-download
| **Name** | **Description** | **Default Value** | **Required** |
| --- | --- | --- | --- |
| dry_run | If true, will not actually delete any content entities. | true | Required |
| instance_name | Core REST API instance name to use. | | Optional |

## Playbook Outputs

Expand Down
13 changes: 13 additions & 0 deletions Packs/ContentManagement/ReleaseNotes/1_2_10.md
@@ -0,0 +1,13 @@

#### Playbooks

##### Delete Custom Content

- Added new inputs `instance_name` - the Core REST API instance name to use.

#### Scripts

##### DeleteContent
- Updated the Docker image to: *demisto/python3:3.10.12.63474*.

- Added the option to specify `Core REST API` instance to use by setting the **using** value when running the script.