@itentialopensource/adapter-algosec_fireflow 0.1.1

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.
Files changed (77) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +170 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +1908 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +14 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/ActiveChangeExternalController/action.json +45 -0
  28. package/entities/ActiveChangeExternalController/schema.json +20 -0
  29. package/entities/AuthenticationExternalController/action.json +24 -0
  30. package/entities/AuthenticationExternalController/schema.json +19 -0
  31. package/entities/ObjectChangeRequestExternalController/action.json +24 -0
  32. package/entities/ObjectChangeRequestExternalController/schema.json +19 -0
  33. package/entities/RequestTemplateExternalController/action.json +25 -0
  34. package/entities/RequestTemplateExternalController/schema.json +19 -0
  35. package/entities/RuleRemovalChangeRequestExternalController/action.json +24 -0
  36. package/entities/RuleRemovalChangeRequestExternalController/schema.json +19 -0
  37. package/entities/SavedSearchController/action.json +25 -0
  38. package/entities/SavedSearchController/schema.json +19 -0
  39. package/entities/SessionExternalController/action.json +25 -0
  40. package/entities/SessionExternalController/schema.json +19 -0
  41. package/entities/TrafficChangeRequestExternalController/action.json +65 -0
  42. package/entities/TrafficChangeRequestExternalController/schema.json +21 -0
  43. package/entities/WorkOrderExternalController/action.json +45 -0
  44. package/entities/WorkOrderExternalController/schema.json +20 -0
  45. package/error.json +190 -0
  46. package/package.json +86 -0
  47. package/pronghorn.json +1672 -0
  48. package/propertiesDecorators.json +14 -0
  49. package/propertiesSchema.json +1248 -0
  50. package/refs?service=git-upload-pack +0 -0
  51. package/report/algosec-FireFlow-swagger.json +1476 -0
  52. package/report/creationReport.json +395 -0
  53. package/sampleProperties.json +195 -0
  54. package/test/integration/adapterTestBasicGet.js +83 -0
  55. package/test/integration/adapterTestConnectivity.js +93 -0
  56. package/test/integration/adapterTestIntegration.js +758 -0
  57. package/test/unit/adapterBaseTestUnit.js +949 -0
  58. package/test/unit/adapterTestUnit.js +1671 -0
  59. package/utils/adapterInfo.js +206 -0
  60. package/utils/addAuth.js +94 -0
  61. package/utils/artifactize.js +146 -0
  62. package/utils/basicGet.js +50 -0
  63. package/utils/checkMigrate.js +63 -0
  64. package/utils/entitiesToDB.js +178 -0
  65. package/utils/findPath.js +74 -0
  66. package/utils/methodDocumentor.js +225 -0
  67. package/utils/modify.js +154 -0
  68. package/utils/packModificationScript.js +35 -0
  69. package/utils/patches2bundledDeps.js +90 -0
  70. package/utils/pre-commit.sh +32 -0
  71. package/utils/removeHooks.js +20 -0
  72. package/utils/setup.js +33 -0
  73. package/utils/tbScript.js +246 -0
  74. package/utils/tbUtils.js +490 -0
  75. package/utils/testRunner.js +298 -0
  76. package/utils/troubleshootingAdapter.js +195 -0
  77. package/workflows/README.md +3 -0
package/pronghorn.json ADDED
@@ -0,0 +1,1672 @@
1
+ {
2
+ "id": "@itentialopensource/adapter-algosec_fireflow",
3
+ "type": "Adapter",
4
+ "export": "AlgosecFireflow",
5
+ "title": "Algosec_fireflow",
6
+ "src": "adapter.js",
7
+ "roles": [
8
+ "admin"
9
+ ],
10
+ "methods": [
11
+ {
12
+ "name": "iapUpdateAdapterConfiguration",
13
+ "summary": "Updates the adapter configuration",
14
+ "description": "Updates the adapter configuration file with the provided changes",
15
+ "input": [
16
+ {
17
+ "name": "configFile",
18
+ "type": "string",
19
+ "info": "The name of the file to change",
20
+ "required": true,
21
+ "schema": {
22
+ "title": "configFile",
23
+ "type": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "changes",
28
+ "type": "object",
29
+ "info": "JSON object containing the configuration changes",
30
+ "required": true,
31
+ "schema": {
32
+ "title": "changes",
33
+ "type": "object"
34
+ }
35
+ },
36
+ {
37
+ "name": "entity",
38
+ "type": "string",
39
+ "info": "The entity in which the changes are being made",
40
+ "required": false,
41
+ "schema": {
42
+ "title": "entity",
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "type",
48
+ "type": "string",
49
+ "info": "The type of file to change - action, schema, or mock",
50
+ "required": false,
51
+ "schema": {
52
+ "title": "type",
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "action",
58
+ "type": "string",
59
+ "info": "The action to be changed",
60
+ "required": false,
61
+ "schema": {
62
+ "title": "action",
63
+ "type": "string"
64
+ }
65
+ }
66
+ ],
67
+ "output": {
68
+ "name": "result",
69
+ "type": "object",
70
+ "description": "A JSON Object containing status, code and the result",
71
+ "schema": {
72
+ "title": "result",
73
+ "type": "object"
74
+ }
75
+ },
76
+ "roles": [
77
+ "admin"
78
+ ],
79
+ "route": {
80
+ "verb": "POST",
81
+ "path": "/iapUpdateAdapterConfiguration"
82
+ },
83
+ "task": true
84
+ },
85
+ {
86
+ "name": "iapFindAdapterPath",
87
+ "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
+ "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
+ "input": [
90
+ {
91
+ "name": "apiPath",
92
+ "type": "string",
93
+ "info": "The API Path you want to check - make sure to not include base path and version",
94
+ "description": "The API Path you want to check - make sure to not include base path and version",
95
+ "schema": {
96
+ "title": "apiPath",
97
+ "type": "string"
98
+ },
99
+ "required": true
100
+ }
101
+ ],
102
+ "output": {
103
+ "name": "result",
104
+ "type": "object",
105
+ "description": "A JSON Object containing the result",
106
+ "schema": {
107
+ "title": "result",
108
+ "type": "object"
109
+ }
110
+ },
111
+ "roles": [
112
+ "admin"
113
+ ],
114
+ "route": {
115
+ "verb": "POST",
116
+ "path": "/iapFindAdapterPath"
117
+ },
118
+ "task": true
119
+ },
120
+ {
121
+ "name": "iapSuspendAdapter",
122
+ "summary": "Suspends the adapter",
123
+ "description": "Suspends the adapter",
124
+ "input": [
125
+ {
126
+ "name": "mode",
127
+ "type": "enum",
128
+ "enumerals": [
129
+ "pause",
130
+ "error"
131
+ ],
132
+ "info": "How incoming requests are handled. Defaults to 'pause'",
133
+ "description": "How incoming requests are handled. Defaults to 'pause'",
134
+ "schema": {
135
+ "title": "mode",
136
+ "type": "string"
137
+ },
138
+ "required": false
139
+ }
140
+ ],
141
+ "output": {
142
+ "name": "result",
143
+ "type": "object",
144
+ "description": "A JSON Object containing the adapter suspended status",
145
+ "schema": {
146
+ "title": "result",
147
+ "type": "object"
148
+ }
149
+ },
150
+ "roles": [
151
+ "admin"
152
+ ],
153
+ "route": {
154
+ "verb": "POST",
155
+ "path": "/iapSuspendAdapter"
156
+ },
157
+ "task": true
158
+ },
159
+ {
160
+ "name": "iapUnsuspendAdapter",
161
+ "summary": "Unsuspends the adapter",
162
+ "description": "Unsuspends the adapter",
163
+ "input": [],
164
+ "output": {
165
+ "name": "result",
166
+ "type": "object",
167
+ "description": "A JSON Object containing the adapter suspended status",
168
+ "schema": {
169
+ "title": "result",
170
+ "type": "object"
171
+ }
172
+ },
173
+ "roles": [
174
+ "admin"
175
+ ],
176
+ "route": {
177
+ "verb": "POST",
178
+ "path": "/iapUnsuspendAdapter"
179
+ },
180
+ "task": true
181
+ },
182
+ {
183
+ "name": "iapGetAdapterQueue",
184
+ "summary": "Return the requests that are waiting in the queue if throttling is enabled",
185
+ "description": "Return the requests that are waiting in the queue if throttling is enabled",
186
+ "input": [],
187
+ "output": {
188
+ "name": "result",
189
+ "type": "object",
190
+ "description": "A JSON Object containing the adapter queue",
191
+ "schema": {
192
+ "title": "result",
193
+ "type": "object"
194
+ }
195
+ },
196
+ "roles": [
197
+ "admin"
198
+ ],
199
+ "route": {
200
+ "verb": "POST",
201
+ "path": "/iapGetAdapterQueue"
202
+ },
203
+ "task": true
204
+ },
205
+ {
206
+ "name": "iapTroubleshootAdapter",
207
+ "summary": "Runs troubleshoot script for adapter",
208
+ "description": "Runs troubleshoot script for adapter",
209
+ "input": [
210
+ {
211
+ "name": "props",
212
+ "type": "object",
213
+ "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
214
+ "required": true,
215
+ "schema": {
216
+ "title": "props",
217
+ "type": "object"
218
+ }
219
+ },
220
+ {
221
+ "name": "persistFlag",
222
+ "type": "boolean",
223
+ "info": "Whether the input properties should be saved",
224
+ "required": true
225
+ }
226
+ ],
227
+ "output": {
228
+ "name": "result",
229
+ "type": "object",
230
+ "description": "A JSON Object containing the test results",
231
+ "schema": {
232
+ "title": "result",
233
+ "type": "object"
234
+ }
235
+ },
236
+ "roles": [
237
+ "admin"
238
+ ],
239
+ "route": {
240
+ "verb": "POST",
241
+ "path": "/iapTroubleshootAdapter"
242
+ },
243
+ "task": true
244
+ },
245
+ {
246
+ "name": "iapRunAdapterHealthcheck",
247
+ "summary": "Runs healthcheck script for adapter",
248
+ "description": "Runs healthcheck script for adapter",
249
+ "input": [],
250
+ "output": {
251
+ "name": "result",
252
+ "type": "boolean",
253
+ "description": "Whether healthcheck passed or failed"
254
+ },
255
+ "roles": [
256
+ "admin"
257
+ ],
258
+ "route": {
259
+ "verb": "POST",
260
+ "path": "/iapRunAdapterHealthcheck"
261
+ },
262
+ "task": true
263
+ },
264
+ {
265
+ "name": "iapRunAdapterConnectivity",
266
+ "summary": "Runs connectivity check script for adapter",
267
+ "description": "Runs connectivity check script for adapter",
268
+ "input": [],
269
+ "output": {
270
+ "name": "result",
271
+ "type": "object",
272
+ "description": "A JSON Object containing the test results",
273
+ "schema": {
274
+ "title": "result",
275
+ "type": "object"
276
+ }
277
+ },
278
+ "roles": [
279
+ "admin"
280
+ ],
281
+ "route": {
282
+ "verb": "POST",
283
+ "path": "/iapRunAdapterConnectivity"
284
+ },
285
+ "task": true
286
+ },
287
+ {
288
+ "name": "iapRunAdapterBasicGet",
289
+ "summary": "Runs basicGet script for adapter",
290
+ "description": "Runs basicGet script for adapter",
291
+ "input": [],
292
+ "output": {
293
+ "name": "result",
294
+ "type": "object",
295
+ "description": "A JSON Object containing the test results",
296
+ "schema": {
297
+ "title": "result",
298
+ "type": "object"
299
+ }
300
+ },
301
+ "roles": [
302
+ "admin"
303
+ ],
304
+ "route": {
305
+ "verb": "POST",
306
+ "path": "/iapRunAdapterBasicGet"
307
+ },
308
+ "task": true
309
+ },
310
+ {
311
+ "name": "iapMoveAdapterEntitiesToDB",
312
+ "summary": "Moves entities from an adapter into the IAP database",
313
+ "description": "Moves entities from an adapter into the IAP database",
314
+ "input": [],
315
+ "output": {
316
+ "name": "res",
317
+ "type": "object",
318
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
319
+ "schema": {
320
+ "title": "res",
321
+ "type": "object"
322
+ }
323
+ },
324
+ "roles": [
325
+ "admin"
326
+ ],
327
+ "route": {
328
+ "verb": "POST",
329
+ "path": "/iapMoveAdapterEntitiesToDB"
330
+ },
331
+ "task": true
332
+ },
333
+ {
334
+ "name": "genericAdapterRequest",
335
+ "summary": "Makes the requested generic call",
336
+ "description": "Makes the requested generic call",
337
+ "input": [
338
+ {
339
+ "name": "uriPath",
340
+ "type": "string",
341
+ "info": "the path of the api call - do not include the host, port, base path or version",
342
+ "description": "the path of the api call",
343
+ "schema": {
344
+ "title": "uriPath",
345
+ "type": "string"
346
+ },
347
+ "required": true
348
+ },
349
+ {
350
+ "name": "restMethod",
351
+ "type": "string",
352
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
353
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
354
+ "schema": {
355
+ "title": "restMethod",
356
+ "type": "string"
357
+ },
358
+ "required": true
359
+ },
360
+ {
361
+ "name": "queryData",
362
+ "type": "object",
363
+ "info": "the query parameters to be put on the url (optional)",
364
+ "description": "the query parameters to be put on the url (optional)",
365
+ "schema": {
366
+ "title": "queryData",
367
+ "type": "object"
368
+ },
369
+ "required": false
370
+ },
371
+ {
372
+ "name": "requestBody",
373
+ "type": "object",
374
+ "info": "the payload to be sent with the request (optional)",
375
+ "description": "the payload to be sent with the request (optional)",
376
+ "schema": {
377
+ "title": "requestBody",
378
+ "type": "object"
379
+ },
380
+ "required": false
381
+ },
382
+ {
383
+ "name": "addlHeaders",
384
+ "type": "object",
385
+ "info": "additional headers to be put on the call (optional)",
386
+ "description": "additional headers to be put on the call (optional)",
387
+ "schema": {
388
+ "title": "addlHeaders",
389
+ "type": "object"
390
+ },
391
+ "required": false
392
+ }
393
+ ],
394
+ "output": {
395
+ "name": "result",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the result",
398
+ "schema": {
399
+ "title": "result",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/genericAdapterRequest"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "genericAdapterRequestNoBasePath",
414
+ "summary": "Makes the requested generic call",
415
+ "description": "Makes the requested generic call",
416
+ "input": [
417
+ {
418
+ "name": "uriPath",
419
+ "type": "string",
420
+ "info": "the path of the api call - do not include the host, port, base path or version",
421
+ "description": "the path of the api call",
422
+ "schema": {
423
+ "title": "uriPath",
424
+ "type": "string"
425
+ },
426
+ "required": true
427
+ },
428
+ {
429
+ "name": "restMethod",
430
+ "type": "string",
431
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
432
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
433
+ "schema": {
434
+ "title": "restMethod",
435
+ "type": "string"
436
+ },
437
+ "required": true
438
+ },
439
+ {
440
+ "name": "queryData",
441
+ "type": "object",
442
+ "info": "the query parameters to be put on the url (optional)",
443
+ "description": "the query parameters to be put on the url (optional)",
444
+ "schema": {
445
+ "title": "queryData",
446
+ "type": "object"
447
+ },
448
+ "required": false
449
+ },
450
+ {
451
+ "name": "requestBody",
452
+ "type": "object",
453
+ "info": "the payload to be sent with the request (optional)",
454
+ "description": "the payload to be sent with the request (optional)",
455
+ "schema": {
456
+ "title": "requestBody",
457
+ "type": "object"
458
+ },
459
+ "required": false
460
+ },
461
+ {
462
+ "name": "addlHeaders",
463
+ "type": "object",
464
+ "info": "additional headers to be put on the call (optional)",
465
+ "description": "additional headers to be put on the call (optional)",
466
+ "schema": {
467
+ "title": "addlHeaders",
468
+ "type": "object"
469
+ },
470
+ "required": false
471
+ }
472
+ ],
473
+ "output": {
474
+ "name": "result",
475
+ "type": "object",
476
+ "description": "A JSON Object containing status, code and the result",
477
+ "schema": {
478
+ "title": "result",
479
+ "type": "object"
480
+ }
481
+ },
482
+ "roles": [
483
+ "admin"
484
+ ],
485
+ "route": {
486
+ "verb": "POST",
487
+ "path": "/genericAdapterRequestNoBasePath"
488
+ },
489
+ "task": true
490
+ },
491
+ {
492
+ "name": "getDevice",
493
+ "summary": "Get the Appliance",
494
+ "description": "Get the Appliance",
495
+ "input": [
496
+ {
497
+ "name": "deviceName",
498
+ "type": "string",
499
+ "info": "An Appliance Device Name",
500
+ "required": true,
501
+ "schema": {
502
+ "title": "deviceName",
503
+ "type": "string"
504
+ }
505
+ }
506
+ ],
507
+ "output": {
508
+ "name": "result",
509
+ "type": "object",
510
+ "description": "A JSON Object containing status, code and the result",
511
+ "schema": {
512
+ "title": "result",
513
+ "type": "object"
514
+ }
515
+ },
516
+ "roles": [
517
+ "admin"
518
+ ],
519
+ "route": {
520
+ "verb": "POST",
521
+ "path": "/getDevice"
522
+ },
523
+ "task": true
524
+ },
525
+ {
526
+ "name": "getDevicesFiltered",
527
+ "summary": "Get Appliances that match the filter",
528
+ "description": "Get Appliances that match the filter",
529
+ "input": [
530
+ {
531
+ "name": "options",
532
+ "type": "object",
533
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
534
+ "required": true,
535
+ "schema": {
536
+ "title": "options",
537
+ "type": "object"
538
+ }
539
+ }
540
+ ],
541
+ "output": {
542
+ "name": "result",
543
+ "type": "array",
544
+ "description": "A JSON Object containing status, code and the result",
545
+ "schema": {
546
+ "title": "result",
547
+ "type": "array"
548
+ }
549
+ },
550
+ "roles": [
551
+ "admin"
552
+ ],
553
+ "route": {
554
+ "verb": "POST",
555
+ "path": "/getDevicesFiltered"
556
+ },
557
+ "task": true
558
+ },
559
+ {
560
+ "name": "isAlive",
561
+ "summary": "Checks the status for the provided Appliance",
562
+ "description": "Checks the status for the provided Appliance",
563
+ "input": [
564
+ {
565
+ "name": "deviceName",
566
+ "type": "string",
567
+ "info": "An Appliance Device Name",
568
+ "required": true,
569
+ "schema": {
570
+ "title": "deviceName",
571
+ "type": "string"
572
+ }
573
+ }
574
+ ],
575
+ "output": {
576
+ "name": "result",
577
+ "type": "boolean",
578
+ "description": "A JSON Object containing status, code and the result",
579
+ "schema": {
580
+ "title": "result",
581
+ "type": "boolean"
582
+ }
583
+ },
584
+ "roles": [
585
+ "admin"
586
+ ],
587
+ "route": {
588
+ "verb": "POST",
589
+ "path": "/isAlive"
590
+ },
591
+ "task": true
592
+ },
593
+ {
594
+ "name": "getConfig",
595
+ "summary": "Gets a config for the provided Appliance",
596
+ "description": "Gets a config for the provided Appliance",
597
+ "input": [
598
+ {
599
+ "name": "deviceName",
600
+ "type": "string",
601
+ "info": "An Appliance Device Name",
602
+ "required": true,
603
+ "schema": {
604
+ "title": "deviceName",
605
+ "type": "string"
606
+ }
607
+ },
608
+ {
609
+ "name": "format",
610
+ "type": "string",
611
+ "info": "The format to be returned - this is ignored as we always return json",
612
+ "required": false,
613
+ "schema": {
614
+ "title": "format",
615
+ "type": "string"
616
+ }
617
+ }
618
+ ],
619
+ "output": {
620
+ "name": "result",
621
+ "type": "object",
622
+ "description": "A JSON Object containing status, code and the result",
623
+ "schema": {
624
+ "title": "result",
625
+ "type": "object"
626
+ }
627
+ },
628
+ "roles": [
629
+ "admin"
630
+ ],
631
+ "route": {
632
+ "verb": "POST",
633
+ "path": "/getConfig"
634
+ },
635
+ "task": true
636
+ },
637
+ {
638
+ "name": "iapGetDeviceCount",
639
+ "summary": "Gets a device count from the system",
640
+ "description": "Gets a device count from the system",
641
+ "input": [],
642
+ "output": {
643
+ "name": "result",
644
+ "type": "object",
645
+ "description": "A JSON Object containing status, code and the result",
646
+ "schema": {
647
+ "title": "result",
648
+ "type": "object"
649
+ }
650
+ },
651
+ "roles": [
652
+ "admin"
653
+ ],
654
+ "route": {
655
+ "verb": "POST",
656
+ "path": "/iapGetDeviceCount"
657
+ },
658
+ "task": true
659
+ },
660
+ {
661
+ "name": "authenticateUsingPOST",
662
+ "summary": "User authentication operation",
663
+ "description": "User authentication operation",
664
+ "input": [
665
+ {
666
+ "name": "authenticationData",
667
+ "type": "object",
668
+ "info": "AuthenticationData, passed in JSON format: {\"username\": \"string\", \"password\": \"string\", \"domain\": \"string\"}",
669
+ "required": true,
670
+ "schema": {
671
+ "type": "object",
672
+ "required": [
673
+ "password",
674
+ "username"
675
+ ],
676
+ "properties": {
677
+ "username": {
678
+ "type": "string",
679
+ "example": "admin",
680
+ "description": "User name"
681
+ },
682
+ "password": {
683
+ "type": "string",
684
+ "example": "pass",
685
+ "description": "User password"
686
+ },
687
+ "domain": {
688
+ "type": "string",
689
+ "example": 0,
690
+ "description": "Domain id"
691
+ }
692
+ },
693
+ "title": "AuthenticationData",
694
+ "definitions": {}
695
+ }
696
+ }
697
+ ],
698
+ "output": {
699
+ "name": "result",
700
+ "type": "object",
701
+ "description": "A JSON Object containing status, code and the result",
702
+ "schema": {
703
+ "title": "result",
704
+ "type": "object"
705
+ }
706
+ },
707
+ "roles": [
708
+ "admin"
709
+ ],
710
+ "route": {
711
+ "verb": "POST",
712
+ "path": "/authenticateUsingPOST"
713
+ },
714
+ "task": true
715
+ },
716
+ {
717
+ "name": "calculateWorkOrderUsingPOST",
718
+ "summary": "Trigger work order calculation for change request",
719
+ "description": "Trigger work order calculation for change request",
720
+ "input": [
721
+ {
722
+ "name": "changeRequestId",
723
+ "type": "number",
724
+ "info": "changeRequestId: 123",
725
+ "required": true,
726
+ "schema": {
727
+ "title": "changeRequestId",
728
+ "type": "number"
729
+ }
730
+ }
731
+ ],
732
+ "output": {
733
+ "name": "result",
734
+ "type": "object",
735
+ "description": "A JSON Object containing status, code and the result",
736
+ "schema": {
737
+ "title": "result",
738
+ "type": "object"
739
+ }
740
+ },
741
+ "roles": [
742
+ "admin"
743
+ ],
744
+ "route": {
745
+ "verb": "POST",
746
+ "path": "/calculateWorkOrderUsingPOST"
747
+ },
748
+ "task": true
749
+ },
750
+ {
751
+ "name": "getWorkOrderCalculationStatusUsingGET",
752
+ "summary": "Get work order calculation status for change request",
753
+ "description": "Get work order calculation status for change request",
754
+ "input": [
755
+ {
756
+ "name": "changeRequestId",
757
+ "type": "number",
758
+ "info": "changeRequestId: 123",
759
+ "required": true,
760
+ "schema": {
761
+ "title": "changeRequestId",
762
+ "type": "number"
763
+ }
764
+ }
765
+ ],
766
+ "output": {
767
+ "name": "result",
768
+ "type": "object",
769
+ "description": "A JSON Object containing status, code and the result",
770
+ "schema": {
771
+ "title": "result",
772
+ "type": "object"
773
+ }
774
+ },
775
+ "roles": [
776
+ "admin"
777
+ ],
778
+ "route": {
779
+ "verb": "POST",
780
+ "path": "/getWorkOrderCalculationStatusUsingGET"
781
+ },
782
+ "task": true
783
+ },
784
+ {
785
+ "name": "createRuleRemovalRequestUsingPOST",
786
+ "summary": "Create Rule Removal Change Request",
787
+ "description": "Create Rule Removal Change Request",
788
+ "input": [
789
+ {
790
+ "name": "ruleRemovalChangeRequest",
791
+ "type": "object",
792
+ "info": "RuleRemovalChangeRequest, passed in JSON format\n\nRequired fields: You must include a devices field, with a single device listed.\nMultiple devices are not supported.: {\"template\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}], \"requestActions\": [{\"action\": \"Must be one of [remove, disable]\", \"ruleId\": \"string\"}]}",
793
+ "required": true,
794
+ "schema": {
795
+ "type": "object",
796
+ "required": [
797
+ "fields",
798
+ "requestActions",
799
+ "template"
800
+ ],
801
+ "properties": {
802
+ "template": {
803
+ "type": "string"
804
+ },
805
+ "fields": {
806
+ "type": "array",
807
+ "items": {
808
+ "type": "object",
809
+ "properties": {
810
+ "name": {
811
+ "type": "string",
812
+ "example": "custom field name"
813
+ },
814
+ "values": {
815
+ "type": "array",
816
+ "example": [
817
+ "custom field value 1",
818
+ "custom field value 2"
819
+ ],
820
+ "items": {
821
+ "type": "string"
822
+ }
823
+ }
824
+ },
825
+ "title": "Fields"
826
+ }
827
+ },
828
+ "requestActions": {
829
+ "type": "array",
830
+ "description": "Request actions",
831
+ "items": {
832
+ "type": "object",
833
+ "properties": {
834
+ "action": {
835
+ "type": "string",
836
+ "enum": [
837
+ "remove",
838
+ "disable"
839
+ ]
840
+ },
841
+ "ruleId": {
842
+ "type": "string"
843
+ }
844
+ },
845
+ "title": "RuleRemovalRequestedUnit"
846
+ }
847
+ }
848
+ },
849
+ "title": "RuleRemovalChangeRequest",
850
+ "definitions": {}
851
+ }
852
+ }
853
+ ],
854
+ "output": {
855
+ "name": "result",
856
+ "type": "object",
857
+ "description": "A JSON Object containing status, code and the result",
858
+ "schema": {
859
+ "title": "result",
860
+ "type": "object"
861
+ }
862
+ },
863
+ "roles": [
864
+ "admin"
865
+ ],
866
+ "route": {
867
+ "verb": "POST",
868
+ "path": "/createRuleRemovalRequestUsingPOST"
869
+ },
870
+ "task": true
871
+ },
872
+ {
873
+ "name": "createTrafficChangeRequestUsingPOST",
874
+ "summary": "Create Traffic Change request",
875
+ "description": "Create Traffic Change request",
876
+ "input": [
877
+ {
878
+ "name": "trafficChangeRequest",
879
+ "type": "object",
880
+ "info": "TrafficChangeRequest, passed in JSON format: {\"template\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}], \"traffic\": [{\"source\": {\"items\": [{\"address\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}, \"destination\": {\"items\": [{\"address\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}, \"service\": {\"items\": [{\"service\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}, \"application\": {\"items\": [{\"name\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}, \"user\": {\"items\": [{\"name\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}, \"action\": \"string\", \"natDetails\": {\"source\": \"array\", \"destination\": \"array\", \"port\": \"array\", \"type\": \"Must be one of [Static, Dynamic, None]\"}, \"fields\": [{\"name\": \"string\", \"values\": \"array\"}]}]}",
881
+ "required": true,
882
+ "schema": {
883
+ "type": "object",
884
+ "required": [
885
+ "fields",
886
+ "template",
887
+ "traffic"
888
+ ],
889
+ "properties": {
890
+ "template": {
891
+ "type": "string"
892
+ },
893
+ "fields": {
894
+ "type": "array",
895
+ "items": {
896
+ "type": "object",
897
+ "properties": {
898
+ "name": {
899
+ "type": "string",
900
+ "example": "custom field name"
901
+ },
902
+ "values": {
903
+ "type": "array",
904
+ "example": [
905
+ "custom field value 1",
906
+ "custom field value 2"
907
+ ],
908
+ "items": {
909
+ "type": "string"
910
+ }
911
+ }
912
+ },
913
+ "title": "Fields"
914
+ }
915
+ },
916
+ "traffic": {
917
+ "type": "array",
918
+ "description": "traffic",
919
+ "items": {
920
+ "type": "object",
921
+ "required": [
922
+ "application",
923
+ "destination",
924
+ "fields",
925
+ "natDetails",
926
+ "service",
927
+ "source",
928
+ "user"
929
+ ],
930
+ "properties": {
931
+ "source": {
932
+ "type": "object",
933
+ "properties": {
934
+ "items": {
935
+ "type": "array",
936
+ "items": {
937
+ "type": "object",
938
+ "properties": {
939
+ "address": {
940
+ "type": "string",
941
+ "example": "1.1.1.1"
942
+ },
943
+ "fields": {
944
+ "type": "array",
945
+ "items": {
946
+ "type": "object",
947
+ "properties": {
948
+ "name": {
949
+ "type": "string",
950
+ "example": "custom field name"
951
+ },
952
+ "values": {
953
+ "type": "array",
954
+ "example": [
955
+ "custom field value 1",
956
+ "custom field value 2"
957
+ ],
958
+ "items": {
959
+ "type": "string"
960
+ }
961
+ }
962
+ },
963
+ "title": "Fields"
964
+ }
965
+ }
966
+ },
967
+ "title": "AddressTrafficItemDetails"
968
+ }
969
+ }
970
+ },
971
+ "title": "AddressTrafficFieldDetails"
972
+ },
973
+ "destination": {
974
+ "type": "object",
975
+ "properties": {
976
+ "items": {
977
+ "type": "array",
978
+ "items": {
979
+ "type": "object",
980
+ "properties": {
981
+ "address": {
982
+ "type": "string",
983
+ "example": "1.1.1.1"
984
+ },
985
+ "fields": {
986
+ "type": "array",
987
+ "items": {
988
+ "type": "object",
989
+ "properties": {
990
+ "name": {
991
+ "type": "string",
992
+ "example": "custom field name"
993
+ },
994
+ "values": {
995
+ "type": "array",
996
+ "example": [
997
+ "custom field value 1",
998
+ "custom field value 2"
999
+ ],
1000
+ "items": {
1001
+ "type": "string"
1002
+ }
1003
+ }
1004
+ },
1005
+ "title": "Fields"
1006
+ }
1007
+ }
1008
+ },
1009
+ "title": "AddressTrafficItemDetails"
1010
+ }
1011
+ }
1012
+ },
1013
+ "title": "AddressTrafficFieldDetails"
1014
+ },
1015
+ "service": {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "items": {
1019
+ "type": "array",
1020
+ "items": {
1021
+ "type": "object",
1022
+ "properties": {
1023
+ "service": {
1024
+ "type": "string",
1025
+ "example": "tcp/80"
1026
+ },
1027
+ "fields": {
1028
+ "type": "array",
1029
+ "items": {
1030
+ "type": "object",
1031
+ "properties": {
1032
+ "name": {
1033
+ "type": "string",
1034
+ "example": "custom field name"
1035
+ },
1036
+ "values": {
1037
+ "type": "array",
1038
+ "example": [
1039
+ "custom field value 1",
1040
+ "custom field value 2"
1041
+ ],
1042
+ "items": {
1043
+ "type": "string"
1044
+ }
1045
+ }
1046
+ },
1047
+ "title": "Fields"
1048
+ }
1049
+ }
1050
+ },
1051
+ "title": "ServiceTrafficItemDetails"
1052
+ }
1053
+ }
1054
+ },
1055
+ "title": "ServiceTrafficFieldDetails"
1056
+ },
1057
+ "application": {
1058
+ "type": "object",
1059
+ "properties": {
1060
+ "items": {
1061
+ "type": "array",
1062
+ "items": {
1063
+ "type": "object",
1064
+ "properties": {
1065
+ "name": {
1066
+ "type": "string",
1067
+ "example": "name to match"
1068
+ },
1069
+ "fields": {
1070
+ "type": "array",
1071
+ "items": {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "name": {
1075
+ "type": "string",
1076
+ "example": "custom field name"
1077
+ },
1078
+ "values": {
1079
+ "type": "array",
1080
+ "example": [
1081
+ "custom field value 1",
1082
+ "custom field value 2"
1083
+ ],
1084
+ "items": {
1085
+ "type": "string"
1086
+ }
1087
+ }
1088
+ },
1089
+ "title": "Fields"
1090
+ }
1091
+ }
1092
+ },
1093
+ "title": "NameTrafficItemDetails"
1094
+ }
1095
+ }
1096
+ },
1097
+ "title": "NameTrafficFieldDetails"
1098
+ },
1099
+ "user": {
1100
+ "type": "object",
1101
+ "properties": {
1102
+ "items": {
1103
+ "type": "array",
1104
+ "items": {
1105
+ "type": "object",
1106
+ "properties": {
1107
+ "name": {
1108
+ "type": "string",
1109
+ "example": "name to match"
1110
+ },
1111
+ "fields": {
1112
+ "type": "array",
1113
+ "items": {
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "name": {
1117
+ "type": "string",
1118
+ "example": "custom field name"
1119
+ },
1120
+ "values": {
1121
+ "type": "array",
1122
+ "example": [
1123
+ "custom field value 1",
1124
+ "custom field value 2"
1125
+ ],
1126
+ "items": {
1127
+ "type": "string"
1128
+ }
1129
+ }
1130
+ },
1131
+ "title": "Fields"
1132
+ }
1133
+ }
1134
+ },
1135
+ "title": "NameTrafficItemDetails"
1136
+ }
1137
+ }
1138
+ },
1139
+ "title": "NameTrafficFieldDetails"
1140
+ },
1141
+ "action": {
1142
+ "type": "string",
1143
+ "example": "Allow/Drop"
1144
+ },
1145
+ "natDetails": {
1146
+ "type": "object",
1147
+ "properties": {
1148
+ "source": {
1149
+ "type": "array",
1150
+ "items": {
1151
+ "type": "string"
1152
+ }
1153
+ },
1154
+ "destination": {
1155
+ "type": "array",
1156
+ "items": {
1157
+ "type": "string"
1158
+ }
1159
+ },
1160
+ "port": {
1161
+ "type": "array",
1162
+ "items": {
1163
+ "type": "string"
1164
+ }
1165
+ },
1166
+ "type": {
1167
+ "type": "string",
1168
+ "example": "Static/Dynamic",
1169
+ "enum": [
1170
+ "Static",
1171
+ "Dynamic",
1172
+ "None"
1173
+ ]
1174
+ }
1175
+ },
1176
+ "title": "NatDetails"
1177
+ },
1178
+ "fields": {
1179
+ "type": "array",
1180
+ "description": "fields",
1181
+ "items": {
1182
+ "type": "object",
1183
+ "properties": {
1184
+ "name": {
1185
+ "type": "string",
1186
+ "example": "custom field name"
1187
+ },
1188
+ "values": {
1189
+ "type": "array",
1190
+ "example": [
1191
+ "custom field value 1",
1192
+ "custom field value 2"
1193
+ ],
1194
+ "items": {
1195
+ "type": "string"
1196
+ }
1197
+ }
1198
+ },
1199
+ "title": "Fields"
1200
+ }
1201
+ }
1202
+ },
1203
+ "title": "TrafficLineDetails"
1204
+ }
1205
+ }
1206
+ },
1207
+ "title": "TrafficChangeRequest",
1208
+ "definitions": {}
1209
+ }
1210
+ }
1211
+ ],
1212
+ "output": {
1213
+ "name": "result",
1214
+ "type": "object",
1215
+ "description": "A JSON Object containing status, code and the result",
1216
+ "schema": {
1217
+ "title": "result",
1218
+ "type": "object"
1219
+ }
1220
+ },
1221
+ "roles": [
1222
+ "admin"
1223
+ ],
1224
+ "route": {
1225
+ "verb": "POST",
1226
+ "path": "/createTrafficChangeRequestUsingPOST"
1227
+ },
1228
+ "task": true
1229
+ },
1230
+ {
1231
+ "name": "getTicketUsingGET",
1232
+ "summary": "Get Ticket details by change request id number",
1233
+ "description": "Get Ticket details by change request id number",
1234
+ "input": [
1235
+ {
1236
+ "name": "changeRequestId",
1237
+ "type": "number",
1238
+ "info": "Id of the Change Request: 123",
1239
+ "required": true,
1240
+ "schema": {
1241
+ "title": "changeRequestId",
1242
+ "type": "number"
1243
+ }
1244
+ }
1245
+ ],
1246
+ "output": {
1247
+ "name": "result",
1248
+ "type": "object",
1249
+ "description": "A JSON Object containing status, code and the result",
1250
+ "schema": {
1251
+ "title": "result",
1252
+ "type": "object"
1253
+ }
1254
+ },
1255
+ "roles": [
1256
+ "admin"
1257
+ ],
1258
+ "route": {
1259
+ "verb": "POST",
1260
+ "path": "/getTicketUsingGET"
1261
+ },
1262
+ "task": true
1263
+ },
1264
+ {
1265
+ "name": "updateTrafficChangeRequestCustomFieldsUsingPUT",
1266
+ "summary": "Update Traffic Change request's custom fields",
1267
+ "description": "Update Traffic Change request's custom fields",
1268
+ "input": [
1269
+ {
1270
+ "name": "changeRequestId",
1271
+ "type": "number",
1272
+ "info": "Id of the Change request: 123",
1273
+ "required": true,
1274
+ "schema": {
1275
+ "title": "changeRequestId",
1276
+ "type": "number"
1277
+ }
1278
+ },
1279
+ {
1280
+ "name": "trafficChangeRequestFields",
1281
+ "type": "array",
1282
+ "info": "List of fields, passed in JSON format: array",
1283
+ "required": true,
1284
+ "schema": {
1285
+ "type": "array",
1286
+ "items": {
1287
+ "type": "object"
1288
+ },
1289
+ "definitions": {}
1290
+ }
1291
+ }
1292
+ ],
1293
+ "output": {
1294
+ "name": "result",
1295
+ "type": "object",
1296
+ "description": "A JSON Object containing status, code and the result",
1297
+ "schema": {
1298
+ "title": "result",
1299
+ "type": "object"
1300
+ }
1301
+ },
1302
+ "roles": [
1303
+ "admin"
1304
+ ],
1305
+ "route": {
1306
+ "verb": "POST",
1307
+ "path": "/updateTrafficChangeRequestCustomFieldsUsingPUT"
1308
+ },
1309
+ "task": true
1310
+ },
1311
+ {
1312
+ "name": "calculateActiveChangeUsingPOST",
1313
+ "summary": "Implement work-order recommendations of the given change request, using ActiveChange",
1314
+ "description": "Implement work-order recommendations of the given change request, using ActiveChange",
1315
+ "input": [
1316
+ {
1317
+ "name": "changeRequestId",
1318
+ "type": "number",
1319
+ "info": "changeRequestId: 123",
1320
+ "required": true,
1321
+ "schema": {
1322
+ "title": "changeRequestId",
1323
+ "type": "number"
1324
+ }
1325
+ }
1326
+ ],
1327
+ "output": {
1328
+ "name": "result",
1329
+ "type": "object",
1330
+ "description": "A JSON Object containing status, code and the result",
1331
+ "schema": {
1332
+ "title": "result",
1333
+ "type": "object"
1334
+ }
1335
+ },
1336
+ "roles": [
1337
+ "admin"
1338
+ ],
1339
+ "route": {
1340
+ "verb": "POST",
1341
+ "path": "/calculateActiveChangeUsingPOST"
1342
+ },
1343
+ "task": true
1344
+ },
1345
+ {
1346
+ "name": "getActiveChangeStatusUsingGET",
1347
+ "summary": "Get ActiveChange results of the given change request",
1348
+ "description": "Get ActiveChange results of the given change request",
1349
+ "input": [
1350
+ {
1351
+ "name": "changeRequestId",
1352
+ "type": "number",
1353
+ "info": "changeRequestId: 123",
1354
+ "required": true,
1355
+ "schema": {
1356
+ "title": "changeRequestId",
1357
+ "type": "number"
1358
+ }
1359
+ }
1360
+ ],
1361
+ "output": {
1362
+ "name": "result",
1363
+ "type": "object",
1364
+ "description": "A JSON Object containing status, code and the result",
1365
+ "schema": {
1366
+ "title": "result",
1367
+ "type": "object"
1368
+ }
1369
+ },
1370
+ "roles": [
1371
+ "admin"
1372
+ ],
1373
+ "route": {
1374
+ "verb": "POST",
1375
+ "path": "/getActiveChangeStatusUsingGET"
1376
+ },
1377
+ "task": true
1378
+ },
1379
+ {
1380
+ "name": "createObjectChangeRequestUsingPOST",
1381
+ "summary": "Create Object Change request",
1382
+ "description": "Create Object Change request",
1383
+ "input": [
1384
+ {
1385
+ "name": "objectChangeRequestDetails",
1386
+ "type": "object",
1387
+ "info": "ObjectChangeRequestDetails, passed in JSON format: {\"template\": \"string\", \"fields\": [{\"name\": \"string\", \"values\": \"array\"}], \"subject\": \"string\", \"cc\": \"array\", \"description\": \"string\", \"devices\": \"array\", \"due\": \"string\", \"expire\": \"string\", \"externalId\": \"string\", \"owner\": \"string\", \"priority\": \"string\", \"refersTo\": \"array\", \"referredBy\": \"array\", \"requestor\": \"string\", \"requestedActions\": [{\"devices\": \"array\", \"lineOrder\": 123, \"name\": \"string\", \"objectContainers\": \"array\", \"type\": \"Must be one of [network, service]\", \"valuableServiceObject\": \"boolean\"}], \"objectContainerLevel\": \"Must be one of [Lowest, Highest, Automatic, Invalid]\"}",
1388
+ "required": true,
1389
+ "schema": {
1390
+ "type": "object",
1391
+ "required": [
1392
+ "devices",
1393
+ "fields",
1394
+ "requestedActions",
1395
+ "template"
1396
+ ],
1397
+ "properties": {
1398
+ "template": {
1399
+ "type": "string"
1400
+ },
1401
+ "fields": {
1402
+ "type": "array",
1403
+ "items": {
1404
+ "type": "object",
1405
+ "properties": {
1406
+ "name": {
1407
+ "type": "string",
1408
+ "example": "custom field name"
1409
+ },
1410
+ "values": {
1411
+ "type": "array",
1412
+ "example": [
1413
+ "custom field value 1",
1414
+ "custom field value 2"
1415
+ ],
1416
+ "items": {
1417
+ "type": "string"
1418
+ }
1419
+ }
1420
+ },
1421
+ "title": "Fields"
1422
+ }
1423
+ },
1424
+ "subject": {
1425
+ "type": "string"
1426
+ },
1427
+ "cc": {
1428
+ "type": "array",
1429
+ "items": {
1430
+ "type": "string"
1431
+ }
1432
+ },
1433
+ "description": {
1434
+ "type": "string"
1435
+ },
1436
+ "devices": {
1437
+ "type": "array",
1438
+ "items": {
1439
+ "type": "string"
1440
+ }
1441
+ },
1442
+ "due": {
1443
+ "type": "string"
1444
+ },
1445
+ "expire": {
1446
+ "type": "string"
1447
+ },
1448
+ "externalId": {
1449
+ "type": "string"
1450
+ },
1451
+ "owner": {
1452
+ "type": "string"
1453
+ },
1454
+ "priority": {
1455
+ "type": "string"
1456
+ },
1457
+ "refersTo": {
1458
+ "type": "array",
1459
+ "items": {
1460
+ "type": "string"
1461
+ }
1462
+ },
1463
+ "referredBy": {
1464
+ "type": "array",
1465
+ "items": {
1466
+ "type": "string"
1467
+ }
1468
+ },
1469
+ "requestor": {
1470
+ "type": "string"
1471
+ },
1472
+ "requestedActions": {
1473
+ "type": "array",
1474
+ "example": [
1475
+ {
1476
+ "action": "create",
1477
+ "name": "string",
1478
+ "type": "network/service",
1479
+ "isGroup": "true/false",
1480
+ "values": [
1481
+ "string 1",
1482
+ "string 2"
1483
+ ]
1484
+ },
1485
+ {
1486
+ "action": "delete",
1487
+ "name": "string",
1488
+ "type": "network/service"
1489
+ },
1490
+ {
1491
+ "action": "addObjectsToGroup",
1492
+ "name": "string",
1493
+ "type": "network/service",
1494
+ "values": [
1495
+ "string 1",
1496
+ "string 2"
1497
+ ]
1498
+ },
1499
+ {
1500
+ "action": "removeObjectsFromGroup",
1501
+ "name": "string",
1502
+ "type": "network/service",
1503
+ "values": [
1504
+ "string 1",
1505
+ "string 2"
1506
+ ]
1507
+ },
1508
+ {
1509
+ "action": "replaceContent",
1510
+ "name": "string",
1511
+ "type": "network/service",
1512
+ "values": [
1513
+ "string 1",
1514
+ "string 2"
1515
+ ]
1516
+ }
1517
+ ],
1518
+ "description": "Requested actions",
1519
+ "items": {
1520
+ "type": "object",
1521
+ "discriminator": "action",
1522
+ "properties": {
1523
+ "devices": {
1524
+ "type": "array",
1525
+ "items": {
1526
+ "type": "string"
1527
+ }
1528
+ },
1529
+ "lineOrder": {
1530
+ "type": "integer"
1531
+ },
1532
+ "name": {
1533
+ "type": "string"
1534
+ },
1535
+ "objectContainers": {
1536
+ "type": "array",
1537
+ "items": {
1538
+ "type": "integer"
1539
+ }
1540
+ },
1541
+ "type": {
1542
+ "type": "string",
1543
+ "enum": [
1544
+ "network",
1545
+ "service"
1546
+ ]
1547
+ },
1548
+ "valuableServiceObject": {
1549
+ "type": "boolean"
1550
+ }
1551
+ },
1552
+ "title": "Action"
1553
+ }
1554
+ },
1555
+ "objectContainerLevel": {
1556
+ "type": "string",
1557
+ "example": "Lowest/Highest/Automatic",
1558
+ "description": "Object container level",
1559
+ "enum": [
1560
+ "Lowest",
1561
+ "Highest",
1562
+ "Automatic",
1563
+ "Invalid"
1564
+ ]
1565
+ }
1566
+ },
1567
+ "title": "ObjectChangeRequestDetails",
1568
+ "definitions": {}
1569
+ }
1570
+ }
1571
+ ],
1572
+ "output": {
1573
+ "name": "result",
1574
+ "type": "object",
1575
+ "description": "A JSON Object containing status, code and the result",
1576
+ "schema": {
1577
+ "title": "result",
1578
+ "type": "object"
1579
+ }
1580
+ },
1581
+ "roles": [
1582
+ "admin"
1583
+ ],
1584
+ "route": {
1585
+ "verb": "POST",
1586
+ "path": "/createObjectChangeRequestUsingPOST"
1587
+ },
1588
+ "task": true
1589
+ },
1590
+ {
1591
+ "name": "getSavedSearchByNameProxyUsingGET",
1592
+ "summary": "Find Saved Search results by name",
1593
+ "description": "Find Saved Search results by name",
1594
+ "input": [
1595
+ {
1596
+ "name": "savedSearchName",
1597
+ "type": "string",
1598
+ "info": "Name of Saved Search: string",
1599
+ "required": true,
1600
+ "schema": {
1601
+ "title": "savedSearchName",
1602
+ "type": "string"
1603
+ }
1604
+ }
1605
+ ],
1606
+ "output": {
1607
+ "name": "result",
1608
+ "type": "object",
1609
+ "description": "A JSON Object containing status, code and the result",
1610
+ "schema": {
1611
+ "title": "result",
1612
+ "type": "object"
1613
+ }
1614
+ },
1615
+ "roles": [
1616
+ "admin"
1617
+ ],
1618
+ "route": {
1619
+ "verb": "POST",
1620
+ "path": "/getSavedSearchByNameProxyUsingGET"
1621
+ },
1622
+ "task": true
1623
+ },
1624
+ {
1625
+ "name": "verifySessionStatusUsingGET",
1626
+ "summary": "Checks if a session is alive by entering a session cookie in the request header. This endpoint cann",
1627
+ "description": "Checks if a session is alive by entering a session cookie in the request header. This endpoint cannot be tested from the swagger client. Use other REST clients.",
1628
+ "input": [],
1629
+ "output": {
1630
+ "name": "result",
1631
+ "type": "object",
1632
+ "description": "A JSON Object containing status, code and the result",
1633
+ "schema": {
1634
+ "title": "result",
1635
+ "type": "object"
1636
+ }
1637
+ },
1638
+ "roles": [
1639
+ "admin"
1640
+ ],
1641
+ "route": {
1642
+ "verb": "GET",
1643
+ "path": "/verifySessionStatusUsingGET"
1644
+ },
1645
+ "task": true
1646
+ },
1647
+ {
1648
+ "name": "getTemplatesUsingGET",
1649
+ "summary": "List all permitted request templates",
1650
+ "description": "List all permitted request templates",
1651
+ "input": [],
1652
+ "output": {
1653
+ "name": "result",
1654
+ "type": "object",
1655
+ "description": "A JSON Object containing status, code and the result",
1656
+ "schema": {
1657
+ "title": "result",
1658
+ "type": "object"
1659
+ }
1660
+ },
1661
+ "roles": [
1662
+ "admin"
1663
+ ],
1664
+ "route": {
1665
+ "verb": "GET",
1666
+ "path": "/getTemplatesUsingGET"
1667
+ },
1668
+ "task": true
1669
+ }
1670
+ ],
1671
+ "views": []
1672
+ }