catocli 3.0.10__py3-none-any.whl → 3.0.12__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 (59) hide show
  1. catocli/Utils/clidriver.py +2 -2
  2. catocli/Utils/graphql_utils.py +15 -5
  3. catocli/Utils/help_formatter.py +50 -15
  4. catocli/__init__.py +1 -1
  5. catocli/parsers/custom/__init__.py +1 -1
  6. catocli/parsers/custom/customLib.py +3 -1
  7. catocli/parsers/mutation_groups_createGroup/README.md +39 -1
  8. catocli/parsers/mutation_groups_deleteGroup/README.md +39 -1
  9. catocli/parsers/mutation_groups_updateGroup/README.md +39 -1
  10. catocli/parsers/query_accountMetrics/README.md +29 -2
  11. catocli/parsers/query_accountSnapshot/README.md +16 -0
  12. catocli/parsers/query_appStats/README.md +11 -1
  13. catocli/parsers/query_appStatsTimeSeries/README.md +16 -2
  14. catocli/parsers/query_auditFeed/README.md +3 -1
  15. catocli/parsers/query_catalogs/README.md +178 -0
  16. catocli/parsers/query_container/README.md +49 -0
  17. catocli/parsers/query_devices/README.md +728 -0
  18. catocli/parsers/query_enterpriseDirectory/README.md +83 -0
  19. catocli/parsers/query_events/README.md +5 -1
  20. catocli/parsers/query_eventsTimeSeries/README.md +10 -2
  21. catocli/parsers/query_groups_groupList/README.md +39 -1
  22. catocli/parsers/query_hardware/README.md +153 -0
  23. catocli/parsers/query_hardwareManagement/README.md +56 -0
  24. catocli/parsers/query_popLocations/README.md +63 -0
  25. catocli/parsers/query_sandbox/README.md +69 -0
  26. catocli/parsers/query_socketPortMetrics/README.md +5 -1
  27. catocli/parsers/query_socketPortMetricsTimeSeries/README.md +10 -2
  28. catocli/parsers/query_xdr_stories/README.md +7 -2
  29. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/METADATA +1 -1
  30. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/RECORD +59 -59
  31. models/mutation.accountManagement.disableAccount.json +2 -2
  32. models/mutation.accountManagement.removeAccount.json +2 -2
  33. models/mutation.groups.createGroup.json +810 -0
  34. models/mutation.groups.deleteGroup.json +810 -0
  35. models/mutation.groups.updateGroup.json +810 -0
  36. models/query.accountMetrics.json +333 -1
  37. models/query.accountSnapshot.json +50 -1
  38. models/query.appStats.json +38 -0
  39. models/query.appStatsTimeSeries.json +78 -1
  40. models/query.auditFeed.json +105 -0
  41. models/query.catalogs.json +2708 -1
  42. models/query.container.json +793 -1
  43. models/query.devices.json +10338 -1
  44. models/query.enterpriseDirectory.json +1315 -1
  45. models/query.events.json +38 -0
  46. models/query.eventsFeed.json +1587 -0
  47. models/query.eventsTimeSeries.json +78 -1
  48. models/query.groups.groupList.json +810 -0
  49. models/query.hardware.json +2333 -1
  50. models/query.hardwareManagement.json +1086 -1
  51. models/query.popLocations.json +1172 -1
  52. models/query.sandbox.json +825 -1
  53. models/query.socketPortMetrics.json +38 -0
  54. models/query.socketPortMetricsTimeSeries.json +78 -1
  55. schema/catolib.py +107 -37
  56. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/WHEEL +0 -0
  57. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/entry_points.txt +0 -0
  58. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/licenses/LICENSE +0 -0
  59. {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/top_level.txt +0 -0
@@ -11,6 +11,184 @@ catocli query catalogs <json>
11
11
 
12
12
  catocli query catalogs "$(cat < query.catalogs.json)"
13
13
 
14
+ catocli query catalogs '{"applicationRefInput":{"by":"ID","input":"string"},"catalogApplicationContentTypeGroupListInput":{"catalogApplicationContentTypeGroupFilterInput":{"contentType":{"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"catalogApplicationContentTypeGroupSortInput":{"name":{"direction":"ASC","priority":1}},"pagingInput":{"from":1,"limit":1}},"catalogApplicationListInput":{"catalogApplicationFilterInput":{"activity":{"hasAny":{"by":"ID","input":"string"}},"capability":{"hasAny":"APP_CONTROL_INLINE"},"category":{"hasAny":{"by":"ID","input":"string"}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"recentlyAdded":{"eq":true,"neq":true},"risk":{"between":[1,2],"eq":1,"gt":1,"gte":1,"in":[1,2],"lt":1,"lte":1,"neq":1,"nin":[1,2]},"type":{"eq":"APPLICATION","in":"APPLICATION","neq":"APPLICATION","nin":"APPLICATION"}},"catalogApplicationSortInput":{"category":{"name":{"direction":"ASC","priority":1}},"description":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1},"risk":{"direction":"ASC","priority":1},"type":{"direction":"ASC","priority":1}},"pagingInput":{"from":1,"limit":1}}}'
15
+
16
+ catocli query catalogs '{
17
+ "applicationRefInput": {
18
+ "by": "ID",
19
+ "input": "string"
20
+ },
21
+ "catalogApplicationContentTypeGroupListInput": {
22
+ "catalogApplicationContentTypeGroupFilterInput": {
23
+ "contentType": {
24
+ "id": {
25
+ "eq": "id",
26
+ "in": [
27
+ "id1",
28
+ "id2"
29
+ ],
30
+ "neq": "id",
31
+ "nin": [
32
+ "id1",
33
+ "id2"
34
+ ]
35
+ },
36
+ "name": {
37
+ "eq": "string",
38
+ "in": [
39
+ "string1",
40
+ "string2"
41
+ ],
42
+ "neq": "string",
43
+ "nin": [
44
+ "string1",
45
+ "string2"
46
+ ]
47
+ }
48
+ },
49
+ "id": {
50
+ "eq": "id",
51
+ "in": [
52
+ "id1",
53
+ "id2"
54
+ ],
55
+ "neq": "id",
56
+ "nin": [
57
+ "id1",
58
+ "id2"
59
+ ]
60
+ },
61
+ "name": {
62
+ "eq": "string",
63
+ "in": [
64
+ "string1",
65
+ "string2"
66
+ ],
67
+ "neq": "string",
68
+ "nin": [
69
+ "string1",
70
+ "string2"
71
+ ]
72
+ }
73
+ },
74
+ "catalogApplicationContentTypeGroupSortInput": {
75
+ "name": {
76
+ "direction": "ASC",
77
+ "priority": 1
78
+ }
79
+ },
80
+ "pagingInput": {
81
+ "from": 1,
82
+ "limit": 1
83
+ }
84
+ },
85
+ "catalogApplicationListInput": {
86
+ "catalogApplicationFilterInput": {
87
+ "activity": {
88
+ "hasAny": {
89
+ "by": "ID",
90
+ "input": "string"
91
+ }
92
+ },
93
+ "capability": {
94
+ "hasAny": "APP_CONTROL_INLINE"
95
+ },
96
+ "category": {
97
+ "hasAny": {
98
+ "by": "ID",
99
+ "input": "string"
100
+ }
101
+ },
102
+ "id": {
103
+ "eq": "id",
104
+ "in": [
105
+ "id1",
106
+ "id2"
107
+ ],
108
+ "neq": "id",
109
+ "nin": [
110
+ "id1",
111
+ "id2"
112
+ ]
113
+ },
114
+ "name": {
115
+ "eq": "string",
116
+ "in": [
117
+ "string1",
118
+ "string2"
119
+ ],
120
+ "neq": "string",
121
+ "nin": [
122
+ "string1",
123
+ "string2"
124
+ ]
125
+ },
126
+ "recentlyAdded": {
127
+ "eq": true,
128
+ "neq": true
129
+ },
130
+ "risk": {
131
+ "between": [
132
+ 1,
133
+ 2
134
+ ],
135
+ "eq": 1,
136
+ "gt": 1,
137
+ "gte": 1,
138
+ "in": [
139
+ 1,
140
+ 2
141
+ ],
142
+ "lt": 1,
143
+ "lte": 1,
144
+ "neq": 1,
145
+ "nin": [
146
+ 1,
147
+ 2
148
+ ]
149
+ },
150
+ "type": {
151
+ "eq": "APPLICATION",
152
+ "in": "APPLICATION",
153
+ "neq": "APPLICATION",
154
+ "nin": "APPLICATION"
155
+ }
156
+ },
157
+ "catalogApplicationSortInput": {
158
+ "category": {
159
+ "name": {
160
+ "direction": "ASC",
161
+ "priority": 1
162
+ }
163
+ },
164
+ "description": {
165
+ "direction": "ASC",
166
+ "priority": 1
167
+ },
168
+ "name": {
169
+ "direction": "ASC",
170
+ "priority": 1
171
+ },
172
+ "risk": {
173
+ "direction": "ASC",
174
+ "priority": 1
175
+ },
176
+ "type": {
177
+ "direction": "ASC",
178
+ "priority": 1
179
+ }
180
+ },
181
+ "pagingInput": {
182
+ "from": 1,
183
+ "limit": 1
184
+ }
185
+ }
186
+ }'
187
+ ```
188
+
14
189
  #### Operation Arguments for query.catalogs ####
15
190
 
16
191
  `accountId` [ID] - (required) N/A
192
+ `applicationRefInput` [ApplicationRefInput] - (required) N/A
193
+ `catalogApplicationContentTypeGroupListInput` [CatalogApplicationContentTypeGroupListInput] - (required) N/A
194
+ `catalogApplicationListInput` [CatalogApplicationListInput] - (required) N/A
@@ -11,6 +11,55 @@ catocli query container <json>
11
11
 
12
12
  catocli query container "$(cat < query.container.json)"
13
13
 
14
+ catocli query container '{"containerSearchInput":{"containerRefInput":{"by":"ID","input":"string"},"types":"IP_RANGE"},"downloadFqdnContainerFileInput":{"by":"ID","input":"string"},"downloadIpAddressRangeContainerFileInput":{"by":"ID","input":"string"},"fqdnContainerSearchFqdnInput":{"fqdn":"example_value"},"fqdnContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}},"ipAddressRangeContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}},"ipAddressRangeContainerSearchIpAddressRangeInput":{"ipAddressRangeInput":{"from":"example_value","to":"example_value"}}}'
15
+
16
+ catocli query container '{
17
+ "containerSearchInput": {
18
+ "containerRefInput": {
19
+ "by": "ID",
20
+ "input": "string"
21
+ },
22
+ "types": "IP_RANGE"
23
+ },
24
+ "downloadFqdnContainerFileInput": {
25
+ "by": "ID",
26
+ "input": "string"
27
+ },
28
+ "downloadIpAddressRangeContainerFileInput": {
29
+ "by": "ID",
30
+ "input": "string"
31
+ },
32
+ "fqdnContainerSearchFqdnInput": {
33
+ "fqdn": "example_value"
34
+ },
35
+ "fqdnContainerSearchInput": {
36
+ "containerRefInput": {
37
+ "by": "ID",
38
+ "input": "string"
39
+ }
40
+ },
41
+ "ipAddressRangeContainerSearchInput": {
42
+ "containerRefInput": {
43
+ "by": "ID",
44
+ "input": "string"
45
+ }
46
+ },
47
+ "ipAddressRangeContainerSearchIpAddressRangeInput": {
48
+ "ipAddressRangeInput": {
49
+ "from": "example_value",
50
+ "to": "example_value"
51
+ }
52
+ }
53
+ }'
54
+ ```
55
+
14
56
  #### Operation Arguments for query.container ####
15
57
 
16
58
  `accountId` [ID] - (required) N/A
59
+ `containerSearchInput` [ContainerSearchInput] - (required) N/A
60
+ `downloadFqdnContainerFileInput` [DownloadFqdnContainerFileInput] - (required) N/A
61
+ `downloadIpAddressRangeContainerFileInput` [DownloadIpAddressRangeContainerFileInput] - (required) N/A
62
+ `fqdnContainerSearchFqdnInput` [FqdnContainerSearchFqdnInput] - (required) N/A
63
+ `fqdnContainerSearchInput` [FqdnContainerSearchInput] - (required) N/A
64
+ `ipAddressRangeContainerSearchInput` [IpAddressRangeContainerSearchInput] - (required) N/A
65
+ `ipAddressRangeContainerSearchIpAddressRangeInput` [IpAddressRangeContainerSearchIpAddressRangeInput] - (required) N/A