catocli 1.0.20__py3-none-any.whl → 1.0.21__py3-none-any.whl

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.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

Files changed (85) hide show
  1. catocli/__init__.py +1 -1
  2. catocli/parsers/custom/__init__.py +1 -1
  3. catocli/parsers/mutation_admin_addAdmin/README.md +1 -1
  4. catocli/parsers/mutation_admin_updateAdmin/README.md +1 -1
  5. catocli/parsers/mutation_policy/__init__.py +348 -0
  6. catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
  7. catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
  8. catocli/parsers/mutation_policy_socketLan/README.md +7 -0
  9. catocli/parsers/mutation_policy_socketLan_addRule/README.md +18 -0
  10. catocli/parsers/mutation_policy_socketLan_addSection/README.md +18 -0
  11. catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +18 -0
  12. catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +18 -0
  13. catocli/parsers/mutation_policy_socketLan_moveRule/README.md +18 -0
  14. catocli/parsers/mutation_policy_socketLan_moveSection/README.md +18 -0
  15. catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +18 -0
  16. catocli/parsers/mutation_policy_socketLan_removeRule/README.md +18 -0
  17. catocli/parsers/mutation_policy_socketLan_removeSection/README.md +18 -0
  18. catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +18 -0
  19. catocli/parsers/mutation_policy_socketLan_updateRule/README.md +18 -0
  20. catocli/parsers/mutation_policy_socketLan_updateSection/README.md +18 -0
  21. catocli/parsers/mutation_policy_wanNetwork/README.md +7 -0
  22. catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +18 -0
  23. catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +18 -0
  24. catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +18 -0
  25. catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +18 -0
  26. catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +18 -0
  27. catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +18 -0
  28. catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +18 -0
  29. catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +18 -0
  30. catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +18 -0
  31. catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +18 -0
  32. catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +18 -0
  33. catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +18 -0
  34. catocli/parsers/query_eventsFeed/README.md +1 -1
  35. catocli/parsers/query_policy/README.md +3 -1
  36. catocli/parsers/query_siteLocation/README.md +1 -1
  37. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/METADATA +1 -1
  38. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/RECORD +85 -35
  39. models/mutation.admin.addAdmin.json +0 -60
  40. models/mutation.admin.updateAdmin.json +0 -57
  41. models/mutation.policy.internetFirewall.addRule.json +18 -18
  42. models/mutation.policy.internetFirewall.createPolicyRevision.json +4 -4
  43. models/mutation.policy.internetFirewall.discardPolicyRevision.json +4 -4
  44. models/mutation.policy.internetFirewall.moveRule.json +4 -4
  45. models/mutation.policy.internetFirewall.publishPolicyRevision.json +4 -4
  46. models/mutation.policy.internetFirewall.removeRule.json +4 -4
  47. models/mutation.policy.internetFirewall.updatePolicy.json +4 -4
  48. models/mutation.policy.internetFirewall.updateRule.json +18 -18
  49. models/mutation.policy.socketLan.addRule.json +11266 -0
  50. models/mutation.policy.socketLan.addSection.json +1358 -0
  51. models/mutation.policy.socketLan.createPolicyRevision.json +3926 -0
  52. models/mutation.policy.socketLan.discardPolicyRevision.json +3860 -0
  53. models/mutation.policy.socketLan.moveRule.json +3658 -0
  54. models/mutation.policy.socketLan.moveSection.json +1259 -0
  55. models/mutation.policy.socketLan.publishPolicyRevision.json +3917 -0
  56. models/mutation.policy.socketLan.removeRule.json +3306 -0
  57. models/mutation.policy.socketLan.removeSection.json +958 -0
  58. models/mutation.policy.socketLan.updatePolicy.json +3936 -0
  59. models/mutation.policy.socketLan.updateRule.json +10860 -0
  60. models/mutation.policy.socketLan.updateSection.json +1111 -0
  61. models/mutation.policy.wanNetwork.addRule.json +30614 -0
  62. models/mutation.policy.wanNetwork.addSection.json +1358 -0
  63. models/mutation.policy.wanNetwork.createPolicyRevision.json +8251 -0
  64. models/mutation.policy.wanNetwork.discardPolicyRevision.json +8185 -0
  65. models/mutation.policy.wanNetwork.moveRule.json +7983 -0
  66. models/mutation.policy.wanNetwork.moveSection.json +1259 -0
  67. models/mutation.policy.wanNetwork.publishPolicyRevision.json +8242 -0
  68. models/mutation.policy.wanNetwork.removeRule.json +7631 -0
  69. models/mutation.policy.wanNetwork.removeSection.json +958 -0
  70. models/mutation.policy.wanNetwork.updatePolicy.json +8261 -0
  71. models/mutation.policy.wanNetwork.updateRule.json +30145 -0
  72. models/mutation.policy.wanNetwork.updateSection.json +1111 -0
  73. models/query.accountMetrics.json +251 -0
  74. models/query.accountSnapshot.json +188 -0
  75. models/query.auditFeed.json +60 -0
  76. models/query.events.json +240 -0
  77. models/query.eventsFeed.json +60 -0
  78. models/query.eventsTimeSeries.json +180 -0
  79. models/query.policy.json +15763 -4176
  80. models/query.sandbox.json +64 -0
  81. schema/catolib.py +1 -1
  82. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/LICENSE +0 -0
  83. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/WHEEL +0 -0
  84. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/entry_points.txt +0 -0
  85. {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/top_level.txt +0 -0
catocli/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "1.0.20"
1
+ __version__ = "1.0.21"
2
2
  __cato_host__ = "https://api.catonetworks.com/api/v1/graphql2"
@@ -11,7 +11,7 @@ def custom_parse(subparsers):
11
11
  item_subparsers = item_parser.add_subparsers(description='valid subcommands', help='additional help')
12
12
 
13
13
  item_list_parser = item_subparsers.add_parser('list',
14
- help='entity '+entity+' list',
14
+ help='entity'+entity+' list',
15
15
  usage=get_help_custom("entity_"+entity+"_list"))
16
16
 
17
17
  item_list_parser.add_argument('-accountID', help='The Account ID.')
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation admin addAdmin "$(cat < addAdmin.json)"`
12
12
 
13
- `catocli mutation admin addAdmin '{"addAdminInput": {"email": {"email": "String"}, "firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "mfaEnabled": {"mfaEnabled": "Boolean"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}, "updateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}}}'`
13
+ `catocli mutation admin addAdmin '{"addAdminInput": {"email": {"email": "String"}, "firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}, "updateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}}}'`
14
14
 
15
15
  #### Operation Arguments for mutation.admin.addAdmin ####
16
16
  `accountId` [ID] - (required) N/A
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation admin updateAdmin "$(cat < updateAdmin.json)"`
12
12
 
13
- `catocli mutation admin updateAdmin '{"adminID": "ID", "updateAdminInput": {"firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "mfaEnabled": {"mfaEnabled": "Boolean"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}, "updateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}}}'`
13
+ `catocli mutation admin updateAdmin '{"adminID": "ID", "updateAdminInput": {"firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}, "updateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}}}'`
14
14
 
15
15
  #### Operation Arguments for mutation.admin.updateAdmin ####
16
16
  `accountId` [ID] - (required) N/A
@@ -704,6 +704,180 @@ def mutation_policy_parse(mutation_subparsers):
704
704
  help='Pretty print')
705
705
  mutation_policy_remotePortFwd_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updateSection')
706
706
 
707
+ mutation_policy_socketLan_parser = mutation_policy_subparsers.add_parser('socketLan',
708
+ help='socketLan() policy operation',
709
+ usage=get_help("mutation_policy_socketLan"))
710
+
711
+ mutation_policy_socketLan_subparsers = mutation_policy_socketLan_parser.add_subparsers()
712
+
713
+ mutation_policy_socketLan_addRule_parser = mutation_policy_socketLan_subparsers.add_parser('addRule',
714
+ help='addRule() socketLan operation',
715
+ usage=get_help("mutation_policy_socketLan_addRule"))
716
+
717
+ mutation_policy_socketLan_addRule_parser.add_argument('json', help='Variables in JSON format.')
718
+ mutation_policy_socketLan_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
719
+ mutation_policy_socketLan_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
720
+ help='Print test request preview without sending api call')
721
+ mutation_policy_socketLan_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
722
+ help='Verbose output')
723
+ mutation_policy_socketLan_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
724
+ help='Pretty print')
725
+ mutation_policy_socketLan_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.addRule')
726
+
727
+ mutation_policy_socketLan_addSection_parser = mutation_policy_socketLan_subparsers.add_parser('addSection',
728
+ help='addSection() socketLan operation',
729
+ usage=get_help("mutation_policy_socketLan_addSection"))
730
+
731
+ mutation_policy_socketLan_addSection_parser.add_argument('json', help='Variables in JSON format.')
732
+ mutation_policy_socketLan_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
733
+ mutation_policy_socketLan_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
734
+ help='Print test request preview without sending api call')
735
+ mutation_policy_socketLan_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
736
+ help='Verbose output')
737
+ mutation_policy_socketLan_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
738
+ help='Pretty print')
739
+ mutation_policy_socketLan_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.addSection')
740
+
741
+ mutation_policy_socketLan_createPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('createPolicyRevision',
742
+ help='createPolicyRevision() socketLan operation',
743
+ usage=get_help("mutation_policy_socketLan_createPolicyRevision"))
744
+
745
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
746
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
747
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
748
+ help='Print test request preview without sending api call')
749
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
750
+ help='Verbose output')
751
+ mutation_policy_socketLan_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
752
+ help='Pretty print')
753
+ mutation_policy_socketLan_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.createPolicyRevision')
754
+
755
+ mutation_policy_socketLan_discardPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('discardPolicyRevision',
756
+ help='discardPolicyRevision() socketLan operation',
757
+ usage=get_help("mutation_policy_socketLan_discardPolicyRevision"))
758
+
759
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
760
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
761
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
762
+ help='Print test request preview without sending api call')
763
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
764
+ help='Verbose output')
765
+ mutation_policy_socketLan_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
766
+ help='Pretty print')
767
+ mutation_policy_socketLan_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.discardPolicyRevision')
768
+
769
+ mutation_policy_socketLan_moveRule_parser = mutation_policy_socketLan_subparsers.add_parser('moveRule',
770
+ help='moveRule() socketLan operation',
771
+ usage=get_help("mutation_policy_socketLan_moveRule"))
772
+
773
+ mutation_policy_socketLan_moveRule_parser.add_argument('json', help='Variables in JSON format.')
774
+ mutation_policy_socketLan_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
775
+ mutation_policy_socketLan_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
776
+ help='Print test request preview without sending api call')
777
+ mutation_policy_socketLan_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
778
+ help='Verbose output')
779
+ mutation_policy_socketLan_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
780
+ help='Pretty print')
781
+ mutation_policy_socketLan_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.moveRule')
782
+
783
+ mutation_policy_socketLan_moveSection_parser = mutation_policy_socketLan_subparsers.add_parser('moveSection',
784
+ help='moveSection() socketLan operation',
785
+ usage=get_help("mutation_policy_socketLan_moveSection"))
786
+
787
+ mutation_policy_socketLan_moveSection_parser.add_argument('json', help='Variables in JSON format.')
788
+ mutation_policy_socketLan_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
789
+ mutation_policy_socketLan_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
790
+ help='Print test request preview without sending api call')
791
+ mutation_policy_socketLan_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
792
+ help='Verbose output')
793
+ mutation_policy_socketLan_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
794
+ help='Pretty print')
795
+ mutation_policy_socketLan_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.moveSection')
796
+
797
+ mutation_policy_socketLan_publishPolicyRevision_parser = mutation_policy_socketLan_subparsers.add_parser('publishPolicyRevision',
798
+ help='publishPolicyRevision() socketLan operation',
799
+ usage=get_help("mutation_policy_socketLan_publishPolicyRevision"))
800
+
801
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
802
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
803
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
804
+ help='Print test request preview without sending api call')
805
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
806
+ help='Verbose output')
807
+ mutation_policy_socketLan_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
808
+ help='Pretty print')
809
+ mutation_policy_socketLan_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.publishPolicyRevision')
810
+
811
+ mutation_policy_socketLan_removeRule_parser = mutation_policy_socketLan_subparsers.add_parser('removeRule',
812
+ help='removeRule() socketLan operation',
813
+ usage=get_help("mutation_policy_socketLan_removeRule"))
814
+
815
+ mutation_policy_socketLan_removeRule_parser.add_argument('json', help='Variables in JSON format.')
816
+ mutation_policy_socketLan_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
817
+ mutation_policy_socketLan_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
818
+ help='Print test request preview without sending api call')
819
+ mutation_policy_socketLan_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
820
+ help='Verbose output')
821
+ mutation_policy_socketLan_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
822
+ help='Pretty print')
823
+ mutation_policy_socketLan_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.removeRule')
824
+
825
+ mutation_policy_socketLan_removeSection_parser = mutation_policy_socketLan_subparsers.add_parser('removeSection',
826
+ help='removeSection() socketLan operation',
827
+ usage=get_help("mutation_policy_socketLan_removeSection"))
828
+
829
+ mutation_policy_socketLan_removeSection_parser.add_argument('json', help='Variables in JSON format.')
830
+ mutation_policy_socketLan_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
831
+ mutation_policy_socketLan_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
832
+ help='Print test request preview without sending api call')
833
+ mutation_policy_socketLan_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
834
+ help='Verbose output')
835
+ mutation_policy_socketLan_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
836
+ help='Pretty print')
837
+ mutation_policy_socketLan_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.removeSection')
838
+
839
+ mutation_policy_socketLan_updatePolicy_parser = mutation_policy_socketLan_subparsers.add_parser('updatePolicy',
840
+ help='updatePolicy() socketLan operation',
841
+ usage=get_help("mutation_policy_socketLan_updatePolicy"))
842
+
843
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
844
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
845
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
846
+ help='Print test request preview without sending api call')
847
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
848
+ help='Verbose output')
849
+ mutation_policy_socketLan_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
850
+ help='Pretty print')
851
+ mutation_policy_socketLan_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updatePolicy')
852
+
853
+ mutation_policy_socketLan_updateRule_parser = mutation_policy_socketLan_subparsers.add_parser('updateRule',
854
+ help='updateRule() socketLan operation',
855
+ usage=get_help("mutation_policy_socketLan_updateRule"))
856
+
857
+ mutation_policy_socketLan_updateRule_parser.add_argument('json', help='Variables in JSON format.')
858
+ mutation_policy_socketLan_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
859
+ mutation_policy_socketLan_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
860
+ help='Print test request preview without sending api call')
861
+ mutation_policy_socketLan_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
862
+ help='Verbose output')
863
+ mutation_policy_socketLan_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
864
+ help='Pretty print')
865
+ mutation_policy_socketLan_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updateRule')
866
+
867
+ mutation_policy_socketLan_updateSection_parser = mutation_policy_socketLan_subparsers.add_parser('updateSection',
868
+ help='updateSection() socketLan operation',
869
+ usage=get_help("mutation_policy_socketLan_updateSection"))
870
+
871
+ mutation_policy_socketLan_updateSection_parser.add_argument('json', help='Variables in JSON format.')
872
+ mutation_policy_socketLan_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
873
+ mutation_policy_socketLan_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
874
+ help='Print test request preview without sending api call')
875
+ mutation_policy_socketLan_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
876
+ help='Verbose output')
877
+ mutation_policy_socketLan_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
878
+ help='Pretty print')
879
+ mutation_policy_socketLan_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.socketLan.updateSection')
880
+
707
881
  mutation_policy_wanFirewall_parser = mutation_policy_subparsers.add_parser('wanFirewall',
708
882
  help='wanFirewall() policy operation',
709
883
  usage=get_help("mutation_policy_wanFirewall"))
@@ -877,3 +1051,177 @@ def mutation_policy_parse(mutation_subparsers):
877
1051
  mutation_policy_wanFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
878
1052
  help='Pretty print')
879
1053
  mutation_policy_wanFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updateSection')
1054
+
1055
+ mutation_policy_wanNetwork_parser = mutation_policy_subparsers.add_parser('wanNetwork',
1056
+ help='wanNetwork() policy operation',
1057
+ usage=get_help("mutation_policy_wanNetwork"))
1058
+
1059
+ mutation_policy_wanNetwork_subparsers = mutation_policy_wanNetwork_parser.add_subparsers()
1060
+
1061
+ mutation_policy_wanNetwork_addRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('addRule',
1062
+ help='addRule() wanNetwork operation',
1063
+ usage=get_help("mutation_policy_wanNetwork_addRule"))
1064
+
1065
+ mutation_policy_wanNetwork_addRule_parser.add_argument('json', help='Variables in JSON format.')
1066
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1067
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1068
+ help='Print test request preview without sending api call')
1069
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1070
+ help='Verbose output')
1071
+ mutation_policy_wanNetwork_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1072
+ help='Pretty print')
1073
+ mutation_policy_wanNetwork_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.addRule')
1074
+
1075
+ mutation_policy_wanNetwork_addSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('addSection',
1076
+ help='addSection() wanNetwork operation',
1077
+ usage=get_help("mutation_policy_wanNetwork_addSection"))
1078
+
1079
+ mutation_policy_wanNetwork_addSection_parser.add_argument('json', help='Variables in JSON format.')
1080
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1081
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1082
+ help='Print test request preview without sending api call')
1083
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1084
+ help='Verbose output')
1085
+ mutation_policy_wanNetwork_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1086
+ help='Pretty print')
1087
+ mutation_policy_wanNetwork_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.addSection')
1088
+
1089
+ mutation_policy_wanNetwork_createPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('createPolicyRevision',
1090
+ help='createPolicyRevision() wanNetwork operation',
1091
+ usage=get_help("mutation_policy_wanNetwork_createPolicyRevision"))
1092
+
1093
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1094
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1095
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1096
+ help='Print test request preview without sending api call')
1097
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1098
+ help='Verbose output')
1099
+ mutation_policy_wanNetwork_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1100
+ help='Pretty print')
1101
+ mutation_policy_wanNetwork_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.createPolicyRevision')
1102
+
1103
+ mutation_policy_wanNetwork_discardPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('discardPolicyRevision',
1104
+ help='discardPolicyRevision() wanNetwork operation',
1105
+ usage=get_help("mutation_policy_wanNetwork_discardPolicyRevision"))
1106
+
1107
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1108
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1109
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1110
+ help='Print test request preview without sending api call')
1111
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1112
+ help='Verbose output')
1113
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1114
+ help='Pretty print')
1115
+ mutation_policy_wanNetwork_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.discardPolicyRevision')
1116
+
1117
+ mutation_policy_wanNetwork_moveRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('moveRule',
1118
+ help='moveRule() wanNetwork operation',
1119
+ usage=get_help("mutation_policy_wanNetwork_moveRule"))
1120
+
1121
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('json', help='Variables in JSON format.')
1122
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1123
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1124
+ help='Print test request preview without sending api call')
1125
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1126
+ help='Verbose output')
1127
+ mutation_policy_wanNetwork_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1128
+ help='Pretty print')
1129
+ mutation_policy_wanNetwork_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.moveRule')
1130
+
1131
+ mutation_policy_wanNetwork_moveSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('moveSection',
1132
+ help='moveSection() wanNetwork operation',
1133
+ usage=get_help("mutation_policy_wanNetwork_moveSection"))
1134
+
1135
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('json', help='Variables in JSON format.')
1136
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1137
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1138
+ help='Print test request preview without sending api call')
1139
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1140
+ help='Verbose output')
1141
+ mutation_policy_wanNetwork_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1142
+ help='Pretty print')
1143
+ mutation_policy_wanNetwork_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.moveSection')
1144
+
1145
+ mutation_policy_wanNetwork_publishPolicyRevision_parser = mutation_policy_wanNetwork_subparsers.add_parser('publishPolicyRevision',
1146
+ help='publishPolicyRevision() wanNetwork operation',
1147
+ usage=get_help("mutation_policy_wanNetwork_publishPolicyRevision"))
1148
+
1149
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
1150
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1151
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
1152
+ help='Print test request preview without sending api call')
1153
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
1154
+ help='Verbose output')
1155
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
1156
+ help='Pretty print')
1157
+ mutation_policy_wanNetwork_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.publishPolicyRevision')
1158
+
1159
+ mutation_policy_wanNetwork_removeRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('removeRule',
1160
+ help='removeRule() wanNetwork operation',
1161
+ usage=get_help("mutation_policy_wanNetwork_removeRule"))
1162
+
1163
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('json', help='Variables in JSON format.')
1164
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1165
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1166
+ help='Print test request preview without sending api call')
1167
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1168
+ help='Verbose output')
1169
+ mutation_policy_wanNetwork_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1170
+ help='Pretty print')
1171
+ mutation_policy_wanNetwork_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.removeRule')
1172
+
1173
+ mutation_policy_wanNetwork_removeSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('removeSection',
1174
+ help='removeSection() wanNetwork operation',
1175
+ usage=get_help("mutation_policy_wanNetwork_removeSection"))
1176
+
1177
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('json', help='Variables in JSON format.')
1178
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1179
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1180
+ help='Print test request preview without sending api call')
1181
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1182
+ help='Verbose output')
1183
+ mutation_policy_wanNetwork_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1184
+ help='Pretty print')
1185
+ mutation_policy_wanNetwork_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.removeSection')
1186
+
1187
+ mutation_policy_wanNetwork_updatePolicy_parser = mutation_policy_wanNetwork_subparsers.add_parser('updatePolicy',
1188
+ help='updatePolicy() wanNetwork operation',
1189
+ usage=get_help("mutation_policy_wanNetwork_updatePolicy"))
1190
+
1191
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
1192
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1193
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
1194
+ help='Print test request preview without sending api call')
1195
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
1196
+ help='Verbose output')
1197
+ mutation_policy_wanNetwork_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
1198
+ help='Pretty print')
1199
+ mutation_policy_wanNetwork_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updatePolicy')
1200
+
1201
+ mutation_policy_wanNetwork_updateRule_parser = mutation_policy_wanNetwork_subparsers.add_parser('updateRule',
1202
+ help='updateRule() wanNetwork operation',
1203
+ usage=get_help("mutation_policy_wanNetwork_updateRule"))
1204
+
1205
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('json', help='Variables in JSON format.')
1206
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1207
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
1208
+ help='Print test request preview without sending api call')
1209
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
1210
+ help='Verbose output')
1211
+ mutation_policy_wanNetwork_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
1212
+ help='Pretty print')
1213
+ mutation_policy_wanNetwork_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updateRule')
1214
+
1215
+ mutation_policy_wanNetwork_updateSection_parser = mutation_policy_wanNetwork_subparsers.add_parser('updateSection',
1216
+ help='updateSection() wanNetwork operation',
1217
+ usage=get_help("mutation_policy_wanNetwork_updateSection"))
1218
+
1219
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('json', help='Variables in JSON format.')
1220
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
1221
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
1222
+ help='Print test request preview without sending api call')
1223
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
1224
+ help='Verbose output')
1225
+ mutation_policy_wanNetwork_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
1226
+ help='Pretty print')
1227
+ mutation_policy_wanNetwork_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanNetwork.updateSection')
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation policy internetFirewall addRule "$(cat < addRule.json)"`
12
12
 
13
- `catocli mutation policy internetFirewall addRule '{"internetFirewallAddRuleInput": {"internetFirewallAddRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
13
+ `catocli mutation policy internetFirewall addRule '{"internetFirewallAddRuleInput": {"internetFirewallAddRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn32"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn32"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
14
14
 
15
15
  #### Operation Arguments for mutation.policy.internetFirewall.addRule ####
16
16
  `accountId` [ID] - (required) N/A
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation policy internetFirewall updateRule "$(cat < updateRule.json)"`
12
12
 
13
- `catocli mutation policy internetFirewall updateRule '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "internetFirewallUpdateRuleInput": {"id": {"id": "ID"}, "internetFirewallUpdateRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}}}'`
13
+ `catocli mutation policy internetFirewall updateRule '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "internetFirewallUpdateRuleInput": {"id": {"id": "ID"}, "internetFirewallUpdateRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn32"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn32"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["String"]}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}}}'`
14
14
 
15
15
  #### Operation Arguments for mutation.policy.internetFirewall.updateRule ####
16
16
  `accountId` [ID] - (required) N/A
@@ -0,0 +1,7 @@
1
+
2
+ ## CATO-CLI - mutation.policy.socketLan:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-socketLan) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.socketLan:
6
+
7
+ `catocli mutation policy socketLan -h`
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.socketLan.addRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.socketLan.addRule:
6
+
7
+ `catocli mutation policy socketLan addRule -h`
8
+
9
+ `catocli mutation policy socketLan addRule <json>`
10
+
11
+ `catocli mutation policy socketLan addRule "$(cat < addRule.json)"`
12
+
13
+ `catocli mutation policy socketLan addRule '{"socketLanAddRuleInput": {"policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "socketLanAddRuleDataInput": {"description": {"description": "String"}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "direction": {"direction": "enum(SocketLanDirection)"}, "enabled": {"enabled": "Boolean"}, "name": {"name": "String"}, "nat": {"enabled": {"enabled": "Boolean"}, "natType": {"natType": "enum(SocketLanNatType)"}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "simple": {"name": {"name": "enum(SimpleServiceType)"}}}, "site": {"group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "transport": {"transport": "enum(SocketLanTransportType)"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.socketLan.addRule ####
16
+ `accountId` [ID] - (required) N/A
17
+ `socketLanAddRuleInput` [SocketLanAddRuleInput] - (required) N/A
18
+ `socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.socketLan.addSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.socketLan.addSection:
6
+
7
+ `catocli mutation policy socketLan addSection -h`
8
+
9
+ `catocli mutation policy socketLan addSection <json>`
10
+
11
+ `catocli mutation policy socketLan addSection "$(cat < addSection.json)"`
12
+
13
+ `catocli mutation policy socketLan addSection '{"policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.socketLan.addSection ####
16
+ `accountId` [ID] - (required) N/A
17
+ `policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
18
+ `socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.socketLan.createPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.socketLan.createPolicyRevision:
6
+
7
+ `catocli mutation policy socketLan createPolicyRevision -h`
8
+
9
+ `catocli mutation policy socketLan createPolicyRevision <json>`
10
+
11
+ `catocli mutation policy socketLan createPolicyRevision "$(cat < createPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy socketLan createPolicyRevision '{"policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.socketLan.createPolicyRevision ####
16
+ `accountId` [ID] - (required) N/A
17
+ `policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
18
+ `socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A