catocli 1.0.21__py3-none-any.whl → 2.0.0__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.
- catocli/Utils/clidriver.py +112 -25
- catocli/Utils/profile_manager.py +188 -0
- catocli/Utils/version_checker.py +192 -0
- catocli/__init__.py +1 -1
- catocli/parsers/configure/__init__.py +115 -0
- catocli/parsers/configure/configure.py +307 -0
- catocli/parsers/custom/__init__.py +8 -0
- catocli/parsers/custom/export_rules/__init__.py +36 -0
- catocli/parsers/custom/export_rules/export_rules.py +361 -0
- catocli/parsers/custom/import_rules_to_tf/__init__.py +58 -0
- catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +577 -0
- catocli/parsers/mutation_admin_addAdmin/README.md +1 -1
- catocli/parsers/mutation_hardware/README.md +7 -0
- catocli/parsers/mutation_hardware/__init__.py +23 -0
- catocli/parsers/mutation_hardware_updateHardwareShipping/README.md +17 -0
- catocli/parsers/mutation_site_addBgpPeer/README.md +1 -1
- catocli/parsers/mutation_site_addNetworkRange/README.md +1 -1
- catocli/parsers/mutation_site_updateBgpPeer/README.md +1 -1
- catocli/parsers/mutation_site_updateNetworkRange/README.md +1 -1
- catocli/parsers/mutation_sites_addBgpPeer/README.md +1 -1
- catocli/parsers/mutation_sites_addNetworkRange/README.md +1 -1
- catocli/parsers/mutation_sites_updateBgpPeer/README.md +1 -1
- catocli/parsers/mutation_sites_updateNetworkRange/README.md +1 -1
- catocli/parsers/query_auditFeed/README.md +1 -1
- catocli/parsers/query_catalogs/README.md +19 -0
- catocli/parsers/query_catalogs/__init__.py +17 -0
- catocli/parsers/query_devices/README.md +19 -0
- catocli/parsers/query_devices/__init__.py +17 -0
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_hardware/README.md +17 -0
- catocli/parsers/query_hardware/__init__.py +17 -0
- catocli/parsers/query_sandbox/README.md +1 -1
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/METADATA +1 -1
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/RECORD +139 -114
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/top_level.txt +1 -0
- graphql_client/api/call_api.py +4 -0
- graphql_client/api_client_types.py +4 -3
- graphql_client/configuration.py +2 -0
- models/mutation.admin.addAdmin.json +130 -0
- models/mutation.hardware.updateHardwareShipping.json +2506 -0
- models/mutation.policy.appTenantRestriction.addRule.json +11 -11
- models/mutation.policy.appTenantRestriction.createPolicyRevision.json +11 -11
- models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +11 -11
- models/mutation.policy.appTenantRestriction.moveRule.json +11 -11
- models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +11 -11
- models/mutation.policy.appTenantRestriction.removeRule.json +11 -11
- models/mutation.policy.appTenantRestriction.updatePolicy.json +11 -11
- models/mutation.policy.appTenantRestriction.updateRule.json +11 -11
- models/mutation.policy.dynamicIpAllocation.addRule.json +4 -4
- models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +4 -4
- models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +4 -4
- models/mutation.policy.dynamicIpAllocation.moveRule.json +4 -4
- models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +4 -4
- models/mutation.policy.dynamicIpAllocation.removeRule.json +4 -4
- models/mutation.policy.dynamicIpAllocation.updatePolicy.json +4 -4
- models/mutation.policy.dynamicIpAllocation.updateRule.json +4 -4
- models/mutation.policy.internetFirewall.addRule.json +63 -63
- models/mutation.policy.internetFirewall.createPolicyRevision.json +45 -45
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +45 -45
- models/mutation.policy.internetFirewall.moveRule.json +45 -45
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +45 -45
- models/mutation.policy.internetFirewall.removeRule.json +45 -45
- models/mutation.policy.internetFirewall.updatePolicy.json +45 -45
- models/mutation.policy.internetFirewall.updateRule.json +63 -63
- models/mutation.policy.remotePortFwd.addRule.json +5 -5
- models/mutation.policy.remotePortFwd.createPolicyRevision.json +5 -5
- models/mutation.policy.remotePortFwd.discardPolicyRevision.json +5 -5
- models/mutation.policy.remotePortFwd.moveRule.json +5 -5
- models/mutation.policy.remotePortFwd.publishPolicyRevision.json +5 -5
- models/mutation.policy.remotePortFwd.removeRule.json +5 -5
- models/mutation.policy.remotePortFwd.updatePolicy.json +5 -5
- models/mutation.policy.remotePortFwd.updateRule.json +5 -5
- models/mutation.policy.socketLan.addRule.json +3580 -125
- models/mutation.policy.socketLan.createPolicyRevision.json +3580 -125
- models/mutation.policy.socketLan.discardPolicyRevision.json +3580 -125
- models/mutation.policy.socketLan.moveRule.json +3580 -125
- models/mutation.policy.socketLan.publishPolicyRevision.json +3580 -125
- models/mutation.policy.socketLan.removeRule.json +3580 -125
- models/mutation.policy.socketLan.updatePolicy.json +3580 -125
- models/mutation.policy.socketLan.updateRule.json +3580 -125
- models/mutation.policy.wanFirewall.addRule.json +77 -77
- models/mutation.policy.wanFirewall.createPolicyRevision.json +59 -59
- models/mutation.policy.wanFirewall.discardPolicyRevision.json +59 -59
- models/mutation.policy.wanFirewall.moveRule.json +59 -59
- models/mutation.policy.wanFirewall.publishPolicyRevision.json +59 -59
- models/mutation.policy.wanFirewall.removeRule.json +59 -59
- models/mutation.policy.wanFirewall.updatePolicy.json +59 -59
- models/mutation.policy.wanFirewall.updateRule.json +77 -77
- models/mutation.policy.wanNetwork.addRule.json +49 -49
- models/mutation.policy.wanNetwork.createPolicyRevision.json +49 -49
- models/mutation.policy.wanNetwork.discardPolicyRevision.json +49 -49
- models/mutation.policy.wanNetwork.moveRule.json +49 -49
- models/mutation.policy.wanNetwork.publishPolicyRevision.json +49 -49
- models/mutation.policy.wanNetwork.removeRule.json +49 -49
- models/mutation.policy.wanNetwork.updatePolicy.json +49 -49
- models/mutation.policy.wanNetwork.updateRule.json +49 -49
- models/mutation.site.addBgpPeer.json +2812 -217
- models/mutation.site.addNetworkRange.json +114 -0
- models/mutation.site.addSocketSite.json +18 -0
- models/mutation.site.removeBgpPeer.json +667 -1
- models/mutation.site.updateBgpPeer.json +3152 -559
- models/mutation.site.updateNetworkRange.json +114 -0
- models/mutation.sites.addBgpPeer.json +2812 -217
- models/mutation.sites.addNetworkRange.json +114 -0
- models/mutation.sites.addSocketSite.json +18 -0
- models/mutation.sites.removeBgpPeer.json +667 -1
- models/mutation.sites.updateBgpPeer.json +3152 -559
- models/mutation.sites.updateNetworkRange.json +114 -0
- models/mutation.xdr.addStoryComment.json +2 -2
- models/mutation.xdr.analystFeedback.json +182 -42
- models/mutation.xdr.deleteStoryComment.json +2 -2
- models/query.accountMetrics.json +112 -0
- models/query.accountSnapshot.json +62 -0
- models/query.admin.json +46 -0
- models/query.admins.json +46 -0
- models/query.appStats.json +528 -0
- models/query.appStatsTimeSeries.json +396 -0
- models/query.auditFeed.json +273 -3336
- models/query.catalogs.json +9840 -0
- models/query.devices.json +15469 -0
- models/query.events.json +4606 -4318
- models/query.eventsFeed.json +1167 -1095
- models/query.eventsTimeSeries.json +3459 -3243
- models/query.hardware.json +5730 -0
- models/query.hardwareManagement.json +8 -2
- models/query.licensing.json +3 -3
- models/query.policy.json +3743 -298
- models/query.sandbox.json +6 -4
- models/query.site.json +1329 -4
- models/query.xdr.stories.json +182 -42
- models/query.xdr.story.json +182 -42
- schema/catolib.py +105 -28
- scripts/catolib.py +62 -0
- scripts/export_if_rules_to_json.py +188 -0
- scripts/export_wf_rules_to_json.py +111 -0
- scripts/import_wf_rules_to_tfstate.py +331 -0
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/LICENSE +0 -0
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/WHEEL +0 -0
- {catocli-1.0.21.dist-info → catocli-2.0.0.dist-info}/entry_points.txt +0 -0
|
@@ -38,6 +38,48 @@
|
|
|
38
38
|
"enumValues": null,
|
|
39
39
|
"fields": null,
|
|
40
40
|
"inputFields": {
|
|
41
|
+
"adminType": {
|
|
42
|
+
"defaultValue": null,
|
|
43
|
+
"description": null,
|
|
44
|
+
"id_str": "addAdmin___input___adminType",
|
|
45
|
+
"name": "adminType",
|
|
46
|
+
"path": "addAdmin.input.adminType",
|
|
47
|
+
"requestStr": "$adminType:AdminType ",
|
|
48
|
+
"required": false,
|
|
49
|
+
"responseStr": "adminType:$adminType ",
|
|
50
|
+
"type": {
|
|
51
|
+
"definition": {
|
|
52
|
+
"description": null,
|
|
53
|
+
"enumValues": [
|
|
54
|
+
{
|
|
55
|
+
"deprecationReason": null,
|
|
56
|
+
"description": null,
|
|
57
|
+
"isDeprecated": false,
|
|
58
|
+
"name": "LOGIN"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"deprecationReason": null,
|
|
62
|
+
"description": null,
|
|
63
|
+
"isDeprecated": false,
|
|
64
|
+
"name": "SERVICE_PRINCIPLE"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"fields": null,
|
|
68
|
+
"inputFields": null,
|
|
69
|
+
"interfaces": null,
|
|
70
|
+
"kind": "ENUM",
|
|
71
|
+
"name": "AdminType",
|
|
72
|
+
"possibleTypes": null
|
|
73
|
+
},
|
|
74
|
+
"indexType": "enum",
|
|
75
|
+
"kind": [
|
|
76
|
+
"ENUM"
|
|
77
|
+
],
|
|
78
|
+
"name": "AdminType",
|
|
79
|
+
"non_null": false
|
|
80
|
+
},
|
|
81
|
+
"varName": "adminType"
|
|
82
|
+
},
|
|
41
83
|
"email": {
|
|
42
84
|
"defaultValue": null,
|
|
43
85
|
"description": null,
|
|
@@ -874,6 +916,7 @@
|
|
|
874
916
|
"description": null,
|
|
875
917
|
"fieldTypes": {
|
|
876
918
|
"AddAdminPayload": true,
|
|
919
|
+
"AdminType": true,
|
|
877
920
|
"EntityInput": true,
|
|
878
921
|
"EntityType": true,
|
|
879
922
|
"UpdateAccountRoleInput": true,
|
|
@@ -916,6 +959,48 @@
|
|
|
916
959
|
"enumValues": null,
|
|
917
960
|
"fields": null,
|
|
918
961
|
"inputFields": {
|
|
962
|
+
"adminType": {
|
|
963
|
+
"defaultValue": null,
|
|
964
|
+
"description": null,
|
|
965
|
+
"id_str": "addAdmin___input___adminType",
|
|
966
|
+
"name": "adminType",
|
|
967
|
+
"path": "addAdmin.input.adminType",
|
|
968
|
+
"requestStr": "$adminType:AdminType ",
|
|
969
|
+
"required": false,
|
|
970
|
+
"responseStr": "adminType:$adminType ",
|
|
971
|
+
"type": {
|
|
972
|
+
"definition": {
|
|
973
|
+
"description": null,
|
|
974
|
+
"enumValues": [
|
|
975
|
+
{
|
|
976
|
+
"deprecationReason": null,
|
|
977
|
+
"description": null,
|
|
978
|
+
"isDeprecated": false,
|
|
979
|
+
"name": "LOGIN"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"deprecationReason": null,
|
|
983
|
+
"description": null,
|
|
984
|
+
"isDeprecated": false,
|
|
985
|
+
"name": "SERVICE_PRINCIPLE"
|
|
986
|
+
}
|
|
987
|
+
],
|
|
988
|
+
"fields": null,
|
|
989
|
+
"inputFields": null,
|
|
990
|
+
"interfaces": null,
|
|
991
|
+
"kind": "ENUM",
|
|
992
|
+
"name": "AdminType",
|
|
993
|
+
"possibleTypes": null
|
|
994
|
+
},
|
|
995
|
+
"indexType": "enum",
|
|
996
|
+
"kind": [
|
|
997
|
+
"ENUM"
|
|
998
|
+
],
|
|
999
|
+
"name": "AdminType",
|
|
1000
|
+
"non_null": false
|
|
1001
|
+
},
|
|
1002
|
+
"varName": "adminType"
|
|
1003
|
+
},
|
|
919
1004
|
"email": {
|
|
920
1005
|
"defaultValue": null,
|
|
921
1006
|
"description": null,
|
|
@@ -1760,6 +1845,48 @@
|
|
|
1760
1845
|
"enumValues": null,
|
|
1761
1846
|
"fields": null,
|
|
1762
1847
|
"inputFields": {
|
|
1848
|
+
"adminType": {
|
|
1849
|
+
"defaultValue": null,
|
|
1850
|
+
"description": null,
|
|
1851
|
+
"id_str": "addAdmin___input___adminType",
|
|
1852
|
+
"name": "adminType",
|
|
1853
|
+
"path": "addAdmin.input.adminType",
|
|
1854
|
+
"requestStr": "$adminType:AdminType ",
|
|
1855
|
+
"required": false,
|
|
1856
|
+
"responseStr": "adminType:$adminType ",
|
|
1857
|
+
"type": {
|
|
1858
|
+
"definition": {
|
|
1859
|
+
"description": null,
|
|
1860
|
+
"enumValues": [
|
|
1861
|
+
{
|
|
1862
|
+
"deprecationReason": null,
|
|
1863
|
+
"description": null,
|
|
1864
|
+
"isDeprecated": false,
|
|
1865
|
+
"name": "LOGIN"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"deprecationReason": null,
|
|
1869
|
+
"description": null,
|
|
1870
|
+
"isDeprecated": false,
|
|
1871
|
+
"name": "SERVICE_PRINCIPLE"
|
|
1872
|
+
}
|
|
1873
|
+
],
|
|
1874
|
+
"fields": null,
|
|
1875
|
+
"inputFields": null,
|
|
1876
|
+
"interfaces": null,
|
|
1877
|
+
"kind": "ENUM",
|
|
1878
|
+
"name": "AdminType",
|
|
1879
|
+
"possibleTypes": null
|
|
1880
|
+
},
|
|
1881
|
+
"indexType": "enum",
|
|
1882
|
+
"kind": [
|
|
1883
|
+
"ENUM"
|
|
1884
|
+
],
|
|
1885
|
+
"name": "AdminType",
|
|
1886
|
+
"non_null": false
|
|
1887
|
+
},
|
|
1888
|
+
"varName": "adminType"
|
|
1889
|
+
},
|
|
1763
1890
|
"email": {
|
|
1764
1891
|
"defaultValue": null,
|
|
1765
1892
|
"description": null,
|
|
@@ -2649,6 +2776,9 @@
|
|
|
2649
2776
|
},
|
|
2650
2777
|
"variablesPayload": {
|
|
2651
2778
|
"addAdminInput": {
|
|
2779
|
+
"adminType": {
|
|
2780
|
+
"adminType": "enum(AdminType)"
|
|
2781
|
+
},
|
|
2652
2782
|
"email": {
|
|
2653
2783
|
"email": "String"
|
|
2654
2784
|
},
|