forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-Test_URL_Regex.yml
151 lines (151 loc) · 2.82 KB
/
playbook-Test_URL_Regex.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
id: test_url_regex
version: 3
name: Test URL Regex
description: Test the URL regex
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 2135d445-3df4-4fb9-8c23-9a4beb6c742e
type: start
task:
id: 2135d445-3df4-4fb9-8c23-9a4beb6c742e
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "4"
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 50
}
}
note: false
"1":
id: "1"
taskid: ea3987cd-ec64-4f6e-88c3-b8c911e8780d
type: regular
task:
id: ea3987cd-ec64-4f6e-88c3-b8c911e8780d
version: -1
name: Print URL
scriptName: Print
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
value:
simple: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2540
reputationcalc: 2
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 395
}
}
note: false
"2":
id: "2"
taskid: e3e22eff-5098-4586-8eb2-b09096ec1fdd
type: regular
task:
id: e3e22eff-5098-4586-8eb2-b09096ec1fdd
version: -1
name: VerifyContext
scriptName: VerifyContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
expectedValue:
simple: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2540
fields: {}
path:
simple: URL.Data
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 570
}
}
note: false
"3":
id: "3"
taskid: 0a65e9fd-99b5-4207-88fd-2ee8d85b28bd
type: title
task:
id: 0a65e9fd-99b5-4207-88fd-2ee8d85b28bd
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 745
}
}
note: false
"4":
id: "4"
taskid: b99e2862-da90-4a34-80e6-57057c37f9cb
type: regular
task:
id: b99e2862-da90-4a34-80e6-57057c37f9cb
version: -1
name: Delete Context
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": 200
}
}
note: false
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 760,
"width": 380,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []