catocli 1.0.8__py3-none-any.whl → 1.0.10__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 +14 -0
- catocli/__init__.py +1 -1
- catocli/parsers/custom/customLib.py +1 -1
- catocli/parsers/mutation_admin/__init__.py +3 -3
- catocli/parsers/mutation_admin_addAdmin/README.md +2 -2
- catocli/parsers/mutation_admin_removeAdmin/README.md +2 -2
- catocli/parsers/mutation_admin_updateAdmin/README.md +2 -2
- catocli/parsers/mutation_container/__init__.py +1 -1
- catocli/parsers/mutation_container_delete/README.md +2 -2
- catocli/parsers/mutation_policy/__init__.py +24 -24
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +2 -2
- catocli/parsers/mutation_site/__init__.py +15 -15
- catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +2 -2
- catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_site_addNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_addSocketSite/README.md +2 -2
- catocli/parsers/mutation_site_addStaticHost/README.md +2 -2
- catocli/parsers/mutation_site_removeNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_removeSite/README.md +2 -2
- catocli/parsers/mutation_site_removeStaticHost/README.md +2 -2
- catocli/parsers/mutation_site_updateHa/README.md +2 -2
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_site_updateNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_site_updateSocketInterface/README.md +2 -2
- catocli/parsers/mutation_site_updateStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites/__init__.py +15 -15
- catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +2 -2
- catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_sites_addNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_addSocketSite/README.md +2 -2
- catocli/parsers/mutation_sites_addStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites_removeNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_removeSite/README.md +2 -2
- catocli/parsers/mutation_sites_removeStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites_updateHa/README.md +2 -2
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_sites_updateNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_sites_updateSocketInterface/README.md +2 -2
- catocli/parsers/mutation_sites_updateStaticHost/README.md +2 -2
- catocli/parsers/parserApiClient.py +1 -4
- catocli/parsers/query_accountBySubdomain/README.md +2 -2
- catocli/parsers/query_accountBySubdomain/__init__.py +1 -1
- catocli/parsers/query_accountMetrics/README.md +2 -2
- catocli/parsers/query_accountMetrics/__init__.py +1 -1
- catocli/parsers/query_accountRoles/README.md +2 -2
- catocli/parsers/query_accountRoles/__init__.py +1 -1
- catocli/parsers/query_accountSnapshot/README.md +2 -2
- catocli/parsers/query_accountSnapshot/__init__.py +1 -1
- catocli/parsers/query_admin/README.md +2 -2
- catocli/parsers/query_admin/__init__.py +1 -1
- catocli/parsers/query_admins/README.md +2 -2
- catocli/parsers/query_admins/__init__.py +1 -1
- catocli/parsers/query_appStats/README.md +2 -2
- catocli/parsers/query_appStats/__init__.py +1 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +2 -2
- catocli/parsers/query_appStatsTimeSeries/__init__.py +1 -1
- catocli/parsers/query_auditFeed/README.md +2 -2
- catocli/parsers/query_auditFeed/__init__.py +1 -1
- catocli/parsers/query_container/README.md +2 -2
- catocli/parsers/query_container/__init__.py +1 -1
- catocli/parsers/query_entityLookup/README.md +2 -2
- catocli/parsers/query_entityLookup/__init__.py +1 -1
- catocli/parsers/query_events/README.md +2 -2
- catocli/parsers/query_events/__init__.py +1 -1
- catocli/parsers/query_eventsFeed/README.md +2 -2
- catocli/parsers/query_eventsFeed/__init__.py +1 -1
- catocli/parsers/query_eventsTimeSeries/README.md +2 -2
- catocli/parsers/query_eventsTimeSeries/__init__.py +1 -1
- catocli/parsers/query_hardwareManagement/README.md +2 -2
- catocli/parsers/query_hardwareManagement/__init__.py +1 -1
- catocli/parsers/query_licensing/README.md +2 -2
- catocli/parsers/query_licensing/__init__.py +1 -1
- catocli/parsers/query_policy/README.md +2 -2
- catocli/parsers/query_policy/__init__.py +1 -1
- catocli/parsers/query_siteLocation/README.md +6 -6
- catocli/parsers/query_siteLocation/__init__.py +1 -1
- catocli/parsers/query_subDomains/README.md +2 -2
- catocli/parsers/query_subDomains/__init__.py +1 -1
- catocli/parsers/query_xdr/__init__.py +2 -2
- catocli/parsers/query_xdr_stories/README.md +2 -2
- catocli/parsers/query_xdr_story/README.md +2 -2
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/METADATA +1 -1
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/RECORD +115 -115
- schema/catolib.py +27 -13
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/LICENSE +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/WHEEL +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/top_level.txt +0 -0
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
catocli/__init__.py,sha256=
|
|
1
|
+
catocli/__init__.py,sha256=0klQ4EMAhZhW5HTdekvoc0VDTs_238wMtBnIfpuVnZ8,86
|
|
2
2
|
catocli/__main__.py,sha256=6Z0ns_k_kUcz1Qtrn1u7UyUnqB-3e85jM_nppOwFsv4,217
|
|
3
|
-
catocli/Utils/clidriver.py,sha256=
|
|
4
|
-
catocli/parsers/parserApiClient.py,sha256=
|
|
3
|
+
catocli/Utils/clidriver.py,sha256=YdKPikdnUQdL3J3S4KsRk3wEwDUdayO6EEh4FSO3RJY,6191
|
|
4
|
+
catocli/parsers/parserApiClient.py,sha256=aXQKw9Y024RGvv3xymsZ9v19AW2ar1IMol7ra2Cents,13364
|
|
5
5
|
catocli/parsers/custom/README.md,sha256=UvCWAtF3Yh0UsvADb0ve1qJupgYHeyGu6V3Z0O5HEvo,8180
|
|
6
6
|
catocli/parsers/custom/__init__.py,sha256=fIEeHogNmCWryXK-sV5N8zRPj52X6QXj6iq7SyDbkfo,2390
|
|
7
|
-
catocli/parsers/custom/customLib.py,sha256=
|
|
7
|
+
catocli/parsers/custom/customLib.py,sha256=hw1Wz_2ZfSO8gWxI-njzGUVz98O07E9o8eW8YZGLDQc,3090
|
|
8
8
|
catocli/parsers/mutation/README.md,sha256=mdOfOY0sOVGnf9q-GVgtGc7mtxFKigD9q0ILJAw8l0I,32
|
|
9
9
|
catocli/parsers/mutation_admin/README.md,sha256=YzXrmiZf8gPKDd2ii__NztKfYxReu3MBOmswR3BGQHk,201
|
|
10
|
-
catocli/parsers/mutation_admin/__init__.py,sha256=
|
|
11
|
-
catocli/parsers/mutation_admin_addAdmin/README.md,sha256
|
|
12
|
-
catocli/parsers/mutation_admin_removeAdmin/README.md,sha256=
|
|
13
|
-
catocli/parsers/mutation_admin_updateAdmin/README.md,sha256=
|
|
10
|
+
catocli/parsers/mutation_admin/__init__.py,sha256=oclkQtK9DvMvZVvOqAvkncWVaxkrmu06Lp56lkbGQGU,2861
|
|
11
|
+
catocli/parsers/mutation_admin_addAdmin/README.md,sha256=-sU2oNgr7Rhk6TJQSgReHkoPmEr5pb73zf2WxxzUJ9E,991
|
|
12
|
+
catocli/parsers/mutation_admin_removeAdmin/README.md,sha256=jeuvgleZRAY7hWofEMoi20d4OUt9hOEmrpudTM1Q5p4,554
|
|
13
|
+
catocli/parsers/mutation_admin_updateAdmin/README.md,sha256=yVt8fhPJA0Sxt3l2lG27M3hG_uXNdfPURNr-7XHD-Hk,1047
|
|
14
14
|
catocli/parsers/mutation_container/README.md,sha256=thgVBv4Wjfs6eccdDxPd4oqHh6YjiAAcd1Vp4QRCZPg,217
|
|
15
|
-
catocli/parsers/mutation_container/__init__.py,sha256=
|
|
16
|
-
catocli/parsers/mutation_container_delete/README.md,sha256=
|
|
15
|
+
catocli/parsers/mutation_container/__init__.py,sha256=daIO-kHXwZX4xwL9WN2dPKMWF-fn5n6BbcTjhU8tiCM,1191
|
|
16
|
+
catocli/parsers/mutation_container_delete/README.md,sha256=a72aRHkiX2qFgzw45DYcXKTHTIwg8MF-nL7J8pXs0PQ,665
|
|
17
17
|
catocli/parsers/mutation_policy/README.md,sha256=xYEidHz8nQH6ZoK2mPbaTD5sC3ARMC0fPLUm6FiuC2E,205
|
|
18
|
-
catocli/parsers/mutation_policy/__init__.py,sha256=
|
|
18
|
+
catocli/parsers/mutation_policy/__init__.py,sha256=IzZ5GA-YG3jpHfh1MoL4K_3x3R6DZQIASZwmpYjYNYY,26005
|
|
19
19
|
catocli/parsers/mutation_policy_internetFirewall/README.md,sha256=0e13yUi-sK03DKCW1muOj7or6azutn_bR88RGMgwU84,266
|
|
20
|
-
catocli/parsers/mutation_policy_internetFirewall_addRule/README.md,sha256=
|
|
21
|
-
catocli/parsers/mutation_policy_internetFirewall_addSection/README.md,sha256=
|
|
22
|
-
catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md,sha256=
|
|
23
|
-
catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md,sha256=
|
|
24
|
-
catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md,sha256=
|
|
25
|
-
catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md,sha256=
|
|
26
|
-
catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md,sha256=
|
|
27
|
-
catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md,sha256=
|
|
28
|
-
catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md,sha256=
|
|
29
|
-
catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md,sha256=
|
|
30
|
-
catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md,sha256=
|
|
31
|
-
catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md,sha256=
|
|
20
|
+
catocli/parsers/mutation_policy_internetFirewall_addRule/README.md,sha256=NIryA-xq0Cn9dtTeSfB3H7ldmr-Zob965wgMuniYXic,7118
|
|
21
|
+
catocli/parsers/mutation_policy_internetFirewall_addSection/README.md,sha256=xkFvqso3y_2hT7T7gqqTsQOErqXz_aSeLitP6ISjlXI,1076
|
|
22
|
+
catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md,sha256=Vra4WdZEm0N3yKF6_mYSyDBxgd4dyrgG8jCfbuHYmqc,1074
|
|
23
|
+
catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md,sha256=On7F5mR1bwZ0_kzUMsS8SysQmL45YALSID5ApIYFDis,1036
|
|
24
|
+
catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md,sha256=OUBNVFkub6-fLv_tcMQjzx5UNuapGisaVQzMaGrxW2U,1007
|
|
25
|
+
catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md,sha256=CN_b88SeRb83Fddhtn2xG-PqCHWElg-ij8B0RJqxL44,1049
|
|
26
|
+
catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md,sha256=k6qg7KTtu3G7okNnpTQSt3jGX8F3lZe3hMIYlhCp57g,1086
|
|
27
|
+
catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md,sha256=CLFkYTdiYprBwe4om1bcRIAxOlIRbktjc4DfyoCORJQ,952
|
|
28
|
+
catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md,sha256=wF8frGUhGjvm_0xwSJg9OO9DDV7opiZiK229LATs2FE,958
|
|
29
|
+
catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md,sha256=UZEoeNE_nM0IKgdMS4ZwWKIJrLg_wQLXi9PWiKIvdas,1003
|
|
30
|
+
catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md,sha256=NQ6T6FH3fsUmMaprqhxhNKyb4vqA8-Ibwox7RLcg978,7068
|
|
31
|
+
catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md,sha256=6gcL0IYkqxU0wlvfgVhFtnElvhSAO45j_NYN1KoLlCQ,1020
|
|
32
32
|
catocli/parsers/mutation_policy_wanFirewall/README.md,sha256=zpjNhACCjxLQrdf8EG0LBil0QKumtktq6b3HYUwyCbM,246
|
|
33
|
-
catocli/parsers/mutation_policy_wanFirewall_addRule/README.md,sha256=
|
|
34
|
-
catocli/parsers/mutation_policy_wanFirewall_addSection/README.md,sha256=
|
|
35
|
-
catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md,sha256=
|
|
36
|
-
catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md,sha256=
|
|
37
|
-
catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md,sha256=
|
|
38
|
-
catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md,sha256=
|
|
39
|
-
catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md,sha256=
|
|
40
|
-
catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md,sha256=
|
|
41
|
-
catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md,sha256=
|
|
42
|
-
catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md,sha256=
|
|
43
|
-
catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md,sha256=
|
|
44
|
-
catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md,sha256=
|
|
33
|
+
catocli/parsers/mutation_policy_wanFirewall_addRule/README.md,sha256=TGODn8i6RhPHSrDtYrk6buMTWT2IpAEjdX7yFhK25VY,8317
|
|
34
|
+
catocli/parsers/mutation_policy_wanFirewall_addSection/README.md,sha256=CFZqRMv8xVgUNZnwlYxZ9Iv4Cyv5u0m7tHCqES4lSmQ,1026
|
|
35
|
+
catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md,sha256=OcVew4zcnrTZWrEi8Tp6JX-D6tH71ExQ6lWCLFtRoDg,1024
|
|
36
|
+
catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md,sha256=p3PFnN6Xd2apvifBi3Ej3l1I1pVucDqFQu3Z35Agahc,986
|
|
37
|
+
catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md,sha256=DK0yYDBDIEBWq2dbLluO52wgMOa2uEdg_DvmmwOPae0,957
|
|
38
|
+
catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md,sha256=84-Nxi2viUopZUGuwmCmJW1EBVsPqI9Vcks0T2dmlwI,999
|
|
39
|
+
catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md,sha256=WKdVF6WzVktK1YQ3MBtIHCG9g_vUxGbJbe4reP6Do_A,1036
|
|
40
|
+
catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md,sha256=I4s57Mc9-vVm8TP4m4o-PYO-1aCqdFX09AFvCObcUBk,887
|
|
41
|
+
catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md,sha256=tk5ijxoZFv6zT2X9XekkDzB8zgrA3t-Bftpm4xSxFZE,908
|
|
42
|
+
catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md,sha256=hgaga0DR8rKJT-e8xobanP5EGTxP66_pZ3-P5fdZHwE,938
|
|
43
|
+
catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md,sha256=4EA-lRWMAqViBBX24rxXUwWSYcIMcv3zDyypX0-xQPU,8267
|
|
44
|
+
catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md,sha256=WpAJvMLVr3xw_H_dRn1Ef3ZjuZRR0jFwYH0KXLMQ9H4,970
|
|
45
45
|
catocli/parsers/mutation_site/README.md,sha256=VGtw4II0zTDPC4PyWohkkH1gcsbPtbNWH6FIUJK48Ew,197
|
|
46
|
-
catocli/parsers/mutation_site/__init__.py,sha256=
|
|
47
|
-
catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md,sha256=
|
|
48
|
-
catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md,sha256=
|
|
49
|
-
catocli/parsers/mutation_site_addNetworkRange/README.md,sha256=
|
|
50
|
-
catocli/parsers/mutation_site_addSocketSite/README.md,sha256=
|
|
51
|
-
catocli/parsers/mutation_site_addStaticHost/README.md,sha256=
|
|
52
|
-
catocli/parsers/mutation_site_removeNetworkRange/README.md,sha256=
|
|
53
|
-
catocli/parsers/mutation_site_removeSite/README.md,sha256=
|
|
54
|
-
catocli/parsers/mutation_site_removeStaticHost/README.md,sha256=
|
|
55
|
-
catocli/parsers/mutation_site_updateHa/README.md,sha256=
|
|
56
|
-
catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=
|
|
57
|
-
catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md,sha256=
|
|
58
|
-
catocli/parsers/mutation_site_updateNetworkRange/README.md,sha256=
|
|
59
|
-
catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md,sha256=
|
|
60
|
-
catocli/parsers/mutation_site_updateSocketInterface/README.md,sha256=
|
|
61
|
-
catocli/parsers/mutation_site_updateStaticHost/README.md,sha256=
|
|
46
|
+
catocli/parsers/mutation_site/__init__.py,sha256=hywcTnEZxnzYt0Ur-AAzmiOgb1igBvK7yO8E4A-AwM8,14241
|
|
47
|
+
catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md,sha256=bIsn9qpBrtkd3TtQe_IG_VKEv11GQQJQRJ3VJoGWWOQ,1023
|
|
48
|
+
catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md,sha256=jsiRwda3bVpaIwpqPnrkeTPnDAE7yMSyRwGvcqCOUZA,1231
|
|
49
|
+
catocli/parsers/mutation_site_addNetworkRange/README.md,sha256=n62bHDCNcLI1F3BFncZe0Cww6wHAE37nASdlRWeDqog,1211
|
|
50
|
+
catocli/parsers/mutation_site_addSocketSite/README.md,sha256=aC9M0eEjgxcb4KqNdroB4g3WF8qCI4Y9XFBrvOH7IvY,1099
|
|
51
|
+
catocli/parsers/mutation_site_addStaticHost/README.md,sha256=pTIbik5C7gpgdYmoqVADP3pHaCFKPEmaNkO8vugql94,742
|
|
52
|
+
catocli/parsers/mutation_site_removeNetworkRange/README.md,sha256=pM9JiG3NmuWuYXrTjBH7rETWx0ZQpeCLWBCG1qmyVkg,624
|
|
53
|
+
catocli/parsers/mutation_site_removeSite/README.md,sha256=tCiVDzwM4FCruI0oYoWCJ-vPhMzhfl_8hHVlptr83oE,536
|
|
54
|
+
catocli/parsers/mutation_site_removeStaticHost/README.md,sha256=xvGvYpZqhRHeXufOnxfiUHoTpVhbM8LEViKt57SEcBQ,590
|
|
55
|
+
catocli/parsers/mutation_site_updateHa/README.md,sha256=vkfUYJoe6XnXh14FqNgH1Zfdm1xoFfBFZd7vGULkh40,738
|
|
56
|
+
catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=tdueKNuQIyIlVH9tZgObisULqKis_Vh7s4pVmMVmAdQ,1284
|
|
57
|
+
catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md,sha256=VP0aZ6ekB67661T9eAq3gkdG9ab9elnD6496fj98mQQ,1324
|
|
58
|
+
catocli/parsers/mutation_site_updateNetworkRange/README.md,sha256=IWeRPUYx0UpKjSWVApu_ymOxfqiydrHFS-8vv-F1hOw,1235
|
|
59
|
+
catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md,sha256=C2WAdGBLvKd1XmNSbv7U1JenPn49Rd_-DWy8pseULME,1072
|
|
60
|
+
catocli/parsers/mutation_site_updateSocketInterface/README.md,sha256=HrruwvwcJJvBxUAz5QZ1UAX40A1hhSxdQnaENoq4Hys,2308
|
|
61
|
+
catocli/parsers/mutation_site_updateStaticHost/README.md,sha256=nrxwyeaJE9JD1hshg-eeqagw6QTIFDzEk8vNB-bmKMY,778
|
|
62
62
|
catocli/parsers/mutation_sites/README.md,sha256=0JLG9cOfCCFgUxvhRiAYW7yPfFYL0-I3JDkI2SYqHE4,201
|
|
63
|
-
catocli/parsers/mutation_sites/__init__.py,sha256=
|
|
64
|
-
catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md,sha256=
|
|
65
|
-
catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md,sha256=
|
|
66
|
-
catocli/parsers/mutation_sites_addNetworkRange/README.md,sha256=
|
|
67
|
-
catocli/parsers/mutation_sites_addSocketSite/README.md,sha256=
|
|
68
|
-
catocli/parsers/mutation_sites_addStaticHost/README.md,sha256=
|
|
69
|
-
catocli/parsers/mutation_sites_removeNetworkRange/README.md,sha256=
|
|
70
|
-
catocli/parsers/mutation_sites_removeSite/README.md,sha256=
|
|
71
|
-
catocli/parsers/mutation_sites_removeStaticHost/README.md,sha256=
|
|
72
|
-
catocli/parsers/mutation_sites_updateHa/README.md,sha256=
|
|
73
|
-
catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=
|
|
74
|
-
catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md,sha256=
|
|
75
|
-
catocli/parsers/mutation_sites_updateNetworkRange/README.md,sha256=
|
|
76
|
-
catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md,sha256
|
|
77
|
-
catocli/parsers/mutation_sites_updateSocketInterface/README.md,sha256=
|
|
78
|
-
catocli/parsers/mutation_sites_updateStaticHost/README.md,sha256=
|
|
63
|
+
catocli/parsers/mutation_sites/__init__.py,sha256=XPE9yVUTXziIkK4B2Hy1TbgQvoFedkSbe9NiUEv36nU,14413
|
|
64
|
+
catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md,sha256=KBYS7BN6IRehExgtw9wJCsSe2xp7-cnUe9uAccG8Ijc,1030
|
|
65
|
+
catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md,sha256=1_MKAIUzFBtq_FEmnYVKj_tfRCmli94YmdKRzigVW6k,1238
|
|
66
|
+
catocli/parsers/mutation_sites_addNetworkRange/README.md,sha256=Hg7068K3m6SbmwMgKAMaTeVzWSL8IeqBQOQQ9Pb5EUc,1218
|
|
67
|
+
catocli/parsers/mutation_sites_addSocketSite/README.md,sha256=uXINr0DKJg9NKYzg_CNa71X2-CgRSPLyTR_LHQNwC98,1106
|
|
68
|
+
catocli/parsers/mutation_sites_addStaticHost/README.md,sha256=GT2_m34p7YHGO4MASViOokdXrPIuBVu3SRzwbyJBNE0,749
|
|
69
|
+
catocli/parsers/mutation_sites_removeNetworkRange/README.md,sha256=8uCCEyrhXTufysG5XDrdZbZKQO39-Xww7XP_W7klISo,631
|
|
70
|
+
catocli/parsers/mutation_sites_removeSite/README.md,sha256=c4b2WkF5QARvnJy1TTFJFLulJMJE2hwNPTwcwQ3tVFk,543
|
|
71
|
+
catocli/parsers/mutation_sites_removeStaticHost/README.md,sha256=vhzJAPkLbUIAHCnQC67Z-Dk5nRT78g9bz7CYjysPrk4,597
|
|
72
|
+
catocli/parsers/mutation_sites_updateHa/README.md,sha256=4wIfpGwF6rG6Pne3qpBr5wwjfY-WbXwxz1DQI0BuX8g,745
|
|
73
|
+
catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=00z1wlwFAf2hsKAGxgOgRDzZVMXbmWKbFKWQMC0UUeg,1291
|
|
74
|
+
catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md,sha256=y8y-qtX8qLYv-b9Ag3Pj6lUHofoIasH8zAelLhbSmQ0,1331
|
|
75
|
+
catocli/parsers/mutation_sites_updateNetworkRange/README.md,sha256=XgpB-OK05t_338lIaNKZvEfUXKk9FIpn5QuXeP8Hm0s,1242
|
|
76
|
+
catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md,sha256=-V-MHtlUOnB9zXbcBUuRDv1574sS3Yjnnq9qEYskjvY,1079
|
|
77
|
+
catocli/parsers/mutation_sites_updateSocketInterface/README.md,sha256=4_8cPVAShDOwM0oqceUZmcEJiCE42XZCgqj7EbLrUJM,2315
|
|
78
|
+
catocli/parsers/mutation_sites_updateStaticHost/README.md,sha256=iqoms-9JOHm4wA5QpxpVVBypBp-zbbzgMiw5Uw_iOmw,785
|
|
79
79
|
catocli/parsers/query/README.md,sha256=QX5L_NhJgpCSZy-bQcPRZw2gdJRxMPb6DtrRgVK9f5g,28
|
|
80
|
-
catocli/parsers/query_accountBySubdomain/README.md,sha256=
|
|
81
|
-
catocli/parsers/query_accountBySubdomain/__init__.py,sha256=
|
|
82
|
-
catocli/parsers/query_accountMetrics/README.md,sha256=
|
|
83
|
-
catocli/parsers/query_accountMetrics/__init__.py,sha256=
|
|
84
|
-
catocli/parsers/query_accountRoles/README.md,sha256=
|
|
85
|
-
catocli/parsers/query_accountRoles/__init__.py,sha256=
|
|
86
|
-
catocli/parsers/query_accountSnapshot/README.md,sha256=
|
|
87
|
-
catocli/parsers/query_accountSnapshot/__init__.py,sha256=
|
|
88
|
-
catocli/parsers/query_admin/README.md,sha256=
|
|
89
|
-
catocli/parsers/query_admin/__init__.py,sha256=
|
|
90
|
-
catocli/parsers/query_admins/README.md,sha256=
|
|
91
|
-
catocli/parsers/query_admins/__init__.py,sha256=
|
|
92
|
-
catocli/parsers/query_appStats/README.md,sha256=
|
|
93
|
-
catocli/parsers/query_appStats/__init__.py,sha256=
|
|
94
|
-
catocli/parsers/query_appStatsTimeSeries/README.md,sha256=
|
|
95
|
-
catocli/parsers/query_appStatsTimeSeries/__init__.py,sha256=
|
|
96
|
-
catocli/parsers/query_auditFeed/README.md,sha256=
|
|
97
|
-
catocli/parsers/query_auditFeed/__init__.py,sha256=
|
|
98
|
-
catocli/parsers/query_container/README.md,sha256=
|
|
99
|
-
catocli/parsers/query_container/__init__.py,sha256=
|
|
100
|
-
catocli/parsers/query_entityLookup/README.md,sha256=
|
|
101
|
-
catocli/parsers/query_entityLookup/__init__.py,sha256=
|
|
102
|
-
catocli/parsers/query_events/README.md,sha256=
|
|
103
|
-
catocli/parsers/query_events/__init__.py,sha256=
|
|
104
|
-
catocli/parsers/query_eventsFeed/README.md,sha256=
|
|
105
|
-
catocli/parsers/query_eventsFeed/__init__.py,sha256=
|
|
106
|
-
catocli/parsers/query_eventsTimeSeries/README.md,sha256=
|
|
107
|
-
catocli/parsers/query_eventsTimeSeries/__init__.py,sha256=
|
|
108
|
-
catocli/parsers/query_hardwareManagement/README.md,sha256
|
|
109
|
-
catocli/parsers/query_hardwareManagement/__init__.py,sha256=
|
|
110
|
-
catocli/parsers/query_licensing/README.md,sha256=
|
|
111
|
-
catocli/parsers/query_licensing/__init__.py,sha256=
|
|
112
|
-
catocli/parsers/query_policy/README.md,sha256=
|
|
113
|
-
catocli/parsers/query_policy/__init__.py,sha256=
|
|
114
|
-
catocli/parsers/query_siteLocation/README.md,sha256=
|
|
115
|
-
catocli/parsers/query_siteLocation/__init__.py,sha256=
|
|
116
|
-
catocli/parsers/query_subDomains/README.md,sha256=
|
|
117
|
-
catocli/parsers/query_subDomains/__init__.py,sha256=
|
|
80
|
+
catocli/parsers/query_accountBySubdomain/README.md,sha256=NMlh6Ri8AdEkeXFoc-WOsPtxIM_ja2LrQtaFR_UJChA,595
|
|
81
|
+
catocli/parsers/query_accountBySubdomain/__init__.py,sha256=tdlGT1zby7O0LAwQqiys048Ce5hgYiQXQRoS5h1GwWk,956
|
|
82
|
+
catocli/parsers/query_accountMetrics/README.md,sha256=YnyIm91eZDvMAco3eEY_5Pzzfy3sgSN3llMixpSKsNI,2755
|
|
83
|
+
catocli/parsers/query_accountMetrics/__init__.py,sha256=bib1C1uWkYhl7f-QTGTh-Kdz-xgswNu7hm8hrD_wRjs,908
|
|
84
|
+
catocli/parsers/query_accountRoles/README.md,sha256=NJv_JVEJo3FggVNE8EGMP-AEFubU0DBGw1DLTQIfAa4,584
|
|
85
|
+
catocli/parsers/query_accountRoles/__init__.py,sha256=BZq1KprVQCR42jJrYuBFrb_OfcX3qyr-5iO3X7zUJ5g,884
|
|
86
|
+
catocli/parsers/query_accountSnapshot/README.md,sha256=WlztoL_YA1pTLuxyT7rQg4JQtaDYV80Phg5l7BEZKx8,739
|
|
87
|
+
catocli/parsers/query_accountSnapshot/__init__.py,sha256=OhxaKNoxSXwxlyp9WymHr0Um69T63G8JJfWGiY9xURg,920
|
|
88
|
+
catocli/parsers/query_admin/README.md,sha256=LqnrEnuh9G3gtfBFn6cFwmjVzbEvPVTFOZ5HlZ76fDc,434
|
|
89
|
+
catocli/parsers/query_admin/__init__.py,sha256=rfEnY6Z9YwVXPjuzhINHjSel6TXOiViSdDwmfcaf3Qo,800
|
|
90
|
+
catocli/parsers/query_admins/README.md,sha256=eC5S0weljKUj-gI-ox13BDOPjUSwuAeNymgcYtyPpaY,732
|
|
91
|
+
catocli/parsers/query_admins/__init__.py,sha256=qpWZoQZ-kF8Md0jmrhtf423nZ1ZdSaw7ITEULme0AfQ,812
|
|
92
|
+
catocli/parsers/query_appStats/README.md,sha256=gO7_y6lIUiUY7yTgWnk7B9ht0vI24442Xf7D95-Mclg,1261
|
|
93
|
+
catocli/parsers/query_appStats/__init__.py,sha256=yQ-bZn9jn2350bDD2lDR8zdLLfjhYF45lyIhLu9Z_L4,836
|
|
94
|
+
catocli/parsers/query_appStatsTimeSeries/README.md,sha256=RdM52BhAWWAS_3PlVO_JdICOvOug_jyMQrc3x6M71rQ,1460
|
|
95
|
+
catocli/parsers/query_appStatsTimeSeries/__init__.py,sha256=v8eZ7rHE55Cu4l4d3dfax4_M0orzERYQHGTdY9reSL8,956
|
|
96
|
+
catocli/parsers/query_auditFeed/README.md,sha256=HsNYUJmSICq0JJVzQNEMWtmlYgrNO6gkGrnuGdNK81Q,1225
|
|
97
|
+
catocli/parsers/query_auditFeed/__init__.py,sha256=qS29L3WZQEmc99iR-EgBz354pOc1pm14oBYr1E0AzAc,848
|
|
98
|
+
catocli/parsers/query_container/README.md,sha256=FUjdrvrRQtwddX0n3IFk0CK8qjkTQ5LjQZDepBGY6h0,1848
|
|
99
|
+
catocli/parsers/query_container/__init__.py,sha256=MVYRBTBjPBgFXJ0jYDA6WqJf2YVxAA6CyqSjF6ZgVZc,848
|
|
100
|
+
catocli/parsers/query_entityLookup/README.md,sha256=1_kt_xoAWvV-Dm1Gf6bGCsS1AuO9TmL0NXn4EAnIXB0,2522
|
|
101
|
+
catocli/parsers/query_entityLookup/__init__.py,sha256=dTqrf-OPRTFXbQf3LcLzD_9B1pKmxq28L6GedXOnR-E,884
|
|
102
|
+
catocli/parsers/query_events/README.md,sha256=baVdr_k5M9PBhMuuBA0Xu1vyssLz8LOzaITPpDa-_8E,1255
|
|
103
|
+
catocli/parsers/query_events/__init__.py,sha256=yZZo2H8isPgkIgZ4xpjVcysCyS9aUnc70ImRpqmfn3E,812
|
|
104
|
+
catocli/parsers/query_eventsFeed/README.md,sha256=kaRWERLqayRcD9g8L07TcB4-O4ObRyVzSs52D-c8caM,4766
|
|
105
|
+
catocli/parsers/query_eventsFeed/__init__.py,sha256=C6EBl6X2Cb8h3E5oRWXEVgMYGyuWaNDBe2LGFu-cwVc,860
|
|
106
|
+
catocli/parsers/query_eventsTimeSeries/README.md,sha256=n04FWDOO__LLpYeULGQaRVgNgYs-puGC9tAPoWPeTSs,1463
|
|
107
|
+
catocli/parsers/query_eventsTimeSeries/__init__.py,sha256=GA8NrtZ6XTz93rQdnprQxKUW3gzMeAIvsvPhJ2Y-J04,932
|
|
108
|
+
catocli/parsers/query_hardwareManagement/README.md,sha256=i15wup9mfRgM91CKpcpsK1TmsICoi6Cq_mMtWvtnbQ0,1552
|
|
109
|
+
catocli/parsers/query_hardwareManagement/__init__.py,sha256=m-gAaDWNNQQPGvXLDbavaBcIvKdQ2qwaG4LN8IIfZNs,956
|
|
110
|
+
catocli/parsers/query_licensing/README.md,sha256=Ueh_UDzqdD9gTLjjhV56QQ_fCkgc317PzSWgvy8Rajw,422
|
|
111
|
+
catocli/parsers/query_licensing/__init__.py,sha256=K7eiYVMTIGynwbm2lh5h2DJcfwPgsM8GOqGo-8olGIg,848
|
|
112
|
+
catocli/parsers/query_policy/README.md,sha256=PJeB1odFyWO78RPbj5et1CJCWcgyHkI-9KOvt1ZGNcA,782
|
|
113
|
+
catocli/parsers/query_policy/__init__.py,sha256=ziTmjRZx9axSR44720VWzwyUTViqJJesqxJA2HMkKmw,812
|
|
114
|
+
catocli/parsers/query_siteLocation/README.md,sha256=sdGNZxuvkNIpd2uVh58C6NHFz7F_cSYPyVdu-T0lKo0,1512
|
|
115
|
+
catocli/parsers/query_siteLocation/__init__.py,sha256=A7vONScF3bdbi5_4D8eL0wkqSmBJ46DYIw3hB-qR2Yo,890
|
|
116
|
+
catocli/parsers/query_subDomains/README.md,sha256=mOAcKWJ9xEd8LcGmf5kw2F0t43kJnl6SQDN7TVHpPqE,652
|
|
117
|
+
catocli/parsers/query_subDomains/__init__.py,sha256=ev-DN5_RTpIiqwWuaS108TnZQSK6fZIMBny11Cp6jTQ,860
|
|
118
118
|
catocli/parsers/query_xdr/README.md,sha256=bmaw_sVCQgN-3hiyLtbB4xlsXKxHfy-vbnt1qWFZ4QY,181
|
|
119
|
-
catocli/parsers/query_xdr/__init__.py,sha256=
|
|
120
|
-
catocli/parsers/query_xdr_stories/README.md,sha256=
|
|
121
|
-
catocli/parsers/query_xdr_story/README.md,sha256=
|
|
119
|
+
catocli/parsers/query_xdr/__init__.py,sha256=NENnmSBLZ-8ZXc2Zo0oVvwv_4qWrsXwOrocavMdWLj4,1782
|
|
120
|
+
catocli/parsers/query_xdr_stories/README.md,sha256=c0DxTeBh2YQpteyGjXIeOdshosSWE2jXDzgh2wgEnlY,2444
|
|
121
|
+
catocli/parsers/query_xdr_story/README.md,sha256=r1pm0Gwv5OsRHWQqtq-i1wPeyFJYlL5JKp3I-qztN3s,921
|
|
122
122
|
catocli/parsers/raw/README.md,sha256=BP0BdxHal9vgHwdJRkTjD0984NLIMHHC8U6qSAD0OxM,637
|
|
123
123
|
catocli/parsers/raw/__init__.py,sha256=f1wRd9y_99RB3Npew1UN770Xel0_lhdLvayh5NNzpFw,558
|
|
124
124
|
graphql_client/__init__.py,sha256=2nxD4YsWoOnALXi5cXbmtIN_i0NL_eyDTQRTxs52mkI,315
|
|
@@ -208,7 +208,7 @@ models/query.siteLocation.json,sha256=KxWQN-t26XaAq0dviN2N18mSuF0AWhdbhVxMuHdhUQ
|
|
|
208
208
|
models/query.subDomains.json,sha256=ySJ-gsBzC8EX4WrtJpasLAGkSK7-3e3orhPbIyx_B8s,7041
|
|
209
209
|
models/query.xdr.stories.json,sha256=gyU3qmf2jBwgDrf-555EhMqDyAjKWsljZp_HG37L9Tw,3796370
|
|
210
210
|
models/query.xdr.story.json,sha256=UftyLpKcfJSEqHCNSTn8d2cj2AdM_7BN1Vsatnl6nl4,2806387
|
|
211
|
-
schema/catolib.py,sha256=
|
|
211
|
+
schema/catolib.py,sha256=c86TMq5CS0IFJAm7jGQ8OQ2O-1d3FeONXnlm6jxGlzM,49542
|
|
212
212
|
schema/importSchema.py,sha256=9xg9N0MjgQUiPRczOpk0sTY1Nx9K2F6MRhpUyRTNqZ4,2795
|
|
213
213
|
vendor/.DS_Store,sha256=I9gKQvaXL34OLI_ft7JC7sXQERkXoYOeMLyP6pLL90k,8196
|
|
214
214
|
vendor/six.py,sha256=TOOfQi7nFGfMrIvtdr6wX4wyHH8M7aknmuLfo2cBBrM,34549
|
|
@@ -253,9 +253,9 @@ vendor/urllib3/util/timeout.py,sha256=4eT1FVeZZU7h7mYD1Jq2OXNe4fxekdNvhoWUkZusRp
|
|
|
253
253
|
vendor/urllib3/util/url.py,sha256=wHORhp80RAXyTlAIkTqLFzSrkU7J34ZDxX-tN65MBZk,15213
|
|
254
254
|
vendor/urllib3/util/util.py,sha256=j3lbZK1jPyiwD34T8IgJzdWEZVT-4E-0vYIJi9UjeNA,1146
|
|
255
255
|
vendor/urllib3/util/wait.py,sha256=_ph8IrUR3sqPqi0OopQgJUlH4wzkGeM5CiyA7XGGtmI,4423
|
|
256
|
-
catocli-1.0.
|
|
257
|
-
catocli-1.0.
|
|
258
|
-
catocli-1.0.
|
|
259
|
-
catocli-1.0.
|
|
260
|
-
catocli-1.0.
|
|
261
|
-
catocli-1.0.
|
|
256
|
+
catocli-1.0.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
257
|
+
catocli-1.0.10.dist-info/METADATA,sha256=W5Z7GcQRvD9ZEUyRza6wCqFfMUFzIqoCbb9dP-VAkGE,1085
|
|
258
|
+
catocli-1.0.10.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
259
|
+
catocli-1.0.10.dist-info/entry_points.txt,sha256=p4k9Orre6aWcqVrNmBbckmCs39h-1naMxRo2AjWmWZ4,50
|
|
260
|
+
catocli-1.0.10.dist-info/top_level.txt,sha256=lH9Ok1WoqyeZsgsSyKS0ra5p53MHogpgFl6hJfT-32M,58
|
|
261
|
+
catocli-1.0.10.dist-info/RECORD,,
|
schema/catolib.py
CHANGED
|
@@ -556,6 +556,20 @@ mutation_subparsers = mutation_parser.add_subparsers(description='valid subcomma
|
|
|
556
556
|
def main(args=None):
|
|
557
557
|
args = parser.parse_args(args=args)
|
|
558
558
|
try:
|
|
559
|
+
CATO_ACCOUNT_ID = os.getenv("CATO_ACCOUNT_ID")
|
|
560
|
+
if args.func.__name__!="createRawRequest":
|
|
561
|
+
if CATO_ACCOUNT_ID==None and args.accountID==None:
|
|
562
|
+
print("Missing accountID, please specify an accountID:\\n")
|
|
563
|
+
print('Option 1: Set the CATO_ACCOUNT_ID environment variable with the value of your account ID.')
|
|
564
|
+
print('export CATO_ACCOUNT_ID="12345"\\n')
|
|
565
|
+
print("Option 2: Override the accountID value as a cli argument, example:")
|
|
566
|
+
print('catocli <operationType> <operationName> --accountID=10454 <json>')
|
|
567
|
+
print("catocli query entityLookup --accountID=10454 '{\\\"type\\\":\\\"country\\\"}'\\n")
|
|
568
|
+
exit()
|
|
569
|
+
elif args.accountID!=None:
|
|
570
|
+
configuration.accountID = args.accountID
|
|
571
|
+
else:
|
|
572
|
+
configuration.accountID = CATO_ACCOUNT_ID
|
|
559
573
|
response = args.func(args, configuration)
|
|
560
574
|
|
|
561
575
|
if type(response) == ApiException:
|
|
@@ -596,8 +610,8 @@ def query_siteLocation_parse(query_subparsers):
|
|
|
596
610
|
help='siteLocation local cli query',
|
|
597
611
|
usage=get_help("query_siteLocation"))
|
|
598
612
|
|
|
599
|
-
query_siteLocation_parser.add_argument('accountID', help='The Account ID.')
|
|
600
613
|
query_siteLocation_parser.add_argument('json', help='Variables in JSON format.')
|
|
614
|
+
query_siteLocation_parser.add_argument('-accountID', help='The Account ID.')
|
|
601
615
|
query_siteLocation_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
602
616
|
help='Print test request preview without sending api call')
|
|
603
617
|
query_siteLocation_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -629,8 +643,8 @@ def {parserName}_parse({operationType}_subparsers):
|
|
|
629
643
|
"""
|
|
630
644
|
if "path" in parser:
|
|
631
645
|
cliDriverStr += f"""
|
|
632
|
-
{parserName}_parser.add_argument('accountID', help='The Account ID.')
|
|
633
646
|
{parserName}_parser.add_argument('json', help='Variables in JSON format.')
|
|
647
|
+
{parserName}_parser.add_argument('-accountID', help='The Account ID.')
|
|
634
648
|
{parserName}_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
635
649
|
help='Print test request preview without sending api call')
|
|
636
650
|
{parserName}_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -661,8 +675,8 @@ def renderSubParser(subParser,parentParserPath):
|
|
|
661
675
|
if "path" in subOperation:
|
|
662
676
|
command = parentParserPath.replace("_"," ")+" "+subOperationName
|
|
663
677
|
cliDriverStr += f"""
|
|
664
|
-
{subParserPath}_parser.add_argument('accountID', help='The Account ID.')
|
|
665
678
|
{subParserPath}_parser.add_argument('json', help='Variables in JSON format.')
|
|
679
|
+
{subParserPath}_parser.add_argument('-accountID', help='The Account ID.')
|
|
666
680
|
{subParserPath}_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
667
681
|
help='Print test request preview without sending api call')
|
|
668
682
|
{subParserPath}_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -711,18 +725,18 @@ def writeReadmes(catoApiSchema):
|
|
|
711
725
|
|
|
712
726
|
`catocli query siteLocation <accountID> <json>`
|
|
713
727
|
|
|
714
|
-
`catocli query siteLocation
|
|
728
|
+
`catocli query siteLocation "$(cat < siteLocation.json)"`
|
|
715
729
|
|
|
716
|
-
`catocli query siteLocation
|
|
730
|
+
`catocli query siteLocation '{"filters":[{"search": "Your city here","field":"city","operation":"exact"}]}'`
|
|
717
731
|
|
|
718
|
-
`catocli query siteLocation
|
|
732
|
+
`catocli query siteLocation '{"filters":[{"search": "Your Country here","field":"countryName","operation":"startsWith"}]}'`
|
|
719
733
|
|
|
720
|
-
`catocli query siteLocation
|
|
734
|
+
`catocli query siteLocation '{"filters":[{"search": "Your stateName here","field":"stateName","operation":"endsWith"}]}'`
|
|
721
735
|
|
|
722
|
-
`catocli query siteLocation
|
|
736
|
+
`catocli query siteLocation '{filters:[{"search": "Your City here","field":"city","operation":"startsWith"},{"search": "Your StateName here","field":"stateName","operation":"endsWith"},{"search": "Your Country here","field":"countryName","operation":"contains"}}'`
|
|
723
737
|
|
|
724
738
|
#### Operation Arguments for query.siteLocation ####
|
|
725
|
-
`accountID` [ID] - (
|
|
739
|
+
`accountID` [ID] - (required) Unique Identifier of Account.
|
|
726
740
|
`filters[]` [Array] - (optional) Array of objects consisting of `search`, `field` and `operation` attributes.
|
|
727
741
|
`filters[].search` [String] - (required) String to match countryName, stateName, or city specificed in `filters[].field`.
|
|
728
742
|
`filters[].field` [String] - (required) Specify field to match query against, defaults to look for any. Possible values: `countryName`, `stateName`, or `city`.
|
|
@@ -755,9 +769,9 @@ def writeReadmes(catoApiSchema):
|
|
|
755
769
|
readmeStr += f"""
|
|
756
770
|
`catocli {operationCmd} <accountID> <json>`
|
|
757
771
|
|
|
758
|
-
`catocli {operationCmd}
|
|
772
|
+
`catocli {operationCmd} "$(cat < {operationName}.json)"`
|
|
759
773
|
|
|
760
|
-
`catocli {operationCmd}
|
|
774
|
+
`catocli {operationCmd} '{json.dumps(parser["example"])}'`
|
|
761
775
|
|
|
762
776
|
#### Operation Arguments for {operationPath} ####
|
|
763
777
|
"""
|
|
@@ -796,9 +810,9 @@ def renderSubReadme(subParser,operationType,parentOperationPath):
|
|
|
796
810
|
readmeStr += f"""
|
|
797
811
|
`catocli {subOperationCmd} <accountID> <json>`
|
|
798
812
|
|
|
799
|
-
`catocli {subOperationCmd}
|
|
813
|
+
`catocli {subOperationCmd} "$(cat < {subOperationName}.json)"`
|
|
800
814
|
|
|
801
|
-
`catocli {subOperationCmd}
|
|
815
|
+
`catocli {subOperationCmd} '{json.dumps(subOperation["example"])}'`
|
|
802
816
|
|
|
803
817
|
#### Operation Arguments for {subOperationPath} ####
|
|
804
818
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|