Skip to content

Commit

Permalink
update playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
liormgem committed May 8, 2024
1 parent d3265e2 commit 13ad36c
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 56 deletions.
146 changes: 90 additions & 56 deletions Packs/Gem/Playbooks/Gem_Validate_triggering_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ description: |-
The response will be added to the Gem Timeline.
id: "Gem Validate triggering event"
inputs:
- description: Slack user to send validation for
key: User
playbookInputQuery:
required: false
value: {}
- description: Slack user to send validation for
key: User
playbookInputQuery:
required: false
value: {}
name: Gem Validate triggering event
outputs: []
starttaskid: "0"
Expand All @@ -20,7 +20,7 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "10"
- "10"
note: false
quietmode: 0
separatecontext: false
Expand Down Expand Up @@ -55,10 +55,10 @@ tasks:
cc:
format: ""
methods:
- SlackV3
- SlackV3
replyOptions:
- "*Yes, it's me*"
- "*No, I didn't do any of these*"
- "*Yes, it's me*"
- "*No, I didn't do any of these*"
subject:
timings:
completeafterreplies: 1
Expand All @@ -70,9 +70,9 @@ tasks:
simple: Administrator,${inputs.User},${Triggering_events.user.[0]},${Triggering_events.user}
nexttasks:
"*No, I didn't do any of these*":
- "9"
- "9"
"*Yes, it's me*":
- "8"
- "8"
note: false
quietmode: 1
separatecontext: false
Expand Down Expand Up @@ -104,9 +104,9 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "6"
- "5"
- "12"
- "6"
- "5"
- "12"
note: false
quietmode: 1
scriptarguments:
Expand Down Expand Up @@ -141,7 +141,7 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "7"
- "7"
note: false
quietmode: 1
scriptarguments:
Expand All @@ -151,14 +151,14 @@ tasks:
complex:
accessor: start_time
filters:
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.event_groups.type
operator: isEqualString
right:
value:
simple: triggering
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.event_groups.type
operator: isEqualString
right:
value:
simple: triggering
root: Gem.Alert.triage_configuration.event_groups
separatecontext: false
skipunavailable: false
Expand Down Expand Up @@ -189,7 +189,7 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "7"
- "7"
note: false
quietmode: 0
scriptarguments:
Expand All @@ -199,14 +199,14 @@ tasks:
complex:
accessor: description
filters:
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.event_groups.type
operator: isEqualString
right:
value:
simple: triggering
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.event_groups.type
operator: isEqualString
right:
value:
simple: triggering
root: Gem.Alert.triage_configuration.event_groups
separatecontext: false
skipunavailable: false
Expand Down Expand Up @@ -237,7 +237,7 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "1"
- "1"
note: false
quietmode: 0
scriptarguments:
Expand Down Expand Up @@ -274,6 +274,9 @@ tasks:
ignoreworker: false
isautoswitchedtoquietmode: false
isoversize: false
nexttasks:
'#none#':
- "13"
note: false
quietmode: 0
scriptarguments:
Expand Down Expand Up @@ -308,6 +311,9 @@ tasks:
ignoreworker: false
isautoswitchedtoquietmode: false
isoversize: false
nexttasks:
'#none#':
- "13"
note: false
quietmode: 0
scriptarguments:
Expand Down Expand Up @@ -338,26 +344,26 @@ tasks:
}
"10":
conditions:
- condition:
- - left:
iscontext: true
value:
simple: incident.gemmainentitytype
operator: isEqualString
right:
value:
simple: external_user
label: "yes"
- condition:
- - left:
iscontext: true
value:
simple: incident.gemmainentitytype
operator: isEqualString
right:
value:
simple: external_user
label: "yes"
continueonerrortype: ""
id: "10"
ignoreworker: false
isautoswitchedtoquietmode: false
isoversize: false
nexttasks:
"#default#":
- "11"
- "11"
"yes":
- "2"
- "2"
note: false
quietmode: 0
separatecontext: false
Expand Down Expand Up @@ -416,7 +422,7 @@ tasks:
isoversize: false
nexttasks:
"#none#":
- "1"
- "1"
note: false
quietmode: 0
scriptarguments:
Expand All @@ -426,14 +432,14 @@ tasks:
complex:
accessor: id
filters:
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.entities.type
operator: isEqualString
right:
value:
simple: external_user
- - left:
iscontext: true
value:
simple: Gem.Alert.triage_configuration.entities.type
operator: isEqualString
right:
value:
simple: external_user
root: Gem.Alert.triage_configuration.entities
separatecontext: false
skipunavailable: false
Expand All @@ -456,6 +462,34 @@ tasks:
"y": 545
}
}
"13":
continueonerrortype: ""
id: "13"
ignoreworker: false
isautoswitchedtoquietmode: false
isoversize: false
note: false
quietmode: 0
separatecontext: false
skipunavailable: false
task:
brand: ""
id: cc9fc047-3a97-4d47-861f-b1cdc37d3dd2
iscommand: false
name: Done
type: title
version: -1
description: ''
taskid: cc9fc047-3a97-4d47-861f-b1cdc37d3dd2
timertriggers: []
type: title
view: |-
{
"position": {
"x": 250,
"y": 1280
}
}
version: -1
view: |-
{
Expand All @@ -464,13 +498,13 @@ view: |-
},
"paper": {
"dimensions": {
"height": 1115,
"height": 1295,
"width": 1340,
"x": -12.5,
"y": 50
}
}
}
tests:
- No tests (auto formatted)
- No tests (auto formatted)
fromversion: 6.12.0
Binary file modified Packs/Gem/doc_files/Gem_Handle_Alert_for_Root_Usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Packs/Gem/doc_files/Gem_Handle_ec2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Packs/Gem/doc_files/Gem_Validate_triggering_event.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 13ad36c

Please sign in to comment.