@itentialopensource/adapter-algosec_appviz 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 (89) 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 +6079 -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 +3 -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/ApplicationsApiController/action.json +580 -0
  28. package/entities/ApplicationsApiController/mockdatafiles/getActivitiesForApplicationUsingGET-default.json +9 -0
  29. package/entities/ApplicationsApiController/mockdatafiles/getAllApplicationsActivitiesUsingGET-default.json +23 -0
  30. package/entities/ApplicationsApiController/mockdatafiles/getAllApplicationsUsingGET-default.json +170 -0
  31. package/entities/ApplicationsApiController/mockdatafiles/getApplicationChangeRequestsUsingGET-default.json +94 -0
  32. package/entities/ApplicationsApiController/mockdatafiles/getApplicationContactsUsingGET-default.json +20 -0
  33. package/entities/ApplicationsApiController/mockdatafiles/getApplicationLabelsUsingGET-default.json +14 -0
  34. package/entities/ApplicationsApiController/mockdatafiles/getApplicationLabelsUsingGET1-default.json +14 -0
  35. package/entities/ApplicationsApiController/mockdatafiles/getApplicationRevisionsByAppIdUsingGET-default.json +46 -0
  36. package/entities/ApplicationsApiController/mockdatafiles/getApplicationRevisionsUsingGET-default.json +68 -0
  37. package/entities/ApplicationsApiController/mockdatafiles/getApplicationRisksUsingGET-default.json +9 -0
  38. package/entities/ApplicationsApiController/mockdatafiles/getPciApplicationsVulnerabilitiesUsingGET-default.json +26 -0
  39. package/entities/ApplicationsApiController/schema.json +68 -0
  40. package/entities/FlowsApiController/action.json +147 -0
  41. package/entities/FlowsApiController/mockdatafiles/editApplicationFlowUsingPOST-default.json +2024 -0
  42. package/entities/FlowsApiController/mockdatafiles/getApplicationFlowsUsingGET-default.json +5022 -0
  43. package/entities/FlowsApiController/mockdatafiles/getFlowRisksUsingGET-default.json +23 -0
  44. package/entities/FlowsApiController/schema.json +25 -0
  45. package/entities/NetworkObjectApiController/action.json +271 -0
  46. package/entities/NetworkObjectApiController/mockdatafiles/findNetworkObjectsApplicationsByIpUsingGET-default.json +330 -0
  47. package/entities/NetworkObjectApiController/mockdatafiles/findNetworkObjectsByIpUsingGET-default.json +491 -0
  48. package/entities/NetworkObjectApiController/mockdatafiles/getAllNetworkObjectsUsingGET-default.json +479 -0
  49. package/entities/NetworkObjectApiController/mockdatafiles/getNetworkObjectApplicationsUsingGET-default.json +277 -0
  50. package/entities/NetworkObjectApiController/mockdatafiles/getNetworkObjectsByNameUsingGET-default.json +364 -0
  51. package/entities/NetworkObjectApiController/schema.json +53 -0
  52. package/entities/NetworkServiceApiController/action.json +147 -0
  53. package/entities/NetworkServiceApiController/mockdatafiles/getAllNetworkServicesUsingGET-default.json +81 -0
  54. package/entities/NetworkServiceApiController/schema.json +47 -0
  55. package/entities/PermissionsApiController/action.json +168 -0
  56. package/entities/PermissionsApiController/schema.json +26 -0
  57. package/error.json +190 -0
  58. package/package.json +86 -0
  59. package/pronghorn.json +7756 -0
  60. package/propertiesDecorators.json +14 -0
  61. package/propertiesSchema.json +1248 -0
  62. package/refs?service=git-upload-pack +0 -0
  63. package/report/algosec-AppViz-swagger.json +4453 -0
  64. package/report/creationReport.json +485 -0
  65. package/sampleProperties.json +195 -0
  66. package/test/integration/adapterTestBasicGet.js +83 -0
  67. package/test/integration/adapterTestConnectivity.js +93 -0
  68. package/test/integration/adapterTestIntegration.js +2212 -0
  69. package/test/unit/adapterBaseTestUnit.js +949 -0
  70. package/test/unit/adapterTestUnit.js +3291 -0
  71. package/utils/adapterInfo.js +206 -0
  72. package/utils/addAuth.js +94 -0
  73. package/utils/artifactize.js +146 -0
  74. package/utils/basicGet.js +50 -0
  75. package/utils/checkMigrate.js +63 -0
  76. package/utils/entitiesToDB.js +178 -0
  77. package/utils/findPath.js +74 -0
  78. package/utils/methodDocumentor.js +225 -0
  79. package/utils/modify.js +154 -0
  80. package/utils/packModificationScript.js +35 -0
  81. package/utils/patches2bundledDeps.js +90 -0
  82. package/utils/pre-commit.sh +32 -0
  83. package/utils/removeHooks.js +20 -0
  84. package/utils/setup.js +33 -0
  85. package/utils/tbScript.js +246 -0
  86. package/utils/tbUtils.js +490 -0
  87. package/utils/testRunner.js +298 -0
  88. package/utils/troubleshootingAdapter.js +195 -0
  89. package/workflows/README.md +3 -0
@@ -0,0 +1,580 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllApplicationsUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/applications/?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getAllApplicationsUsingGET-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getAllApplicationsActivitiesUsingGET",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/applications/activity_log?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/getAllApplicationsActivitiesUsingGET-default.json"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "getApplicationByAppIdUsingGET",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/applications/id/{pathv1}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "getApplicationRevisionsByAppIdUsingGET",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/applications/id/{pathv1}/revisions?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": "mockdatafiles/getApplicationRevisionsByAppIdUsingGET-default.json"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "getApplicationByNameUsingGET",
89
+ "protocol": "REST",
90
+ "method": "GET",
91
+ "entitypath": "{base_path}/{version}/applications/name/**?{query}",
92
+ "requestSchema": "schema.json",
93
+ "responseSchema": "schema.json",
94
+ "timeout": 0,
95
+ "sendEmpty": false,
96
+ "sendGetBody": false,
97
+ "requestDatatype": "JSON",
98
+ "responseDatatype": "JSON",
99
+ "headers": {},
100
+ "responseObjects": [
101
+ {
102
+ "type": "default",
103
+ "key": "",
104
+ "mockFile": ""
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "newApplicationUsingPOST",
110
+ "protocol": "REST",
111
+ "method": "POST",
112
+ "entitypath": "{base_path}/{version}/applications/new?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": false,
117
+ "requestDatatype": "JSON",
118
+ "responseDatatype": "JSON",
119
+ "headers": {},
120
+ "responseObjects": [
121
+ {
122
+ "type": "default",
123
+ "key": "",
124
+ "mockFile": ""
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "getPciApplicationsVulnerabilitiesUsingGET",
130
+ "protocol": "REST",
131
+ "method": "GET",
132
+ "entitypath": "{base_path}/{version}/applications/pci?{query}",
133
+ "requestSchema": "schema.json",
134
+ "responseSchema": "schema.json",
135
+ "timeout": 0,
136
+ "sendEmpty": false,
137
+ "sendGetBody": false,
138
+ "requestDatatype": "JSON",
139
+ "responseDatatype": "JSON",
140
+ "headers": {},
141
+ "responseObjects": [
142
+ {
143
+ "type": "default",
144
+ "key": "",
145
+ "mockFile": "mockdatafiles/getPciApplicationsVulnerabilitiesUsingGET-default.json"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "name": "getApplicationByIdUsingGET",
151
+ "protocol": "REST",
152
+ "method": "GET",
153
+ "entitypath": "{base_path}/{version}/applications/{pathv1}?{query}",
154
+ "requestSchema": "schema.json",
155
+ "responseSchema": "schema.json",
156
+ "timeout": 0,
157
+ "sendEmpty": false,
158
+ "sendGetBody": false,
159
+ "requestDatatype": "JSON",
160
+ "responseDatatype": "JSON",
161
+ "headers": {},
162
+ "responseObjects": [
163
+ {
164
+ "type": "default",
165
+ "key": "",
166
+ "mockFile": ""
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "getActivitiesForApplicationUsingGET",
172
+ "protocol": "REST",
173
+ "method": "GET",
174
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/activity_log?{query}",
175
+ "requestSchema": "schema.json",
176
+ "responseSchema": "schema.json",
177
+ "timeout": 0,
178
+ "sendEmpty": false,
179
+ "sendGetBody": false,
180
+ "requestDatatype": "JSON",
181
+ "responseDatatype": "JSON",
182
+ "headers": {},
183
+ "responseObjects": [
184
+ {
185
+ "type": "default",
186
+ "key": "",
187
+ "mockFile": "mockdatafiles/getActivitiesForApplicationUsingGET-default.json"
188
+ }
189
+ ]
190
+ },
191
+ {
192
+ "name": "applyDraftUsingPOST",
193
+ "protocol": "REST",
194
+ "method": "POST",
195
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/apply?{query}",
196
+ "requestSchema": "schema.json",
197
+ "responseSchema": "schema.json",
198
+ "timeout": 0,
199
+ "sendEmpty": false,
200
+ "requestDatatype": "JSON",
201
+ "responseDatatype": "JSON",
202
+ "headers": {},
203
+ "responseObjects": [
204
+ {
205
+ "type": "default",
206
+ "key": "",
207
+ "mockFile": ""
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "name": "getApplicationUsersAndRolesUsingGET",
213
+ "protocol": "REST",
214
+ "method": "GET",
215
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/authorized_users_and_roles?{query}",
216
+ "requestSchema": "schema.json",
217
+ "responseSchema": "schema.json",
218
+ "timeout": 0,
219
+ "sendEmpty": false,
220
+ "sendGetBody": false,
221
+ "requestDatatype": "JSON",
222
+ "responseDatatype": "JSON",
223
+ "headers": {},
224
+ "responseObjects": [
225
+ {
226
+ "type": "default",
227
+ "key": "",
228
+ "mockFile": ""
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "name": "getApplicationChangeRequestsUsingGET",
234
+ "protocol": "REST",
235
+ "method": "GET",
236
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/change_requests?{query}",
237
+ "requestSchema": "schema.json",
238
+ "responseSchema": "schema.json",
239
+ "timeout": 0,
240
+ "sendEmpty": false,
241
+ "sendGetBody": false,
242
+ "requestDatatype": "JSON",
243
+ "responseDatatype": "JSON",
244
+ "headers": {},
245
+ "responseObjects": [
246
+ {
247
+ "type": "default",
248
+ "key": "",
249
+ "mockFile": "mockdatafiles/getApplicationChangeRequestsUsingGET-default.json"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "name": "runCheckConnectivityUsingPOST",
255
+ "protocol": "REST",
256
+ "method": "POST",
257
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/check_connectivity?{query}",
258
+ "requestSchema": "schema.json",
259
+ "responseSchema": "schema.json",
260
+ "timeout": 0,
261
+ "sendEmpty": false,
262
+ "requestDatatype": "JSON",
263
+ "responseDatatype": "JSON",
264
+ "headers": {},
265
+ "responseObjects": [
266
+ {
267
+ "type": "default",
268
+ "key": "",
269
+ "mockFile": ""
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "name": "getApplicationContactsUsingGET",
275
+ "protocol": "REST",
276
+ "method": "GET",
277
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/contacts?{query}",
278
+ "requestSchema": "schema.json",
279
+ "responseSchema": "schema.json",
280
+ "timeout": 0,
281
+ "sendEmpty": false,
282
+ "sendGetBody": false,
283
+ "requestDatatype": "JSON",
284
+ "responseDatatype": "JSON",
285
+ "headers": {},
286
+ "responseObjects": [
287
+ {
288
+ "type": "default",
289
+ "key": "",
290
+ "mockFile": "mockdatafiles/getApplicationContactsUsingGET-default.json"
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "name": "editApplicationContactsUsingPOST",
296
+ "protocol": "REST",
297
+ "method": "POST",
298
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/contacts?{query}",
299
+ "requestSchema": "schema.json",
300
+ "responseSchema": "schema.json",
301
+ "timeout": 0,
302
+ "sendEmpty": false,
303
+ "requestDatatype": "JSON",
304
+ "responseDatatype": "JSON",
305
+ "headers": {},
306
+ "responseObjects": [
307
+ {
308
+ "type": "default",
309
+ "key": "",
310
+ "mockFile": ""
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "name": "clearAllApplicationContactsUsingDELETE",
316
+ "protocol": "REST",
317
+ "method": "DELETE",
318
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/contacts?{query}",
319
+ "requestSchema": "schema.json",
320
+ "responseSchema": "schema.json",
321
+ "timeout": 0,
322
+ "sendEmpty": false,
323
+ "requestDatatype": "JSON",
324
+ "responseDatatype": "JSON",
325
+ "headers": {},
326
+ "responseObjects": [
327
+ {
328
+ "type": "default",
329
+ "key": "",
330
+ "mockFile": ""
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "name": "editCustomFieldsUsingPOST",
336
+ "protocol": "REST",
337
+ "method": "POST",
338
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/custom_fields?{query}",
339
+ "requestSchema": "schema.json",
340
+ "responseSchema": "schema.json",
341
+ "timeout": 0,
342
+ "sendEmpty": false,
343
+ "requestDatatype": "JSON",
344
+ "responseDatatype": "JSON",
345
+ "headers": {},
346
+ "responseObjects": [
347
+ {
348
+ "type": "default",
349
+ "key": "",
350
+ "mockFile": ""
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "name": "clearAllApplicationCustomFieldsUsingDELETE",
356
+ "protocol": "REST",
357
+ "method": "DELETE",
358
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/custom_fields?{query}",
359
+ "requestSchema": "schema.json",
360
+ "responseSchema": "schema.json",
361
+ "timeout": 0,
362
+ "sendEmpty": false,
363
+ "requestDatatype": "JSON",
364
+ "responseDatatype": "JSON",
365
+ "headers": {},
366
+ "responseObjects": [
367
+ {
368
+ "type": "default",
369
+ "key": "",
370
+ "mockFile": ""
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "name": "decomissionApplicationUsingPOST",
376
+ "protocol": "REST",
377
+ "method": "POST",
378
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/decommission?{query}",
379
+ "requestSchema": "schema.json",
380
+ "responseSchema": "schema.json",
381
+ "timeout": 0,
382
+ "sendEmpty": false,
383
+ "requestDatatype": "JSON",
384
+ "responseDatatype": "JSON",
385
+ "headers": {},
386
+ "responseObjects": [
387
+ {
388
+ "type": "default",
389
+ "key": "",
390
+ "mockFile": ""
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "name": "discardRevisionUsingPOST",
396
+ "protocol": "REST",
397
+ "method": "POST",
398
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/discard?{query}",
399
+ "requestSchema": "schema.json",
400
+ "responseSchema": "schema.json",
401
+ "timeout": 0,
402
+ "sendEmpty": false,
403
+ "requestDatatype": "JSON",
404
+ "responseDatatype": "JSON",
405
+ "headers": {},
406
+ "responseObjects": [
407
+ {
408
+ "type": "default",
409
+ "key": "",
410
+ "mockFile": ""
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ "name": "getApplicationLabelsUsingGET1",
416
+ "protocol": "REST",
417
+ "method": "GET",
418
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/labels?{query}",
419
+ "requestSchema": "schema.json",
420
+ "responseSchema": "schema.json",
421
+ "timeout": 0,
422
+ "sendEmpty": false,
423
+ "sendGetBody": false,
424
+ "requestDatatype": "JSON",
425
+ "responseDatatype": "JSON",
426
+ "headers": {},
427
+ "responseObjects": [
428
+ {
429
+ "type": "default",
430
+ "key": "",
431
+ "mockFile": "mockdatafiles/getApplicationLabelsUsingGET1-default.json"
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "name": "editApplicationLabelsUsingPOST",
437
+ "protocol": "REST",
438
+ "method": "POST",
439
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/labels?{query}",
440
+ "requestSchema": "schema.json",
441
+ "responseSchema": "schema.json",
442
+ "timeout": 0,
443
+ "sendEmpty": false,
444
+ "requestDatatype": "JSON",
445
+ "responseDatatype": "JSON",
446
+ "headers": {},
447
+ "responseObjects": [
448
+ {
449
+ "type": "default",
450
+ "key": "",
451
+ "mockFile": ""
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ "name": "removeAllApplicationLabelsUsingDELETE",
457
+ "protocol": "REST",
458
+ "method": "DELETE",
459
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/labels?{query}",
460
+ "requestSchema": "schema.json",
461
+ "responseSchema": "schema.json",
462
+ "timeout": 0,
463
+ "sendEmpty": false,
464
+ "requestDatatype": "JSON",
465
+ "responseDatatype": "JSON",
466
+ "headers": {},
467
+ "responseObjects": [
468
+ {
469
+ "type": "default",
470
+ "key": "",
471
+ "mockFile": ""
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ "name": "getApplicationLabelsUsingGET",
477
+ "protocol": "REST",
478
+ "method": "GET",
479
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/labels/{pathv2}?{query}",
480
+ "requestSchema": "schema.json",
481
+ "responseSchema": "schema.json",
482
+ "timeout": 0,
483
+ "sendEmpty": false,
484
+ "sendGetBody": false,
485
+ "requestDatatype": "JSON",
486
+ "responseDatatype": "JSON",
487
+ "headers": {},
488
+ "responseObjects": [
489
+ {
490
+ "type": "default",
491
+ "key": "",
492
+ "mockFile": "mockdatafiles/getApplicationLabelsUsingGET-default.json"
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "name": "resolveApplicationUsingPOST",
498
+ "protocol": "REST",
499
+ "method": "POST",
500
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/resolve?{query}",
501
+ "requestSchema": "schema.json",
502
+ "responseSchema": "schema.json",
503
+ "timeout": 0,
504
+ "sendEmpty": false,
505
+ "requestDatatype": "JSON",
506
+ "responseDatatype": "JSON",
507
+ "headers": {},
508
+ "responseObjects": [
509
+ {
510
+ "type": "default",
511
+ "key": "",
512
+ "mockFile": ""
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "name": "getApplicationRevisionsUsingGET",
518
+ "protocol": "REST",
519
+ "method": "GET",
520
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/revisions?{query}",
521
+ "requestSchema": "schema.json",
522
+ "responseSchema": "schema.json",
523
+ "timeout": 0,
524
+ "sendEmpty": false,
525
+ "sendGetBody": false,
526
+ "requestDatatype": "JSON",
527
+ "responseDatatype": "JSON",
528
+ "headers": {},
529
+ "responseObjects": [
530
+ {
531
+ "type": "default",
532
+ "key": "",
533
+ "mockFile": "mockdatafiles/getApplicationRevisionsUsingGET-default.json"
534
+ }
535
+ ]
536
+ },
537
+ {
538
+ "name": "getApplicationRisksUsingGET",
539
+ "protocol": "REST",
540
+ "method": "GET",
541
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/risks?{query}",
542
+ "requestSchema": "schema.json",
543
+ "responseSchema": "schema.json",
544
+ "timeout": 0,
545
+ "sendEmpty": false,
546
+ "sendGetBody": false,
547
+ "requestDatatype": "JSON",
548
+ "responseDatatype": "JSON",
549
+ "headers": {},
550
+ "responseObjects": [
551
+ {
552
+ "type": "default",
553
+ "key": "",
554
+ "mockFile": "mockdatafiles/getApplicationRisksUsingGET-default.json"
555
+ }
556
+ ]
557
+ },
558
+ {
559
+ "name": "getApplicationVulnerabilitiesUsingGET",
560
+ "protocol": "REST",
561
+ "method": "GET",
562
+ "entitypath": "{base_path}/{version}/applications/{pathv1}/vulnerabilities?{query}",
563
+ "requestSchema": "schema.json",
564
+ "responseSchema": "schema.json",
565
+ "timeout": 0,
566
+ "sendEmpty": false,
567
+ "sendGetBody": false,
568
+ "requestDatatype": "JSON",
569
+ "responseDatatype": "JSON",
570
+ "headers": {},
571
+ "responseObjects": [
572
+ {
573
+ "type": "default",
574
+ "key": "",
575
+ "mockFile": ""
576
+ }
577
+ ]
578
+ }
579
+ ]
580
+ }
@@ -0,0 +1,9 @@
1
+ [
2
+ {
3
+ "applicationName": "string",
4
+ "category": "string",
5
+ "date": "string",
6
+ "description": "string",
7
+ "userName": "string"
8
+ }
9
+ ]
@@ -0,0 +1,23 @@
1
+ [
2
+ {
3
+ "applicationName": "string",
4
+ "category": "string",
5
+ "date": "string",
6
+ "description": "string",
7
+ "userName": "string"
8
+ },
9
+ {
10
+ "applicationName": "string",
11
+ "category": "string",
12
+ "date": "string",
13
+ "description": "string",
14
+ "userName": "string"
15
+ },
16
+ {
17
+ "applicationName": "string",
18
+ "category": "string",
19
+ "date": "string",
20
+ "description": "string",
21
+ "userName": "string"
22
+ }
23
+ ]