forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-ParseExcel-test.yml
195 lines (195 loc) · 3.59 KB
/
playbook-ParseExcel-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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
id: ParseExcel-test
version: -1
name: ParseExcel-test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 3e604ad0-7f4c-45ac-8427-1ea8a71b3c3f
type: start
task:
id: 3e604ad0-7f4c-45ac-8427-1ea8a71b3c3f
version: -1
name: ""
description: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 50
}
}
note: false
"1":
id: "1"
taskid: f130d0a4-6ebd-4b7b-8670-b5b600b5b680
type: regular
task:
id: f130d0a4-6ebd-4b7b-8670-b5b600b5b680
version: -1
name: Downlaod xlsx file
scriptName: http
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
body: {}
filename:
simple: test_file.xlsx
headers: {}
insecure: {}
method:
simple: GET
password: {}
proxy: {}
saveAsFile:
simple: "yes"
unsecure: {}
url:
simple: http://go.microsoft.com/fwlink/?LinkID=521962
username: {}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 370
}
}
note: false
"2":
id: "2"
taskid: 4f7429ed-121a-40c3-8da1-efc2cd8797f8
type: regular
task:
id: 4f7429ed-121a-40c3-8da1-efc2cd8797f8
version: -1
name: DeleteContex
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
scriptarguments:
all:
simple: "yes"
index: {}
key: {}
keysToKeep: {}
subplaybook: {}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 195
}
}
note: false
"3":
id: "3"
taskid: 5983e276-fed7-45ed-8dc4-3efa28ba7109
type: regular
task:
id: 5983e276-fed7-45ed-8dc4-3efa28ba7109
version: -1
name: ParseExcel
scriptName: ParseExcel
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "4"
scriptarguments:
entryId:
complex:
root: File
accessor: EntryID
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 545
}
}
note: false
"4":
id: "4"
taskid: 4d1b0ced-306f-45ca-8740-691d90da84c8
type: condition
task:
id: 4d1b0ced-306f-45ca-8740-691d90da84c8
version: -1
name: Check context
type: condition
iscommand: false
brand: ""
nexttasks:
"yes":
- "5"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isExists
left:
value:
complex:
root: ParseExcel
iscontext: true
view: |-
{
"position": {
"x": 50,
"y": 720
}
}
note: false
"5":
id: "5"
taskid: 0627f573-6fb3-4d46-81f6-1e76ccc3fb0e
type: title
task:
id: 0627f573-6fb3-4d46-81f6-1e76ccc3fb0e
version: -1
name: Done
description: ""
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 895
}
}
note: false
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 910,
"width": 380,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []