catocli 3.0.25__py3-none-any.whl → 3.0.26__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 (25) hide show
  1. catocli/Utils/clidriver.py +8 -8
  2. catocli/__init__.py +1 -1
  3. catocli/clisettings.json +2 -1
  4. catocli/parsers/query_container/__init__.py +118 -10
  5. catocli/parsers/query_container_fqdn_downloadFile/README.md +27 -0
  6. catocli/parsers/query_container_fqdn_search/README.md +29 -0
  7. catocli/parsers/query_container_fqdn_searchFqdn/README.md +26 -0
  8. catocli/parsers/query_container_ipAddressRange_downloadFile/README.md +27 -0
  9. catocli/parsers/query_container_ipAddressRange_search/README.md +29 -0
  10. catocli/parsers/query_container_ipAddressRange_searchIpAddressRange/README.md +29 -0
  11. catocli/parsers/query_container_list/README.md +30 -0
  12. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/METADATA +1 -1
  13. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/RECORD +24 -11
  14. models/query.container.fqdn.downloadFile.json +519 -0
  15. models/query.container.fqdn.search.json +790 -0
  16. models/query.container.fqdn.searchFqdn.json +567 -0
  17. models/query.container.ipAddressRange.downloadFile.json +519 -0
  18. models/query.container.ipAddressRange.search.json +790 -0
  19. models/query.container.ipAddressRange.searchIpAddressRange.json +720 -0
  20. models/query.container.list.json +1316 -0
  21. catocli/parsers/query_container/README.md +0 -65
  22. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/WHEEL +0 -0
  23. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/entry_points.txt +0 -0
  24. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/licenses/LICENSE +0 -0
  25. {catocli-3.0.25.dist-info → catocli-3.0.26.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,6 @@ from ..parsers.query_hardwareManagement import query_hardwareManagement_parse
29
29
  from ..parsers.query_events import query_events_parse
30
30
  from ..parsers.query_eventsTimeSeries import query_eventsTimeSeries_parse
31
31
  from ..parsers.query_auditFeed import query_auditFeed_parse
32
- from ..parsers.query_container import query_container_parse
33
32
  from ..parsers.query_admins import query_admins_parse
34
33
  from ..parsers.query_entityLookup import query_entityLookup_parse
35
34
  from ..parsers.query_accountRoles import query_accountRoles_parse
@@ -48,15 +47,16 @@ from ..parsers.query_enterpriseDirectory import query_enterpriseDirectory_parse
48
47
  from ..parsers.query_devices import query_devices_parse
49
48
  from ..parsers.query_accountSnapshot import query_accountSnapshot_parse
50
49
  from ..parsers.query_catalogs import query_catalogs_parse
51
- from ..parsers.query_xdr import query_xdr_parse
52
50
  from ..parsers.query_site import query_site_parse
51
+ from ..parsers.query_xdr import query_xdr_parse
53
52
  from ..parsers.query_policy import query_policy_parse
53
+ from ..parsers.query_container import query_container_parse
54
54
  from ..parsers.query_groups import query_groups_parse
55
55
  from ..parsers.mutation_xdr import mutation_xdr_parse
56
- from ..parsers.mutation_site import mutation_site_parse
57
- from ..parsers.mutation_policy import mutation_policy_parse
58
56
  from ..parsers.mutation_sites import mutation_sites_parse
59
57
  from ..parsers.mutation_container import mutation_container_parse
58
+ from ..parsers.mutation_site import mutation_site_parse
59
+ from ..parsers.mutation_policy import mutation_policy_parse
60
60
  from ..parsers.mutation_admin import mutation_admin_parse
61
61
  from ..parsers.mutation_accountManagement import mutation_accountManagement_parse
62
62
  from ..parsers.mutation_sandbox import mutation_sandbox_parse
@@ -164,7 +164,6 @@ query_hardwareManagement_parser = query_hardwareManagement_parse(query_subparser
164
164
  query_events_parser = query_events_parse(query_subparsers)
165
165
  query_eventsTimeSeries_parser = query_eventsTimeSeries_parse(query_subparsers)
166
166
  query_auditFeed_parser = query_auditFeed_parse(query_subparsers)
167
- query_container_parser = query_container_parse(query_subparsers)
168
167
  query_admins_parser = query_admins_parse(query_subparsers)
169
168
  query_entityLookup_parser = query_entityLookup_parse(query_subparsers)
170
169
  query_accountRoles_parser = query_accountRoles_parse(query_subparsers)
@@ -183,15 +182,16 @@ query_enterpriseDirectory_parser = query_enterpriseDirectory_parse(query_subpars
183
182
  query_devices_parser = query_devices_parse(query_subparsers)
184
183
  query_accountSnapshot_parser = query_accountSnapshot_parse(query_subparsers)
185
184
  query_catalogs_parser = query_catalogs_parse(query_subparsers)
186
- query_xdr_parser = query_xdr_parse(query_subparsers)
187
185
  query_site_parser = query_site_parse(query_subparsers)
186
+ query_xdr_parser = query_xdr_parse(query_subparsers)
188
187
  query_policy_parser = query_policy_parse(query_subparsers)
188
+ query_container_parser = query_container_parse(query_subparsers)
189
189
  query_groups_parser = query_groups_parse(query_subparsers)
190
190
  mutation_xdr_parser = mutation_xdr_parse(mutation_subparsers)
191
- mutation_site_parser = mutation_site_parse(mutation_subparsers)
192
- mutation_policy_parser = mutation_policy_parse(mutation_subparsers)
193
191
  mutation_sites_parser = mutation_sites_parse(mutation_subparsers)
194
192
  mutation_container_parser = mutation_container_parse(mutation_subparsers)
193
+ mutation_site_parser = mutation_site_parse(mutation_subparsers)
194
+ mutation_policy_parser = mutation_policy_parse(mutation_subparsers)
195
195
  mutation_admin_parser = mutation_admin_parse(mutation_subparsers)
196
196
  mutation_accountManagement_parser = mutation_accountManagement_parse(mutation_subparsers)
197
197
  mutation_sandbox_parser = mutation_sandbox_parse(mutation_subparsers)
catocli/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "3.0.25"
1
+ __version__ = "3.0.26"
2
2
  __cato_host__ = "https://api.catonetworks.com/api/v1/graphql2"
catocli/clisettings.json CHANGED
@@ -16,7 +16,8 @@
16
16
  "policy": true,
17
17
  "groups": true,
18
18
  "newGroups": true,
19
- "site": true
19
+ "site": true,
20
+ "container": true
20
21
  },
21
22
  "childOperationObjects": {
22
23
  "ipAddressRange": true,
@@ -7,13 +7,121 @@ def query_container_parse(query_subparsers):
7
7
  help='container() query operation',
8
8
  usage=get_help("query_container"), formatter_class=CustomSubparserHelpFormatter)
9
9
 
10
- query_container_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
11
- query_container_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
12
- query_container_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
13
- query_container_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
14
- query_container_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
15
- query_container_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
16
- query_container_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
17
- query_container_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
18
- query_container_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
19
- query_container_parser.set_defaults(func=createRequest,operation_name='query.container')
10
+ query_container_subparsers = query_container_parser.add_subparsers()
11
+
12
+ query_container_list_parser = query_container_subparsers.add_parser('list',
13
+ help='list() container operation',
14
+ usage=get_help("query_container_list"))
15
+
16
+ query_container_list_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
17
+ query_container_list_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
18
+ query_container_list_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
19
+ query_container_list_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
20
+ query_container_list_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
21
+ query_container_list_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
22
+ query_container_list_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
23
+ query_container_list_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
24
+ query_container_list_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
25
+ query_container_list_parser.set_defaults(func=createRequest,operation_name='query.container.list')
26
+
27
+ query_container_ipAddressRange_parser = query_container_subparsers.add_parser('ipAddressRange',
28
+ help='ipAddressRange() container operation',
29
+ usage=get_help("query_container_ipAddressRange"))
30
+
31
+ query_container_ipAddressRange_subparsers = query_container_ipAddressRange_parser.add_subparsers()
32
+
33
+ query_container_ipAddressRange_search_parser = query_container_ipAddressRange_subparsers.add_parser('search',
34
+ help='search() ipAddressRange operation',
35
+ usage=get_help("query_container_ipAddressRange_search"))
36
+
37
+ query_container_ipAddressRange_search_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
38
+ query_container_ipAddressRange_search_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
39
+ query_container_ipAddressRange_search_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
40
+ query_container_ipAddressRange_search_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
41
+ query_container_ipAddressRange_search_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
42
+ query_container_ipAddressRange_search_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
43
+ query_container_ipAddressRange_search_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
44
+ query_container_ipAddressRange_search_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
45
+ query_container_ipAddressRange_search_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
46
+ query_container_ipAddressRange_search_parser.set_defaults(func=createRequest,operation_name='query.container.ipAddressRange.search')
47
+
48
+ query_container_ipAddressRange_searchIpAddressRange_parser = query_container_ipAddressRange_subparsers.add_parser('searchIpAddressRange',
49
+ help='searchIpAddressRange() ipAddressRange operation',
50
+ usage=get_help("query_container_ipAddressRange_searchIpAddressRange"))
51
+
52
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
53
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
54
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
55
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
56
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
57
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
58
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
59
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
60
+ query_container_ipAddressRange_searchIpAddressRange_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
61
+ query_container_ipAddressRange_searchIpAddressRange_parser.set_defaults(func=createRequest,operation_name='query.container.ipAddressRange.searchIpAddressRange')
62
+
63
+ query_container_ipAddressRange_downloadFile_parser = query_container_ipAddressRange_subparsers.add_parser('downloadFile',
64
+ help='downloadFile() ipAddressRange operation',
65
+ usage=get_help("query_container_ipAddressRange_downloadFile"))
66
+
67
+ query_container_ipAddressRange_downloadFile_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
68
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
69
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
70
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
71
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
72
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
73
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
74
+ query_container_ipAddressRange_downloadFile_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
75
+ query_container_ipAddressRange_downloadFile_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
76
+ query_container_ipAddressRange_downloadFile_parser.set_defaults(func=createRequest,operation_name='query.container.ipAddressRange.downloadFile')
77
+
78
+ query_container_fqdn_parser = query_container_subparsers.add_parser('fqdn',
79
+ help='fqdn() container operation',
80
+ usage=get_help("query_container_fqdn"))
81
+
82
+ query_container_fqdn_subparsers = query_container_fqdn_parser.add_subparsers()
83
+
84
+ query_container_fqdn_search_parser = query_container_fqdn_subparsers.add_parser('search',
85
+ help='search() fqdn operation',
86
+ usage=get_help("query_container_fqdn_search"))
87
+
88
+ query_container_fqdn_search_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
89
+ query_container_fqdn_search_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
90
+ query_container_fqdn_search_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
91
+ query_container_fqdn_search_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
92
+ query_container_fqdn_search_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
93
+ query_container_fqdn_search_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
94
+ query_container_fqdn_search_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
95
+ query_container_fqdn_search_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
96
+ query_container_fqdn_search_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
97
+ query_container_fqdn_search_parser.set_defaults(func=createRequest,operation_name='query.container.fqdn.search')
98
+
99
+ query_container_fqdn_searchFqdn_parser = query_container_fqdn_subparsers.add_parser('searchFqdn',
100
+ help='searchFqdn() fqdn operation',
101
+ usage=get_help("query_container_fqdn_searchFqdn"))
102
+
103
+ query_container_fqdn_searchFqdn_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
104
+ query_container_fqdn_searchFqdn_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
105
+ query_container_fqdn_searchFqdn_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
106
+ query_container_fqdn_searchFqdn_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
107
+ query_container_fqdn_searchFqdn_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
108
+ query_container_fqdn_searchFqdn_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
109
+ query_container_fqdn_searchFqdn_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
110
+ query_container_fqdn_searchFqdn_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
111
+ query_container_fqdn_searchFqdn_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
112
+ query_container_fqdn_searchFqdn_parser.set_defaults(func=createRequest,operation_name='query.container.fqdn.searchFqdn')
113
+
114
+ query_container_fqdn_downloadFile_parser = query_container_fqdn_subparsers.add_parser('downloadFile',
115
+ help='downloadFile() fqdn operation',
116
+ usage=get_help("query_container_fqdn_downloadFile"))
117
+
118
+ query_container_fqdn_downloadFile_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
119
+ query_container_fqdn_downloadFile_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
120
+ query_container_fqdn_downloadFile_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
121
+ query_container_fqdn_downloadFile_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
122
+ query_container_fqdn_downloadFile_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
123
+ query_container_fqdn_downloadFile_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
124
+ query_container_fqdn_downloadFile_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
125
+ query_container_fqdn_downloadFile_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
126
+ query_container_fqdn_downloadFile_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
127
+ query_container_fqdn_downloadFile_parser.set_defaults(func=createRequest,operation_name='query.container.fqdn.downloadFile')
@@ -0,0 +1,27 @@
1
+
2
+ ## CATO-CLI - query.container.fqdn.downloadFile:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.fqdn.downloadFile) for documentation on this operation.
4
+
5
+ ### Usage for query.container.fqdn.downloadFile:
6
+
7
+ ```bash
8
+ catocli query container fqdn downloadFile -h
9
+
10
+ catocli query container fqdn downloadFile <json>
11
+
12
+ catocli query container fqdn downloadFile "$(cat < query.container.fqdn.downloadFile.json)"
13
+
14
+ catocli query container fqdn downloadFile '{"downloadFqdnContainerFileInput":{"by":"ID","input":"string"}}'
15
+
16
+ catocli query container fqdn downloadFile '{
17
+ "downloadFqdnContainerFileInput": {
18
+ "by": "ID",
19
+ "input": "string"
20
+ }
21
+ }'
22
+ ```
23
+
24
+ #### Operation Arguments for query.container.fqdn.downloadFile ####
25
+
26
+ `accountId` [ID] - (required) N/A
27
+ `downloadFqdnContainerFileInput` [DownloadFqdnContainerFileInput] - (required) N/A
@@ -0,0 +1,29 @@
1
+
2
+ ## CATO-CLI - query.container.fqdn.search:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.fqdn.search) for documentation on this operation.
4
+
5
+ ### Usage for query.container.fqdn.search:
6
+
7
+ ```bash
8
+ catocli query container fqdn search -h
9
+
10
+ catocli query container fqdn search <json>
11
+
12
+ catocli query container fqdn search "$(cat < query.container.fqdn.search.json)"
13
+
14
+ catocli query container fqdn search '{"fqdnContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}}}'
15
+
16
+ catocli query container fqdn search '{
17
+ "fqdnContainerSearchInput": {
18
+ "containerRefInput": {
19
+ "by": "ID",
20
+ "input": "string"
21
+ }
22
+ }
23
+ }'
24
+ ```
25
+
26
+ #### Operation Arguments for query.container.fqdn.search ####
27
+
28
+ `accountId` [ID] - (required) N/A
29
+ `fqdnContainerSearchInput` [FqdnContainerSearchInput] - (required) N/A
@@ -0,0 +1,26 @@
1
+
2
+ ## CATO-CLI - query.container.fqdn.searchFqdn:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.fqdn.searchFqdn) for documentation on this operation.
4
+
5
+ ### Usage for query.container.fqdn.searchFqdn:
6
+
7
+ ```bash
8
+ catocli query container fqdn searchFqdn -h
9
+
10
+ catocli query container fqdn searchFqdn <json>
11
+
12
+ catocli query container fqdn searchFqdn "$(cat < query.container.fqdn.searchFqdn.json)"
13
+
14
+ catocli query container fqdn searchFqdn '{"fqdnContainerSearchFqdnInput":{"fqdn":"example_value"}}'
15
+
16
+ catocli query container fqdn searchFqdn '{
17
+ "fqdnContainerSearchFqdnInput": {
18
+ "fqdn": "example_value"
19
+ }
20
+ }'
21
+ ```
22
+
23
+ #### Operation Arguments for query.container.fqdn.searchFqdn ####
24
+
25
+ `accountId` [ID] - (required) N/A
26
+ `fqdnContainerSearchFqdnInput` [FqdnContainerSearchFqdnInput] - (required) N/A
@@ -0,0 +1,27 @@
1
+
2
+ ## CATO-CLI - query.container.ipAddressRange.downloadFile:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.ipAddressRange.downloadFile) for documentation on this operation.
4
+
5
+ ### Usage for query.container.ipAddressRange.downloadFile:
6
+
7
+ ```bash
8
+ catocli query container ipAddressRange downloadFile -h
9
+
10
+ catocli query container ipAddressRange downloadFile <json>
11
+
12
+ catocli query container ipAddressRange downloadFile "$(cat < query.container.ipAddressRange.downloadFile.json)"
13
+
14
+ catocli query container ipAddressRange downloadFile '{"downloadIpAddressRangeContainerFileInput":{"by":"ID","input":"string"}}'
15
+
16
+ catocli query container ipAddressRange downloadFile '{
17
+ "downloadIpAddressRangeContainerFileInput": {
18
+ "by": "ID",
19
+ "input": "string"
20
+ }
21
+ }'
22
+ ```
23
+
24
+ #### Operation Arguments for query.container.ipAddressRange.downloadFile ####
25
+
26
+ `accountId` [ID] - (required) N/A
27
+ `downloadIpAddressRangeContainerFileInput` [DownloadIpAddressRangeContainerFileInput] - (required) N/A
@@ -0,0 +1,29 @@
1
+
2
+ ## CATO-CLI - query.container.ipAddressRange.search:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.ipAddressRange.search) for documentation on this operation.
4
+
5
+ ### Usage for query.container.ipAddressRange.search:
6
+
7
+ ```bash
8
+ catocli query container ipAddressRange search -h
9
+
10
+ catocli query container ipAddressRange search <json>
11
+
12
+ catocli query container ipAddressRange search "$(cat < query.container.ipAddressRange.search.json)"
13
+
14
+ catocli query container ipAddressRange search '{"ipAddressRangeContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}}}'
15
+
16
+ catocli query container ipAddressRange search '{
17
+ "ipAddressRangeContainerSearchInput": {
18
+ "containerRefInput": {
19
+ "by": "ID",
20
+ "input": "string"
21
+ }
22
+ }
23
+ }'
24
+ ```
25
+
26
+ #### Operation Arguments for query.container.ipAddressRange.search ####
27
+
28
+ `accountId` [ID] - (required) N/A
29
+ `ipAddressRangeContainerSearchInput` [IpAddressRangeContainerSearchInput] - (required) N/A
@@ -0,0 +1,29 @@
1
+
2
+ ## CATO-CLI - query.container.ipAddressRange.searchIpAddressRange:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.ipAddressRange.searchIpAddressRange) for documentation on this operation.
4
+
5
+ ### Usage for query.container.ipAddressRange.searchIpAddressRange:
6
+
7
+ ```bash
8
+ catocli query container ipAddressRange searchIpAddressRange -h
9
+
10
+ catocli query container ipAddressRange searchIpAddressRange <json>
11
+
12
+ catocli query container ipAddressRange searchIpAddressRange "$(cat < query.container.ipAddressRange.searchIpAddressRange.json)"
13
+
14
+ catocli query container ipAddressRange searchIpAddressRange '{"ipAddressRangeContainerSearchIpAddressRangeInput":{"ipAddressRangeInput":{"from":"example_value","to":"example_value"}}}'
15
+
16
+ catocli query container ipAddressRange searchIpAddressRange '{
17
+ "ipAddressRangeContainerSearchIpAddressRangeInput": {
18
+ "ipAddressRangeInput": {
19
+ "from": "example_value",
20
+ "to": "example_value"
21
+ }
22
+ }
23
+ }'
24
+ ```
25
+
26
+ #### Operation Arguments for query.container.ipAddressRange.searchIpAddressRange ####
27
+
28
+ `accountId` [ID] - (required) N/A
29
+ `ipAddressRangeContainerSearchIpAddressRangeInput` [IpAddressRangeContainerSearchIpAddressRangeInput] - (required) N/A
@@ -0,0 +1,30 @@
1
+
2
+ ## CATO-CLI - query.container.list:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container.list) for documentation on this operation.
4
+
5
+ ### Usage for query.container.list:
6
+
7
+ ```bash
8
+ catocli query container list -h
9
+
10
+ catocli query container list <json>
11
+
12
+ catocli query container list "$(cat < query.container.list.json)"
13
+
14
+ catocli query container list '{"containerSearchInput":{"containerRefInput":{"by":"ID","input":"string"},"types":"IP_RANGE"}}'
15
+
16
+ catocli query container list '{
17
+ "containerSearchInput": {
18
+ "containerRefInput": {
19
+ "by": "ID",
20
+ "input": "string"
21
+ },
22
+ "types": "IP_RANGE"
23
+ }
24
+ }'
25
+ ```
26
+
27
+ #### Operation Arguments for query.container.list ####
28
+
29
+ `accountId` [ID] - (required) N/A
30
+ `containerSearchInput` [ContainerSearchInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: catocli
3
- Version: 3.0.25
3
+ Version: 3.0.26
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,7 +1,7 @@
1
- catocli/__init__.py,sha256=0wvFYvTePpirKBGnOgqD-5fHFA6qPdygt0w4XlSJqj4,85
1
+ catocli/__init__.py,sha256=O506O9fy06XO-2t0xHtPY_zmA2VkWake43Fn-VlZ95g,85
2
2
  catocli/__main__.py,sha256=6Z0ns_k_kUcz1Qtrn1u7UyUnqB-3e85jM_nppOwFsv4,217
3
- catocli/clisettings.json,sha256=qlLUDYEpKMvCHAy4eDX2MxE6lQuVCxQbKhIS6S7kGK4,2035
4
- catocli/Utils/clidriver.py,sha256=uMav9yFdP0-6T2Q1Ef2RymGGz6lKUTsiLFDkf6IpJVs,16750
3
+ catocli/clisettings.json,sha256=Mkzs0o969-l1-bbp5SgHecJsQp3I-IP3w5EpnP6nMgg,2062
4
+ catocli/Utils/clidriver.py,sha256=YomaMG3eSh6mWBqopuGjBjcXrgJ1Ra0l-YLbu8WTb_w,16750
5
5
  catocli/Utils/cliutils.py,sha256=TTrAGlJjy9P07rLPGev9Qjx4w0g0KnWYBYcfNY1VIa8,6875
6
6
  catocli/Utils/formatter_account_metrics.py,sha256=1SL-lx-6JzWBzuF5Fk8cFtMbKAF3eSEzcag1j3vKy_Q,24775
7
7
  catocli/Utils/formatter_app_stats.py,sha256=iM3JkVvHywaCPErdtVpOSiTuwQab1EUhY6D3QG610tc,6487
@@ -328,8 +328,14 @@ catocli/parsers/query_auditFeed/README.md,sha256=1l1s0Ehj5In5arf4lpVeVWJxFaxCkBw
328
328
  catocli/parsers/query_auditFeed/__init__.py,sha256=Q0FulK3O5l-aaG5WDuCotecSsyTwBtl89d2U7j80vX0,1859
329
329
  catocli/parsers/query_catalogs/README.md,sha256=GrgxxyPLun7NavY_mviEo67UoVU29YB6xclY6u4eAGE,6536
330
330
  catocli/parsers/query_catalogs/__init__.py,sha256=JoFq-2kRjrhDP-HlDHSlDg7ZM259RfYZeXcZjkvCzIQ,1843
331
- catocli/parsers/query_container/README.md,sha256=-ggWu9f_JOISeXtk_olRc4QXXdnyc0ZVOEePcjanVXw,2561
332
- catocli/parsers/query_container/__init__.py,sha256=exno3OR0xj4dpZdY2XIj9FGuqRYeuyJghKUaDM96Qz8,1859
331
+ catocli/parsers/query_container/__init__.py,sha256=WPrfhS1Gu7pyFlL-HYMkxTapswFTYzXk7B_LcW9HPns,14498
332
+ catocli/parsers/query_container_fqdn_downloadFile/README.md,sha256=lWomGozBtvCJGBKAC7qgd8TxdegqOZtk0RLkwSxHAGY,881
333
+ catocli/parsers/query_container_fqdn_search/README.md,sha256=tAOXRirXaa5VdyVS0Ash5VOaBffLc-fbZJ49_lpJ6fQ,868
334
+ catocli/parsers/query_container_fqdn_searchFqdn/README.md,sha256=vPSHLR6kHUID7XJ5UIbyU5D_4DteTXYjjIN70ixVCCY,835
335
+ catocli/parsers/query_container_ipAddressRange_downloadFile/README.md,sha256=x8OZzd88AYKXOLYaPnq-aAUr6I1brmwvtaVtUBurKLw,1021
336
+ catocli/parsers/query_container_ipAddressRange_search/README.md,sha256=74TFgzRaGB0SL0xiDIPI9Dl5U0pvkEoY5FeFxdbawe4,1008
337
+ catocli/parsers/query_container_ipAddressRange_searchIpAddressRange/README.md,sha256=g68FTLofmuLHwSAEFlboYRkb_sPVGK738EvxE1CIziM,1242
338
+ catocli/parsers/query_container_list/README.md,sha256=rGQXOrx9x4JJZXQD-fuaV9cqAX0b-se5VvOpRY7Nyv4,830
333
339
  catocli/parsers/query_devices/README.md,sha256=576w79UgvUvNrs89nIBEv0S_NZrMX5OsirmBU2j7FW4,26868
334
340
  catocli/parsers/query_devices/__init__.py,sha256=Xp0lW9jy36lAsDhJ5Zz8TX9xWBPLirihEI4ouQOESVs,1827
335
341
  catocli/parsers/query_enterpriseDirectory/README.md,sha256=QjFwBb7lL_1WuyIaL-Sv5x28nmUPw9VK6S405Zn3S7Y,3322
@@ -414,7 +420,7 @@ catocli/templates/scim_users.csv,sha256=Fb_C9W2cXf1swnKSNXanWabny87TKcbwxpor5ze3
414
420
  catocli/templates/scim_users.json,sha256=VRBc2rDRMiIcA6navhnqdnuvLmouKd9ZE7ZrzGb7kfI,582
415
421
  catocli/templates/socket_sites.csv,sha256=S5qY7whbydinMwomoAlDghoiFO_xqUKRwNG1xvzl8BI,1212
416
422
  catocli/templates/socket_sites.json,sha256=X3NShci5-q3TpVSsaj62u4jFCvQAhxQ7knC-Lui_gOg,19535
417
- catocli-3.0.25.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
423
+ catocli-3.0.26.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
418
424
  graphql_client/__init__.py,sha256=2nxD4YsWoOnALXi5cXbmtIN_i0NL_eyDTQRTxs52mkI,315
419
425
  graphql_client/api_client.py,sha256=2Rc1Zo1xH9Jnk1AO68kLSofTShkZwSVF-WkVtczfIc4,5786
420
426
  graphql_client/api_client_types.py,sha256=y1oy1qsg8TM_FPxb8m53ED7tBU29WDhtQqzgg247_kI,11754
@@ -671,7 +677,14 @@ models/query.appStats.json,sha256=JzeyfOEJB3FZxPHNTm8STSSnc-wJN4Qd3tC71cM6vkg,30
671
677
  models/query.appStatsTimeSeries.json,sha256=XVvNaz1MkCPquXDktNGdCRK4ym5FC7dPI1W2PI4fBEk,204577
672
678
  models/query.auditFeed.json,sha256=DuV5aHE2faXKiKKNLGVWH633Ay6BFCTR2n-dExjScVY,211741
673
679
  models/query.catalogs.json,sha256=4mnNe33CMY4ITRNNfDTF3RH9Pq3hm3E4N5cG3xZKXg4,788553
680
+ models/query.container.fqdn.downloadFile.json,sha256=0sWwSzJGbVJxatFugdLHJ2Yp4MU8RbdKQ6gG8TXpk9Q,27712
681
+ models/query.container.fqdn.search.json,sha256=pRwp39XH9vvcPriQ38OV5_H5Cfwrhod8NnNwN-7zN0Y,54890
682
+ models/query.container.fqdn.searchFqdn.json,sha256=lLIDW_6PguPBl5kVc5UT9uCMe6nDLKUbpCoXh_abWbE,37463
683
+ models/query.container.ipAddressRange.downloadFile.json,sha256=cFGKJx33IUZ0WlZLs2qQfD7uESr2gx6RmaA8Jgh5JvY,28252
684
+ models/query.container.ipAddressRange.search.json,sha256=6py0JTPFg-O7u7oFv04l0Boui7Vkw4ftWlTb5La-WvI,55650
685
+ models/query.container.ipAddressRange.searchIpAddressRange.json,sha256=AopySxsJ-KhtAHlBc66Y1x24AGR_Ml4wjVxsudY6v8c,50823
674
686
  models/query.container.json,sha256=rdhueKT9DUPKW86-r696BJuExigCLpoT4LTAB1mxpts,278138
687
+ models/query.container.list.json,sha256=NMsl9G0lTMnD4mv2HZzMPi3DQ8-gzW9B6t1N_pu8iSg,92842
675
688
  models/query.devices.json,sha256=bqL-FC7vvNXg_Nsnro0Fqa0tZP_TPW3kR_jCZeWiYd0,2018616
676
689
  models/query.enterpriseDirectory.json,sha256=yumIHkV_WoEEKUdg_l8XOy9MgKLQfQJpPG6WiAKdOS8,307721
677
690
  models/query.entityLookup.json,sha256=YTizf3KgMXLKwoqdkFPXlwcQGUwNoBXmXv801VZljr8,99484
@@ -758,8 +771,8 @@ vendor/urllib3/util/timeout.py,sha256=4eT1FVeZZU7h7mYD1Jq2OXNe4fxekdNvhoWUkZusRp
758
771
  vendor/urllib3/util/url.py,sha256=wHORhp80RAXyTlAIkTqLFzSrkU7J34ZDxX-tN65MBZk,15213
759
772
  vendor/urllib3/util/util.py,sha256=j3lbZK1jPyiwD34T8IgJzdWEZVT-4E-0vYIJi9UjeNA,1146
760
773
  vendor/urllib3/util/wait.py,sha256=_ph8IrUR3sqPqi0OopQgJUlH4wzkGeM5CiyA7XGGtmI,4423
761
- catocli-3.0.25.dist-info/METADATA,sha256=9SlvGbJ9NJu67onGxpheZ2m3bgSBMrOy8aFx7HrTNAE,6418
762
- catocli-3.0.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
763
- catocli-3.0.25.dist-info/entry_points.txt,sha256=p4k9Orre6aWcqVrNmBbckmCs39h-1naMxRo2AjWmWZ4,50
764
- catocli-3.0.25.dist-info/top_level.txt,sha256=cRT_qNMM5G7w-dpT1BnJB9eikqydO0jafLlS4OD-7MI,44
765
- catocli-3.0.25.dist-info/RECORD,,
774
+ catocli-3.0.26.dist-info/METADATA,sha256=TA2KtuTKelzD0gm18-biJYJlNqm2IY5jqbAiy9yJwGY,6418
775
+ catocli-3.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
776
+ catocli-3.0.26.dist-info/entry_points.txt,sha256=p4k9Orre6aWcqVrNmBbckmCs39h-1naMxRo2AjWmWZ4,50
777
+ catocli-3.0.26.dist-info/top_level.txt,sha256=cRT_qNMM5G7w-dpT1BnJB9eikqydO0jafLlS4OD-7MI,44
778
+ catocli-3.0.26.dist-info/RECORD,,