@itentialopensource/adapter-zero_networks 0.1.1 → 0.2.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 (60) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/AUTH.md +14 -18
  4. package/BROKER.md +31 -19
  5. package/CALLS.md +1175 -23
  6. package/CHANGELOG.md +16 -1
  7. package/PROPERTIES.md +5 -0
  8. package/README.md +60 -63
  9. package/SYSTEMINFO.md +14 -6
  10. package/TAB1.md +8 -0
  11. package/TAB2.md +83 -6564
  12. package/adapter.js +16661 -39
  13. package/entities/Asset/action.json +872 -0
  14. package/entities/Asset/schema.json +43 -1
  15. package/entities/AssetOTIoT/action.json +851 -0
  16. package/entities/AssetOTIoT/schema.json +42 -1
  17. package/entities/Assets/action.json +83 -0
  18. package/entities/Assets/schema.json +5 -1
  19. package/entities/Download/action.json +88 -0
  20. package/entities/Download/schema.json +22 -0
  21. package/entities/Group/action.json +518 -0
  22. package/entities/Group/schema.json +26 -1
  23. package/entities/Groups/action.json +354 -0
  24. package/entities/Groups/schema.json +18 -1
  25. package/entities/GroupsCustom/action.json +20 -0
  26. package/entities/GroupsCustom/schema.json +2 -1
  27. package/entities/GroupsTag/action.json +45 -0
  28. package/entities/GroupsTag/schema.json +20 -0
  29. package/entities/MFAIdentity/action.json +295 -0
  30. package/entities/MFAIdentity/schema.json +32 -0
  31. package/entities/MFAInbound/action.json +21 -0
  32. package/entities/MFAInbound/schema.json +2 -1
  33. package/entities/MFAOutbound/action.json +21 -0
  34. package/entities/MFAOutbound/schema.json +2 -1
  35. package/entities/Rules/action.json +40 -0
  36. package/entities/Rules/schema.json +3 -1
  37. package/entities/RulesInbound/action.json +293 -0
  38. package/entities/RulesInbound/schema.json +32 -0
  39. package/entities/RulesOutboundAllow/action.json +21 -0
  40. package/entities/RulesOutboundAllow/schema.json +2 -1
  41. package/entities/SettingsInactiveAssets/action.json +45 -0
  42. package/entities/SettingsInactiveAssets/schema.json +20 -0
  43. package/entities/SettingsLicenses/action.json +25 -0
  44. package/entities/SettingsLicenses/schema.json +19 -0
  45. package/entities/User/action.json +291 -0
  46. package/entities/User/schema.json +15 -1
  47. package/entities/Users/action.json +21 -0
  48. package/entities/Users/schema.json +2 -1
  49. package/metadata.json +14 -3
  50. package/package.json +7 -9
  51. package/pronghorn.json +12801 -490
  52. package/propertiesSchema.json +133 -36
  53. package/refs?service=git-upload-pack +0 -0
  54. package/report/adapter-openapi.json +115977 -0
  55. package/report/adapterInfo.json +7 -7
  56. package/report/updateReport1715609939167.json +120 -0
  57. package/sampleProperties.json +43 -31
  58. package/test/integration/adapterTestIntegration.js +4700 -0
  59. package/test/unit/adapterTestUnit.js +8581 -4
  60. package/utils/artifactize.js +0 -0
@@ -373,6 +373,360 @@
373
373
  "mockFile": ""
374
374
  }
375
375
  ]
376
+ },
377
+ {
378
+ "name": "groupsListV2",
379
+ "protocol": "REST",
380
+ "method": "GET",
381
+ "entitypath": "{base_path}/{version}/groups?{query}",
382
+ "requestSchema": "schema.json",
383
+ "responseSchema": "schema.json",
384
+ "timeout": 0,
385
+ "sendEmpty": false,
386
+ "sendGetBody": false,
387
+ "requestDatatype": "JSON",
388
+ "responseDatatype": "JSON",
389
+ "headers": {},
390
+ "responseObjects": [
391
+ {
392
+ "type": "default",
393
+ "key": "",
394
+ "mockFile": ""
395
+ }
396
+ ]
397
+ },
398
+ {
399
+ "name": "groupsMFAIdentityPoliciesList",
400
+ "protocol": "REST",
401
+ "method": "GET",
402
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies?{query}",
403
+ "requestSchema": "schema.json",
404
+ "responseSchema": "schema.json",
405
+ "timeout": 0,
406
+ "sendEmpty": false,
407
+ "sendGetBody": false,
408
+ "requestDatatype": "JSON",
409
+ "responseDatatype": "JSON",
410
+ "headers": {},
411
+ "responseObjects": [
412
+ {
413
+ "type": "default",
414
+ "key": "",
415
+ "mockFile": ""
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "name": "groupsMFAIdentityPoliciesCreate",
421
+ "protocol": "REST",
422
+ "method": "POST",
423
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies?{query}",
424
+ "requestSchema": "schema.json",
425
+ "responseSchema": "schema.json",
426
+ "timeout": 0,
427
+ "sendEmpty": false,
428
+ "requestDatatype": "JSON",
429
+ "responseDatatype": "JSON",
430
+ "headers": {},
431
+ "responseObjects": [
432
+ {
433
+ "type": "default",
434
+ "key": "",
435
+ "mockFile": ""
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "name": "groupsMFAIdentityPoliciesGet",
441
+ "protocol": "REST",
442
+ "method": "GET",
443
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/{pathv3}?{query}",
444
+ "requestSchema": "schema.json",
445
+ "responseSchema": "schema.json",
446
+ "timeout": 0,
447
+ "sendEmpty": false,
448
+ "sendGetBody": false,
449
+ "requestDatatype": "JSON",
450
+ "responseDatatype": "JSON",
451
+ "headers": {},
452
+ "responseObjects": [
453
+ {
454
+ "type": "default",
455
+ "key": "",
456
+ "mockFile": ""
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ "name": "groupsMFAIdentityPoliciesUpdate",
462
+ "protocol": "REST",
463
+ "method": "PUT",
464
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/{pathv3}?{query}",
465
+ "requestSchema": "schema.json",
466
+ "responseSchema": "schema.json",
467
+ "timeout": 0,
468
+ "sendEmpty": false,
469
+ "requestDatatype": "JSON",
470
+ "responseDatatype": "JSON",
471
+ "headers": {},
472
+ "responseObjects": [
473
+ {
474
+ "type": "default",
475
+ "key": "",
476
+ "mockFile": ""
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "name": "groupsMFAIdentityPoliciesDelete",
482
+ "protocol": "REST",
483
+ "method": "DELETE",
484
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/{pathv3}?{query}",
485
+ "requestSchema": "schema.json",
486
+ "responseSchema": "schema.json",
487
+ "timeout": 0,
488
+ "sendEmpty": false,
489
+ "requestDatatype": "JSON",
490
+ "responseDatatype": "JSON",
491
+ "headers": {},
492
+ "responseObjects": [
493
+ {
494
+ "type": "default",
495
+ "key": "",
496
+ "mockFile": ""
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ "name": "groupsMFAIdentityPoliciesDestinationCandidatesList",
502
+ "protocol": "REST",
503
+ "method": "GET",
504
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/dst-asset-candidates?{query}",
505
+ "requestSchema": "schema.json",
506
+ "responseSchema": "schema.json",
507
+ "timeout": 0,
508
+ "sendEmpty": false,
509
+ "sendGetBody": false,
510
+ "requestDatatype": "JSON",
511
+ "responseDatatype": "JSON",
512
+ "headers": {},
513
+ "responseObjects": [
514
+ {
515
+ "type": "default",
516
+ "key": "",
517
+ "mockFile": ""
518
+ }
519
+ ]
520
+ },
521
+ {
522
+ "name": "groupsMFAIdentityPoliciesExcludedSourceCandidatesList",
523
+ "protocol": "REST",
524
+ "method": "GET",
525
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/excluded-src-asset-candidates?{query}",
526
+ "requestSchema": "schema.json",
527
+ "responseSchema": "schema.json",
528
+ "timeout": 0,
529
+ "sendEmpty": false,
530
+ "sendGetBody": false,
531
+ "requestDatatype": "JSON",
532
+ "responseDatatype": "JSON",
533
+ "headers": {},
534
+ "responseObjects": [
535
+ {
536
+ "type": "default",
537
+ "key": "",
538
+ "mockFile": ""
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "name": "groupsMFAIdentityPoliciesFiltersList",
544
+ "protocol": "REST",
545
+ "method": "GET",
546
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/filters?{query}",
547
+ "requestSchema": "schema.json",
548
+ "responseSchema": "schema.json",
549
+ "timeout": 0,
550
+ "sendEmpty": false,
551
+ "sendGetBody": false,
552
+ "requestDatatype": "JSON",
553
+ "responseDatatype": "JSON",
554
+ "headers": {},
555
+ "responseObjects": [
556
+ {
557
+ "type": "default",
558
+ "key": "",
559
+ "mockFile": ""
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "name": "groupsMFAIdentityPoliciesDestinationCandidatesFiltersList",
565
+ "protocol": "REST",
566
+ "method": "GET",
567
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/filters/dst-asset-candidates?{query}",
568
+ "requestSchema": "schema.json",
569
+ "responseSchema": "schema.json",
570
+ "timeout": 0,
571
+ "sendEmpty": false,
572
+ "sendGetBody": false,
573
+ "requestDatatype": "JSON",
574
+ "responseDatatype": "JSON",
575
+ "headers": {},
576
+ "responseObjects": [
577
+ {
578
+ "type": "default",
579
+ "key": "",
580
+ "mockFile": ""
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "name": "groupsMFAIdentityPoliciesSourceCandidatesFiltersList",
586
+ "protocol": "REST",
587
+ "method": "GET",
588
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/filters/src-asset-candidates?{query}",
589
+ "requestSchema": "schema.json",
590
+ "responseSchema": "schema.json",
591
+ "timeout": 0,
592
+ "sendEmpty": false,
593
+ "sendGetBody": false,
594
+ "requestDatatype": "JSON",
595
+ "responseDatatype": "JSON",
596
+ "headers": {},
597
+ "responseObjects": [
598
+ {
599
+ "type": "default",
600
+ "key": "",
601
+ "mockFile": ""
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "name": "groupsMFAIdentityPoliciesSourceUsersCandidatesFiltersList",
607
+ "protocol": "REST",
608
+ "method": "GET",
609
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/filters/src-users-candidates?{query}",
610
+ "requestSchema": "schema.json",
611
+ "responseSchema": "schema.json",
612
+ "timeout": 0,
613
+ "sendEmpty": false,
614
+ "sendGetBody": false,
615
+ "requestDatatype": "JSON",
616
+ "responseDatatype": "JSON",
617
+ "headers": {},
618
+ "responseObjects": [
619
+ {
620
+ "type": "default",
621
+ "key": "",
622
+ "mockFile": ""
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "name": "groupsMFAIdentityPoliciesMFAMethodsList",
628
+ "protocol": "REST",
629
+ "method": "GET",
630
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/mfa-methods?{query}",
631
+ "requestSchema": "schema.json",
632
+ "responseSchema": "schema.json",
633
+ "timeout": 0,
634
+ "sendEmpty": false,
635
+ "sendGetBody": false,
636
+ "requestDatatype": "JSON",
637
+ "responseDatatype": "JSON",
638
+ "headers": {},
639
+ "responseObjects": [
640
+ {
641
+ "type": "default",
642
+ "key": "",
643
+ "mockFile": ""
644
+ }
645
+ ]
646
+ },
647
+ {
648
+ "name": "groupsMFAIdentityPoliciesSourceCandidatesList",
649
+ "protocol": "REST",
650
+ "method": "GET",
651
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/src-asset-candidates?{query}",
652
+ "requestSchema": "schema.json",
653
+ "responseSchema": "schema.json",
654
+ "timeout": 0,
655
+ "sendEmpty": false,
656
+ "sendGetBody": false,
657
+ "requestDatatype": "JSON",
658
+ "responseDatatype": "JSON",
659
+ "headers": {},
660
+ "responseObjects": [
661
+ {
662
+ "type": "default",
663
+ "key": "",
664
+ "mockFile": ""
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "name": "groupsMFAIdentityPoliciesSourceUserCandidatesList",
670
+ "protocol": "REST",
671
+ "method": "GET",
672
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/identity/reactive-policies/src-users-candidates?{query}",
673
+ "requestSchema": "schema.json",
674
+ "responseSchema": "schema.json",
675
+ "timeout": 0,
676
+ "sendEmpty": false,
677
+ "sendGetBody": false,
678
+ "requestDatatype": "JSON",
679
+ "responseDatatype": "JSON",
680
+ "headers": {},
681
+ "responseObjects": [
682
+ {
683
+ "type": "default",
684
+ "key": "",
685
+ "mockFile": ""
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "name": "groupsMFAInboundPoliciesSimulateSourceCandidatesList",
691
+ "protocol": "REST",
692
+ "method": "GET",
693
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/reactive-policies/inbound/simulate/src-candidates?{query}",
694
+ "requestSchema": "schema.json",
695
+ "responseSchema": "schema.json",
696
+ "timeout": 0,
697
+ "sendEmpty": false,
698
+ "sendGetBody": false,
699
+ "requestDatatype": "JSON",
700
+ "responseDatatype": "JSON",
701
+ "headers": {},
702
+ "responseObjects": [
703
+ {
704
+ "type": "default",
705
+ "key": "",
706
+ "mockFile": ""
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "name": "groupsMFAOutboundPoliciesSimulateSourceCandidatesList",
712
+ "protocol": "REST",
713
+ "method": "GET",
714
+ "entitypath": "{base_path}/{version}/groups/{pathv1}/{pathv2}/protection/reactive-policies/outbound/simulate/src-candidates?{query}",
715
+ "requestSchema": "schema.json",
716
+ "responseSchema": "schema.json",
717
+ "timeout": 0,
718
+ "sendEmpty": false,
719
+ "sendGetBody": false,
720
+ "requestDatatype": "JSON",
721
+ "responseDatatype": "JSON",
722
+ "headers": {},
723
+ "responseObjects": [
724
+ {
725
+ "type": "default",
726
+ "key": "",
727
+ "mockFile": ""
728
+ }
729
+ ]
376
730
  }
377
731
  ]
378
732
  }
@@ -27,7 +27,24 @@
27
27
  "groupsRPCRulesUserCandidatesFiltersList",
28
28
  "groupsRPCRulesDestinationCandidatesList",
29
29
  "groupsRPCRulesSourceCandidatesList",
30
- "groupsRPCRulesUserCandidatesList"
30
+ "groupsRPCRulesUserCandidatesList",
31
+ "groupsListV2",
32
+ "groupsMFAIdentityPoliciesList",
33
+ "groupsMFAIdentityPoliciesCreate",
34
+ "groupsMFAIdentityPoliciesGet",
35
+ "groupsMFAIdentityPoliciesUpdate",
36
+ "groupsMFAIdentityPoliciesDelete",
37
+ "groupsMFAIdentityPoliciesDestinationCandidatesList",
38
+ "groupsMFAIdentityPoliciesExcludedSourceCandidatesList",
39
+ "groupsMFAIdentityPoliciesFiltersList",
40
+ "groupsMFAIdentityPoliciesDestinationCandidatesFiltersList",
41
+ "groupsMFAIdentityPoliciesSourceCandidatesFiltersList",
42
+ "groupsMFAIdentityPoliciesSourceUsersCandidatesFiltersList",
43
+ "groupsMFAIdentityPoliciesMFAMethodsList",
44
+ "groupsMFAIdentityPoliciesSourceCandidatesList",
45
+ "groupsMFAIdentityPoliciesSourceUserCandidatesList",
46
+ "groupsMFAInboundPoliciesSimulateSourceCandidatesList",
47
+ "groupsMFAOutboundPoliciesSimulateSourceCandidatesList"
31
48
  ],
32
49
  "external_name": "ph_request_type"
33
50
  },
@@ -120,6 +120,26 @@
120
120
  "mockFile": ""
121
121
  }
122
122
  ]
123
+ },
124
+ {
125
+ "name": "tagGroupsMembersAdd",
126
+ "protocol": "REST",
127
+ "method": "PUT",
128
+ "entitypath": "{base_path}/{version}/groups/tag/{pathv1}/members?{query}",
129
+ "requestSchema": "schema.json",
130
+ "responseSchema": "schema.json",
131
+ "timeout": 0,
132
+ "sendEmpty": false,
133
+ "requestDatatype": "JSON",
134
+ "responseDatatype": "JSON",
135
+ "headers": {},
136
+ "responseObjects": [
137
+ {
138
+ "type": "default",
139
+ "key": "",
140
+ "mockFile": ""
141
+ }
142
+ ]
123
143
  }
124
144
  ]
125
145
  }
@@ -15,7 +15,8 @@
15
15
  "customGroupsDelete",
16
16
  "customGroupsCandidatesList",
17
17
  "customGroupsMembersAdd",
18
- "customGroupsMembersDelete"
18
+ "customGroupsMembersDelete",
19
+ "tagGroupsMembersAdd"
19
20
  ],
20
21
  "external_name": "ph_request_type"
21
22
  },
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "tagGroupsMembersDelete",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/groups/tag/{pathv1}/members?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "tagGroupsCandidatesList",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/groups/tag/member-candidates?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "tagGroupsMembersDelete",
12
+ "enum": [
13
+ "tagGroupsMembersDelete",
14
+ "tagGroupsCandidatesList"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }