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
@@ -6,6 +6,7 @@ import catocli
6
6
  from graphql_client import Configuration
7
7
  from graphql_client.api_client import ApiException
8
8
  from ..parsers.parserApiClient import get_help
9
+ import traceback
9
10
  import sys
10
11
  sys.path.insert(0, 'vendor')
11
12
  import urllib3
@@ -113,5 +114,13 @@ def main(args=None):
113
114
  else:
114
115
  if response!=None:
115
116
  print(json.dumps(response[0], sort_keys=True, indent=4))
116
- except AttributeError:
117
- print('Missing arguments. Usage: catocli <operation> -h')
117
+ except Exception as e:
118
+ if isinstance(e, AttributeError):
119
+ print('Missing arguments. Usage: catocli <operation> -h')
120
+ if "v" in args and args.v==True:
121
+ print('ERROR: ',e)
122
+ traceback.print_exc()
123
+ else:
124
+ print('ERROR: ',e)
125
+ traceback.print_exc()
126
+ exit(1)
catocli/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "1.0.12"
1
+ __version__ = "1.0.14"
2
2
  __cato_host__ = "https://api.catonetworks.com/api/v1/graphql2"
@@ -14,7 +14,7 @@ def custom_parse(subparsers):
14
14
  help='entity '+entity+' list',
15
15
  usage=get_help_custom("entity_"+entity+"_list"))
16
16
 
17
- item_list_parser.add_argument('accountID', help='The Account ID.')
17
+ item_list_parser.add_argument('-accountID', help='The Account ID.')
18
18
  item_list_parser.add_argument('-s', help='Search string', default='', nargs='?')
19
19
  item_list_parser.add_argument('-f', default="csv", choices=["json","csv"], nargs='?',
20
20
  help='Specify format for output')
@@ -18,7 +18,6 @@ def entityTypeList(args, configuration):
18
18
 
19
19
  instance = CallApi(ApiClient(configuration))
20
20
  operationName = params["operation_name"]
21
- accountID = params.get("accountID") if params.get("accountID") else params.get("accountId")
22
21
  query = '''query entityLookup ( $type:EntityType! $accountID:ID! $search:String ) {
23
22
  entityLookup ( accountID:$accountID type:$type search:$search ) {
24
23
  '''+params["operation_name"]+'''s: items {
@@ -35,7 +34,7 @@ def entityTypeList(args, configuration):
35
34
  "query": query,
36
35
  "operationName": "entityLookup",
37
36
  "variables": {
38
- "accountID": accountID,
37
+ "accountID": configuration.accountID,
39
38
  "type": params["operation_name"],
40
39
  "search": (params.get("s") if params.get("s")!=None else "")
41
40
  }
@@ -52,7 +51,9 @@ def entityTypeList(args, configuration):
52
51
  else:
53
52
  try:
54
53
  response = instance.call_api(body,params)
55
- if params["f"]=="json":
54
+ if params["v"]==True:
55
+ print(json.dumps(response[0]))
56
+ elif params["f"]=="json":
56
57
  if params["p"]==True:
57
58
  print(json.dumps(response[0].get("data").get("entityLookup").get(params["operation_name"]+"s"),indent=2,sort_keys=True).replace("\\n", "\n").replace("\\t", " "))
58
59
  else:
@@ -78,6 +78,20 @@ def mutation_site_parse(mutation_subparsers):
78
78
  help='Pretty print')
79
79
  mutation_site_addStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.site.addStaticHost')
80
80
 
81
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser = mutation_site_subparsers.add_parser('removeIpsecIkeV2SiteTunnels',
82
+ help='removeIpsecIkeV2SiteTunnels() site operation',
83
+ usage=get_help("mutation_site_removeIpsecIkeV2SiteTunnels"))
84
+
85
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.add_argument('json', help='Variables in JSON format.')
86
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
87
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.add_argument('-t', const=True, default=False, nargs='?',
88
+ help='Print test request preview without sending api call')
89
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.add_argument('-v', const=True, default=False, nargs='?',
90
+ help='Verbose output')
91
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.add_argument('-p', const=True, default=False, nargs='?',
92
+ help='Pretty print')
93
+ mutation_site_removeIpsecIkeV2SiteTunnels_parser.set_defaults(func=createRequest,operation_name='mutation.site.removeIpsecIkeV2SiteTunnels')
94
+
81
95
  mutation_site_removeNetworkRange_parser = mutation_site_subparsers.add_parser('removeNetworkRange',
82
96
  help='removeNetworkRange() site operation',
83
97
  usage=get_help("mutation_site_removeNetworkRange"))
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation site addIpsecIkeV2SiteTunnels "$(cat < addIpsecIkeV2SiteTunnels.json)"`
12
12
 
13
- `catocli mutation site addIpsecIkeV2SiteTunnels '{"AddIpsecIkeV2SiteTunnelsInput": {"AddIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}}}}, "siteId": "ID"}'`
13
+ `catocli mutation site addIpsecIkeV2SiteTunnels '{"AddIpsecIkeV2SiteTunnelsInput": {"AddIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}}}}, "siteId": "ID"}'`
14
14
 
15
15
  #### Operation Arguments for mutation.site.addIpsecIkeV2SiteTunnels ####
16
16
  `AddIpsecIkeV2SiteTunnelsInput` [AddIpsecIkeV2SiteTunnelsInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.site.removeIpsecIkeV2SiteTunnels:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-removeIpsecIkeV2SiteTunnels) for documentation on this operation.
4
+
5
+ ### Usage for mutation.site.removeIpsecIkeV2SiteTunnels:
6
+
7
+ `catocli mutation site removeIpsecIkeV2SiteTunnels -h`
8
+
9
+ `catocli mutation site removeIpsecIkeV2SiteTunnels <json>`
10
+
11
+ `catocli mutation site removeIpsecIkeV2SiteTunnels "$(cat < removeIpsecIkeV2SiteTunnels.json)"`
12
+
13
+ `catocli mutation site removeIpsecIkeV2SiteTunnels '{"RemoveIpsecIkeV2SiteTunnelsInput": {"tunnelId": {"tunnelId": "enum(IPSecV2InterfaceId)"}}, "siteId": "ID"}'`
14
+
15
+ #### Operation Arguments for mutation.site.removeIpsecIkeV2SiteTunnels ####
16
+ `RemoveIpsecIkeV2SiteTunnelsInput` [RemoveIpsecIkeV2SiteTunnelsInput] - (required) N/A
17
+ `accountId` [ID] - (required) N/A
18
+ `siteId` [ID] - (required) N/A
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation site updateSiteGeneralDetails "$(cat < updateSiteGeneralDetails.json)"`
12
12
 
13
- `catocli mutation site updateSiteGeneralDetails '{"UpdateSiteGeneralDetailsInput": {"UpdateSiteLocationInput": {"address": {"address": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}}, "siteId": "ID"}'`
13
+ `catocli mutation site updateSiteGeneralDetails '{"UpdateSiteGeneralDetailsInput": {"UpdateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}}, "siteId": "ID"}'`
14
14
 
15
15
  #### Operation Arguments for mutation.site.updateSiteGeneralDetails ####
16
16
  `UpdateSiteGeneralDetailsInput` [UpdateSiteGeneralDetailsInput] - (required) N/A
@@ -78,6 +78,20 @@ def mutation_sites_parse(mutation_subparsers):
78
78
  help='Pretty print')
79
79
  mutation_sites_addStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.sites.addStaticHost')
80
80
 
81
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser = mutation_sites_subparsers.add_parser('removeIpsecIkeV2SiteTunnels',
82
+ help='removeIpsecIkeV2SiteTunnels() sites operation',
83
+ usage=get_help("mutation_sites_removeIpsecIkeV2SiteTunnels"))
84
+
85
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.add_argument('json', help='Variables in JSON format.')
86
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
87
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.add_argument('-t', const=True, default=False, nargs='?',
88
+ help='Print test request preview without sending api call')
89
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.add_argument('-v', const=True, default=False, nargs='?',
90
+ help='Verbose output')
91
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.add_argument('-p', const=True, default=False, nargs='?',
92
+ help='Pretty print')
93
+ mutation_sites_removeIpsecIkeV2SiteTunnels_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeIpsecIkeV2SiteTunnels')
94
+
81
95
  mutation_sites_removeNetworkRange_parser = mutation_sites_subparsers.add_parser('removeNetworkRange',
82
96
  help='removeNetworkRange() sites operation',
83
97
  usage=get_help("mutation_sites_removeNetworkRange"))
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation sites addIpsecIkeV2SiteTunnels "$(cat < addIpsecIkeV2SiteTunnels.json)"`
12
12
 
13
- `catocli mutation sites addIpsecIkeV2SiteTunnels '{"AddIpsecIkeV2SiteTunnelsInput": {"AddIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}}}}, "siteId": "ID"}'`
13
+ `catocli mutation sites addIpsecIkeV2SiteTunnels '{"AddIpsecIkeV2SiteTunnelsInput": {"AddIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}}}}, "siteId": "ID"}'`
14
14
 
15
15
  #### Operation Arguments for mutation.sites.addIpsecIkeV2SiteTunnels ####
16
16
  `AddIpsecIkeV2SiteTunnelsInput` [AddIpsecIkeV2SiteTunnelsInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.sites.removeIpsecIkeV2SiteTunnels:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-removeIpsecIkeV2SiteTunnels) for documentation on this operation.
4
+
5
+ ### Usage for mutation.sites.removeIpsecIkeV2SiteTunnels:
6
+
7
+ `catocli mutation sites removeIpsecIkeV2SiteTunnels -h`
8
+
9
+ `catocli mutation sites removeIpsecIkeV2SiteTunnels <json>`
10
+
11
+ `catocli mutation sites removeIpsecIkeV2SiteTunnels "$(cat < removeIpsecIkeV2SiteTunnels.json)"`
12
+
13
+ `catocli mutation sites removeIpsecIkeV2SiteTunnels '{"RemoveIpsecIkeV2SiteTunnelsInput": {"tunnelId": {"tunnelId": "enum(IPSecV2InterfaceId)"}}, "siteId": "ID"}'`
14
+
15
+ #### Operation Arguments for mutation.sites.removeIpsecIkeV2SiteTunnels ####
16
+ `RemoveIpsecIkeV2SiteTunnelsInput` [RemoveIpsecIkeV2SiteTunnelsInput] - (required) N/A
17
+ `accountId` [ID] - (required) N/A
18
+ `siteId` [ID] - (required) N/A
@@ -10,7 +10,7 @@
10
10
 
11
11
  `catocli mutation sites updateSiteGeneralDetails "$(cat < updateSiteGeneralDetails.json)"`
12
12
 
13
- `catocli mutation sites updateSiteGeneralDetails '{"UpdateSiteGeneralDetailsInput": {"UpdateSiteLocationInput": {"address": {"address": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}}, "siteId": "ID"}'`
13
+ `catocli mutation sites updateSiteGeneralDetails '{"UpdateSiteGeneralDetailsInput": {"UpdateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}}, "siteId": "ID"}'`
14
14
 
15
15
  #### Operation Arguments for mutation.sites.updateSiteGeneralDetails ####
16
16
  `UpdateSiteGeneralDetailsInput` [UpdateSiteGeneralDetailsInput] - (required) N/A
@@ -15,5 +15,5 @@
15
15
  #### Operation Arguments for query.eventsFeed ####
16
16
  `EventFeedFieldFilterInput` [EventFeedFieldFilterInput[]] - (optional) N/A
17
17
  `accountIDs` [ID[]] - (optional) List of Unique Account Identifiers.
18
- `fieldNames` [EventFieldName[]] - (optional) N/A Default Value: ['src_site', 'src_site_id', 'static_host', 'user_id', 'dest_site', 'dest_site_id', 'src_or_dest_site_id', 'rule', 'ISP_name', 'socket_interface', 'custom_category', 'directory_host_name', 'dest_port', 'bgp_peer_asn', 'user_reference_id', 'src_port', 'link_health_pkt_loss', 'pop_name', 'host_ip', 'event_message', 'src_site_name', 'domain_name', 'dest_ip', 'file_hash', 'src_isp_ip', 'authentication_type', 'rule_name', 'directory_sync_result', 'host_mac', 'threat_type', 'threat_verdict', 'device_name', 'link_type', 'login_type', 'configured_host_name', 'internalId', 'directory_sync_type', 'vpn_user_email', 'client_class', 'incident_aggregation', 'socket_reset', 'user_name', 'client_version', 'file_size', 'registration_code', 'bgp_error_code', 'bgp_peer_description', 'threat_name', 'qos_reported_time', 'ip_protocol', 'bgp_cato_asn', 'src_ip', 'threat_reference', 'action', 'windows_domain_name', 'risk_level', 'socket_old_version', 'link_health_latency', 'tunnel_protocol', 'socket_new_version', 'socket_version', 'link_health_jitter', 'upgrade_start_time', 'bgp_cato_ip', 'categories', 'rule_id', 'socket_role', 'targets_cardinality', 'upgrade_initiated_by', 'dest_is_site_or_vpn', 'bgp_peer_ip', 'src_is_site_or_vpn', 'ad_name', 'user_awareness_method', 'link_health_is_congested', 'subnet_name', 'os_version', 'event_sub_type', 'os_type', 'traffic_direction', 'bgp_suberror_code', 'bgp_route_cidr', 'incident_id', 'application', 'application_name', 'application_id', 'upgrade_end_time', 'socket_interface_id', 'custom_categories', 'custom_category_id', 'custom_category_name', 'src_country', 'src_country_code', 'event_count', 'file_name', 'directory_ip', 'time', 'url', 'dest_country', 'dest_country_code', 'flows_cardinality', 'dest_site_name', 'event_type', 'account_id', 'signature_id', 'client_cert_expires', 'client_cert_name', 'is_sanctioned_app', 'app_activity', 'app_activity_type', 'device_posture_profile', 'device_posture_profiles', 'full_path_url', 'application_risk', 'mitre_attack_techniques', 'mitre_attack_subtechniques', 'mitre_attack_tactics', 'indicator', 'connector_type', 'connector_name', 'connector_status', 'parent_connector_name', 'file_type', 'dlp_fail_mode', 'dlp_profiles', 'matched_data_types', 'severity', 'owner', 'collaborators', 'email_subject', 'sharing_scope', 'dns_protection_category', 'final_object_status', 'object_name', 'object_type', 'object_id', 'alert_id', 'vendor', 'vendor_user_id', 'status', 'classification', 'quarantine_folder_path', 'title', 'recommended_actions', 'pid', 'parent_pid', 'process_path', 'failure_reason', 'out_of_band_access', 'logged_in_user', 'http_request_method', 'xff', 'dns_query', 'key_name', 'api_type', 'api_name', 'app_stack', 'tls_rule_name', 'tls_certificate_error', 'tls_version', 'tls_error_type', 'tls_error_description', 'cato_app', 'prompt_action', 'device_id', 'visible_device_id', 'auth_method', 'bypass_method', 'bypass_duration_sec', 'bypass_reason', 'sign_in_event_types', 'tenant_id', 'tenant_name', 'user_agent', 'vendor_event_id', 'vendor_device_id', 'vendor_device_name', 'is_compliant', 'is_managed', 'trust_type', 'confidence_level', 'dlp_scan_types', 'network_access', 'analyst_verdict', 'criticality', 'indication', 'producer', 'story_id', 'raw_data', 'trigger', 'network_rule', 'congestion_algorithm', 'tcp_acceleration', 'tls_inspection', 'public_ip', 'egress_site_name', 'egress_pop_name', 'qos_priority', 'split_tunnel_configuration', 'pac_file', 'always_on_configuration', 'vpn_lan_access', 'connect_on_boot', 'trusted_networks', 'office_mode', 'device_certificate', 'tunnel_ip_protocol', 'notification_description', 'notification_api_error', 'reference_url', 'app_activity_category', 'is_admin_activity', 'is_admin', 'collaborator_name', 'dest_group_id', 'dest_group_name', 'access_method', 'vendor_collaborator_id']
18
+ `fieldNames` [EventFieldName[]] - (optional) N/A Default Value: ['src_site', 'src_site_id', 'static_host', 'user_id', 'dest_site', 'dest_site_id', 'src_or_dest_site_id', 'rule', 'ISP_name', 'socket_interface', 'custom_category', 'directory_host_name', 'dest_port', 'bgp_peer_asn', 'user_reference_id', 'src_port', 'link_health_pkt_loss', 'pop_name', 'host_ip', 'event_message', 'src_site_name', 'domain_name', 'dest_ip', 'file_hash', 'src_isp_ip', 'authentication_type', 'rule_name', 'directory_sync_result', 'host_mac', 'threat_type', 'threat_verdict', 'device_name', 'link_type', 'login_type', 'configured_host_name', 'internalId', 'directory_sync_type', 'vpn_user_email', 'client_class', 'incident_aggregation', 'socket_reset', 'user_name', 'client_version', 'file_size', 'registration_code', 'bgp_error_code', 'bgp_peer_description', 'threat_name', 'qos_reported_time', 'ip_protocol', 'bgp_cato_asn', 'src_ip', 'threat_reference', 'action', 'windows_domain_name', 'risk_level', 'socket_old_version', 'link_health_latency', 'tunnel_protocol', 'socket_new_version', 'socket_version', 'link_health_jitter', 'upgrade_start_time', 'bgp_cato_ip', 'categories', 'rule_id', 'socket_role', 'targets_cardinality', 'upgrade_initiated_by', 'dest_is_site_or_vpn', 'bgp_peer_ip', 'src_is_site_or_vpn', 'ad_name', 'user_awareness_method', 'link_health_is_congested', 'subnet_name', 'os_version', 'event_sub_type', 'os_type', 'traffic_direction', 'bgp_suberror_code', 'bgp_route_cidr', 'incident_id', 'application', 'application_name', 'application_id', 'upgrade_end_time', 'socket_interface_id', 'custom_categories', 'custom_category_id', 'custom_category_name', 'src_country', 'src_country_code', 'event_count', 'file_name', 'directory_ip', 'time', 'url', 'dest_country', 'dest_country_code', 'flows_cardinality', 'dest_site_name', 'event_type', 'account_id', 'signature_id', 'client_cert_expires', 'client_cert_name', 'is_sanctioned_app', 'app_activity', 'app_activity_type', 'device_posture_profile', 'device_posture_profiles', 'full_path_url', 'application_risk', 'mitre_attack_techniques', 'mitre_attack_subtechniques', 'mitre_attack_tactics', 'indicator', 'connector_type', 'connector_name', 'connector_status', 'parent_connector_name', 'file_type', 'dlp_fail_mode', 'dlp_profiles', 'matched_data_types', 'severity', 'owner', 'collaborators', 'email_subject', 'sharing_scope', 'dns_protection_category', 'final_object_status', 'object_name', 'object_type', 'object_id', 'alert_id', 'vendor', 'vendor_user_id', 'status', 'classification', 'quarantine_folder_path', 'title', 'recommended_actions', 'pid', 'parent_pid', 'process_path', 'failure_reason', 'out_of_band_access', 'logged_in_user', 'http_request_method', 'xff', 'dns_query', 'key_name', 'api_type', 'api_name', 'app_stack', 'tls_rule_name', 'tls_certificate_error', 'tls_version', 'tls_error_type', 'tls_error_description', 'cato_app', 'prompt_action', 'device_id', 'visible_device_id', 'auth_method', 'bypass_method', 'bypass_duration_sec', 'bypass_reason', 'sign_in_event_types', 'tenant_id', 'tenant_name', 'user_agent', 'vendor_event_id', 'vendor_device_id', 'vendor_device_name', 'is_compliant', 'is_managed', 'trust_type', 'confidence_level', 'dlp_scan_types', 'network_access', 'analyst_verdict', 'criticality', 'indication', 'producer', 'story_id', 'raw_data', 'trigger', 'network_rule', 'congestion_algorithm', 'tcp_acceleration', 'tls_inspection', 'public_ip', 'egress_site_name', 'egress_pop_name', 'qos_priority', 'split_tunnel_configuration', 'pac_file', 'always_on_configuration', 'vpn_lan_access', 'connect_on_boot', 'trusted_networks', 'office_mode', 'device_certificate', 'tunnel_ip_protocol', 'notification_description', 'notification_api_error', 'reference_url', 'app_activity_category', 'is_admin_activity', 'is_admin', 'collaborator_name', 'dest_group_id', 'dest_group_name', 'access_method', 'vendor_collaborator_id', 'device_categories', 'device_manufacturer', 'device_model', 'device_os_type', 'device_type']
19
19
  `marker` [String] - (optional) Marker to use to get results from
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: catocli
3
- Version: 1.0.12
3
+ Version: 1.0.14
4
4
  Summary: Cato Networks cli wrapper for the GraphQL API.
5
5
  Home-page: https://github.com/Cato-Networks/cato-cli
6
6
  Author: Cato Networks
@@ -1,10 +1,10 @@
1
- catocli/__init__.py,sha256=IV1So9WoMqEbkWwz2Y1kh_709SWsws25FocOdypdhHA,86
1
+ catocli/__init__.py,sha256=p1f_qbynV-FBGzOFC_iZxZ4uRDnP-JN5XTcS4Mt_kpE,86
2
2
  catocli/__main__.py,sha256=6Z0ns_k_kUcz1Qtrn1u7UyUnqB-3e85jM_nppOwFsv4,217
3
- catocli/Utils/clidriver.py,sha256=9VfR58RZTp7c50cXn3I7cOO8hbnPIq4PlOl2H0-E5SM,6189
3
+ catocli/Utils/clidriver.py,sha256=RcKWwgML0DIuopAzNY9vzRjp9xWybQnW-5P8OiC-T3k,6393
4
4
  catocli/parsers/parserApiClient.py,sha256=aXQKw9Y024RGvv3xymsZ9v19AW2ar1IMol7ra2Cents,13364
5
5
  catocli/parsers/custom/README.md,sha256=UvCWAtF3Yh0UsvADb0ve1qJupgYHeyGu6V3Z0O5HEvo,8180
6
- catocli/parsers/custom/__init__.py,sha256=fIEeHogNmCWryXK-sV5N8zRPj52X6QXj6iq7SyDbkfo,2390
7
- catocli/parsers/custom/customLib.py,sha256=hw1Wz_2ZfSO8gWxI-njzGUVz98O07E9o8eW8YZGLDQc,3090
6
+ catocli/parsers/custom/__init__.py,sha256=KYes0LjBPyqGPjKSgwaAiVh-Rb9auwgENV6lXl4E-ng,2391
7
+ catocli/parsers/custom/customLib.py,sha256=G8-GOekHU39PwocNEZFks5wemnJy2sT5S_M0RIgWcW4,3095
8
8
  catocli/parsers/mutation/README.md,sha256=mdOfOY0sOVGnf9q-GVgtGc7mtxFKigD9q0ILJAw8l0I,32
9
9
  catocli/parsers/mutation_admin/README.md,sha256=YzXrmiZf8gPKDd2ii__NztKfYxReu3MBOmswR3BGQHk,201
10
10
  catocli/parsers/mutation_admin/__init__.py,sha256=K3G9eO3BvgiBmCzVGgFLL0y4drSQUMzyH_S8Ac6IIYc,3014
@@ -43,12 +43,13 @@ catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md,sha256=WQ0fLF
43
43
  catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md,sha256=zql277wjgvo6krC-BugkybBj_igcCKPle1CAXk1yYyg,8255
44
44
  catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md,sha256=Ewwl83urE9WIfINguMVz67bSmA8nEiGUuXor4Cpt6N8,958
45
45
  catocli/parsers/mutation_site/README.md,sha256=VGtw4II0zTDPC4PyWohkkH1gcsbPtbNWH6FIUJK48Ew,197
46
- catocli/parsers/mutation_site/__init__.py,sha256=HpOLFwLczzrmIsVEhMw1CZkx4BAccGgSx2ZYOGb_ozA,15006
46
+ catocli/parsers/mutation_site/__init__.py,sha256=sIp_5EahYZdYtzs61XcMu7LHf7axbhgiupIVgO0XC1A,16082
47
47
  catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md,sha256=HQwwpuZR2UMEZnXZMBgtT9L2SGP_dUanwYngq6p7wE0,1011
48
- catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md,sha256=TwW_yGq0_R3jtGjVT5KwZMNID5N-kBjzMtO1orfNiS0,1219
48
+ catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md,sha256=6MfUCWsp_4vqMbosq6ZGOgjsDl2KNwESPf3wToLLWMA,1292
49
49
  catocli/parsers/mutation_site_addNetworkRange/README.md,sha256=6zHT1YspBo2UWtEUSzeQ2hqXu-pL9aJWdDoYh4AQ__E,1199
50
50
  catocli/parsers/mutation_site_addSocketSite/README.md,sha256=gZIMaSqR56cqf5DDBv5ijyLqsL1qmvmrv7_ucQjhl1A,1087
51
51
  catocli/parsers/mutation_site_addStaticHost/README.md,sha256=4C1qr0z_5zp6JIjldfbu8hmp9DkxjYszjf_TE2PQITo,730
52
+ catocli/parsers/mutation_site_removeIpsecIkeV2SiteTunnels/README.md,sha256=c4U_5WwCmrMK-tWT0ib3p6s90iloRUjjZ3txoSM7Y3E,857
52
53
  catocli/parsers/mutation_site_removeNetworkRange/README.md,sha256=NBn8fjWIR05h7b-fmonlsG_Lfbq-2gYyMK7GmIfsrkQ,612
53
54
  catocli/parsers/mutation_site_removeSite/README.md,sha256=bHN6k7gooJS2_L_MIg8ICyw4HMkVYnQB8DHWCFlC9T0,524
54
55
  catocli/parsers/mutation_site_removeStaticHost/README.md,sha256=5MRYANEiwPeyfZNlSGkBGD1Z9UaepCkox6LouHTwDl8,578
@@ -56,16 +57,17 @@ catocli/parsers/mutation_site_updateHa/README.md,sha256=fJo6TZk6I_1yMRfHuCtdCNcN
56
57
  catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=arQUF-rwdnd_dYeKGEa3w6WLVcaaYP3m4cNKSK23DDk,1272
57
58
  catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md,sha256=0Nz8aeKRttEP16USKk9fRXzpERizTYpd3suQ0pQ1dvM,1312
58
59
  catocli/parsers/mutation_site_updateNetworkRange/README.md,sha256=9qFoxDwMshKZmADKaSs7gwzC8CuSRD-6SBT0mgBODzA,1223
59
- catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md,sha256=5Wcm2A7pha9CJqOAd-7VzdIXXAkimI_EFjhpAT-_T8I,1060
60
+ catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md,sha256=_HYm6XMswMyxb0HFW-c9R5txSh1ZUHy-Btl2Sgc5DKk,1096
60
61
  catocli/parsers/mutation_site_updateSocketInterface/README.md,sha256=PvY_7H3WZrCRfzmSagN_8wbiEoyzxUA2loKZkbbqSIc,2296
61
62
  catocli/parsers/mutation_site_updateStaticHost/README.md,sha256=aI7CLgdLDfQSbcPdweV2cC8Zduzp5pKuzKbIxW3dC58,766
62
63
  catocli/parsers/mutation_sites/README.md,sha256=0JLG9cOfCCFgUxvhRiAYW7yPfFYL0-I3JDkI2SYqHE4,201
63
- catocli/parsers/mutation_sites/__init__.py,sha256=I7qTA8UvqxCWbao4ZoyB1QuYYBTFVg_5qOI1CkrzRJQ,15178
64
+ catocli/parsers/mutation_sites/__init__.py,sha256=YWA0B0LJu2myBXPIUiUfS0TUsbG-ssN7YukqXfuDV28,16265
64
65
  catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md,sha256=0j7SY6354WHDRbclhVn3jqD7y7mvh8X-snzZGEsKgtQ,1018
65
- catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md,sha256=hFHa9Xt8BFhc_z9kcQKp7Ml7Qg2g_kR1_WMSeZukuso,1226
66
+ catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md,sha256=QSLCG23koOpzJgw46CSkopj8YoRXAnqk0snEP2lr9dI,1299
66
67
  catocli/parsers/mutation_sites_addNetworkRange/README.md,sha256=HIKW4a_eR1naRXpWpehErb77bdtvQ9-dxn_-tkayOPc,1206
67
68
  catocli/parsers/mutation_sites_addSocketSite/README.md,sha256=Ra-s9T8_o535ZuuSFi4-5k0p4L66iYVSFGpbqTBFWhY,1094
68
69
  catocli/parsers/mutation_sites_addStaticHost/README.md,sha256=Fhv6H9uM5wE00I7loV8IdM6U9n7Od1BfpriAqInAKCo,737
70
+ catocli/parsers/mutation_sites_removeIpsecIkeV2SiteTunnels/README.md,sha256=jszv3nOrBTilY2b7As0DRKSDoUUQbtvtH9No-0G00-I,864
69
71
  catocli/parsers/mutation_sites_removeNetworkRange/README.md,sha256=u6b-Suh6sv6qwp6ndXmwWPLg908iv4NuFOUS4AkNs-Y,619
70
72
  catocli/parsers/mutation_sites_removeSite/README.md,sha256=b4aak4RWXN6HUvwu3x252fuCNTeFdu4n_J93Vh6FzHs,531
71
73
  catocli/parsers/mutation_sites_removeStaticHost/README.md,sha256=TESb7T1qaLtm4zmkdTpC4Zc0DLqTYRBwI9y6ZoDVTMI,585
@@ -73,7 +75,7 @@ catocli/parsers/mutation_sites_updateHa/README.md,sha256=LDwpq8UzyZc68P_nBObFKLb
73
75
  catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md,sha256=Cr3qA88J-cIUPefcoln65rEZLToXlBzXluYo_BFkfHc,1279
74
76
  catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md,sha256=wDwvARYtVsj9JyfI5QNXvuty7EWEm8Q2CdXOIGNZDi0,1319
75
77
  catocli/parsers/mutation_sites_updateNetworkRange/README.md,sha256=aDZ7Fbf4KYfWcnqwl_34Vq6NNeRdkwW57g6YkIygx0M,1230
76
- catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md,sha256=_8xoRhdZiSqiDyA9vmiyTFjPlegFLbY80qq7ghVS16o,1067
78
+ catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md,sha256=4RmjG25v6xwx4WtSGrO_H0msPyjb2S3vewHGUeYaxm4,1103
77
79
  catocli/parsers/mutation_sites_updateSocketInterface/README.md,sha256=stYkmRZCYzyV-9LQEXD9U-KqWrTdn_zykuZVwwwwMxw,2303
78
80
  catocli/parsers/mutation_sites_updateStaticHost/README.md,sha256=pUz8oDPLR0EaEhzg3QT6eqORrU7PEKXMQEn2uYan5Ek,773
79
81
  catocli/parsers/query/README.md,sha256=QX5L_NhJgpCSZy-bQcPRZw2gdJRxMPb6DtrRgVK9f5g,28
@@ -101,7 +103,7 @@ catocli/parsers/query_entityLookup/README.md,sha256=bdPltTcxTBweWs1DyNkmb0hB4Dkw
101
103
  catocli/parsers/query_entityLookup/__init__.py,sha256=pFsCPByvqLkcBHy0nJ3SLA_6EoCfDitve8GDBr4FQQ0,935
102
104
  catocli/parsers/query_events/README.md,sha256=rjnSO2YmTgwjcFd5mTQVjwQiz_iv5Q6cgqyEaOZRKMw,1243
103
105
  catocli/parsers/query_events/__init__.py,sha256=qvsnQ9-4HO2otN4ZLJYY80FNcakdxRzKlI-lnChLReg,863
104
- catocli/parsers/query_eventsFeed/README.md,sha256=H7KG5lAddaaAyzSj4AaSUvUWkFIn4ttvElzSqtm3dAo,4754
106
+ catocli/parsers/query_eventsFeed/README.md,sha256=dusOrJpcMD2muP2W2s-Y6hlloaQNdP9dxMBuDoF8bU0,4847
105
107
  catocli/parsers/query_eventsFeed/__init__.py,sha256=ffXdAeZUOXto_0Rv1Li95ZQ6xErfqZ7KIFG2tIFqrYQ,911
106
108
  catocli/parsers/query_eventsTimeSeries/README.md,sha256=-Jx69xcoO-dgnG_FA0jbuisH-7Xbb3-jNkr46HFf18M,1451
107
109
  catocli/parsers/query_eventsTimeSeries/__init__.py,sha256=ATJVr5EWZ9H7VEFwKnGCIbrnY5G3NT2JzSDPhSzdc3I,983
@@ -123,7 +125,7 @@ catocli/parsers/raw/README.md,sha256=BP0BdxHal9vgHwdJRkTjD0984NLIMHHC8U6qSAD0OxM
123
125
  catocli/parsers/raw/__init__.py,sha256=f1wRd9y_99RB3Npew1UN770Xel0_lhdLvayh5NNzpFw,558
124
126
  graphql_client/__init__.py,sha256=2nxD4YsWoOnALXi5cXbmtIN_i0NL_eyDTQRTxs52mkI,315
125
127
  graphql_client/api_client.py,sha256=2Rc1Zo1xH9Jnk1AO68kLSofTShkZwSVF-WkVtczfIc4,5786
126
- graphql_client/api_client_types.py,sha256=mqOtYlO2daALVI8ESDcquOber4zdurs7alv0w_VxCdM,11428
128
+ graphql_client/api_client_types.py,sha256=EyksBLag6jVq50Lq0HZuAT9Y3wGlvuGYwwGPipGM-y4,11492
127
129
  graphql_client/configuration.py,sha256=F-WDXVjbVqeZt5bsF9D38duJmU24MlSzTQEw0kIQXHQ,7648
128
130
  graphql_client/api/__init__.py,sha256=UjpnW5LhQScrcYDQhCfk5YkA4pGpEx0JT_G0gUI23Rg,88
129
131
  graphql_client/api/call_api.py,sha256=_eeNW8_B9mcHcNwMPEsIqPURAl5jUWbTDH_Lss9nnNo,2404
@@ -158,10 +160,11 @@ models/mutation.policy.wanFirewall.updatePolicy.json,sha256=py6Qz03KPwEBjBBJwoIY
158
160
  models/mutation.policy.wanFirewall.updateRule.json,sha256=k5skKYQwMc2KIbw2xVId_kKttJ16uAhDHcI4gGoynII,3867361
159
161
  models/mutation.policy.wanFirewall.updateSection.json,sha256=IsK31GpUMaeGCqsduEBvR1hktMyj0aRtb_j-Tb-l3ZY,76782
160
162
  models/mutation.site.addIpsecIkeV2Site.json,sha256=lFNIwznBqP0iDLkTqXxvYky42oexsM1a0BSXW6JVGWI,56972
161
- models/mutation.site.addIpsecIkeV2SiteTunnels.json,sha256=xNGOS7oPyeegbbI9L4-4bDKaBCIwiE0nF8SDXLSm35Q,193859
163
+ models/mutation.site.addIpsecIkeV2SiteTunnels.json,sha256=CKRVec-JmyuDaL9_RCj7x2fINHWSItMBkNyGJvyUBRA,230939
162
164
  models/mutation.site.addNetworkRange.json,sha256=1K3y7Wu2QwHqJDrtZU4hdZJZ8Yhc4Jlzp_7Jf_LaoHY,76790
163
165
  models/mutation.site.addSocketSite.json,sha256=KXpWBh1FrYXAwueAECURQWFULVwL-FyYoLqq5IUbbsQ,73778
164
166
  models/mutation.site.addStaticHost.json,sha256=SzsjGRprQda36lHbgVM4sDAlVGp6EEZ47kxy1Cwq4AQ,20757
167
+ models/mutation.site.removeIpsecIkeV2SiteTunnels.json,sha256=ik3xK5r1VuTMDVFs_9tzb1XlEWP-wAWdJ_V2OrUGZBs,54905
165
168
  models/mutation.site.removeNetworkRange.json,sha256=Liqn6cq5CUlCxZt8eLz5Cb5BLrXxyGDreg4rS_tSyQE,7520
166
169
  models/mutation.site.removeSite.json,sha256=bdW-Fvl56FZEt7HRcxghOMmzIJZPSGddDipyWX1On18,7048
167
170
  models/mutation.site.removeStaticHost.json,sha256=VnefRGTkd9nei93cpzZkejnkKiFVI7HAaCycWMuHr1Y,7204
@@ -169,14 +172,15 @@ models/mutation.site.updateHa.json,sha256=OojCWwakYyZkJNexDUqYoeiwgb47T5zlHDVC1r
169
172
  models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json,sha256=vWXF_drsw4UVFVAStaA5pJCT-NCVnF1-4YqnHjQPD_0,199107
170
173
  models/mutation.site.updateIpsecIkeV2SiteTunnels.json,sha256=n5zmltoPQugvAaSaGQMYUQlg7fSMuGCNoZ81Gv1lQqI,233024
171
174
  models/mutation.site.updateNetworkRange.json,sha256=Dqm_y-nCPMNdyhqnWm1-nMH5mOdb6Hfu1RYbHIra4ts,76532
172
- models/mutation.site.updateSiteGeneralDetails.json,sha256=NRhrOH6BzolVoCSMOk5Hy1c5PTva7HTwgxMrlCbdYdU,50763
175
+ models/mutation.site.updateSiteGeneralDetails.json,sha256=bDW36IjT3ZRA4_saemeePdPMGkOUAOF3bL1n7HUO9FM,54912
173
176
  models/mutation.site.updateSocketInterface.json,sha256=GCtr7Zp542yXMARR1NT2NYfCrW6z4KQnXeQXD9ZiY3c,215173
174
177
  models/mutation.site.updateStaticHost.json,sha256=nrJbooNWAaZYedKv-FAphzXQXXZmLgpW8Mk_y5Py3hI,20637
175
178
  models/mutation.sites.addIpsecIkeV2Site.json,sha256=MiCdZamYZjaj3IN-5wd5gE4YBdxy_GRGLJwj6b2_WPo,56960
176
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json,sha256=gL7gd30UJynyG2b-yL8fA4H-pjA5werjFLUsNakEf60,193847
179
+ models/mutation.sites.addIpsecIkeV2SiteTunnels.json,sha256=glxmB_EFsmd8ldeqMzM72OgQYGBM5-xmWBHlsojkc_w,230927
177
180
  models/mutation.sites.addNetworkRange.json,sha256=QBBMjWiJ8gJe1xsUECy9MVoLDYDTPYceo9x-4R0pgN8,76778
178
181
  models/mutation.sites.addSocketSite.json,sha256=vxg4s1L3mPp7033JVB84fKrVe-AwydNNLqx-9-rWgfM,73766
179
182
  models/mutation.sites.addStaticHost.json,sha256=l5nySwEpyXhAufnNZdNG-dcLQkwFyS2k5l8T4DnAq9o,20745
183
+ models/mutation.sites.removeIpsecIkeV2SiteTunnels.json,sha256=fjAfyaDPF_Usz1chIYkaBxXji1X87TWcFyj1gc7BR6w,54893
180
184
  models/mutation.sites.removeNetworkRange.json,sha256=ejBr8CwbxXxH2I7Sdn-UAsaZg14zHpTYBNwrb8N7_2Q,7508
181
185
  models/mutation.sites.removeSite.json,sha256=0biFJfP2CG_v8l21-m2zchsy5zaeM7ZJ8thfwBKHzTQ,7036
182
186
  models/mutation.sites.removeStaticHost.json,sha256=OzXyCjgpY_e03Yt47VAzJt9QHnYg8T5_8Bmsfweiw4E,7192
@@ -184,33 +188,32 @@ models/mutation.sites.updateHa.json,sha256=jfWW04xOQylcgeFZ1cpqoo7Q8kzm_pjomK78t
184
188
  models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json,sha256=RSlOSj6uynfp6XmxW44yfpqVL_rgN7oGwRrb3O2dre4,199095
185
189
  models/mutation.sites.updateIpsecIkeV2SiteTunnels.json,sha256=t4ob-5ysLx51FFytddMCLSrAQ3Czara0mg6g7CvyqsU,233012
186
190
  models/mutation.sites.updateNetworkRange.json,sha256=4EaECaxgFYxrzGcbjMutKoYbOEcqyt7C09BAayaYyvA,76520
187
- models/mutation.sites.updateSiteGeneralDetails.json,sha256=74hao7HN514rxxGPVL9Nh42_djIp07RkqEW43ysQxpM,50751
191
+ models/mutation.sites.updateSiteGeneralDetails.json,sha256=rjHCIW5N_V3oX9HngjAir8x9-Ba5ZdSGe5XYZ00pNqE,54900
188
192
  models/mutation.sites.updateSocketInterface.json,sha256=Yyh2Yvk2zdWJWt_0NVqXl2exVhy_5r1xK8NchiNBGRw,215161
189
193
  models/mutation.sites.updateStaticHost.json,sha256=mpZiqA4YqlQJrFWxMUHbNp3Q4A47X0SpABg-nPLI0lk,20625
190
194
  models/query.accountBySubdomain.json,sha256=cHJzmuhcjTiDNciAvp3Zs_ICGh2TPNFv_rM1lxkStGw,5660
191
- models/query.accountMetrics.json,sha256=SBTN_rhHT2WKSZxVLoTo5TPMzNZ_4z-MpeNQ7YKY5QQ,901823
195
+ models/query.accountMetrics.json,sha256=uhrsaJ_8P6Jdv4mf2afpb97AV1s6JHA9U8_6zDTOr1o,907837
192
196
  models/query.accountRoles.json,sha256=dovSrXc2YB2SOLR5HsZEQfNGW0hvT0l11b-tzpAZdls,12668
193
- models/query.accountSnapshot.json,sha256=iK61LUt5REyDTPK2bJh5XBWNcGVGDVDza33hHjA6bnQ,612113
197
+ models/query.accountSnapshot.json,sha256=emrjVpr0jNn7Vp8XcpNUx8BaoqEsjtw1GSAxp2eSiyA,629264
194
198
  models/query.admin.json,sha256=tJ6ljsDDH9zSR91RBRioSio498qFP5qbnugLnFoR8Fg,70639
195
199
  models/query.admins.json,sha256=EppvUVgN14CKGl9dpYFSwKcnslsC3uqzJ55UAb-B3_Y,134988
196
200
  models/query.appStats.json,sha256=1LhlmAc4UqUdBYopXj6NDibHdFMbPQgd0OtvLRYP1Q4,175479
197
201
  models/query.appStatsTimeSeries.json,sha256=iA78Byy9K7vwhGhZ-7wGjTWmsS9Tx0oWIJ4npX4v9nQ,163173
198
- models/query.auditFeed.json,sha256=C0zaXQhgvqvGPiGDLCTKmeMeHgPx7z2WXb6FbtwsZnk,385500
202
+ models/query.auditFeed.json,sha256=RNtbl2NzIB4DWYURbgOa1cIysL2TlUc6jmqfqOHif74,390162
199
203
  models/query.container.json,sha256=BV0yzrDsUZ_yiOjbiObe0y2w4kGGyYWOBqu9AdS-Wvo,280227
200
204
  models/query.entityLookup.json,sha256=nX-OpJbtNQDW-iEaG6VsVT5FRVBMZeD-0xiawVrMIBE,99998
201
- models/query.events.json,sha256=A4w-DHSE46qFHS82zAC7jQCQDjpRH3d8KJzKG0MZpsc,748333
202
- models/query.eventsFeed.json,sha256=TPTDvXlmdhe8vQEHzqFzV9lrfSDOJZUoIZjM6PZs_6o,203042
203
- models/query.eventsTimeSeries.json,sha256=xPRxEFrihLInm4gTgIyLYu5ZVIjjCqJwzWyFzfBPU1g,592878
205
+ models/query.events.json,sha256=b-qchrbc_Sy8eGdQPUv9R8lCzXay9oMLe0lZbWlHeAM,763141
206
+ models/query.eventsFeed.json,sha256=wk5AZNQZG_6Vcy6CsEJlIQBLQqc4pnCI6Yb-tZtugAI,206744
207
+ models/query.eventsTimeSeries.json,sha256=wJ8_ejbeBf9z5YlqiR90g_pA67ybYPWXPLqJqnKRnX0,603984
204
208
  models/query.hardwareManagement.json,sha256=pfw1gbG8DKLaJuF1MebQgBcVfwfjxts_FyAq1H9IPbI,226360
205
- models/query.licensing.json,sha256=2I3WrAW8KLd-6aMicS1OreG9-EwQj3E-SA7mV05dSJ0,922969
209
+ models/query.licensing.json,sha256=mdz2mJGCvcqHJqKivMHIYvi_E_OQFO2K3iXN1XPOKkg,935038
206
210
  models/query.policy.json,sha256=QppQ7vyFmIJo1M4qbLOh9Iv6niRyJ1QSOqYm1LtBSIA,2091578
207
211
  models/query.siteLocation.json,sha256=KxWQN-t26XaAq0dviN2N18mSuF0AWhdbhVxMuHdhUQc,37114709
208
212
  models/query.subDomains.json,sha256=ySJ-gsBzC8EX4WrtJpasLAGkSK7-3e3orhPbIyx_B8s,7041
209
213
  models/query.xdr.stories.json,sha256=gyU3qmf2jBwgDrf-555EhMqDyAjKWsljZp_HG37L9Tw,3796370
210
214
  models/query.xdr.story.json,sha256=UftyLpKcfJSEqHCNSTn8d2cj2AdM_7BN1Vsatnl6nl4,2806387
211
- schema/catolib.py,sha256=MqkhYf4oQlnKCI1URSJ6fZSxU7stQPMI1CIeGJ8w8cI,49657
215
+ schema/catolib.py,sha256=KVN2SYFKVW1igWS2dqh0TECWXF5EX4AeaAea625Zre0,49845
212
216
  schema/importSchema.py,sha256=9xg9N0MjgQUiPRczOpk0sTY1Nx9K2F6MRhpUyRTNqZ4,2795
213
- vendor/.DS_Store,sha256=I9gKQvaXL34OLI_ft7JC7sXQERkXoYOeMLyP6pLL90k,8196
214
217
  vendor/six.py,sha256=TOOfQi7nFGfMrIvtdr6wX4wyHH8M7aknmuLfo2cBBrM,34549
215
218
  vendor/certifi/__init__.py,sha256=p_GYZrjUwPBUhpLlCZoGb0miKBKSqDAyZC5DvIuqbHQ,94
216
219
  vendor/certifi/__main__.py,sha256=xBBoj905TUWBLRGANOcf7oi6e-3dMP4cEoG9OyMs11g,243
@@ -253,9 +256,9 @@ vendor/urllib3/util/timeout.py,sha256=4eT1FVeZZU7h7mYD1Jq2OXNe4fxekdNvhoWUkZusRp
253
256
  vendor/urllib3/util/url.py,sha256=wHORhp80RAXyTlAIkTqLFzSrkU7J34ZDxX-tN65MBZk,15213
254
257
  vendor/urllib3/util/util.py,sha256=j3lbZK1jPyiwD34T8IgJzdWEZVT-4E-0vYIJi9UjeNA,1146
255
258
  vendor/urllib3/util/wait.py,sha256=_ph8IrUR3sqPqi0OopQgJUlH4wzkGeM5CiyA7XGGtmI,4423
256
- catocli-1.0.12.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
257
- catocli-1.0.12.dist-info/METADATA,sha256=Sz9zKF_00JwvP0onIVuX_L8jr1nS6uVZ7Dz6Fcm1JAs,1085
258
- catocli-1.0.12.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
259
- catocli-1.0.12.dist-info/entry_points.txt,sha256=p4k9Orre6aWcqVrNmBbckmCs39h-1naMxRo2AjWmWZ4,50
260
- catocli-1.0.12.dist-info/top_level.txt,sha256=lH9Ok1WoqyeZsgsSyKS0ra5p53MHogpgFl6hJfT-32M,58
261
- catocli-1.0.12.dist-info/RECORD,,
259
+ catocli-1.0.14.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
260
+ catocli-1.0.14.dist-info/METADATA,sha256=5cLm-vIS1mLiB_oyr0iUZHuWQeTD-GWTkGYlTR_U2jU,1085
261
+ catocli-1.0.14.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
262
+ catocli-1.0.14.dist-info/entry_points.txt,sha256=p4k9Orre6aWcqVrNmBbckmCs39h-1naMxRo2AjWmWZ4,50
263
+ catocli-1.0.14.dist-info/top_level.txt,sha256=lH9Ok1WoqyeZsgsSyKS0ra5p53MHogpgFl6hJfT-32M,58
264
+ catocli-1.0.14.dist-info/RECORD,,
@@ -103,6 +103,10 @@ class ApiClient(object):
103
103
  else:
104
104
  return_data = None
105
105
 
106
+ if "errors" in return_data:
107
+ print(return_data)
108
+ exit(1)
109
+
106
110
  if _return_http_data_only:
107
111
  return (return_data)
108
112
  else: