catocli 1.0.12__py3-none-any.whl → 1.0.14__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 (35) hide show
  1. catocli/Utils/clidriver.py +11 -2
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/__init__.py +1 -1
  4. catocli/parsers/custom/customLib.py +4 -3
  5. catocli/parsers/mutation_site/__init__.py +14 -0
  6. catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +1 -1
  7. catocli/parsers/mutation_site_removeIpsecIkeV2SiteTunnels/README.md +18 -0
  8. catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +1 -1
  9. catocli/parsers/mutation_sites/__init__.py +14 -0
  10. catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +1 -1
  11. catocli/parsers/mutation_sites_removeIpsecIkeV2SiteTunnels/README.md +18 -0
  12. catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +1 -1
  13. catocli/parsers/query_eventsFeed/README.md +1 -1
  14. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/METADATA +1 -1
  15. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/RECORD +34 -31
  16. graphql_client/api_client_types.py +4 -0
  17. models/mutation.site.addIpsecIkeV2SiteTunnels.json +403 -0
  18. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +861 -0
  19. models/mutation.site.updateSiteGeneralDetails.json +57 -0
  20. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +403 -0
  21. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +861 -0
  22. models/mutation.sites.updateSiteGeneralDetails.json +57 -0
  23. models/query.accountMetrics.json +80 -0
  24. models/query.accountSnapshot.json +202 -2
  25. models/query.auditFeed.json +60 -0
  26. models/query.events.json +240 -0
  27. models/query.eventsFeed.json +60 -0
  28. models/query.eventsTimeSeries.json +180 -0
  29. models/query.licensing.json +126 -0
  30. schema/catolib.py +11 -2
  31. vendor/.DS_Store +0 -0
  32. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/LICENSE +0 -0
  33. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/WHEEL +0 -0
  34. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/entry_points.txt +0 -0
  35. {catocli-1.0.12.dist-info → catocli-1.0.14.dist-info}/top_level.txt +0 -0
@@ -534,6 +534,12 @@
534
534
  "isDeprecated": false,
535
535
  "name": "CATO_MDR"
536
536
  },
537
+ {
538
+ "deprecationReason": null,
539
+ "description": "Cato Managed XDR service SKU",
540
+ "isDeprecated": false,
541
+ "name": "CATO_MANAGED_XDR"
542
+ },
537
543
  {
538
544
  "deprecationReason": null,
539
545
  "description": "Cato NOCaaS service SKU",
@@ -952,6 +958,12 @@
952
958
  "isDeprecated": false,
953
959
  "name": "CATO_MDR"
954
960
  },
961
+ {
962
+ "deprecationReason": null,
963
+ "description": "Cato Managed XDR service SKU",
964
+ "isDeprecated": false,
965
+ "name": "CATO_MANAGED_XDR"
966
+ },
955
967
  {
956
968
  "deprecationReason": null,
957
969
  "description": "Cato NOCaaS service SKU",
@@ -1443,6 +1455,12 @@
1443
1455
  "isDeprecated": false,
1444
1456
  "name": "CATO_MDR"
1445
1457
  },
1458
+ {
1459
+ "deprecationReason": null,
1460
+ "description": "Cato Managed XDR service SKU",
1461
+ "isDeprecated": false,
1462
+ "name": "CATO_MANAGED_XDR"
1463
+ },
1446
1464
  {
1447
1465
  "deprecationReason": null,
1448
1466
  "description": "Cato NOCaaS service SKU",
@@ -1884,6 +1902,12 @@
1884
1902
  "isDeprecated": false,
1885
1903
  "name": "CATO_MDR"
1886
1904
  },
1905
+ {
1906
+ "deprecationReason": null,
1907
+ "description": "Cato Managed XDR service SKU",
1908
+ "isDeprecated": false,
1909
+ "name": "CATO_MANAGED_XDR"
1910
+ },
1887
1911
  {
1888
1912
  "deprecationReason": null,
1889
1913
  "description": "Cato NOCaaS service SKU",
@@ -2325,6 +2349,12 @@
2325
2349
  "isDeprecated": false,
2326
2350
  "name": "CATO_MDR"
2327
2351
  },
2352
+ {
2353
+ "deprecationReason": null,
2354
+ "description": "Cato Managed XDR service SKU",
2355
+ "isDeprecated": false,
2356
+ "name": "CATO_MANAGED_XDR"
2357
+ },
2328
2358
  {
2329
2359
  "deprecationReason": null,
2330
2360
  "description": "Cato NOCaaS service SKU",
@@ -2766,6 +2796,12 @@
2766
2796
  "isDeprecated": false,
2767
2797
  "name": "CATO_MDR"
2768
2798
  },
2799
+ {
2800
+ "deprecationReason": null,
2801
+ "description": "Cato Managed XDR service SKU",
2802
+ "isDeprecated": false,
2803
+ "name": "CATO_MANAGED_XDR"
2804
+ },
2769
2805
  {
2770
2806
  "deprecationReason": null,
2771
2807
  "description": "Cato NOCaaS service SKU",
@@ -3186,6 +3222,12 @@
3186
3222
  "isDeprecated": false,
3187
3223
  "name": "CATO_MDR"
3188
3224
  },
3225
+ {
3226
+ "deprecationReason": null,
3227
+ "description": "Cato Managed XDR service SKU",
3228
+ "isDeprecated": false,
3229
+ "name": "CATO_MANAGED_XDR"
3230
+ },
3189
3231
  {
3190
3232
  "deprecationReason": null,
3191
3233
  "description": "Cato NOCaaS service SKU",
@@ -3627,6 +3669,12 @@
3627
3669
  "isDeprecated": false,
3628
3670
  "name": "CATO_MDR"
3629
3671
  },
3672
+ {
3673
+ "deprecationReason": null,
3674
+ "description": "Cato Managed XDR service SKU",
3675
+ "isDeprecated": false,
3676
+ "name": "CATO_MANAGED_XDR"
3677
+ },
3630
3678
  {
3631
3679
  "deprecationReason": null,
3632
3680
  "description": "Cato NOCaaS service SKU",
@@ -4068,6 +4116,12 @@
4068
4116
  "isDeprecated": false,
4069
4117
  "name": "CATO_MDR"
4070
4118
  },
4119
+ {
4120
+ "deprecationReason": null,
4121
+ "description": "Cato Managed XDR service SKU",
4122
+ "isDeprecated": false,
4123
+ "name": "CATO_MANAGED_XDR"
4124
+ },
4071
4125
  {
4072
4126
  "deprecationReason": null,
4073
4127
  "description": "Cato NOCaaS service SKU",
@@ -4488,6 +4542,12 @@
4488
4542
  "isDeprecated": false,
4489
4543
  "name": "CATO_MDR"
4490
4544
  },
4545
+ {
4546
+ "deprecationReason": null,
4547
+ "description": "Cato Managed XDR service SKU",
4548
+ "isDeprecated": false,
4549
+ "name": "CATO_MANAGED_XDR"
4550
+ },
4491
4551
  {
4492
4552
  "deprecationReason": null,
4493
4553
  "description": "Cato NOCaaS service SKU",
@@ -4908,6 +4968,12 @@
4908
4968
  "isDeprecated": false,
4909
4969
  "name": "CATO_MDR"
4910
4970
  },
4971
+ {
4972
+ "deprecationReason": null,
4973
+ "description": "Cato Managed XDR service SKU",
4974
+ "isDeprecated": false,
4975
+ "name": "CATO_MANAGED_XDR"
4976
+ },
4911
4977
  {
4912
4978
  "deprecationReason": null,
4913
4979
  "description": "Cato NOCaaS service SKU",
@@ -5328,6 +5394,12 @@
5328
5394
  "isDeprecated": false,
5329
5395
  "name": "CATO_MDR"
5330
5396
  },
5397
+ {
5398
+ "deprecationReason": null,
5399
+ "description": "Cato Managed XDR service SKU",
5400
+ "isDeprecated": false,
5401
+ "name": "CATO_MANAGED_XDR"
5402
+ },
5331
5403
  {
5332
5404
  "deprecationReason": null,
5333
5405
  "description": "Cato NOCaaS service SKU",
@@ -5748,6 +5820,12 @@
5748
5820
  "isDeprecated": false,
5749
5821
  "name": "CATO_MDR"
5750
5822
  },
5823
+ {
5824
+ "deprecationReason": null,
5825
+ "description": "Cato Managed XDR service SKU",
5826
+ "isDeprecated": false,
5827
+ "name": "CATO_MANAGED_XDR"
5828
+ },
5751
5829
  {
5752
5830
  "deprecationReason": null,
5753
5831
  "description": "Cato NOCaaS service SKU",
@@ -6609,6 +6687,12 @@
6609
6687
  "isDeprecated": false,
6610
6688
  "name": "CATO_MDR"
6611
6689
  },
6690
+ {
6691
+ "deprecationReason": null,
6692
+ "description": "Cato Managed XDR service SKU",
6693
+ "isDeprecated": false,
6694
+ "name": "CATO_MANAGED_XDR"
6695
+ },
6612
6696
  {
6613
6697
  "deprecationReason": null,
6614
6698
  "description": "Cato NOCaaS service SKU",
@@ -7050,6 +7134,12 @@
7050
7134
  "isDeprecated": false,
7051
7135
  "name": "CATO_MDR"
7052
7136
  },
7137
+ {
7138
+ "deprecationReason": null,
7139
+ "description": "Cato Managed XDR service SKU",
7140
+ "isDeprecated": false,
7141
+ "name": "CATO_MANAGED_XDR"
7142
+ },
7053
7143
  {
7054
7144
  "deprecationReason": null,
7055
7145
  "description": "Cato NOCaaS service SKU",
@@ -7491,6 +7581,12 @@
7491
7581
  "isDeprecated": false,
7492
7582
  "name": "CATO_MDR"
7493
7583
  },
7584
+ {
7585
+ "deprecationReason": null,
7586
+ "description": "Cato Managed XDR service SKU",
7587
+ "isDeprecated": false,
7588
+ "name": "CATO_MANAGED_XDR"
7589
+ },
7494
7590
  {
7495
7591
  "deprecationReason": null,
7496
7592
  "description": "Cato NOCaaS service SKU",
@@ -7911,6 +8007,12 @@
7911
8007
  "isDeprecated": false,
7912
8008
  "name": "CATO_MDR"
7913
8009
  },
8010
+ {
8011
+ "deprecationReason": null,
8012
+ "description": "Cato Managed XDR service SKU",
8013
+ "isDeprecated": false,
8014
+ "name": "CATO_MANAGED_XDR"
8015
+ },
7914
8016
  {
7915
8017
  "deprecationReason": null,
7916
8018
  "description": "Cato NOCaaS service SKU",
@@ -8626,6 +8728,12 @@
8626
8728
  "isDeprecated": false,
8627
8729
  "name": "CATO_MDR"
8628
8730
  },
8731
+ {
8732
+ "deprecationReason": null,
8733
+ "description": "Cato Managed XDR service SKU",
8734
+ "isDeprecated": false,
8735
+ "name": "CATO_MANAGED_XDR"
8736
+ },
8629
8737
  {
8630
8738
  "deprecationReason": null,
8631
8739
  "description": "Cato NOCaaS service SKU",
@@ -9067,6 +9175,12 @@
9067
9175
  "isDeprecated": false,
9068
9176
  "name": "CATO_MDR"
9069
9177
  },
9178
+ {
9179
+ "deprecationReason": null,
9180
+ "description": "Cato Managed XDR service SKU",
9181
+ "isDeprecated": false,
9182
+ "name": "CATO_MANAGED_XDR"
9183
+ },
9070
9184
  {
9071
9185
  "deprecationReason": null,
9072
9186
  "description": "Cato NOCaaS service SKU",
@@ -9487,6 +9601,12 @@
9487
9601
  "isDeprecated": false,
9488
9602
  "name": "CATO_MDR"
9489
9603
  },
9604
+ {
9605
+ "deprecationReason": null,
9606
+ "description": "Cato Managed XDR service SKU",
9607
+ "isDeprecated": false,
9608
+ "name": "CATO_MANAGED_XDR"
9609
+ },
9490
9610
  {
9491
9611
  "deprecationReason": null,
9492
9612
  "description": "Cato NOCaaS service SKU",
@@ -9928,6 +10048,12 @@
9928
10048
  "isDeprecated": false,
9929
10049
  "name": "CATO_MDR"
9930
10050
  },
10051
+ {
10052
+ "deprecationReason": null,
10053
+ "description": "Cato Managed XDR service SKU",
10054
+ "isDeprecated": false,
10055
+ "name": "CATO_MANAGED_XDR"
10056
+ },
9931
10057
  {
9932
10058
  "deprecationReason": null,
9933
10059
  "description": "Cato NOCaaS service SKU",
schema/catolib.py CHANGED
@@ -511,6 +511,7 @@ import catocli
511
511
  from graphql_client import Configuration
512
512
  from graphql_client.api_client import ApiException
513
513
  from ..parsers.parserApiClient import get_help
514
+ import traceback
514
515
  import sys
515
516
  sys.path.insert(0, 'vendor')
516
517
  import urllib3
@@ -578,8 +579,16 @@ def main(args=None):
578
579
  else:
579
580
  if response!=None:
580
581
  print(json.dumps(response[0], sort_keys=True, indent=4))
581
- except AttributeError:
582
- print('Missing arguments. Usage: catocli <operation> -h')
582
+ except Exception as e:
583
+ if isinstance(e, AttributeError):
584
+ print('Missing arguments. Usage: catocli <operation> -h')
585
+ if args.v==True:
586
+ print('ERROR: ',e)
587
+ traceback.print_exc()
588
+ else:
589
+ print('ERROR: ',e)
590
+ traceback.print_exc()
591
+ exit(1)
583
592
  """
584
593
  writeFile("../catocli/Utils/clidriver.py",cliDriverStr)
585
594
 
vendor/.DS_Store DELETED
Binary file