forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-CutTransformerTest.yml
171 lines (171 loc) · 3.26 KB
/
playbook-CutTransformerTest.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
id: CutTransformerTest
version: -1
name: CutTransformerTest
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: ea5bda23-7e66-4ebe-89e9-ab9ac3daf99b
type: start
task:
id: ea5bda23-7e66-4ebe-89e9-ab9ac3daf99b
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 50
}
}
note: false
timertriggers: []
"1":
id: "1"
taskid: b4b6b31f-2cd4-4caf-8aa2-ea26868b200f
type: condition
task:
id: b4b6b31f-2cd4-4caf-8aa2-ea26868b200f
version: -1
name: Test Cut Result
type: condition
iscommand: false
brand: ""
nexttasks:
"yes":
- "4"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
complex:
root: CutTest
transformers:
- operator: Cut
args:
delimiter:
value:
simple: '-'
fields:
value:
simple: 1,2
iscontext: true
right:
value:
simple: A-B
view: |-
{
"position": {
"x": 450,
"y": 610
}
}
note: false
timertriggers: []
"2":
id: "2"
taskid: b6b23074-d47f-43ec-85df-d8628fc0d7a5
type: regular
task:
id: b6b23074-d47f-43ec-85df-d8628fc0d7a5
version: -1
name: Delete Context
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
all:
simple: "yes"
index: {}
key: {}
keysToKeep: {}
subplaybook: {}
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 200
}
}
note: false
timertriggers: []
"3":
id: "3"
taskid: ee67f522-cd20-473e-825a-d15e393242f2
type: regular
task:
id: ee67f522-cd20-473e-825a-d15e393242f2
version: -1
name: Set String To Context
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
scriptarguments:
append: {}
key:
simple: CutTest
value:
simple: A-B-C-D-E
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 390
}
}
note: false
timertriggers: []
"4":
id: "4"
taskid: 5dca4c3a-fc4e-4f92-8d4a-cae0f91789e4
type: title
task:
id: 5dca4c3a-fc4e-4f92-8d4a-cae0f91789e4
version: -1
name: Cut Transformer Worked Successfuly
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 240,
"y": 890
}
}
note: false
timertriggers: []
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 905,
"width": 590,
"x": 240,
"y": 50
}
}
}
inputs: []
outputs: []