forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-Preempt_Test.yml
149 lines (149 loc) · 3.14 KB
/
playbook-Preempt_Test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
id: Preempt Test
version: -1
name: Preempt Test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 886e9130-12d4-4ece-8600-395bcf12709f
type: start
task:
id: 886e9130-12d4-4ece-8600-395bcf12709f
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
- "3"
- "4"
separatecontext: false
view: |-
{
"position": {
"x": 618,
"y": 45
}
}
"1":
id: "1"
taskid: fce7002f-54ae-467b-8b6e-6b76cfacd703
type: regular
task:
id: fce7002f-54ae-467b-8b6e-6b76cfacd703
version: -1
name: preempt-add-to-watch-list
description: Adds requested user to Preempt's watch list
script: Preempt|||preempt-add-to-watch-list
type: regular
iscommand: true
brand: Preempt
nexttasks:
'#none#':
- "2"
scriptarguments:
accountObjectGuid:
simple: ${inputs.userGUID}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 191
}
}
"2":
id: "2"
taskid: 9c803b87-be49-4415-8dea-79b81d4e8341
type: regular
task:
id: 9c803b87-be49-4415-8dea-79b81d4e8341
version: -1
name: preempt-remove-from-watch-list
description: Removes requested user from Preempt's watch list
script: Preempt|||preempt-remove-from-watch-list
type: regular
iscommand: true
brand: Preempt
scriptarguments:
accountObjectGuid:
simple: ${inputs.userGUID}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 342
}
}
"3":
id: "3"
taskid: 4701b6c4-a2ac-46f4-8d6d-0a030f1a25c4
type: regular
task:
id: 4701b6c4-a2ac-46f4-8d6d-0a030f1a25c4
version: -1
name: preempt-get-activities
description: Get activities from a time frame
script: Preempt|||preempt-get-activities
type: regular
iscommand: true
brand: Preempt
scriptarguments:
endTime: {}
numOfHours: {}
sourceUserId:
simple: ${inputs.userGUID}
types: {}
separatecontext: false
view: |-
{
"position": {
"x": 929,
"y": 274
}
}
"4":
id: "4"
taskid: f8351780-ab37-4407-8957-d5c3d0c5ae18
type: regular
task:
id: f8351780-ab37-4407-8957-d5c3d0c5ae18
version: -1
name: preempt-get-user-endpoints
description: Gets the endpoints regularly used by the user account
script: Preempt|||preempt-get-user-endpoints
type: regular
iscommand: true
brand: Preempt
scriptarguments:
sourceUserId:
simple: ${inputs.userGUID}
separatecontext: false
view: |-
{
"position": {
"x": 1369,
"y": 274
}
}
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 392,
"width": 1699,
"x": 50,
"y": 45
}
}
}
inputs:
- key: userGUID
value:
simple: efa1c5c5-5fee-4573-878b-3c0070b25e07
required: false
description: ""
outputs: []