@itentialopensource/adapter-zscaler 0.7.0 → 0.8.0

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 (42) hide show
  1. package/CALLS.md +342 -0
  2. package/CHANGELOG.md +3 -112
  3. package/CONTRIBUTING.md +1 -160
  4. package/ENHANCE.md +2 -2
  5. package/README.md +32 -23
  6. package/adapter.js +157 -329
  7. package/adapterBase.js +549 -879
  8. package/changelogs/CHANGELOG.md +118 -0
  9. package/metadata.json +49 -0
  10. package/package.json +24 -25
  11. package/pronghorn.json +981 -642
  12. package/propertiesSchema.json +431 -31
  13. package/refs?service=git-upload-pack +0 -0
  14. package/report/adapter-openapi.json +1828 -0
  15. package/report/adapter-openapi.yaml +1462 -0
  16. package/report/adapterInfo.json +8 -8
  17. package/report/updateReport1691508819418.json +120 -0
  18. package/report/updateReport1692203278243.json +120 -0
  19. package/report/updateReport1694468959859.json +120 -0
  20. package/report/updateReport1698422816279.json +120 -0
  21. package/sampleProperties.json +63 -2
  22. package/test/integration/adapterTestBasicGet.js +2 -4
  23. package/test/integration/adapterTestConnectivity.js +91 -42
  24. package/test/integration/adapterTestIntegration.js +130 -2
  25. package/test/unit/adapterBaseTestUnit.js +388 -313
  26. package/test/unit/adapterTestUnit.js +338 -112
  27. package/utils/adapterInfo.js +1 -1
  28. package/utils/addAuth.js +1 -1
  29. package/utils/artifactize.js +1 -1
  30. package/utils/checkMigrate.js +1 -1
  31. package/utils/entitiesToDB.js +2 -2
  32. package/utils/findPath.js +1 -1
  33. package/utils/methodDocumentor.js +273 -0
  34. package/utils/modify.js +13 -15
  35. package/utils/packModificationScript.js +1 -1
  36. package/utils/pre-commit.sh +2 -0
  37. package/utils/taskMover.js +309 -0
  38. package/utils/tbScript.js +89 -34
  39. package/utils/tbUtils.js +41 -21
  40. package/utils/testRunner.js +1 -1
  41. package/utils/troubleshootingAdapter.js +9 -6
  42. package/workflows/README.md +0 -3
@@ -0,0 +1,1828 @@
1
+ {
2
+ "openapi": "3.0.2",
3
+ "info": {
4
+ "title": "adapter-zscaler",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/authenticatedSession": {
9
+ "get": {
10
+ "operationId": "getAuthenticatedSession",
11
+ "responses": {
12
+ "200": {
13
+ "description": "Successful operation",
14
+ "content": {
15
+ "application/json": {
16
+ "schema": {
17
+ "title": "result",
18
+ "type": "object"
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
24
+ },
25
+ "post": {
26
+ "operationId": "postAuthenticatedSession",
27
+ "responses": {
28
+ "200": {
29
+ "description": "Successful operation",
30
+ "content": {
31
+ "application/json": {
32
+ "schema": {
33
+ "title": "result",
34
+ "type": "object"
35
+ }
36
+ }
37
+ }
38
+ }
39
+ },
40
+ "parameters": [
41
+ {
42
+ "name": "credentials",
43
+ "in": "query",
44
+ "required": true,
45
+ "schema": {
46
+ "title": "credentials",
47
+ "type": "object"
48
+ }
49
+ }
50
+ ],
51
+ "requestBody": {
52
+ "content": {
53
+ "application/json": {
54
+ "schema": {
55
+ "type": "object"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "delete": {
62
+ "operationId": "deleteAuthenticatedSession",
63
+ "responses": {
64
+ "200": {
65
+ "description": "Successful operation",
66
+ "content": {
67
+ "application/json": {
68
+ "schema": {
69
+ "title": "result",
70
+ "type": "object"
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "/auditReport": {
79
+ "get": {
80
+ "operationId": "getAuditReport",
81
+ "responses": {
82
+ "200": {
83
+ "description": "Successful operation",
84
+ "content": {
85
+ "application/json": {
86
+ "schema": {
87
+ "title": "result",
88
+ "type": "object"
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "post": {
96
+ "operationId": "postAuditReport",
97
+ "responses": {
98
+ "200": {
99
+ "description": "Successful operation",
100
+ "content": {
101
+ "application/json": {
102
+ "schema": {
103
+ "title": "result",
104
+ "type": "object"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ },
111
+ "delete": {
112
+ "operationId": "deleteAuditReport",
113
+ "responses": {
114
+ "200": {
115
+ "description": "Successful operation",
116
+ "content": {
117
+ "application/json": {
118
+ "schema": {
119
+ "title": "result",
120
+ "type": "object"
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ },
128
+ "/auditReport/download": {
129
+ "get": {
130
+ "operationId": "getAuditReportdownload",
131
+ "responses": {
132
+ "200": {
133
+ "description": "Successful operation",
134
+ "content": {
135
+ "application/json": {
136
+ "schema": {
137
+ "title": "result",
138
+ "type": "object"
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ },
146
+ "/auditlogEntryReport": {
147
+ "get": {
148
+ "operationId": "getAuditlogEntryReport",
149
+ "responses": {
150
+ "200": {
151
+ "description": "Successful operation",
152
+ "content": {
153
+ "application/json": {
154
+ "schema": {
155
+ "title": "result",
156
+ "type": "object"
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "post": {
164
+ "operationId": "postAuditlogEntryReport",
165
+ "responses": {
166
+ "200": {
167
+ "description": "Successful operation",
168
+ "content": {
169
+ "application/json": {
170
+ "schema": {
171
+ "title": "result",
172
+ "type": "object"
173
+ }
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "parameters": [
179
+ {
180
+ "name": "request",
181
+ "in": "query",
182
+ "required": false,
183
+ "schema": {
184
+ "title": "request",
185
+ "type": "object"
186
+ }
187
+ }
188
+ ],
189
+ "requestBody": {
190
+ "content": {
191
+ "application/json": {
192
+ "schema": {
193
+ "type": "object"
194
+ }
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "delete": {
200
+ "operationId": "deleteAuditlogEntryReport",
201
+ "responses": {
202
+ "200": {
203
+ "description": "Successful operation",
204
+ "content": {
205
+ "application/json": {
206
+ "schema": {
207
+ "title": "result",
208
+ "type": "object"
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+ },
216
+ "/auditlogEntryReport/download": {
217
+ "get": {
218
+ "operationId": "getAuditlogEntryReportdownload",
219
+ "responses": {
220
+ "200": {
221
+ "description": "Successful operation",
222
+ "content": {
223
+ "application/json": {
224
+ "schema": {
225
+ "title": "result",
226
+ "type": "object"
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }
233
+ },
234
+ "/departments": {
235
+ "get": {
236
+ "operationId": "getDepartments",
237
+ "responses": {
238
+ "200": {
239
+ "description": "Successful operation",
240
+ "content": {
241
+ "application/json": {
242
+ "schema": {
243
+ "title": "result",
244
+ "type": "object"
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "/departments/{id}": {
253
+ "get": {
254
+ "operationId": "getDepartmentsid",
255
+ "responses": {
256
+ "200": {
257
+ "description": "Successful operation",
258
+ "content": {
259
+ "application/json": {
260
+ "schema": {
261
+ "title": "result",
262
+ "type": "object"
263
+ }
264
+ }
265
+ }
266
+ }
267
+ },
268
+ "parameters": [
269
+ {
270
+ "name": "id",
271
+ "in": "path",
272
+ "required": true,
273
+ "schema": {
274
+ "title": "id",
275
+ "type": "number"
276
+ }
277
+ }
278
+ ]
279
+ }
280
+ },
281
+ "/groups": {
282
+ "get": {
283
+ "operationId": "getGroups",
284
+ "responses": {
285
+ "200": {
286
+ "description": "Successful operation",
287
+ "content": {
288
+ "application/json": {
289
+ "schema": {
290
+ "title": "result",
291
+ "type": "object"
292
+ }
293
+ }
294
+ }
295
+ }
296
+ },
297
+ "parameters": [
298
+ {
299
+ "name": "search",
300
+ "in": "query",
301
+ "required": false,
302
+ "schema": {
303
+ "title": "search",
304
+ "type": "string"
305
+ }
306
+ },
307
+ {
308
+ "name": "page",
309
+ "in": "query",
310
+ "required": false,
311
+ "schema": {
312
+ "title": "page",
313
+ "type": "number"
314
+ }
315
+ },
316
+ {
317
+ "name": "pageSize",
318
+ "in": "query",
319
+ "required": false,
320
+ "schema": {
321
+ "title": "pageSize",
322
+ "type": "number"
323
+ }
324
+ }
325
+ ]
326
+ }
327
+ },
328
+ "/groups/{groupId}": {
329
+ "get": {
330
+ "operationId": "getGroupsgroupId",
331
+ "responses": {
332
+ "200": {
333
+ "description": "Successful operation",
334
+ "content": {
335
+ "application/json": {
336
+ "schema": {
337
+ "title": "result",
338
+ "type": "object"
339
+ }
340
+ }
341
+ }
342
+ }
343
+ },
344
+ "parameters": [
345
+ {
346
+ "name": "groupId",
347
+ "in": "path",
348
+ "required": true,
349
+ "schema": {
350
+ "title": "groupId",
351
+ "type": "number"
352
+ }
353
+ }
354
+ ]
355
+ }
356
+ },
357
+ "/users": {
358
+ "get": {
359
+ "operationId": "getUsers",
360
+ "responses": {
361
+ "200": {
362
+ "description": "Successful operation",
363
+ "content": {
364
+ "application/json": {
365
+ "schema": {
366
+ "title": "result",
367
+ "type": "object"
368
+ }
369
+ }
370
+ }
371
+ }
372
+ },
373
+ "parameters": [
374
+ {
375
+ "name": "name",
376
+ "in": "query",
377
+ "required": false,
378
+ "schema": {
379
+ "title": "name",
380
+ "type": "string"
381
+ }
382
+ },
383
+ {
384
+ "name": "dept",
385
+ "in": "query",
386
+ "required": false,
387
+ "schema": {
388
+ "title": "dept",
389
+ "type": "string"
390
+ }
391
+ },
392
+ {
393
+ "name": "group",
394
+ "in": "query",
395
+ "required": false,
396
+ "schema": {
397
+ "title": "group",
398
+ "type": "string"
399
+ }
400
+ },
401
+ {
402
+ "name": "page",
403
+ "in": "query",
404
+ "required": false,
405
+ "schema": {
406
+ "title": "page",
407
+ "type": "number"
408
+ }
409
+ },
410
+ {
411
+ "name": "pageSize",
412
+ "in": "query",
413
+ "required": false,
414
+ "schema": {
415
+ "title": "pageSize",
416
+ "type": "number"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ "post": {
422
+ "operationId": "postUsers",
423
+ "responses": {
424
+ "200": {
425
+ "description": "Successful operation",
426
+ "content": {
427
+ "application/json": {
428
+ "schema": {
429
+ "title": "result",
430
+ "type": "object"
431
+ }
432
+ }
433
+ }
434
+ }
435
+ },
436
+ "parameters": [
437
+ {
438
+ "name": "user",
439
+ "in": "query",
440
+ "required": false,
441
+ "schema": {
442
+ "title": "user",
443
+ "type": "object"
444
+ }
445
+ }
446
+ ],
447
+ "requestBody": {
448
+ "content": {
449
+ "application/json": {
450
+ "schema": {
451
+ "type": "object"
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ },
458
+ "/users/bulkDelete": {
459
+ "post": {
460
+ "operationId": "postUsersbulkDelete",
461
+ "responses": {
462
+ "200": {
463
+ "description": "Successful operation",
464
+ "content": {
465
+ "application/json": {
466
+ "schema": {
467
+ "title": "result",
468
+ "type": "object"
469
+ }
470
+ }
471
+ }
472
+ }
473
+ },
474
+ "parameters": [
475
+ {
476
+ "name": "userIds",
477
+ "in": "query",
478
+ "required": false,
479
+ "schema": {
480
+ "title": "userIds",
481
+ "type": "object"
482
+ }
483
+ }
484
+ ],
485
+ "requestBody": {
486
+ "content": {
487
+ "application/json": {
488
+ "schema": {
489
+ "type": "object"
490
+ }
491
+ }
492
+ }
493
+ }
494
+ }
495
+ },
496
+ "/users/{userId}": {
497
+ "get": {
498
+ "operationId": "getUsersuserId",
499
+ "responses": {
500
+ "200": {
501
+ "description": "Successful operation",
502
+ "content": {
503
+ "application/json": {
504
+ "schema": {
505
+ "title": "result",
506
+ "type": "object"
507
+ }
508
+ }
509
+ }
510
+ }
511
+ },
512
+ "parameters": [
513
+ {
514
+ "name": "userId",
515
+ "in": "path",
516
+ "required": true,
517
+ "schema": {
518
+ "title": "userId",
519
+ "type": "number"
520
+ }
521
+ }
522
+ ]
523
+ },
524
+ "put": {
525
+ "operationId": "putUsersuserId",
526
+ "responses": {
527
+ "200": {
528
+ "description": "Successful operation",
529
+ "content": {
530
+ "application/json": {
531
+ "schema": {
532
+ "title": "result",
533
+ "type": "object"
534
+ }
535
+ }
536
+ }
537
+ }
538
+ },
539
+ "parameters": [
540
+ {
541
+ "name": "userId",
542
+ "in": "path",
543
+ "required": true,
544
+ "schema": {
545
+ "title": "userId",
546
+ "type": "number"
547
+ }
548
+ },
549
+ {
550
+ "name": "user",
551
+ "in": "query",
552
+ "required": false,
553
+ "schema": {
554
+ "title": "user",
555
+ "type": "object"
556
+ }
557
+ }
558
+ ],
559
+ "requestBody": {
560
+ "content": {
561
+ "application/json": {
562
+ "schema": {
563
+ "type": "object"
564
+ }
565
+ }
566
+ }
567
+ }
568
+ },
569
+ "delete": {
570
+ "operationId": "deleteUsersuserId",
571
+ "responses": {
572
+ "200": {
573
+ "description": "Successful operation",
574
+ "content": {
575
+ "application/json": {
576
+ "schema": {
577
+ "title": "result",
578
+ "type": "object"
579
+ }
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "parameters": [
585
+ {
586
+ "name": "userId",
587
+ "in": "path",
588
+ "required": true,
589
+ "schema": {
590
+ "title": "userId",
591
+ "type": "number"
592
+ }
593
+ }
594
+ ]
595
+ }
596
+ },
597
+ "/security": {
598
+ "get": {
599
+ "operationId": "getSecurity",
600
+ "responses": {
601
+ "200": {
602
+ "description": "Successful operation",
603
+ "content": {
604
+ "application/json": {
605
+ "schema": {
606
+ "title": "result",
607
+ "type": "object"
608
+ }
609
+ }
610
+ }
611
+ }
612
+ }
613
+ },
614
+ "put": {
615
+ "operationId": "putSecurity",
616
+ "responses": {
617
+ "200": {
618
+ "description": "Successful operation",
619
+ "content": {
620
+ "application/json": {
621
+ "schema": {
622
+ "title": "result",
623
+ "type": "object"
624
+ }
625
+ }
626
+ }
627
+ }
628
+ },
629
+ "parameters": [
630
+ {
631
+ "name": "policy",
632
+ "in": "query",
633
+ "required": false,
634
+ "schema": {
635
+ "title": "policy",
636
+ "type": "object"
637
+ }
638
+ }
639
+ ],
640
+ "requestBody": {
641
+ "content": {
642
+ "application/json": {
643
+ "schema": {
644
+ "type": "object"
645
+ }
646
+ }
647
+ }
648
+ }
649
+ }
650
+ },
651
+ "/security/advanced": {
652
+ "get": {
653
+ "operationId": "getSecurityadvanced",
654
+ "responses": {
655
+ "200": {
656
+ "description": "Successful operation",
657
+ "content": {
658
+ "application/json": {
659
+ "schema": {
660
+ "title": "result",
661
+ "type": "object"
662
+ }
663
+ }
664
+ }
665
+ }
666
+ }
667
+ },
668
+ "put": {
669
+ "operationId": "putSecurityadvanced",
670
+ "responses": {
671
+ "200": {
672
+ "description": "Successful operation",
673
+ "content": {
674
+ "application/json": {
675
+ "schema": {
676
+ "title": "result",
677
+ "type": "object"
678
+ }
679
+ }
680
+ }
681
+ }
682
+ },
683
+ "parameters": [
684
+ {
685
+ "name": "advSettings",
686
+ "in": "query",
687
+ "required": false,
688
+ "schema": {
689
+ "title": "advSettings",
690
+ "type": "object"
691
+ }
692
+ }
693
+ ],
694
+ "requestBody": {
695
+ "content": {
696
+ "application/json": {
697
+ "schema": {
698
+ "type": "object"
699
+ }
700
+ }
701
+ }
702
+ }
703
+ }
704
+ },
705
+ "/security/advanced/blacklistUrls": {
706
+ "post": {
707
+ "operationId": "postSecurityadvancedblacklistUrls",
708
+ "responses": {
709
+ "200": {
710
+ "description": "Successful operation",
711
+ "content": {
712
+ "application/json": {
713
+ "schema": {
714
+ "title": "result",
715
+ "type": "object"
716
+ }
717
+ }
718
+ }
719
+ }
720
+ },
721
+ "parameters": [
722
+ {
723
+ "name": "action",
724
+ "in": "query",
725
+ "required": true,
726
+ "schema": {
727
+ "title": "action",
728
+ "type": "string"
729
+ }
730
+ }
731
+ ],
732
+ "requestBody": {
733
+ "content": {
734
+ "application/json": {
735
+ "schema": {
736
+ "type": "object"
737
+ }
738
+ }
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "/sslSettings/certchain": {
744
+ "delete": {
745
+ "operationId": "deleteSslSettingscertchain",
746
+ "responses": {
747
+ "200": {
748
+ "description": "Successful operation",
749
+ "content": {
750
+ "application/json": {
751
+ "schema": {
752
+ "title": "result",
753
+ "type": "object"
754
+ }
755
+ }
756
+ }
757
+ }
758
+ }
759
+ }
760
+ },
761
+ "/sslSettings/downloadcsr": {
762
+ "get": {
763
+ "operationId": "getSslSettingsdownloadcsr",
764
+ "responses": {
765
+ "200": {
766
+ "description": "Successful operation",
767
+ "content": {
768
+ "application/json": {
769
+ "schema": {
770
+ "title": "result",
771
+ "type": "object"
772
+ }
773
+ }
774
+ }
775
+ }
776
+ }
777
+ }
778
+ },
779
+ "/sslSettings/generatecsr": {
780
+ "post": {
781
+ "operationId": "postSslSettingsgeneratecsr",
782
+ "responses": {
783
+ "200": {
784
+ "description": "Successful operation",
785
+ "content": {
786
+ "application/json": {
787
+ "schema": {
788
+ "title": "result",
789
+ "type": "object"
790
+ }
791
+ }
792
+ }
793
+ }
794
+ },
795
+ "parameters": [
796
+ {
797
+ "name": "cert",
798
+ "in": "query",
799
+ "required": true,
800
+ "schema": {
801
+ "title": "cert",
802
+ "type": "object"
803
+ }
804
+ }
805
+ ],
806
+ "requestBody": {
807
+ "content": {
808
+ "application/json": {
809
+ "schema": {
810
+ "type": "object"
811
+ }
812
+ }
813
+ }
814
+ }
815
+ }
816
+ },
817
+ "/sslSettings/showcert": {
818
+ "get": {
819
+ "operationId": "getSslSettingsshowcert",
820
+ "responses": {
821
+ "200": {
822
+ "description": "Successful operation",
823
+ "content": {
824
+ "application/json": {
825
+ "schema": {
826
+ "title": "result",
827
+ "type": "object"
828
+ }
829
+ }
830
+ }
831
+ }
832
+ }
833
+ }
834
+ },
835
+ "/sslSettings/uploadcert/text": {
836
+ "post": {
837
+ "operationId": "postSslSettingsuploadcerttext",
838
+ "responses": {
839
+ "200": {
840
+ "description": "Successful operation",
841
+ "content": {
842
+ "application/json": {
843
+ "schema": {
844
+ "title": "result",
845
+ "type": "object"
846
+ }
847
+ }
848
+ }
849
+ }
850
+ },
851
+ "parameters": [
852
+ {
853
+ "name": "fileInputStream",
854
+ "in": "query",
855
+ "required": false,
856
+ "schema": {
857
+ "title": "fileInputStream",
858
+ "type": "object"
859
+ }
860
+ }
861
+ ],
862
+ "requestBody": {
863
+ "content": {
864
+ "application/json": {
865
+ "schema": {
866
+ "type": "object"
867
+ }
868
+ }
869
+ }
870
+ }
871
+ }
872
+ },
873
+ "/sslSettings/uploadcertchain/text": {
874
+ "post": {
875
+ "operationId": "postSslSettingsuploadcertchaintext",
876
+ "responses": {
877
+ "200": {
878
+ "description": "Successful operation",
879
+ "content": {
880
+ "application/json": {
881
+ "schema": {
882
+ "title": "result",
883
+ "type": "object"
884
+ }
885
+ }
886
+ }
887
+ }
888
+ },
889
+ "parameters": [
890
+ {
891
+ "name": "fileInputStream",
892
+ "in": "query",
893
+ "required": false,
894
+ "schema": {
895
+ "title": "fileInputStream",
896
+ "type": "object"
897
+ }
898
+ }
899
+ ],
900
+ "requestBody": {
901
+ "content": {
902
+ "application/json": {
903
+ "schema": {
904
+ "type": "object"
905
+ }
906
+ }
907
+ }
908
+ }
909
+ }
910
+ },
911
+ "/urlCategories": {
912
+ "get": {
913
+ "operationId": "getUrlCategories",
914
+ "responses": {
915
+ "200": {
916
+ "description": "Successful operation",
917
+ "content": {
918
+ "application/json": {
919
+ "schema": {
920
+ "title": "result",
921
+ "type": "object"
922
+ }
923
+ }
924
+ }
925
+ }
926
+ },
927
+ "parameters": [
928
+ {
929
+ "name": "customOnly",
930
+ "in": "query",
931
+ "required": false,
932
+ "schema": {
933
+ "title": "customOnly",
934
+ "type": "boolean"
935
+ }
936
+ }
937
+ ]
938
+ },
939
+ "post": {
940
+ "operationId": "postUrlCategories",
941
+ "responses": {
942
+ "200": {
943
+ "description": "Successful operation",
944
+ "content": {
945
+ "application/json": {
946
+ "schema": {
947
+ "title": "result",
948
+ "type": "object"
949
+ }
950
+ }
951
+ }
952
+ }
953
+ },
954
+ "parameters": [
955
+ {
956
+ "name": "customCategory",
957
+ "in": "query",
958
+ "required": false,
959
+ "schema": {
960
+ "title": "customCategory",
961
+ "type": "object"
962
+ }
963
+ }
964
+ ],
965
+ "requestBody": {
966
+ "content": {
967
+ "application/json": {
968
+ "schema": {
969
+ "type": "object"
970
+ }
971
+ }
972
+ }
973
+ }
974
+ }
975
+ },
976
+ "/urlCategories/lite": {
977
+ "get": {
978
+ "operationId": "getUrlCategorieslite",
979
+ "responses": {
980
+ "200": {
981
+ "description": "Successful operation",
982
+ "content": {
983
+ "application/json": {
984
+ "schema": {
985
+ "title": "result",
986
+ "type": "object"
987
+ }
988
+ }
989
+ }
990
+ }
991
+ }
992
+ }
993
+ },
994
+ "/urlCategories/urlQuota": {
995
+ "get": {
996
+ "operationId": "getUrlCategoriesurlQuota",
997
+ "responses": {
998
+ "200": {
999
+ "description": "Successful operation",
1000
+ "content": {
1001
+ "application/json": {
1002
+ "schema": {
1003
+ "title": "result",
1004
+ "type": "object"
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+ },
1012
+ "/urlCategories/{categoryId}": {
1013
+ "get": {
1014
+ "operationId": "getUrlCategoriescategoryId",
1015
+ "responses": {
1016
+ "200": {
1017
+ "description": "Successful operation",
1018
+ "content": {
1019
+ "application/json": {
1020
+ "schema": {
1021
+ "title": "result",
1022
+ "type": "object"
1023
+ }
1024
+ }
1025
+ }
1026
+ }
1027
+ },
1028
+ "parameters": [
1029
+ {
1030
+ "name": "categoryId",
1031
+ "in": "path",
1032
+ "required": true,
1033
+ "schema": {
1034
+ "title": "categoryId",
1035
+ "type": "string"
1036
+ }
1037
+ }
1038
+ ]
1039
+ },
1040
+ "put": {
1041
+ "operationId": "putUrlCategoriescategoryId",
1042
+ "responses": {
1043
+ "200": {
1044
+ "description": "Successful operation",
1045
+ "content": {
1046
+ "application/json": {
1047
+ "schema": {
1048
+ "title": "result",
1049
+ "type": "object"
1050
+ }
1051
+ }
1052
+ }
1053
+ }
1054
+ },
1055
+ "parameters": [
1056
+ {
1057
+ "name": "categoryId",
1058
+ "in": "path",
1059
+ "required": true,
1060
+ "schema": {
1061
+ "title": "categoryId",
1062
+ "type": "string"
1063
+ }
1064
+ },
1065
+ {
1066
+ "name": "action",
1067
+ "in": "query",
1068
+ "required": false,
1069
+ "schema": {
1070
+ "title": "action",
1071
+ "type": "string"
1072
+ }
1073
+ },
1074
+ {
1075
+ "name": "customCategory",
1076
+ "in": "query",
1077
+ "required": false,
1078
+ "schema": {
1079
+ "title": "customCategory",
1080
+ "type": "object"
1081
+ }
1082
+ }
1083
+ ],
1084
+ "requestBody": {
1085
+ "content": {
1086
+ "application/json": {
1087
+ "schema": {
1088
+ "type": "object"
1089
+ }
1090
+ }
1091
+ }
1092
+ }
1093
+ },
1094
+ "delete": {
1095
+ "operationId": "deleteUrlCategoriescategoryId",
1096
+ "responses": {
1097
+ "200": {
1098
+ "description": "Successful operation",
1099
+ "content": {
1100
+ "application/json": {
1101
+ "schema": {
1102
+ "title": "result",
1103
+ "type": "object"
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "parameters": [
1110
+ {
1111
+ "name": "categoryId",
1112
+ "in": "path",
1113
+ "required": true,
1114
+ "schema": {
1115
+ "title": "categoryId",
1116
+ "type": "string"
1117
+ }
1118
+ }
1119
+ ]
1120
+ }
1121
+ },
1122
+ "/urlLookup": {
1123
+ "post": {
1124
+ "operationId": "postUrlLookup",
1125
+ "responses": {
1126
+ "200": {
1127
+ "description": "Successful operation",
1128
+ "content": {
1129
+ "application/json": {
1130
+ "schema": {
1131
+ "title": "result",
1132
+ "type": "object"
1133
+ }
1134
+ }
1135
+ }
1136
+ }
1137
+ },
1138
+ "parameters": [
1139
+ {
1140
+ "name": "urls",
1141
+ "in": "query",
1142
+ "required": false,
1143
+ "schema": {
1144
+ "title": "urls",
1145
+ "type": "array"
1146
+ }
1147
+ }
1148
+ ],
1149
+ "requestBody": {
1150
+ "content": {
1151
+ "application/json": {
1152
+ "schema": {
1153
+ "type": "object"
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+ }
1159
+ },
1160
+ "/vpnCredentials": {
1161
+ "get": {
1162
+ "operationId": "getVpnCredentials",
1163
+ "responses": {
1164
+ "200": {
1165
+ "description": "Successful operation",
1166
+ "content": {
1167
+ "application/json": {
1168
+ "schema": {
1169
+ "title": "result",
1170
+ "type": "object"
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ },
1176
+ "parameters": [
1177
+ {
1178
+ "name": "search",
1179
+ "in": "query",
1180
+ "required": false,
1181
+ "schema": {
1182
+ "title": "search",
1183
+ "type": "string"
1184
+ }
1185
+ },
1186
+ {
1187
+ "name": "type",
1188
+ "in": "query",
1189
+ "required": false,
1190
+ "schema": {
1191
+ "title": "type",
1192
+ "type": "string"
1193
+ }
1194
+ },
1195
+ {
1196
+ "name": "includeOnlyWithoutLocation",
1197
+ "in": "query",
1198
+ "required": false,
1199
+ "schema": {
1200
+ "title": "includeOnlyWithoutLocation",
1201
+ "type": "boolean"
1202
+ }
1203
+ },
1204
+ {
1205
+ "name": "locationId",
1206
+ "in": "query",
1207
+ "required": false,
1208
+ "schema": {
1209
+ "title": "locationId",
1210
+ "type": "number"
1211
+ }
1212
+ },
1213
+ {
1214
+ "name": "managedBy",
1215
+ "in": "query",
1216
+ "required": false,
1217
+ "schema": {
1218
+ "title": "managedBy",
1219
+ "type": "number"
1220
+ }
1221
+ },
1222
+ {
1223
+ "name": "page",
1224
+ "in": "query",
1225
+ "required": false,
1226
+ "schema": {
1227
+ "title": "page",
1228
+ "type": "number"
1229
+ }
1230
+ },
1231
+ {
1232
+ "name": "pageSize",
1233
+ "in": "query",
1234
+ "required": false,
1235
+ "schema": {
1236
+ "title": "pageSize",
1237
+ "type": "number"
1238
+ }
1239
+ }
1240
+ ]
1241
+ },
1242
+ "post": {
1243
+ "operationId": "postVpnCredentials",
1244
+ "responses": {
1245
+ "200": {
1246
+ "description": "Successful operation",
1247
+ "content": {
1248
+ "application/json": {
1249
+ "schema": {
1250
+ "title": "result",
1251
+ "type": "object"
1252
+ }
1253
+ }
1254
+ }
1255
+ }
1256
+ },
1257
+ "parameters": [
1258
+ {
1259
+ "name": "vpnCred",
1260
+ "in": "query",
1261
+ "required": false,
1262
+ "schema": {
1263
+ "title": "vpnCred",
1264
+ "type": "object"
1265
+ }
1266
+ }
1267
+ ],
1268
+ "requestBody": {
1269
+ "content": {
1270
+ "application/json": {
1271
+ "schema": {
1272
+ "type": "object"
1273
+ }
1274
+ }
1275
+ }
1276
+ }
1277
+ }
1278
+ },
1279
+ "/vpnCredentials/bulkDelete": {
1280
+ "post": {
1281
+ "operationId": "postVpnCredentialsbulkDelete",
1282
+ "responses": {
1283
+ "200": {
1284
+ "description": "Successful operation",
1285
+ "content": {
1286
+ "application/json": {
1287
+ "schema": {
1288
+ "title": "result",
1289
+ "type": "object"
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ },
1295
+ "parameters": [
1296
+ {
1297
+ "name": "ids",
1298
+ "in": "query",
1299
+ "required": false,
1300
+ "schema": {
1301
+ "title": "ids",
1302
+ "type": "object"
1303
+ }
1304
+ }
1305
+ ],
1306
+ "requestBody": {
1307
+ "content": {
1308
+ "application/json": {
1309
+ "schema": {
1310
+ "type": "object"
1311
+ }
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ },
1317
+ "/vpnCredentials/{vpnId}": {
1318
+ "get": {
1319
+ "operationId": "getVpnCredentialsvpnId",
1320
+ "responses": {
1321
+ "200": {
1322
+ "description": "Successful operation",
1323
+ "content": {
1324
+ "application/json": {
1325
+ "schema": {
1326
+ "title": "result",
1327
+ "type": "object"
1328
+ }
1329
+ }
1330
+ }
1331
+ }
1332
+ },
1333
+ "parameters": [
1334
+ {
1335
+ "name": "vpnId",
1336
+ "in": "path",
1337
+ "required": true,
1338
+ "schema": {
1339
+ "title": "vpnId",
1340
+ "type": "number"
1341
+ }
1342
+ }
1343
+ ]
1344
+ },
1345
+ "put": {
1346
+ "operationId": "putVpnCredentialsvpnId",
1347
+ "responses": {
1348
+ "200": {
1349
+ "description": "Successful operation",
1350
+ "content": {
1351
+ "application/json": {
1352
+ "schema": {
1353
+ "title": "result",
1354
+ "type": "object"
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "parameters": [
1361
+ {
1362
+ "name": "vpnId",
1363
+ "in": "path",
1364
+ "required": true,
1365
+ "schema": {
1366
+ "title": "vpnId",
1367
+ "type": "number"
1368
+ }
1369
+ },
1370
+ {
1371
+ "name": "vpnCred",
1372
+ "in": "query",
1373
+ "required": false,
1374
+ "schema": {
1375
+ "title": "vpnCred",
1376
+ "type": "object"
1377
+ }
1378
+ }
1379
+ ],
1380
+ "requestBody": {
1381
+ "content": {
1382
+ "application/json": {
1383
+ "schema": {
1384
+ "type": "object"
1385
+ }
1386
+ }
1387
+ }
1388
+ }
1389
+ },
1390
+ "delete": {
1391
+ "operationId": "deleteVpnCredentialsvpnId",
1392
+ "responses": {
1393
+ "200": {
1394
+ "description": "Successful operation",
1395
+ "content": {
1396
+ "application/json": {
1397
+ "schema": {
1398
+ "title": "result",
1399
+ "type": "object"
1400
+ }
1401
+ }
1402
+ }
1403
+ }
1404
+ },
1405
+ "parameters": [
1406
+ {
1407
+ "name": "vpnId",
1408
+ "in": "path",
1409
+ "required": true,
1410
+ "schema": {
1411
+ "title": "vpnId",
1412
+ "type": "number"
1413
+ }
1414
+ }
1415
+ ]
1416
+ }
1417
+ },
1418
+ "/locations": {
1419
+ "get": {
1420
+ "operationId": "getLocations",
1421
+ "responses": {
1422
+ "200": {
1423
+ "description": "Successful operation",
1424
+ "content": {
1425
+ "application/json": {
1426
+ "schema": {
1427
+ "title": "result",
1428
+ "type": "object"
1429
+ }
1430
+ }
1431
+ }
1432
+ }
1433
+ },
1434
+ "parameters": [
1435
+ {
1436
+ "name": "search",
1437
+ "in": "query",
1438
+ "required": false,
1439
+ "schema": {
1440
+ "title": "search",
1441
+ "type": "string"
1442
+ }
1443
+ },
1444
+ {
1445
+ "name": "sslScanEnabled",
1446
+ "in": "query",
1447
+ "required": false,
1448
+ "schema": {
1449
+ "title": "sslScanEnabled",
1450
+ "type": "boolean"
1451
+ }
1452
+ },
1453
+ {
1454
+ "name": "xffEnabled",
1455
+ "in": "query",
1456
+ "required": false,
1457
+ "schema": {
1458
+ "title": "xffEnabled",
1459
+ "type": "boolean"
1460
+ }
1461
+ },
1462
+ {
1463
+ "name": "authRequired",
1464
+ "in": "query",
1465
+ "required": false,
1466
+ "schema": {
1467
+ "title": "authRequired",
1468
+ "type": "boolean"
1469
+ }
1470
+ },
1471
+ {
1472
+ "name": "bwEnforced",
1473
+ "in": "query",
1474
+ "required": false,
1475
+ "schema": {
1476
+ "title": "bwEnforced",
1477
+ "type": "boolean"
1478
+ }
1479
+ },
1480
+ {
1481
+ "name": "page",
1482
+ "in": "query",
1483
+ "required": false,
1484
+ "schema": {
1485
+ "title": "page",
1486
+ "type": "number"
1487
+ }
1488
+ },
1489
+ {
1490
+ "name": "pageSize",
1491
+ "in": "query",
1492
+ "required": false,
1493
+ "schema": {
1494
+ "title": "pageSize",
1495
+ "type": "number"
1496
+ }
1497
+ }
1498
+ ]
1499
+ },
1500
+ "post": {
1501
+ "operationId": "postLocations",
1502
+ "responses": {
1503
+ "200": {
1504
+ "description": "Successful operation",
1505
+ "content": {
1506
+ "application/json": {
1507
+ "schema": {
1508
+ "title": "result",
1509
+ "type": "object"
1510
+ }
1511
+ }
1512
+ }
1513
+ }
1514
+ },
1515
+ "parameters": [
1516
+ {
1517
+ "name": "location",
1518
+ "in": "query",
1519
+ "required": false,
1520
+ "schema": {
1521
+ "title": "location",
1522
+ "type": "object"
1523
+ }
1524
+ }
1525
+ ],
1526
+ "requestBody": {
1527
+ "content": {
1528
+ "application/json": {
1529
+ "schema": {
1530
+ "type": "object"
1531
+ }
1532
+ }
1533
+ }
1534
+ }
1535
+ }
1536
+ },
1537
+ "/locations/bulkDelete": {
1538
+ "post": {
1539
+ "operationId": "postLocationsbulkDelete",
1540
+ "responses": {
1541
+ "200": {
1542
+ "description": "Successful operation",
1543
+ "content": {
1544
+ "application/json": {
1545
+ "schema": {
1546
+ "title": "result",
1547
+ "type": "object"
1548
+ }
1549
+ }
1550
+ }
1551
+ }
1552
+ },
1553
+ "parameters": [
1554
+ {
1555
+ "name": "LocationIds",
1556
+ "in": "query",
1557
+ "required": false,
1558
+ "schema": {
1559
+ "title": "LocationIds",
1560
+ "type": "object"
1561
+ }
1562
+ }
1563
+ ],
1564
+ "requestBody": {
1565
+ "content": {
1566
+ "application/json": {
1567
+ "schema": {
1568
+ "type": "object"
1569
+ }
1570
+ }
1571
+ }
1572
+ }
1573
+ }
1574
+ },
1575
+ "/locations/lite": {
1576
+ "get": {
1577
+ "operationId": "getLocationslite",
1578
+ "responses": {
1579
+ "200": {
1580
+ "description": "Successful operation",
1581
+ "content": {
1582
+ "application/json": {
1583
+ "schema": {
1584
+ "title": "result",
1585
+ "type": "object"
1586
+ }
1587
+ }
1588
+ }
1589
+ }
1590
+ },
1591
+ "parameters": [
1592
+ {
1593
+ "name": "sslScanEnabled",
1594
+ "in": "query",
1595
+ "required": false,
1596
+ "schema": {
1597
+ "title": "sslScanEnabled",
1598
+ "type": "boolean"
1599
+ }
1600
+ },
1601
+ {
1602
+ "name": "search",
1603
+ "in": "query",
1604
+ "required": false,
1605
+ "schema": {
1606
+ "title": "search",
1607
+ "type": "string"
1608
+ }
1609
+ },
1610
+ {
1611
+ "name": "page",
1612
+ "in": "query",
1613
+ "required": false,
1614
+ "schema": {
1615
+ "title": "page",
1616
+ "type": "number"
1617
+ }
1618
+ },
1619
+ {
1620
+ "name": "pageSize",
1621
+ "in": "query",
1622
+ "required": false,
1623
+ "schema": {
1624
+ "title": "pageSize",
1625
+ "type": "number"
1626
+ }
1627
+ }
1628
+ ]
1629
+ }
1630
+ },
1631
+ "/locations/{locationId}": {
1632
+ "get": {
1633
+ "operationId": "getLocationslocationId",
1634
+ "responses": {
1635
+ "200": {
1636
+ "description": "Successful operation",
1637
+ "content": {
1638
+ "application/json": {
1639
+ "schema": {
1640
+ "title": "result",
1641
+ "type": "object"
1642
+ }
1643
+ }
1644
+ }
1645
+ }
1646
+ },
1647
+ "parameters": [
1648
+ {
1649
+ "name": "locationId",
1650
+ "in": "path",
1651
+ "required": true,
1652
+ "schema": {
1653
+ "title": "locationId",
1654
+ "type": "number"
1655
+ }
1656
+ }
1657
+ ]
1658
+ },
1659
+ "put": {
1660
+ "operationId": "putLocationslocationId",
1661
+ "responses": {
1662
+ "200": {
1663
+ "description": "Successful operation",
1664
+ "content": {
1665
+ "application/json": {
1666
+ "schema": {
1667
+ "title": "result",
1668
+ "type": "object"
1669
+ }
1670
+ }
1671
+ }
1672
+ }
1673
+ },
1674
+ "parameters": [
1675
+ {
1676
+ "name": "locationId",
1677
+ "in": "path",
1678
+ "required": true,
1679
+ "schema": {
1680
+ "title": "locationId",
1681
+ "type": "number"
1682
+ }
1683
+ },
1684
+ {
1685
+ "name": "location",
1686
+ "in": "query",
1687
+ "required": false,
1688
+ "schema": {
1689
+ "title": "location",
1690
+ "type": "object"
1691
+ }
1692
+ }
1693
+ ],
1694
+ "requestBody": {
1695
+ "content": {
1696
+ "application/json": {
1697
+ "schema": {
1698
+ "type": "object"
1699
+ }
1700
+ }
1701
+ }
1702
+ }
1703
+ },
1704
+ "delete": {
1705
+ "operationId": "deleteLocationslocationId",
1706
+ "responses": {
1707
+ "200": {
1708
+ "description": "Successful operation",
1709
+ "content": {
1710
+ "application/json": {
1711
+ "schema": {
1712
+ "title": "result",
1713
+ "type": "object"
1714
+ }
1715
+ }
1716
+ }
1717
+ }
1718
+ },
1719
+ "parameters": [
1720
+ {
1721
+ "name": "locationId",
1722
+ "in": "path",
1723
+ "required": true,
1724
+ "schema": {
1725
+ "title": "locationId",
1726
+ "type": "number"
1727
+ }
1728
+ }
1729
+ ]
1730
+ }
1731
+ },
1732
+ "/sandbox/report/quota": {
1733
+ "get": {
1734
+ "operationId": "getSandboxreportquota",
1735
+ "responses": {
1736
+ "200": {
1737
+ "description": "Successful operation",
1738
+ "content": {
1739
+ "application/json": {
1740
+ "schema": {
1741
+ "title": "result",
1742
+ "type": "object"
1743
+ }
1744
+ }
1745
+ }
1746
+ }
1747
+ }
1748
+ }
1749
+ },
1750
+ "/sandbox/report/{md5Hash}": {
1751
+ "get": {
1752
+ "operationId": "getSandboxreportmd5Hash",
1753
+ "responses": {
1754
+ "200": {
1755
+ "description": "Successful operation",
1756
+ "content": {
1757
+ "application/json": {
1758
+ "schema": {
1759
+ "title": "result",
1760
+ "type": "object"
1761
+ }
1762
+ }
1763
+ }
1764
+ }
1765
+ },
1766
+ "parameters": [
1767
+ {
1768
+ "name": "md5Hash",
1769
+ "in": "path",
1770
+ "required": true,
1771
+ "schema": {
1772
+ "title": "md5Hash",
1773
+ "type": "string"
1774
+ }
1775
+ },
1776
+ {
1777
+ "name": "details",
1778
+ "in": "query",
1779
+ "required": false,
1780
+ "schema": {
1781
+ "title": "details",
1782
+ "type": "string"
1783
+ }
1784
+ }
1785
+ ]
1786
+ }
1787
+ },
1788
+ "/status": {
1789
+ "get": {
1790
+ "operationId": "getStatus",
1791
+ "responses": {
1792
+ "200": {
1793
+ "description": "Successful operation",
1794
+ "content": {
1795
+ "application/json": {
1796
+ "schema": {
1797
+ "title": "result",
1798
+ "type": "object"
1799
+ }
1800
+ }
1801
+ }
1802
+ }
1803
+ }
1804
+ }
1805
+ },
1806
+ "/status/activate": {
1807
+ "post": {
1808
+ "operationId": "postStatusactivate",
1809
+ "responses": {
1810
+ "200": {
1811
+ "description": "Successful operation",
1812
+ "content": {
1813
+ "application/json": {
1814
+ "schema": {
1815
+ "title": "result",
1816
+ "type": "object"
1817
+ }
1818
+ }
1819
+ }
1820
+ }
1821
+ }
1822
+ }
1823
+ }
1824
+ },
1825
+ "components": {
1826
+ "schemas": {}
1827
+ }
1828
+ }