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

Configuration Setup - Added the option to get the Configuration File from Google Cloud Storage #32507

Merged
merged 7 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"Attachment",
"GitHub",
"Gitlab",
"AzureDevOps"
"AzureDevOps",
"GoogleCloudStorage"
],
"useAsKpi": false,
"locked": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tasks:
{
"position": {
"x": 275,
"y": 545
"y": 555
}
}
note: false
Expand Down Expand Up @@ -628,6 +628,8 @@ tasks:
- '35'
AzureDevOps:
- "37"
GOOGLE CLOUD STORAGE:
- "39"
separatecontext: false
conditions:
- label: Attachment
Expand Down Expand Up @@ -670,6 +672,16 @@ tasks:
right:
value:
simple: AzureDevOps
- label: GOOGLE CLOUD STORAGE
condition:
- - operator: isEqualString
left:
value:
simple: incident.configurationfilesource
iscontext: true
right:
value:
simple: GoogleCloudStorage
view: |-
{
"position": {
Expand Down Expand Up @@ -1075,7 +1087,8 @@ tasks:
ref:
simple: ${incident.branchname}
using:
simple: Gitlab Gold
complex:
root: inputs.GitlabInstanceName
separatecontext: false
view: |-
{
Expand Down Expand Up @@ -1215,6 +1228,43 @@ tasks:
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"39":
id: "39"
taskid: 06f49ef0-a41e-4dc4-8b97-1cc696df593f
type: regular
task:
id: 06f49ef0-a41e-4dc4-8b97-1cc696df593f
version: -1
name: Get Configuration File from Google cloud storage
description: Retrieves object data into a file.
script: Google Cloud Storage|||gcs-download-file
type: regular
iscommand: true
brand: Google Cloud Storage
nexttasks:
'#none#':
- "2"
scriptarguments:
bucket_name:
simple: ${incident.cicds3bucketname}
object_name:
simple: ${incident.configfilepath}
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 190,
"y": 380
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
view: |-
{
"linkLabelsPosition": {},
Expand All @@ -1233,6 +1283,11 @@ inputs:
required: false
description: Core REST API instance name to use.
playbookInputQuery:
- key: GitlabInstanceName
value: {}
required: false
description: Gitlab instance name to use.
playbookInputQuery:
outputs: []
tests:
- No tests (auto formatted)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Playbook for the Cֹonfiguration Setup incident type.
| **Name** | **Description** | **Default Value** | **Required** |
| --- | --- | --- | --- |
| InstanceName | Core REST API instance name to use. | | Optional |
| GitlabInstanceName | Gitlab instance name to use. | | Optional |

## Playbook Outputs
---
Expand Down
12 changes: 12 additions & 0 deletions Packs/ContentManagement/ReleaseNotes/1_2_17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#### Incident Fields

- **Configuration File Source**
Added the option to get the Configuration File from Google Cloud Storage.

#### Playbooks

##### Configuration Setup

- Added the option to get the Configuration File from Google Cloud Storage.
- Added the input 'GitlabInstanceName' to use specific gitlab instance in the playbook.
2 changes: 1 addition & 1 deletion Packs/ContentManagement/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "XSOAR CI/CD",
"description": "This pack enables you to orchestrate your XSOAR system configuration.",
"support": "xsoar",
"currentVersion": "1.2.16",
"currentVersion": "1.2.17",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading