fog-oraclecloud 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fog/oraclecloud/compute.rb +395 -6
- data/lib/fog/oraclecloud/database.rb +6 -0
- data/lib/fog/oraclecloud/java.rb +1 -0
- data/lib/fog/oraclecloud/models/compute/instance.rb +64 -2
- data/lib/fog/oraclecloud/models/compute/ip_association.rb +42 -0
- data/lib/fog/oraclecloud/models/compute/ip_associations.rb +22 -0
- data/lib/fog/oraclecloud/models/compute/ip_reservation.rb +10 -5
- data/lib/fog/oraclecloud/models/compute/security_application.rb +1 -0
- data/lib/fog/oraclecloud/models/compute/security_applications.rb +6 -2
- data/lib/fog/oraclecloud/models/compute/security_association.rb +31 -0
- data/lib/fog/oraclecloud/models/compute/security_associations.rb +20 -0
- data/lib/fog/oraclecloud/models/compute/security_ip_list.rb +27 -0
- data/lib/fog/oraclecloud/models/compute/security_ip_lists.rb +22 -0
- data/lib/fog/oraclecloud/models/compute/security_list.rb +75 -1
- data/lib/fog/oraclecloud/models/compute/security_rule.rb +3 -3
- data/lib/fog/oraclecloud/models/database/access_rule.rb +52 -0
- data/lib/fog/oraclecloud/models/database/access_rules.rb +28 -0
- data/lib/fog/oraclecloud/models/database/instance.rb +17 -4
- data/lib/fog/oraclecloud/monitoring.rb +1 -1
- data/lib/fog/oraclecloud/requests/compute/create_instance.rb +34 -1
- data/lib/fog/oraclecloud/requests/compute/create_ip_association.rb +39 -0
- data/lib/fog/oraclecloud/requests/compute/create_security_application.rb +18 -0
- data/lib/fog/oraclecloud/requests/compute/create_security_association.rb +47 -0
- data/lib/fog/oraclecloud/requests/compute/create_security_ip_list.rb +47 -0
- data/lib/fog/oraclecloud/requests/compute/create_security_list.rb +49 -0
- data/lib/fog/oraclecloud/requests/compute/create_security_rule.rb +22 -0
- data/lib/fog/oraclecloud/requests/compute/delete_security_list.rb +29 -0
- data/lib/fog/oraclecloud/requests/compute/get_ip_association.rb +36 -0
- data/lib/fog/oraclecloud/requests/compute/get_ip_network.rb +1 -1
- data/lib/fog/oraclecloud/requests/compute/get_security_application.rb +21 -1
- data/lib/fog/oraclecloud/requests/compute/get_security_ip_list.rb +37 -0
- data/lib/fog/oraclecloud/requests/compute/get_security_list.rb +37 -0
- data/lib/fog/oraclecloud/requests/compute/get_security_rule.rb +17 -0
- data/lib/fog/oraclecloud/requests/compute/list_ip_associations.rb +28 -0
- data/lib/fog/oraclecloud/requests/compute/list_security_applications.rb +17 -4
- data/lib/fog/oraclecloud/requests/compute/list_security_rules.rb +1 -1
- data/lib/fog/oraclecloud/requests/compute/update_ip_reservation.rb +2 -0
- data/lib/fog/oraclecloud/requests/database/create_access_rule.rb +47 -0
- data/lib/fog/oraclecloud/requests/database/get_access_rule.rb +50 -0
- data/lib/fog/oraclecloud/soa.rb +1 -1
- data/lib/fog/oraclecloud/storage.rb +1 -1
- data/lib/fog/oraclecloud/version.rb +1 -1
- data/tests/requests/database_tests.rb +15 -8
- data/tests/requests/ip_reservation_tests.rb +33 -0
- data/tests/requests/security_application_tests.rb +32 -0
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f9ad74ac0b9188a2b139801bfcae16b9899b9fd
|
4
|
+
data.tar.gz: b45fb66290683793a7fa5b7ab1a4e4a3769cb960
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b66da260963aef98195ad8313c159f437bce2d8afe5f36daafa0b85e93142412e0a1782524a09e07af98a253566370b5334a715c97e04ec4eebea072863d6d68
|
7
|
+
data.tar.gz: c509903acc75d3ba4a8366c0cdbb2c901e1f49f2017169fd04ca03598ac81cb3750a55be58102c7d9ec5ea6adb266efaf8f7bfdfbdd45327595a9e9e9275a819
|
@@ -10,8 +10,14 @@ module Fog
|
|
10
10
|
model :security_rule
|
11
11
|
collection :security_rules
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
model :security_list
|
14
|
+
collection :security_lists
|
15
|
+
|
16
|
+
model :security_ip_list
|
17
|
+
collection :security_ip_lists
|
18
|
+
|
19
|
+
model :security_association
|
20
|
+
collection :security_associations
|
15
21
|
|
16
22
|
model :image
|
17
23
|
collection :images
|
@@ -37,6 +43,8 @@ module Fog
|
|
37
43
|
collection :ip_reservations
|
38
44
|
model :ip_network
|
39
45
|
collection :ip_networks
|
46
|
+
model :ip_association
|
47
|
+
collection :ip_associations
|
40
48
|
|
41
49
|
model :storage_attachment
|
42
50
|
collection :storage_attachments
|
@@ -52,7 +60,13 @@ module Fog
|
|
52
60
|
request :delete_security_rule
|
53
61
|
request :get_security_rule
|
54
62
|
|
55
|
-
|
63
|
+
request :list_security_lists
|
64
|
+
request :create_security_list
|
65
|
+
request :get_security_list
|
66
|
+
request :delete_security_list
|
67
|
+
|
68
|
+
request :create_security_ip_list
|
69
|
+
request :get_security_ip_list
|
56
70
|
|
57
71
|
request :get_image
|
58
72
|
request :create_image
|
@@ -93,6 +107,10 @@ module Fog
|
|
93
107
|
request :delete_ip_reservation
|
94
108
|
request :update_ip_reservation
|
95
109
|
|
110
|
+
request :create_ip_association
|
111
|
+
request :list_ip_associations
|
112
|
+
request :get_ip_association
|
113
|
+
|
96
114
|
request :list_ip_networks
|
97
115
|
request :get_ip_network
|
98
116
|
request :create_ip_network
|
@@ -102,6 +120,8 @@ module Fog
|
|
102
120
|
request :get_storage_attachment
|
103
121
|
request :create_storage_attachment
|
104
122
|
|
123
|
+
request :create_security_association
|
124
|
+
|
105
125
|
class Real
|
106
126
|
|
107
127
|
def initialize(options={})
|
@@ -141,6 +161,7 @@ module Fog
|
|
141
161
|
|
142
162
|
def request(params, parse_json = true, &block)
|
143
163
|
begin
|
164
|
+
Fog::Logger.debug("Sending #{params[:body].to_s} to #{params[:path]}")
|
144
165
|
response = @connection.request(params.merge!({
|
145
166
|
:headers => {
|
146
167
|
'Cookie' => @auth_cookie
|
@@ -149,13 +170,11 @@ module Fog
|
|
149
170
|
rescue Excon::Errors::HTTPStatusError => error
|
150
171
|
raise case error
|
151
172
|
when Excon::Errors::NotFound
|
152
|
-
puts "not found"
|
153
173
|
Fog::Compute::OracleCloud::NotFound.slurp(error)
|
154
174
|
when Excon::Errors::Conflict
|
155
175
|
data = Fog::JSON.decode(error.response.body)
|
156
176
|
raise Error.new(data['message'])
|
157
177
|
else
|
158
|
-
puts "else"
|
159
178
|
error
|
160
179
|
end
|
161
180
|
end
|
@@ -172,7 +191,6 @@ module Fog
|
|
172
191
|
@password = options[:oracle_password]
|
173
192
|
@identity_domain = options[:oracle_domain]
|
174
193
|
@api_endpoint = options[:oracle_compute_api]
|
175
|
-
|
176
194
|
end
|
177
195
|
|
178
196
|
def self.data
|
@@ -182,7 +200,378 @@ module Fog
|
|
182
200
|
:orchestrations => {},
|
183
201
|
:ip_reservations => {},
|
184
202
|
:ip_networks => {},
|
203
|
+
:ip_associations => {},
|
185
204
|
:storage_attachments => {},
|
205
|
+
:security_lists => {},
|
206
|
+
:security_ip_lists => {},
|
207
|
+
:security_rules => {},
|
208
|
+
:security_associations => {},
|
209
|
+
:security_applications => {
|
210
|
+
"/oracle/public/all" => {
|
211
|
+
"protocol"=>"all",
|
212
|
+
"description"=>"",
|
213
|
+
"uri"=>
|
214
|
+
"#{@api_endpoint}/secapplication/oracle/public/all",
|
215
|
+
"icmptype"=>"",
|
216
|
+
"value2"=>0,
|
217
|
+
"value1"=>0,
|
218
|
+
"dport"=>nil,
|
219
|
+
"icmpcode"=>"",
|
220
|
+
"id"=>"cacb38ff-ecbc-4bb5-9ce2-a30f57515719",
|
221
|
+
"name"=>"/oracle/public/all",
|
222
|
+
},
|
223
|
+
"/oracle/public/cloudservice"=>{
|
224
|
+
"protocol"=>"tcp",
|
225
|
+
"description"=>"",
|
226
|
+
"uri"=>
|
227
|
+
"#{@api_endpoint}/secapplication/oracle/public/cloudservice",
|
228
|
+
"icmptype"=>"",
|
229
|
+
"value2"=>-1,
|
230
|
+
"value1"=>5020,
|
231
|
+
"dport"=>"5020",
|
232
|
+
"icmpcode"=>"",
|
233
|
+
"id"=>"1a74b578-88be-4f0f-87b9-a81e69a5cc8f",
|
234
|
+
"name"=>"/oracle/public/cloudservice"
|
235
|
+
},
|
236
|
+
"/oracle/public/dns-tcp"=>{
|
237
|
+
"protocol"=>"tcp",
|
238
|
+
"description"=>"",
|
239
|
+
"uri"=>
|
240
|
+
"#{@api_endpoint}/secapplication/oracle/public/dns-tcp",
|
241
|
+
"icmptype"=>"",
|
242
|
+
"value2"=>-1,
|
243
|
+
"value1"=>53,
|
244
|
+
"dport"=>"53",
|
245
|
+
"icmpcode"=>"",
|
246
|
+
"id"=>"e50b2a1c-4ac8-4219-9c33-7150fbf5918c",
|
247
|
+
"name"=>"/oracle/public/dns-tcp"
|
248
|
+
},
|
249
|
+
"/oracle/public/dns-udp"=>{
|
250
|
+
"protocol"=>"udp",
|
251
|
+
"description"=>"",
|
252
|
+
"uri"=>
|
253
|
+
"#{@api_endpoint}/secapplication/oracle/public/dns-udp",
|
254
|
+
"icmptype"=>"",
|
255
|
+
"value2"=>-1,
|
256
|
+
"value1"=>53,
|
257
|
+
"dport"=>"53",
|
258
|
+
"icmpcode"=>"",
|
259
|
+
"id"=>"f91fa982-c40c-4f1f-aa0b-58a28f94405a",
|
260
|
+
"name"=>"/oracle/public/dns-udp"
|
261
|
+
},
|
262
|
+
"/oracle/public/http"=>{
|
263
|
+
"protocol"=>"tcp",
|
264
|
+
"description"=>"",
|
265
|
+
"uri"=>
|
266
|
+
"#{@api_endpoint}/secapplication/oracle/public/http",
|
267
|
+
"icmptype"=>"",
|
268
|
+
"value2"=>-1,
|
269
|
+
"value1"=>80,
|
270
|
+
"dport"=>"80",
|
271
|
+
"icmpcode"=>"",
|
272
|
+
"id"=>"65c55823-1899-4901-9eef-1aaa1a8a2048",
|
273
|
+
"name"=>"/oracle/public/http"
|
274
|
+
},
|
275
|
+
"/oracle/public/https"=>{
|
276
|
+
"protocol"=>"tcp",
|
277
|
+
"description"=>"",
|
278
|
+
"uri"=>
|
279
|
+
"#{@api_endpoint}/secapplication/oracle/public/https",
|
280
|
+
"icmptype"=>"",
|
281
|
+
"value2"=>-1,
|
282
|
+
"value1"=>443,
|
283
|
+
"dport"=>"443",
|
284
|
+
"icmpcode"=>"",
|
285
|
+
"id"=>"8b1dae32-1432-4d67-9c90-4df06dfd446c",
|
286
|
+
"name"=>"/oracle/public/https"
|
287
|
+
},
|
288
|
+
"/oracle/public/icmp"=>{
|
289
|
+
"protocol"=>"icmp",
|
290
|
+
"description"=>"",
|
291
|
+
"uri"=>
|
292
|
+
"#{@api_endpoint}/secapplication/oracle/public/icmp",
|
293
|
+
"icmptype"=>"",
|
294
|
+
"value2"=>255,
|
295
|
+
"value1"=>255,
|
296
|
+
"dport"=>nil,
|
297
|
+
"icmpcode"=>"",
|
298
|
+
"id"=>"86259853-843b-4198-8655-776c70a51c42",
|
299
|
+
"name"=>"/oracle/public/icmp"
|
300
|
+
},
|
301
|
+
"/oracle/public/ldap"=>{
|
302
|
+
"protocol"=>"tcp",
|
303
|
+
"description"=>"",
|
304
|
+
"uri"=>
|
305
|
+
"#{@api_endpoint}/secapplication/oracle/public/ldap",
|
306
|
+
"icmptype"=>"",
|
307
|
+
"value2"=>-1,
|
308
|
+
"value1"=>389,
|
309
|
+
"dport"=>"389",
|
310
|
+
"icmpcode"=>"",
|
311
|
+
"id"=>"6964cc80-9a97-43ef-b436-2df594f0bc20",
|
312
|
+
"name"=>"/oracle/public/ldap"
|
313
|
+
},
|
314
|
+
"/oracle/public/ldaps"=>{
|
315
|
+
"protocol"=>"tcp",
|
316
|
+
"description"=>"",
|
317
|
+
"uri"=>
|
318
|
+
"#{@api_endpoint}/secapplication/oracle/public/ldaps",
|
319
|
+
"icmptype"=>"",
|
320
|
+
"value2"=>-1,
|
321
|
+
"value1"=>636,
|
322
|
+
"dport"=>"636",
|
323
|
+
"icmpcode"=>"",
|
324
|
+
"id"=>"36004553-f14c-4894-a2be-77844916bc47",
|
325
|
+
"name"=>"/oracle/public/ldaps"
|
326
|
+
},
|
327
|
+
"/oracle/public/mail"=>{
|
328
|
+
"protocol"=>"tcp",
|
329
|
+
"description"=>"",
|
330
|
+
"uri"=>
|
331
|
+
"#{@api_endpoint}/secapplication/oracle/public/mail",
|
332
|
+
"icmptype"=>"",
|
333
|
+
"value2"=>-1,
|
334
|
+
"value1"=>25,
|
335
|
+
"dport"=>"25",
|
336
|
+
"icmpcode"=>"",
|
337
|
+
"id"=>"62dbdede-50df-4ce3-b1d8-3194b535c208",
|
338
|
+
"name"=>"/oracle/public/mail"
|
339
|
+
},
|
340
|
+
"/oracle/public/mysql"=>{
|
341
|
+
"protocol"=>"tcp",
|
342
|
+
"description"=>"",
|
343
|
+
"uri"=>
|
344
|
+
"#{@api_endpoint}/secapplication/oracle/public/mysql",
|
345
|
+
"icmptype"=>"",
|
346
|
+
"value2"=>-1,
|
347
|
+
"value1"=>3306,
|
348
|
+
"dport"=>"3306",
|
349
|
+
"icmpcode"=>"",
|
350
|
+
"id"=>"5bbf54ed-cfde-4e85-9b9a-338500806550",
|
351
|
+
"name"=>"/oracle/public/mysql"
|
352
|
+
},
|
353
|
+
"/oracle/public/nfs"=>{
|
354
|
+
"protocol"=>"tcp",
|
355
|
+
"description"=>"",
|
356
|
+
"uri"=>
|
357
|
+
"#{@api_endpoint}/secapplication/oracle/public/nfs",
|
358
|
+
"icmptype"=>"",
|
359
|
+
"value2"=>-1,
|
360
|
+
"value1"=>2049,
|
361
|
+
"dport"=>"2049",
|
362
|
+
"icmpcode"=>"",
|
363
|
+
"id"=>"7ba2f9e4-7846-487a-a6d1-236ad42a09d1",
|
364
|
+
"name"=>"/oracle/public/nfs"
|
365
|
+
},
|
366
|
+
"/oracle/public/ntp-tcp"=>{
|
367
|
+
"protocol"=>"tcp",
|
368
|
+
"description"=>"",
|
369
|
+
"uri"=>
|
370
|
+
"#{@api_endpoint}/secapplication/oracle/public/ntp-tcp",
|
371
|
+
"icmptype"=>"",
|
372
|
+
"value2"=>-1,
|
373
|
+
"value1"=>123,
|
374
|
+
"dport"=>"123",
|
375
|
+
"icmpcode"=>"",
|
376
|
+
"id"=>"2796dc84-12c4-43d1-9737-929dbbbb3901",
|
377
|
+
"name"=>"/oracle/public/ntp-tcp"
|
378
|
+
},
|
379
|
+
"/oracle/public/ntp-udp"=>{
|
380
|
+
"protocol"=>"udp",
|
381
|
+
"description"=>"",
|
382
|
+
"uri"=>
|
383
|
+
"#{@api_endpoint}/secapplication/oracle/public/ntp-udp",
|
384
|
+
"icmptype"=>"",
|
385
|
+
"value2"=>-1,
|
386
|
+
"value1"=>123,
|
387
|
+
"dport"=>"123",
|
388
|
+
"icmpcode"=>"",
|
389
|
+
"id"=>"69c16c96-6f0d-427b-9af6-e0709926c2c1",
|
390
|
+
"name"=>"/oracle/public/ntp-udp"
|
391
|
+
},
|
392
|
+
"/oracle/public/ping-reply"=>{
|
393
|
+
"protocol"=>"icmp",
|
394
|
+
"description"=>"",
|
395
|
+
"uri"=>
|
396
|
+
"#{@api_endpoint}/secapplication/oracle/public/ping-reply",
|
397
|
+
"icmptype"=>"reply",
|
398
|
+
"value2"=>0,
|
399
|
+
"value1"=>0,
|
400
|
+
"dport"=>nil,
|
401
|
+
"icmpcode"=>"",
|
402
|
+
"id"=>"a3542c2e-fd2d-47de-aa74-9ad4e49e949c",
|
403
|
+
"name"=>"/oracle/public/ping-reply"
|
404
|
+
},
|
405
|
+
"/oracle/public/pings"=>{
|
406
|
+
"protocol"=>"icmp",
|
407
|
+
"description"=>"",
|
408
|
+
"uri"=>
|
409
|
+
"#{@api_endpoint}/secapplication/oracle/public/pings",
|
410
|
+
"icmptype"=>"echo",
|
411
|
+
"value2"=>0,
|
412
|
+
"value1"=>8,
|
413
|
+
"dport"=>nil,
|
414
|
+
"icmpcode"=>"",
|
415
|
+
"id"=>"0f5f4cdf-3ce3-4e35-8eb4-18014f865c66",
|
416
|
+
"name"=>"/oracle/public/pings"
|
417
|
+
},
|
418
|
+
"/oracle/public/rdp"=>{
|
419
|
+
"protocol"=>"tcp",
|
420
|
+
"description"=>"",
|
421
|
+
"uri"=>
|
422
|
+
"#{@api_endpoint}/secapplication/oracle/public/rdp",
|
423
|
+
"icmptype"=>"",
|
424
|
+
"value2"=>-1,
|
425
|
+
"value1"=>3389,
|
426
|
+
"dport"=>"3389",
|
427
|
+
"icmpcode"=>"",
|
428
|
+
"id"=>"6e926962-1f63-4c11-a284-9b8faabf25ac",
|
429
|
+
"name"=>"/oracle/public/rdp"
|
430
|
+
},
|
431
|
+
"/oracle/public/rpcbind"=>{
|
432
|
+
"protocol"=>"tcp",
|
433
|
+
"description"=>"",
|
434
|
+
"uri"=>
|
435
|
+
"#{@api_endpoint}/secapplication/oracle/public/rpcbind",
|
436
|
+
"icmptype"=>"",
|
437
|
+
"value2"=>-1,
|
438
|
+
"value1"=>111,
|
439
|
+
"dport"=>"111",
|
440
|
+
"icmpcode"=>"",
|
441
|
+
"id"=>"5f0228de-a2f0-4324-a1a3-d360da71a710",
|
442
|
+
"name"=>"/oracle/public/rpcbind"
|
443
|
+
},
|
444
|
+
"/oracle/public/rsync"=>{
|
445
|
+
"protocol"=>"tcp",
|
446
|
+
"description"=>"",
|
447
|
+
"uri"=>
|
448
|
+
"#{@api_endpoint}/secapplication/oracle/public/rsync",
|
449
|
+
"icmptype"=>"",
|
450
|
+
"value2"=>-1,
|
451
|
+
"value1"=>873,
|
452
|
+
"dport"=>"873",
|
453
|
+
"icmpcode"=>"",
|
454
|
+
"id"=>"56df210e-326f-43a5-8625-4388c79dc219",
|
455
|
+
"name"=>"/oracle/public/rsync"
|
456
|
+
},
|
457
|
+
"/oracle/public/snmp-tcp"=>{
|
458
|
+
"protocol"=>"tcp",
|
459
|
+
"description"=>"",
|
460
|
+
"uri"=>
|
461
|
+
"#{@api_endpoint}/secapplication/oracle/public/snmp-tcp",
|
462
|
+
"icmptype"=>"",
|
463
|
+
"value2"=>-1,
|
464
|
+
"value1"=>161,
|
465
|
+
"dport"=>"161",
|
466
|
+
"icmpcode"=>"",
|
467
|
+
"id"=>"e9c3278a-6001-48c8-a6d6-333942c2ff77",
|
468
|
+
"name"=>"/oracle/public/snmp-tcp"
|
469
|
+
},
|
470
|
+
"/oracle/public/snmp-trap-tcp"=>{
|
471
|
+
"protocol"=>"tcp",
|
472
|
+
"description"=>"",
|
473
|
+
"uri"=>
|
474
|
+
"#{@api_endpoint}/secapplication/oracle/public/snmp-trap-tcp",
|
475
|
+
"icmptype"=>"",
|
476
|
+
"value2"=>-1,
|
477
|
+
"value1"=>162,
|
478
|
+
"dport"=>"162",
|
479
|
+
"icmpcode"=>"",
|
480
|
+
"id"=>"986f0200-e7ff-445a-8961-7be4581e1dc3",
|
481
|
+
"name"=>"/oracle/public/snmp-trap-tcp"
|
482
|
+
},
|
483
|
+
"/oracle/public/snmp-trap-udp"=>{
|
484
|
+
"protocol"=>"udp",
|
485
|
+
"description"=>"",
|
486
|
+
"uri"=>
|
487
|
+
"#{@api_endpoint}/secapplication/oracle/public/snmp-trap-udp",
|
488
|
+
"icmptype"=>"",
|
489
|
+
"value2"=>-1,
|
490
|
+
"value1"=>162,
|
491
|
+
"dport"=>"162",
|
492
|
+
"icmpcode"=>"",
|
493
|
+
"id"=>"580979e4-4c4d-4828-96c0-ba80703539ae",
|
494
|
+
"name"=>"/oracle/public/snmp-trap-udp"
|
495
|
+
},
|
496
|
+
"/oracle/public/snmp-udp"=>{
|
497
|
+
"protocol"=>"udp",
|
498
|
+
"description"=>"",
|
499
|
+
"uri"=>
|
500
|
+
"#{@api_endpoint}/secapplication/oracle/public/snmp-udp",
|
501
|
+
"icmptype"=>"",
|
502
|
+
"value2"=>-1,
|
503
|
+
"value1"=>161,
|
504
|
+
"dport"=>"161",
|
505
|
+
"icmpcode"=>"",
|
506
|
+
"id"=>"143be719-8a16-4a57-9386-192778557cb8",
|
507
|
+
"name"=>"/oracle/public/snmp-udp"
|
508
|
+
},
|
509
|
+
"/oracle/public/squid"=>{
|
510
|
+
"protocol"=>"tcp",
|
511
|
+
"description"=>"",
|
512
|
+
"uri"=>
|
513
|
+
"#{@api_endpoint}/secapplication/oracle/public/squid",
|
514
|
+
"icmptype"=>"",
|
515
|
+
"value2"=>-1,
|
516
|
+
"value1"=>3128,
|
517
|
+
"dport"=>"3128",
|
518
|
+
"icmpcode"=>"",
|
519
|
+
"id"=>"0e0563e8-e4c1-46de-b151-882c911e1eff",
|
520
|
+
"name"=>"/oracle/public/squid"
|
521
|
+
},
|
522
|
+
"/oracle/public/ssh"=>{
|
523
|
+
"protocol"=>"tcp",
|
524
|
+
"description"=>"",
|
525
|
+
"uri"=>
|
526
|
+
"#{@api_endpoint}/secapplication/oracle/public/ssh",
|
527
|
+
"icmptype"=>"",
|
528
|
+
"value2"=>-1,
|
529
|
+
"value1"=>22,
|
530
|
+
"dport"=>"22",
|
531
|
+
"icmpcode"=>"",
|
532
|
+
"id"=>"d19fbaa7-59cf-49e6-83ad-d6d9fc4454cd",
|
533
|
+
"name"=>"/oracle/public/ssh"
|
534
|
+
},
|
535
|
+
"/oracle/public/tcp5900"=>{
|
536
|
+
"protocol"=>"tcp",
|
537
|
+
"description"=>"",
|
538
|
+
"uri"=>
|
539
|
+
"#{@api_endpoint}/secapplication/oracle/public/tcp5900",
|
540
|
+
"icmptype"=>"",
|
541
|
+
"value2"=>-1,
|
542
|
+
"value1"=>5900,
|
543
|
+
"dport"=>"5900",
|
544
|
+
"icmpcode"=>"",
|
545
|
+
"id"=>"eeed882e-1ce0-4256-8d87-47f7264b8191",
|
546
|
+
"name"=>"/oracle/public/tcp5900"
|
547
|
+
},
|
548
|
+
"/oracle/public/telnet"=>{
|
549
|
+
"protocol"=>"tcp",
|
550
|
+
"description"=>"",
|
551
|
+
"uri"=>
|
552
|
+
"#{@api_endpoint}/secapplication/oracle/public/telnet",
|
553
|
+
"icmptype"=>"",
|
554
|
+
"value2"=>-1,
|
555
|
+
"value1"=>23,
|
556
|
+
"dport"=>"23",
|
557
|
+
"icmpcode"=>"",
|
558
|
+
"id"=>"146a98f8-5e7e-4e7e-86c8-6d34fab52318",
|
559
|
+
"name"=>"/oracle/public/telnet"
|
560
|
+
},
|
561
|
+
"/oracle/public/udp443"=>{
|
562
|
+
"protocol"=>"udp",
|
563
|
+
"description"=>"",
|
564
|
+
"uri"=>
|
565
|
+
"#{@api_endpoint}/secapplication/oracle/public/udp443",
|
566
|
+
"icmptype"=>"",
|
567
|
+
"value2"=>-1,
|
568
|
+
"value1"=>443,
|
569
|
+
"dport"=>"443",
|
570
|
+
"icmpcode"=>"",
|
571
|
+
"id"=>"64b4369b-9d7f-4bc4-86dd-85ba77ea9a3f",
|
572
|
+
"name"=>"/oracle/public/udp443"
|
573
|
+
}
|
574
|
+
},
|
186
575
|
:image_lists => {
|
187
576
|
"/oracle/public/Oracle_Linux_7" => {
|
188
577
|
"name" => "/oracle/public/Oracle_Linux_7",
|