forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-TCPIPUtils_Test.yml
145 lines (145 loc) · 2.8 KB
/
playbook-TCPIPUtils_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
id: TCPUtils-Test
version: 15
name: Tcpiputlis Test Playbook
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 79784982-3d32-4ed9-8906-cd8da7a7dfb8
type: start
task:
id: 79784982-3d32-4ed9-8906-cd8da7a7dfb8
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "5"
view: |-
{
"position": {
"x": 447,
"y": -140
}
}
"1":
id: "1"
taskid: e0a74686-e777-42ef-8233-d24b739a2afa
type: regular
task:
id: e0a74686-e777-42ef-8233-d24b739a2afa
version: -1
name: ip
description: get information for ip
script: TCPIPUtils|||ip
type: regular
iscommand: true
brand: TCPIPUtils
nexttasks:
'#none#':
- "2"
- "4"
scriptarguments:
ip: tcpiputils.com
view: |-
{
"position": {
"x": 450,
"y": 230
}
}
"2":
id: "2"
taskid: c1402d0a-75cd-458e-895e-5f8f71dfa863
type: regular
task:
id: c1402d0a-75cd-458e-895e-5f8f71dfa863
version: -1
name: VerifyIPOutput
scriptName: VerifyContextFields
type: regular
iscommand: false
brand: ""
scriptarguments:
expectedValue: '"AS13335"'
extend-context: ""
field1: IP.ASN
field2: IP.Geo.Country
field3: IP.Address
field4: ""
fields: ""
path: IP.ASN
value: ' ${IP.ASN} ${IP.Address} ${IP.Geo.Country}${IP.Geo.Description}'
value1: ${IP.ASN}
value2: ${IP.Geo.Country}
value3: ${IP.Address}
value4: ""
view: |-
{
"position": {
"x": 120,
"y": 477
}
}
"4":
id: "4"
taskid: 04c5abc5-d6e2-4270-841d-9b933c325064
type: regular
task:
id: 04c5abc5-d6e2-4270-841d-9b933c325064
version: -1
name: VerifyContext
scriptName: VerifyContext
type: regular
iscommand: false
brand: ""
scriptarguments:
expectedValue: ""
fields: Address,WHOIS,ASN
path: IP
view: |-
{
"position": {
"x": 1130,
"y": 477
}
}
"5":
id: "5"
taskid: 0bfe087f-2db5-4fe5-8558-026bec69711c
type: regular
task:
id: 0bfe087f-2db5-4fe5-8558-026bec69711c
version: -1
name: DeleteContext
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
scriptarguments:
all: "yes"
key: ""
view: |-
{
"position": {
"x": 447,
"y": 27
}
}
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 712,
"width": 1390,
"x": 120,
"y": -140
}
}
}
inputs: []